text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<p dir="auto">Sorting on documents that are missing a key would be very helpful, partially matching the api for sorting numerical values. For example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;sort&quot; : [ { &quot;user&quot; : {&quot;missing&quot; : &quot;_last&quot;} }, ], &quot;query&quot; : { &quot;term&quot; : { &quot;user&quot; : &quot;kimchy&quot; } } { &quot;sort&quot; : [ { &quot;user&quot; : {&quot;missing&quot; : &quot;_last&quot;} }, ], &quot;query&quot; : { &quot;term&quot; : { &quot;user&quot; : &quot;kimchy&quot; } }"><pre class="notranslate"><code class="notranslate">{ "sort" : [ { "user" : {"missing" : "_last"} }, ], "query" : { "term" : { "user" : "kimchy" } } { "sort" : [ { "user" : {"missing" : "_last"} }, ], "query" : { "term" : { "user" : "kimchy" } } </code></pre></div> <p dir="auto">Unfortunately we can't use this pattern for custom values. To support that, we'll need a sub-object:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;sort&quot; : [ { &quot;user&quot; : {&quot;missing&quot; : { &quot;order&quot;: &quot;_first&quot;} } }, ], &quot;query&quot; : { &quot;term&quot; : { &quot;user&quot; : &quot;kimchy&quot; } } { &quot;sort&quot; : [ { &quot;user&quot; : {&quot;missing&quot; : { &quot;order&quot;: &quot;_last&quot;} } }, ], &quot;query&quot; : { &quot;term&quot; : { &quot;user&quot; : &quot;kimchy&quot; } } { &quot;sort&quot; : [ { &quot;user&quot; : {&quot;missing&quot; : { &quot;value&quot;: &quot;nobody&quot;} } }, ], &quot;query&quot; : { &quot;term&quot; : { &quot;user&quot; : &quot;kimchy&quot; } }"><pre class="notranslate"><code class="notranslate">{ "sort" : [ { "user" : {"missing" : { "order": "_first"} } }, ], "query" : { "term" : { "user" : "kimchy" } } { "sort" : [ { "user" : {"missing" : { "order": "_last"} } }, ], "query" : { "term" : { "user" : "kimchy" } } { "sort" : [ { "user" : {"missing" : { "value": "nobody"} } }, ], "query" : { "term" : { "user" : "kimchy" } } </code></pre></div>
<p dir="auto">This is a follow up to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="667519" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/772" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/772/hovercard" href="https://github.com/elastic/elasticsearch/issues/772">#772</a> that supports special sorting for 'null' values for numeric fields. The same would be very useful for (not analyzed) string fields as well. If feasible, special handling for empty and blank strings would be useful. The latter is however optional as it is possible to achieve uniform handling by filtering out blank values at indexing time.</p>
1
<p dir="auto">As requested <a href="https://groups.google.com/forum/#!topic/ansible-project/fDMQhGuSt9A" rel="nofollow">here</a> I'm filing a bug report for the following test case:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cat hosts --- - group: all hosts: - host: 10.120.137.188:23000 - host: 10.120.137.188:23001 $ ansible all -i ./hosts -m shell -a uptime 10.120.137.188:23000 | FAILED =&gt; FAILED: [Errno -2] Name or service not known 10.120.137.188:23001 | FAILED =&gt; FAILED: [Errno -2] Name or service not known"><pre class="notranslate"><code class="notranslate">$ cat hosts --- - group: all hosts: - host: 10.120.137.188:23000 - host: 10.120.137.188:23001 $ ansible all -i ./hosts -m shell -a uptime 10.120.137.188:23000 | FAILED =&gt; FAILED: [Errno -2] Name or service not known 10.120.137.188:23001 | FAILED =&gt; FAILED: [Errno -2] Name or service not known </code></pre></div>
<p dir="auto">Ansible: devel, r404c3acbbf5ed3f2f6a5a2f64cc230cd22317e15<br> OS: Ubuntu 12.04<br> Python: 2.7.3</p> <p dir="auto">When a host is listed both "globally" and within a group, e.g.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="10.0.3.232 foo=bar [example] 10.0.3.232 [example:vars] domain=example.com"><pre class="notranslate"><code class="notranslate">10.0.3.232 foo=bar [example] 10.0.3.232 [example:vars] domain=example.com </code></pre></div> <p dir="auto">The 'setup' command lists it only as belonging to "ungrouped" and ignores any group vars:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &quot;foo&quot;: &quot;bar&quot;, &quot;group_names&quot;: &quot;[ungrouped]&quot;, &quot;inventory_hostname&quot;: &quot;10.0.3.232&quot;, "><pre class="notranslate"><code class="notranslate"> "foo": "bar", "group_names": "[ungrouped]", "inventory_hostname": "10.0.3.232", </code></pre></div>
1
<h2 dir="auto">Do not comment here.</h2> <p dir="auto">This is a tracking issue for the next release, v3.0.3. Only linked issues, pull requests, and commits should be included. See <a href="/twbs/bootstrap/blob/master/CONTRIBUTING.md">contributing guidelines</a> for more information. All notable changes have been mentioned here. See the <a href="/twbs/bootstrap/issues?milestone=24&amp;state=closed">v3.0.3 milestone</a> for a complete set of changes.</p> <h3 dir="auto">Key changes</h3> <p dir="auto">There are a few dozen bug fixes and changes in this release, but we've called out the ones we think matter most:</p> <ul dir="auto"> <li>Padding of <code class="notranslate">.navbar-collapse</code> and alignment of <code class="notranslate">.navbar-right:last-child</code> elements has been reworked.</li> <li>Added a <code class="notranslate">max-width: 100%;</code> to <code class="notranslate">.container</code>s.</li> <li>Restored the twelfth column's <code class="notranslate">float: left;</code> at all grid tiers.</li> </ul> <p dir="auto">See the list below for more information on those changes and more.</p> <h3 dir="auto">Specific bug fixes and changes</h3> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="18291350" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/9927" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/9927/hovercard" href="https://github.com/twbs/bootstrap/issues/9927">#9927</a>: Update non-responsive example to prevent <code class="notranslate">.navbar-collapse</code> border from increasing height and increase specificity of nav selectors to keep dropdowns looking the same.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="18526968" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/10147" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/10147/hovercard" href="https://github.com/twbs/bootstrap/issues/10147">#10147</a>: Remove outline from carousel controls on focus.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="18841671" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/10353" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/10353/hovercard" href="https://github.com/twbs/bootstrap/pull/10353">#10353</a>: Tell Bower to ignore development and documentation files.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="19070039" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/10483" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/10483/hovercard" href="https://github.com/twbs/bootstrap/pull/10483">#10483</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="18844198" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/10357" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/10357/hovercard" href="https://github.com/twbs/bootstrap/issues/10357">#10357</a>: Make .container mixin-friendly by moving the width declarations within one class.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="19557581" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/10662" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/10662/hovercard" href="https://github.com/twbs/bootstrap/pull/10662">#10662</a>: Enable individually linked images within thumbnails.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="19836060" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/10744" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/10744/hovercard" href="https://github.com/twbs/bootstrap/issues/10744">#10744</a>: Use <code class="notranslate">border-style: solid;</code> on <code class="notranslate">.caret</code>s to undo a previous Firefox fix that appears to no longer work.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="20488432" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/10936" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/10936/hovercard" href="https://github.com/twbs/bootstrap/issues/10936">#10936</a>: Increase height of large inputs to fix Firefox inconsistencies by using <code class="notranslate">ceil()</code> instead of <code class="notranslate">floor()</code>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="20523258" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/10941" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/10941/hovercard" href="https://github.com/twbs/bootstrap/pull/10941">#10941</a>: Fix Glyphicons path for those importing <code class="notranslate">bootstrap.less</code> from another directory.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="20674330" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/10979" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/10979/hovercard" href="https://github.com/twbs/bootstrap/issues/10979">#10979</a>: Don't use <code class="notranslate">.img-thumbnail</code> as a mixin for <code class="notranslate">.thumbnail</code> to avoid duplicate and unnecessary styles.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="21481534" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11217" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11217/hovercard" href="https://github.com/twbs/bootstrap/pull/11217">#11217</a>: Fix vertical alignment of labels within buttons, just like badges in buttons.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="21742731" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11268" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11268/hovercard" href="https://github.com/twbs/bootstrap/pull/11268">#11268</a>: Account for badges within buttons by matching background to text color and text color to background.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="21779940" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11277" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11277/hovercard" href="https://github.com/twbs/bootstrap/issues/11277">#11277</a>: Drop the <code class="notranslate">abbr</code> element from the <code class="notranslate">.initialism</code> selector.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="21872002" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11299" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11299/hovercard" href="https://github.com/twbs/bootstrap/pull/11299">#11299</a>: Support <code class="notranslate">.h1</code> in jumbotrons.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22037928" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11351" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11351/hovercard" href="https://github.com/twbs/bootstrap/pull/11351">#11351</a>: Correct grid class reset on input groups by using attribute selector, not an old class from v3 betas.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22054577" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11357" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11357/hovercard" href="https://github.com/twbs/bootstrap/issues/11357">#11357</a>: Vertically center <code class="notranslate">.btn-sm</code> and <code class="notranslate">.btn-xs</code> variations of <code class="notranslate">.navbar-btn</code>s in the navbar.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22175521" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11376" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11376/hovercard" href="https://github.com/twbs/bootstrap/pull/11376">#11376</a>: Don't deselect radio buttons when double clicking.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22238877" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11387" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11387/hovercard" href="https://github.com/twbs/bootstrap/issues/11387">#11387</a>: Improve nesting on table classes to enable easier use of mixins.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22249947" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11388" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11388/hovercard" href="https://github.com/twbs/bootstrap/pull/11388">#11388</a>: Simplify contextual table styles mixin (also drops the <code class="notranslate">border</code> parameter since we longer apply that anyway).</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22250435" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11390" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11390/hovercard" href="https://github.com/twbs/bootstrap/issues/11390">#11390</a>: Add <code class="notranslate">max-width: 100%;</code> to containers within jumbotrons to avoid horizontal scrollbar.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22281564" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11402" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11402/hovercard" href="https://github.com/twbs/bootstrap/pull/11402">#11402</a>: Set <code class="notranslate">width: auto;</code> on <code class="notranslate">select.form-control</code> within <code class="notranslate">.form-inline</code>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22326499" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11414" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11414/hovercard" href="https://github.com/twbs/bootstrap/pull/11414">#11414</a>: Add <code class="notranslate">.small</code> support to blockquote citations.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22365920" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11425" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11425/hovercard" href="https://github.com/twbs/bootstrap/issues/11425">#11425</a>: Use <code class="notranslate">margin</code> instead of <code class="notranslate">padding</code> on <code class="notranslate">.modal-dialog</code> to click-thru to <code class="notranslate">.modal-backdrop</code>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22390938" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11432" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11432/hovercard" href="https://github.com/twbs/bootstrap/pull/11432">#11432</a>: Corrected color contrast to WCAG 2.0 AA for <code class="notranslate">@state-</code> variables (applies to forms and labels).</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22418274" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11444" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11444/hovercard" href="https://github.com/twbs/bootstrap/issues/11444">#11444</a>: Use <code class="notranslate">@navbar-padding-vertical</code> for nav links vertical padding.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22449944" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11449" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11449/hovercard" href="https://github.com/twbs/bootstrap/pull/11449">#11449</a>: Prefer Menlo over Monaco for monospaced fonts.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22593800" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11468" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11468/hovercard" href="https://github.com/twbs/bootstrap/issues/11468">#11468</a>: Prevent default gradient <code class="notranslate">background-image</code> on <code class="notranslate">.navbar-toggle</code> in Firefox for Android.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22624152" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11476" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11476/hovercard" href="https://github.com/twbs/bootstrap/pull/11476">#11476</a>: Remove unnecessary prefixed keyframe declarations for animated progress bars. Given our browser support requirements, we can drop the <code class="notranslate">-moz-</code> prefix as the last several versions don't require it.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22630628" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11477" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11477/hovercard" href="https://github.com/twbs/bootstrap/issues/11477">#11477</a>: Use namespace events for dropdowns and carousel.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22741955" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11493" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11493/hovercard" href="https://github.com/twbs/bootstrap/pull/11493">#11493</a>: Ensure proper width of dropdown buttons within vertical button groups.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22776190" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11499" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11499/hovercard" href="https://github.com/twbs/bootstrap/pull/11499">#11499</a>: Switch from <code class="notranslate">overflow-y: auto;</code> to <code class="notranslate">overflow-y: visible;</code> to prevent vertical scrollbar in some navbar situations.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22779842" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11502" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11502/hovercard" href="https://github.com/twbs/bootstrap/pull/11502">#11502</a>: Add missing data namespace for dropdown plugin.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22805659" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11513" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11513/hovercard" href="https://github.com/twbs/bootstrap/issues/11513">#11513</a>: Float <code class="notranslate">navbar-text</code> elements only when screen width is above <code class="notranslate">@grid-float-breakpoint</code>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22810681" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11515" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11515/hovercard" href="https://github.com/twbs/bootstrap/issues/11515">#11515</a>: Reorder the headings with body text and text emphasis classes.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22810886" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11516" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11516/hovercard" href="https://github.com/twbs/bootstrap/issues/11516">#11516</a>: Invert dropdown divider border in navbars.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22877087" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11530" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11530/hovercard" href="https://github.com/twbs/bootstrap/issues/11530">#11530</a>: Reworked <code class="notranslate">padding</code> on <code class="notranslate">.navbar-collapse</code> and negative <code class="notranslate">margin</code> for right-aligned navbar content to ensure proper alignment on the right side.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22897543" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11536" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11536/hovercard" href="https://github.com/twbs/bootstrap/pull/11536">#11536</a>: Add support for button dropdowns within justified button groups.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22931570" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11544" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11544/hovercard" href="https://github.com/twbs/bootstrap/issues/11544">#11544</a>: Add <code class="notranslate">color: inherit;</code> to <code class="notranslate">.panel-title</code> to ensure proper text color when customizing <code class="notranslate">@headings-color</code>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22969223" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11551" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11551/hovercard" href="https://github.com/twbs/bootstrap/pull/11551">#11551</a>: Remove color from <code class="notranslate">outline</code> reset for improved outlines on focus.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22980159" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11553" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11553/hovercard" href="https://github.com/twbs/bootstrap/issues/11553">#11553</a>: Prevent double border on tables in panels without <code class="notranslate">thead</code> content.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23190618" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11598" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11598/hovercard" href="https://github.com/twbs/bootstrap/pull/11598">#11598</a>: Remove line breaks in minified CSS.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23192510" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11599" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11599/hovercard" href="https://github.com/twbs/bootstrap/pull/11599">#11599</a>: Explicitly call out font files in <code class="notranslate">bower.json</code> to avoid npm errors.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23258137" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11610" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11610/hovercard" href="https://github.com/twbs/bootstrap/issues/11610">#11610</a>: Add <code class="notranslate">@grid-float-breakpoint-max</code> to better link navbar behavior across viewports and improve customization when setting <code class="notranslate">@grid-float-breakpoint</code>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23284945" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11614" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11614/hovercard" href="https://github.com/twbs/bootstrap/pull/11614">#11614</a>: Account for responsive tables within panels.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23304755" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11617" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11617/hovercard" href="https://github.com/twbs/bootstrap/pull/11617">#11617</a>: Include jspm package configuration in <code class="notranslate">package.json</code>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23351704" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11623" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11623/hovercard" href="https://github.com/twbs/bootstrap/issues/11623">#11623</a>: Reset <code class="notranslate">position</code> to <code class="notranslate">static</code> for grid columns within tables to prevent borders from hiding in IE9, IE10, and Firefox.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23478507" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11648" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11648/hovercard" href="https://github.com/twbs/bootstrap/pull/11648">#11648</a>: Restore twelfth column's float.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23522468" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11658" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11658/hovercard" href="https://github.com/twbs/bootstrap/issues/11658">#11658</a>: Increase <code class="notranslate">min-height</code> of <code class="notranslate">.radio</code>/<code class="notranslate">.checkbox</code> for horizontal forms to ensure alignment of content below.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23677471" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11693" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11693/hovercard" href="https://github.com/twbs/bootstrap/pull/11693">#11693</a>: Adds <code class="notranslate">.table</code> to responsive visibility mixin.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23678447" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11694" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11694/hovercard" href="https://github.com/twbs/bootstrap/pull/11694">#11694</a>: Remove unnecessary prefixes for gradient mixins given our stated browser support.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23736309" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11712" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11712/hovercard" href="https://github.com/twbs/bootstrap/issues/11712">#11712</a>: Better support for .table-responsive within .panel's.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/twbs/bootstrap/commit/841da88f3fc93740cca07b6e4581a333d77964f0/hovercard" href="https://github.com/twbs/bootstrap/commit/841da88f3fc93740cca07b6e4581a333d77964f0"><tt>841da88</tt></a>: Remove browser default top margin from <code class="notranslate">dl</code>s.</li> </ul> <h3 dir="auto">Docs changes</h3> <p dir="auto">Be sure to run <code class="notranslate">npm install</code> if you're running <code class="notranslate">grunt</code> locally—we've updated our build process and have some new dependencies.</p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="18276612" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/9898" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/9898/hovercard" href="https://github.com/twbs/bootstrap/issues/9898">#9898</a>: Improve scrollspy and affix plugin documentation.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="19741508" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/10716" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/10716/hovercard" href="https://github.com/twbs/bootstrap/issues/10716">#10716</a>: Update "What's included" docs section with info on full source code download directory structure.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="21885401" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11303" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11303/hovercard" href="https://github.com/twbs/bootstrap/pull/11303">#11303</a>: Add link to the docs site in compiled assets, and remove personal usernames.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="21986882" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11330" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11330/hovercard" href="https://github.com/twbs/bootstrap/pull/11330">#11330</a>: Add <code class="notranslate">overflow-x: hidden;</code> to <code class="notranslate">body</code> in offcanvas example to prevent horizontal scrolling.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22106078" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11369" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11369/hovercard" href="https://github.com/twbs/bootstrap/pull/11369">#11369</a>: Speed up jQuery and Twitter widgets on docs pages by using Google's CDN for jQuery and the async snippet from the Twitter dev site for the widgets.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22233373" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11385" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11385/hovercard" href="https://github.com/twbs/bootstrap/pull/11385">#11385</a>: Warn about Webkit bug for justified nav example.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22296596" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11409" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11409/hovercard" href="https://github.com/twbs/bootstrap/pull/11409">#11409</a>: Add release checklist to contributing guidelines.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22320291" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11412" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11412/hovercard" href="https://github.com/twbs/bootstrap/pull/11412">#11412</a>: Add <code class="notranslate">word-wrap: break-word;</code> to docs Glyphicons class names to ensure proper wrapping in IE10-11.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22393960" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11434" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11434/hovercard" href="https://github.com/twbs/bootstrap/pull/11434">#11434</a>: Mention form validation class changes in migration docs.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22886783" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11534" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11534/hovercard" href="https://github.com/twbs/bootstrap/pull/11534">#11534</a>: Document that modal <code class="notranslate">show()</code> and <code class="notranslate">hide()</code> return before animation finishes.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23408622" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11634" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11634/hovercard" href="https://github.com/twbs/bootstrap/issues/11634">#11634</a>: Add warning to docs to not combine icon classes with other elements.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23569185" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11671" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11671/hovercard" href="https://github.com/twbs/bootstrap/pull/11671">#11671</a>: Updated third party asset libraries (for Customizer and Holder, our thumbnail utility).</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23696335" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11701" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11701/hovercard" href="https://github.com/twbs/bootstrap/pull/11701">#11701</a>: Switch to Sauce Labs for our cross-browser JS unit testing needs.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/twbs/bootstrap/commit/4cbc8d49b10f707029019aaa5eba50e56390a3c5/hovercard" href="https://github.com/twbs/bootstrap/commit/4cbc8d49b10f707029019aaa5eba50e56390a3c5"><tt>4cbc8d4</tt></a>: Remove mention of Chrome from Webkit rendering bug for justified nav.</li> </ul>
<p dir="auto">When I use the validation elements in an inline form with Bootstrap 3, the input's width is getting wider.</p> <p dir="auto">From my observation the normal case is that when the input element is verified 30.5px are removed from the input width and its padding is increased by 30.5px to give space for the glyphicon span. But in the inline form although the padding is increased, the width of the input is not decreased.</p> <p dir="auto">Here's a plunker to illustrate the comparison between two forms (you need to use full screen): <a href="http://plnkr.co/edit/MaNscQLTGBIOLTL3n5xy?p=preview" rel="nofollow">http://plnkr.co/edit/MaNscQLTGBIOLTL3n5xy?p=preview</a></p> <p dir="auto">I'm not sure if this is a bootstrap bug or if I'm missing a class in my html.</p> <p dir="auto">(Issue posted on SO with no satisfying answer)<br> <a href="http://stackoverflow.com/questions/24952694/why-is-the-input-of-a-bootstrap-inline-form-wider-with-validation-format" rel="nofollow">http://stackoverflow.com/questions/24952694/why-is-the-input-of-a-bootstrap-inline-form-wider-with-validation-format</a></p>
0
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/df23349423595dfe9d561570b3b411c2cd74a77ef9b291c806b867644bb12e3d/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353132303931372f3839363535352f61313837383965362d666165312d313165322d383162632d6434623336326230316532652e706e67"><img src="https://camo.githubusercontent.com/df23349423595dfe9d561570b3b411c2cd74a77ef9b291c806b867644bb12e3d/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353132303931372f3839363535352f61313837383965362d666165312d313165322d383162632d6434623336326230316532652e706e67" alt="column ordering" data-canonical-src="https://f.cloud.github.com/assets/5120917/896555/a18789e6-fae1-11e2-81bc-d4b362b01e2e.png" style="max-width: 100%;"></a></p> <p dir="auto">column ordering is not stacking correctly in portrait view. see above image. tested on tablet and desktop.</p> <p dir="auto">not sure if this is a general css bug or just specific to the RC1 website?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;div class=&quot;container&quot;&gt; &lt;div id=&quot;teaser&quot; class=&quot;row&quot;&gt; adsffdasdf &lt;/div&gt; &lt;div id=&quot;main&quot; class=&quot;row&quot;&gt; &lt;div class=&quot;col-lg-9 col-push-3&quot;&gt; asdfsdaf &lt;/div&gt; &lt;div class=&quot;col-lg-3 col-pull-9&quot;&gt; asdffaf &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; "><pre class="notranslate"><code class="notranslate">&lt;div class="container"&gt; &lt;div id="teaser" class="row"&gt; adsffdasdf &lt;/div&gt; &lt;div id="main" class="row"&gt; &lt;div class="col-lg-9 col-push-3"&gt; asdfsdaf &lt;/div&gt; &lt;div class="col-lg-3 col-pull-9"&gt; asdffaf &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </code></pre></div> <p dir="auto">output on smaller resolution, see attached screenshot</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/b800f862dc4e3312e677deb5d6b42cab3d59cda3b630ebb21e9f094009ceb8c9/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3337393234362f3836383231332f64633062393837322d663738312d313165322d383963652d6536313463306537636265622e706e67"><img src="https://camo.githubusercontent.com/b800f862dc4e3312e677deb5d6b42cab3d59cda3b630ebb21e9f094009ceb8c9/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3337393234362f3836383231332f64633062393837322d663738312d313165322d383963652d6536313463306537636265622e706e67" alt="bildschirmfoto 2013-07-28 um 14 26 03" data-canonical-src="https://f.cloud.github.com/assets/379246/868213/dc0b9872-f781-11e2-89ce-e614c0e7cbeb.png" style="max-width: 100%;"></a></p>
1
<h3 dir="auto">Website or app</h3> <p dir="auto"><a href="https://codesandbox.io/s/react-devtools-weird-bug-o3sib?file=/src/App.js" rel="nofollow">https://codesandbox.io/s/react-devtools-weird-bug-o3sib?file=/src/App.js</a></p> <h3 dir="auto">Repro steps</h3> <p dir="auto">I stumbled across the weirdest bug with React DevTools and hooks that causes it to error out when inspecting a component. A minimal test case is documented in the Code Sandbox link, along with more details on the behavior and seemingly-arbitrary fixes. This does not affect the actual functionality of the app itself in any way, it behaves exactly as expected.</p> <h3 dir="auto">How often does this bug happen?</h3> <p dir="auto">Every time</p> <h3 dir="auto">DevTools package (automated)</h3> <p dir="auto">react-devtools-extensions</p> <h3 dir="auto">DevTools version (automated)</h3> <p dir="auto">4.21.0-2f8f60ca8</p> <h3 dir="auto">Error message (automated)</h3> <p dir="auto">Cannot read properties of undefined (reading 'push')</p> <h3 dir="auto">Error call stack (automated)</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="at J (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:13006:7) at L (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:13040:10) at exports.inspectHooksOfFiber (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:13101:12) at inspectElementRaw (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:7732:65) at Object.inspectElement (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:8004:38) at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:9837:56 at Bridge.emit (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:4257:18) at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:10500:12 at listener (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:11737:9)"><pre lang="text" class="notranslate"><code class="notranslate">at J (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:13006:7) at L (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:13040:10) at exports.inspectHooksOfFiber (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:13101:12) at inspectElementRaw (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:7732:65) at Object.inspectElement (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:8004:38) at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:9837:56 at Bridge.emit (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:4257:18) at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:10500:12 at listener (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js:11737:9) </code></pre></div> <h3 dir="auto">Error component stack (automated)</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="at InspectedElementContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:38726:3) at Suspense at ErrorBoundary_ErrorBoundary (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37092:5) at div at InspectedElementErrorBoundaryWrapper (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37572:3) at NativeStyleContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40146:3) at div at div at OwnersListContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:35254:3) at SettingsModalContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:35695:3) at Components_Components (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:42085:52) at ErrorBoundary_ErrorBoundary (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37092:5) at div at div at ThemeProvider (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37222:3) at PortaledContent (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37256:5) at div at div at div at ThemeProvider (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37222:3) at SchedulingProfilerContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43423:3) at ProfilerContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:41711:3) at TreeContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:30116:3) at SettingsContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:30727:3) at ModalDialogContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37635:3) at DevTools_DevTools (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:53004:3)"><pre lang="text" class="notranslate"><code class="notranslate">at InspectedElementContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:38726:3) at Suspense at ErrorBoundary_ErrorBoundary (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37092:5) at div at InspectedElementErrorBoundaryWrapper (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37572:3) at NativeStyleContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40146:3) at div at div at OwnersListContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:35254:3) at SettingsModalContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:35695:3) at Components_Components (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:42085:52) at ErrorBoundary_ErrorBoundary (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37092:5) at div at div at ThemeProvider (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37222:3) at PortaledContent (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37256:5) at div at div at div at ThemeProvider (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37222:3) at SchedulingProfilerContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43423:3) at ProfilerContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:41711:3) at TreeContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:30116:3) at SettingsContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:30727:3) at ModalDialogContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37635:3) at DevTools_DevTools (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:53004:3) </code></pre></div> <h3 dir="auto">GitHub query string (automated)</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="https://api.github.com/search/issues?q=Cannot read properties of undefined (reading 'push') in:title is:issue is:open is:public label:&quot;Component: Developer Tools&quot; repo:facebook/react"><pre lang="text" class="notranslate"><code class="notranslate">https://api.github.com/search/issues?q=Cannot read properties of undefined (reading 'push') in:title is:issue is:open is:public label:"Component: Developer Tools" repo:facebook/react </code></pre></div>
<p dir="auto">React version: 17.0.1</p> <h2 dir="auto">Steps To Reproduce</h2> <ol dir="auto"> <li>clone repo: <a href="https://github.com/avkonst/react-devtools-crash-demo">https://github.com/avkonst/react-devtools-crash-demo</a></li> <li>yarn start</li> <li>open the browser of the started app</li> <li>open devtools</li> <li>click Counter component in the components tab of the development tools</li> <li>Watch it not loading anything and unhandled exception dumped to the console log</li> </ol> <p dir="auto">Link to code example: <a href="https://github.com/avkonst/react-devtools-crash-demo">https://github.com/avkonst/react-devtools-crash-demo</a></p> <h2 dir="auto">The current behavior</h2> <p dir="auto">Devtools crash when I click on the following component in the development tools:</p> <div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import React from 'react'; function useState() { React.useState(0); React.useEffect(() =&gt; () =&gt; {}); } function Counter() { useState(); React.useState(0); return &lt;div&gt;Open React Dev Tools Components panel, click on Counter component and observe the crash in the logging console.&lt;/div&gt;; } export default Counter;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-smi">React</span> <span class="pl-k">from</span> <span class="pl-s">'react'</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-en">useState</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-en">useState</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-en">useEffect</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-kos">)</span> <span class="pl-c1">=&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-k">function</span> <span class="pl-smi">Counter</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">useState</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-en">useState</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">return</span> <span class="pl-c1">&lt;</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span>Open React Dev Tools Components panel, click on Counter component and observe the crash in the logging console.<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-smi">Counter</span><span class="pl-kos">;</span></pre></div> <h2 dir="auto">The expected behavior</h2> <p dir="auto">No crash and the development tools show hooks used.</p>
1
<p dir="auto">It doesn't seem possible to compile and output to stdout. There was some discussion on CodePlex before the migration to github: <a href="https://typescript.codeplex.com/workitem/600" rel="nofollow">https://typescript.codeplex.com/workitem/600</a></p>
<p dir="auto">The compiler incorrectly reports a parameter/call target signature mismatch when using the spread operator. Pasting this code into the TypeScript Playground:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function foo(x: number, y: number, z: number) { } var args = [0, 1, 2]; foo(...args);"><pre class="notranslate"><code class="notranslate">function foo(x: number, y: number, z: number) { } var args = [0, 1, 2]; foo(...args); </code></pre></div> <p dir="auto">produces this error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Supplied parameters do not match any signature of call target."><pre class="notranslate"><code class="notranslate">Supplied parameters do not match any signature of call target. </code></pre></div>
0
<p dir="auto">Note that this is my understanding, please correct me if I'm wrong.</p> <p dir="auto">Currently when conhost acts as bridge between kernel and terminal (is in vt mode), both conhost and terminal have a <code class="notranslate">TextBuffer</code>. If there is an API call from app, then conhost executes it as it used to in window mode, possibly altering buffer, but instead of displaying the changes in the window it sends them to terminal via text/vt sequence.</p> <p dir="auto">While being niffty idea to reuse much code and clever use of polymorphism, I don't think it works so well:</p> <ul dir="auto"> <li>It requires both buffers and other data to be kept in sync.</li> <li>When one buffer changes, the other loses context of that change. E.g. when there is a resize (the issue I'm currently most concerned about.), the other buffer deletes its content and writes it anew, which prevents it from keeping track of the character position transitions. And this is very complicated and apparently error prone (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="459557345" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/1465" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/1465/hovercard" href="https://github.com/microsoft/terminal/issues/1465">#1465</a>).</li> <li>If it's not slow, at least it seems to be. Don't show it to linux users.</li> </ul> <p dir="auto">So I suggest that conhost should translate API calls directly to text/vt. I also summize that this was the first obvious idea, but then something... something I'd like to know and potentially conquer.</p> <p dir="auto">There are problematic API calls that don't have correspondig vt sequence. Like <code class="notranslate">ReadConsoleOutput</code> - it clearly has to access the buffer. So there should be another way of IPC between terminal and conhost, besides the two text/vt pipes. But it would need to be anyway and right now it even exists - signal pipe that currently only sends one type of message: resize event. For performace reasons conhost would probably still cache some data, but not entire text buffer.</p> <p dir="auto">Maybe buffer could be in shared memory with access from both terminal and conhost?</p> <p dir="auto">Let's discuss the issues which led us to current design and prevent from the one above. If it is still beneficial, at least leave some spec about this and someone from community 'd be likely to implemement it.</p>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [Version 10.0.18362.239] Windows Terminal version (if applicable): 0.3.2142.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: [Version 10.0.18362.239] Windows Terminal version (if applicable): 0.3.2142.0 </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Pressing AltGR + 2/3/4/7/8/9/0/+ (number row) - and possibly other key combinations requiring AltGR does not seem to bite on the terminal. For instance, getting the "at" sign "@", we usually press AltGR+2 or CTRL+ALT+2 to write it, but terminal does not recognise both of these ways.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">I was hoping to print out special letters very often needed in the terminal.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">Nothing happens, nothing shows up, not even prints of weird character codes. Just no response.</p>
0
<h2 dir="auto">Objective</h2> <p dir="auto">The purpose of this document is to consolidated the major Kubernetes Volume issues/feature requests, and introduce high-level designs that ensure alignment between all of them.</p> <h2 dir="auto">Background</h2> <p dir="auto">There are three big designs currently being considered for Kubernetes Volume Storage:</p> <ol dir="auto"> <li>Dynamic Provisioning of Volumes <ul dir="auto"> <li>Design proposal by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/markturansky/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/markturansky">@markturansky</a> in issue <a href="https://github.com/kubernetes/kubernetes/pull/17056" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/17056/hovercard">#17056</a></li> </ul> </li> <li>Volume Attach Detach Controller <ul dir="auto"> <li>Design proposal by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/saad-ali/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/saad-ali">@saad-ali</a> in issue <a href="https://github.com/kubernetes/kubernetes/issues/15524" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/15524/hovercard">#15524</a></li> </ul> </li> <li>Flex Volume Plugin <ul dir="auto"> <li>Proposed implementation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/NELCY/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/NELCY">@NELCY</a> in PR <a href="https://github.com/kubernetes/kubernetes/pull/13840" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/13840/hovercard">#13840</a></li> </ul> </li> </ol> <p dir="auto">The solutions to all three can be considered and designed in isolation, however they touch on overlapping issues. Therefore, it makes sense to first agree on an overall design direction for the Kubernetes Volume architecture, before finalizing on the the specifics of each of these.</p> <h2 dir="auto">Goals</h2> <ul dir="auto"> <li>Introduce Dynamic Provisioning <ul dir="auto"> <li>Introduce ability for cluster to automatically (dynamically) create (provision) volumes instead of relying on a cluster admin to manually create them ahead of time.</li> <li><em>Update (Jul 1, 2016):</em> Introduced in v1.2 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108262809" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/14537" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/14537/hovercard" href="https://github.com/kubernetes/kubernetes/pull/14537">#14537</a>) as alpha. Being fully flushed out in v1.4 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158772696" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26908" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/26908/hovercard" href="https://github.com/kubernetes/kubernetes/pull/26908">#26908</a>).</li> </ul> </li> <li>Make Attach/Detach Robust <ul dir="auto"> <li>Make volume attachment and detachment independent of individual node availability.</li> <li><em>Update (Jul 1, 2016):</em> Introduced in v1.3 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156938340" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26351" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/26351/hovercard" href="https://github.com/kubernetes/kubernetes/pull/26351">#26351</a>).</li> </ul> </li> <li>Improve Plugin Model <ul dir="auto"> <li>Establish a plugin model that allows new storage plugins to be written without recompiling Kubernetes code.</li> <li><em>Update (Jul 1, 2016):</em> discussion is <a href="https://groups.google.com/forum/#!topic/kubernetes-sig-storage/9o1vA4jFwqk" rel="nofollow">ongoing</a>.</li> </ul> </li> <li>Enable Modularity and Improve Deployment <ul dir="auto"> <li>Make it easy for cluster admins to select which volume types they want to support, and easily configure/deploy the plugin(s) across the cluster.</li> </ul> </li> <li>Volume Selector <ul dir="auto"> <li>Enable users to select specific storage based on some implementation specific characteristics (specific rack, etc.).</li> <li><em>Update (Jul 1, 2016):</em> Introduced in v1.3 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="155843037" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/25917" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/25917/hovercard" href="https://github.com/kubernetes/kubernetes/pull/25917">#25917</a>.</li> </ul> </li> <li>Volume Classes <ul dir="auto"> <li>Create an abstraction layer (classes) for Kubernetes volumes users so they can request different grades of storage without worrying about the specifics of any one storage implementation.</li> <li><em>Update (Jul 1, 2016):</em> Being fully flushed out as part of dynamic provisioning design in v1.4 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158772696" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26908" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/26908/hovercard" href="https://github.com/kubernetes/kubernetes/pull/26908">#26908</a>).</li> </ul> </li> </ul> <h2 dir="auto">Proposal 1: Single Controller</h2> <p dir="auto">Replace the existing persistent volume controllers that do binding (volumes to claims) and recycling (wiping volumes for reuse), with one controller that does <strong>provisioning</strong> (creating new volumes), binding, and recycling. This controller could monitor <code class="notranslate">PersistentVolume</code> and <code class="notranslate">PersistentVolumeClaim</code> objects via the API server to determine when a new volume needs to be created.</p> <p dir="auto">Another new controller would be responsible for <strong>attaching and detaching</strong> volumes by monitoring <code class="notranslate">PersistentVolume</code> and <code class="notranslate">Pod</code> objects to determine when to attach/detach a volume from the node.</p> <p dir="auto">For a seamless transition, in the immediate term, the existing volume <strong>plugin model</strong> could be used largely as is (although some refactoring would be needed). To implement a storage plugin a third party would need to provide methods to create/delete/attach/detach and optionally mount/unmount a volume. The new controllers and kubelet would call out to these methods as needed.</p> <p dir="auto">The Flex Volume plugin (which adds support for exec based plugins), would be a first step towards enabling creators of third party storage plugin to add support for new volume types without having to add code to Kubernetes. The problem with the Flex plugin is that it doesn’t provide a good deployment mechanism. In order to support a new volume plugin, an admin needs to drop scripts into the correct directories on each node. However, once all the volume controllers move to the master, the exec scripts would only need to be dropped on to the master (not the nodes, since the flex plugin currently doesn’t support custom mount/unmount logic).</p> <p dir="auto"><em>Longer term all third party plugin code would be containerized and removed from the Kubernetes code base.</em> The controllers on master could “docker run” the plugin container with the correct parameters to create/delete/attach/detach volumes. In order to support fully custom mount/unmount logic, the containerized plugin could contain mount/unmount code that Kubelet could similarly “docker run” (this will have to wait until Docker makes the changes needed to allow an executable running inside a container to mount to the host).</p> <p dir="auto">The controllers and kubelet will need need to know which plugin container corresponds to which volume plugin and the other plugin specific configuration information. This will require the cluster to maintain a one to one mapping of volume-type strings to a plugin container path + any cluster wide plugin configuration for that plugin (e.g. <code class="notranslate">GCE</code> maps to <code class="notranslate">{container: “k8s-volume-plugin-gce”, maxVolumesToProvision: 20, … }</code>). This mapping must be available to both the controllers and kubelet (it could be stored in config data or a new API object).</p> <p dir="auto">When a cluster administrator wants to add support for a new volume-type they would simply add a new key-value pair to this mapping.</p> <h3 dir="auto">Pros:</h3> <ul dir="auto"> <li>More concrete contract between Kubernetes and volume plugins.</li> <li>Easier to implement volume plugins <ul dir="auto"> <li>Plugin writers just have to provide implementations for methods like create, attach, detach, etc. and NOT controller logic which is more complicated.</li> </ul> </li> <li>All plugins benefit from fixes/improvements to common controllers.</li> <li>More performant to run a single controller vs n controllers.</li> <li>Smaller incremental steps required to get to proposal’s end state.</li> </ul> <h3 dir="auto">Cons:</h3> <ul dir="auto"> <li>Kubernetes core still responsible for maintaining a lot of volume logic.</li> <li>Less flexibility for individual plugins (i.e will the API be sufficient for all possible volume plugins?).</li> </ul> <h2 dir="auto">Proposal 2: Multiple Controllers</h2> <p dir="auto">Alternatively, instead of a set of Kubernetes provided controllers, the entire controller implementation could be left up to individual plugins. So each plugin would have a controller that would monitor the API Server for PV, PVC, and Pod objects, and when it finds a PVC that it can fulfill, it will claim it, bind it, and be responsible for it through attachment, detachment, all the way to recycling.</p> <p dir="auto">Similar to the other proposal, plugins should be containerized. But instead of the container containing a binary that is triggered for specific tasks (attach, provision, etc.), it would contain the entire controller and run for the life of the cluster (or until the volume type is no longer needed) maybe via a replication controller (to ensure availability). Fully custom mount/unmount logic could be supported similar to the other proposal: by containerizing the mount/unmount code and having Kubelet execute it via a “docker run” (requires Docker support).</p> <h3 dir="auto">Pros:</h3> <ul dir="auto"> <li>More flexibility for plugin writers. <ul dir="auto"> <li>Authors can decide how to implement pretty much everything.</li> </ul> </li> <li>Less Kubernetes exposure. <ul dir="auto"> <li>Since the plugin configuration can be passed directly to the controller rather than through kubernetes, that’s one less thing that must be added to config data or a new API object.</li> </ul> </li> <li>Slightly simpler installation <ul dir="auto"> <li>Support for a plugin can be added simply by running the plugin container. (Although the other proposal is not much more complicated.)</li> </ul> </li> <li>Aligns with Kubernetes Networking plugin design</li> </ul> <h3 dir="auto">Cons:</h3> <ul dir="auto"> <li>Would lead to code duplication. <ul dir="auto"> <li>Most controllers will likely be implementing very similar logic for the controller portion, leading to code duplication/proliferation of bugs.</li> <li>Could be worked around by creating a library that plugin writers could use for standard implementations.</li> </ul> </li> <li>Less performant. <ul dir="auto"> <li>Having to run a controller for each plugin adds overhead, especially for small clusters.</li> </ul> </li> </ul> <h2 dir="auto">Comparison</h2> <h3 dir="auto">Dynamic Provisioning and Attach/Detach Controller</h3> <p dir="auto">Differs for each proposal: Single controller vs multiple controller. See proposals above for details.</p> <h3 dir="auto">Improve Plugin Model</h3> <p dir="auto">Differs for each proposal. See proposals above for details.</p> <h3 dir="auto">Enable Modularity and Improve Deployment</h3> <p dir="auto">Once all plugins are containerized as both plans propose, we should get the kind of plugin modularity we’re hoping for.</p> <p dir="auto">To deploy a new volume-type the cluster administrator would have to:</p> <ul dir="auto"> <li>Installing plugin client binaries on each node. <ul dir="auto"> <li>Short term: the admin must manually copy these files.</li> <li>Long term: these should be containerized and deployed as deamonset pods.</li> </ul> </li> <li>Configure volume classes (optional)--see below for details. <ul dir="auto"> <li>Short term: Config data created and maintained by admin.</li> <li>Long term: Kubectl command for adding and removing classes that does this automatically.</li> </ul> </li> </ul> <p dir="auto">In addition, only for proposal 1, the cluster admin would have to:</p> <ul dir="auto"> <li>Add an entry to the key-value list keeping track of supported plugins to plugin container path/plugin config. <ul dir="auto"> <li>Short term: Config data manually updated by admin.</li> <li>Long term: Kubectl command for adding and removing supported plugins (i.e. admin specifies a volume-type and config, and Kubectl automatically adds it to Config Data).</li> </ul> </li> </ul> <p dir="auto">And, for proposal 2, the cluster admin would have to:</p> <ul dir="auto"> <li>Start the controller container (maybe as a replication controller) with the correct parameters (plugin config) so that it can start watching for PVCs, etc.</li> </ul> <h3 dir="auto">Volume Selector</h3> <p dir="auto">Volume selection support can be added the same way regardless of which proposal is implemented. Add “Labels” to the <code class="notranslate">PersistentVolume</code> object and “Selectors” to the <code class="notranslate">PersistentVolumeClaim</code> object. The binding controller(s) must resolve labels as it tries to fulfill PVCs.</p> <h3 dir="auto">Volume Classes</h3> <p dir="auto">Volume Classes are a way to create an abstraction layer over Kubernetes volumes so that users can request different grades of storage (classes) without worrying about the specifics of any one storage implementation.</p> <p dir="auto">Implementation of classes can not be pushed into the plugin, because if individual plugins define the classes they support, then the whole point of the abstraction is lost. Instead, the cluster administrator must define the set of classes the cluster should support and the mapping of classes to the “knobs” exposed by individual plugins. More concretely, this means, for both proposals, that the cluster must maintain a mapping of admin-defined class strings to a list of parameters for each plugin that fulfills that class (e.g. “Gold” maps to “GCE plugin with parameter SSD” and “NFS with parameter XYZ”). This mapping must be maintained outside of the plugin (maybe in config data or a new API object).</p> <p dir="auto">Weather the blob is a simple string, a list of key-value pairs, or structured JSON is up for debate. It can be argued that a simple string or key-value pair list may not be sufficient to express some more complicated configuration options possible for some plugins. If that is the case, the map could maintain a structured JSON blob that the plugin would be responsible for parsing. For convenience, plugin writer could provide a “JSON blob creation tool” to make it easier for cluster admins to generate the blob.</p> <p dir="auto">CC <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thockin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thockin">@thockin</a> @kubernetes/goog-cluster @kubernetes/rh-storage</p> <p dir="auto">We'll use this document to drive the discussion at the Storage Special Interest Group meeting on Dec. 8, 2015 11 AM PST.</p>
<p dir="auto">At github page <a href="https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/ubuntu.md">https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/ubuntu.md</a></p> <p dir="auto">Mentioned one page: <a href="http://kubernetes.github.io/docs/getting-started-guides/ubuntu/" rel="nofollow">http://kubernetes.github.io/docs/getting-started-guides/ubuntu/</a></p> <p dir="auto">The above link was not found (see attached screenshot)</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1780032/21073648/773c5d28-bf1f-11e6-9895-f1174bd05864.png"><img src="https://cloud.githubusercontent.com/assets/1780032/21073648/773c5d28-bf1f-11e6-9895-f1174bd05864.png" alt="image003" style="max-width: 100%;"></a></p>
0
<h2 dir="auto">Window is not defined every time npm install reactjs modules</h2> <p dir="auto">window is not defined after install react-chat-widget or any others reactjs modules</p> <h2 dir="auto">Error of Window is not defined when import react modules</h2> <p dir="auto">when i import the module as picture below:</p> <ol dir="auto"> <li> <p dir="auto">import module<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24861458/51331277-58eeef00-1ab4-11e9-9fda-1fc74b4e4381.PNG"><img src="https://user-images.githubusercontent.com/24861458/51331277-58eeef00-1ab4-11e9-9fda-1fc74b4e4381.PNG" alt="import-widget" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto">use module into render function<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24861458/51331288-5ee4d000-1ab4-11e9-92d1-17a07e276f94.PNG"><img src="https://user-images.githubusercontent.com/24861458/51331288-5ee4d000-1ab4-11e9-92d1-17a07e276f94.PNG" alt="insert-render" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto">next.config.js with zeit/<a class="issue-link js-issue-link notranslate" rel="noopener noreferrer nofollow" href="https://linear.app/vercel/issue/NEXT-css">next-css</a> npm package<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24861458/51331356-850a7000-1ab4-11e9-984c-90b401e97052.PNG"><img src="https://user-images.githubusercontent.com/24861458/51331356-850a7000-1ab4-11e9-984c-90b401e97052.PNG" alt="capture" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto">package.json<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24861458/51330339-4a9fd380-1ab2-11e9-892c-b981bc89ff49.PNG"><img src="https://user-images.githubusercontent.com/24861458/51330339-4a9fd380-1ab2-11e9-892c-b981bc89ff49.PNG" alt="package-json" style="max-width: 100%;"></a></p> </li> </ol> <h2 dir="auto">Step to get error</h2> <p dir="auto">Steps to produce the error after install react modules:</p> <ol dir="auto"> <li>Open cmd as administration</li> <li>run "yarn run dev"</li> <li>localhost:3000 started</li> <li>open chrome browser, refresh</li> <li>Unhandled Rejection (ReferenceError): window is not defined</li> </ol> <h2 dir="auto">Expected behavior</h2> <p dir="auto">I expect react-chat-widget it can do like this as picture below after installed module:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24861458/51330541-b6823c00-1ab2-11e9-87a7-403ba2c641ac.PNG"><img src="https://user-images.githubusercontent.com/24861458/51330541-b6823c00-1ab2-11e9-87a7-403ba2c641ac.PNG" alt="react-chat-widget-snap" style="max-width: 100%;"></a></p> <h2 dir="auto">Screenshots of Error shows in browser after run it</h2> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24861458/51330597-cbf76600-1ab2-11e9-8e70-1143c1a7cf61.PNG"><img src="https://user-images.githubusercontent.com/24861458/51330597-cbf76600-1ab2-11e9-8e70-1143c1a7cf61.PNG" alt="capture" style="max-width: 100%;"></a></p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>OS: Windows</li> <li>chrome</li> <li>Version of Next.js: [e.g. 7.0.2]</li> </ul>
<p dir="auto">Now some of us ships NPM packages (specially components) written in ES2015 without transpiling them.</p> <p dir="auto">That's a pretty good thing specially if they are gonna used in a project like Next.js or CRA (which does transpiling). They offer benefits like:</p> <ul dir="auto"> <li>No need to transpile before shipping to NPM</li> <li>Get the benefit of Webpack 2's tree-shaking</li> </ul> <p dir="auto">But we can't do this now we <a href="https://github.com/zeit/next.js/blob/master/server/build/webpack.js#L166">exclude</a> everything inside node_modules from babel transpiling.</p> <p dir="auto">So, here's the proposed solution.</p> <p dir="auto">We have an entry in <code class="notranslate">next.config.js</code> to include modules which needs to go through babel. See:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="module.exports = { transpileModules: [ &quot;my-component&quot;, &quot;redux/src&quot; ] }"><pre class="notranslate"><span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">transpileModules</span>: <span class="pl-kos">[</span> <span class="pl-s">"my-component"</span><span class="pl-kos">,</span> <span class="pl-s">"redux/src"</span> <span class="pl-kos">]</span> <span class="pl-kos">}</span></pre></div>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=tkrah" rel="nofollow">Torsten Krah</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8674?redirect=false" rel="nofollow">SPR-8674</a></strong> and commented</p> <p dir="auto">Please look at the attached Testcase. Conversion does work for String -&gt; Set in 3.0.5 but fails in 3.0.6. Elements are converted to the collection type rather than their Collections elements type.<br> The revision and bug which causes this is mentioned in the forum thread.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.0.6</p> <p dir="auto"><strong>Reference URL:</strong> <a href="http://forum.springsource.org/showthread.php?113783-TypeConverterDelegate-change-in-3.0.6-has-broken-my-CustomCollectionEditor-bindings" rel="nofollow">http://forum.springsource.org/showthread.php?113783-TypeConverterDelegate-change-in-3.0.6-has-broken-my-CustomCollectionEditor-bindings</a></p> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/18788/Test.java" rel="nofollow">Test.java</a> (<em>2.02 kB</em>)</li> </ul> <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="398114364" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13307" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13307/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13307">#13307</a> Did spring framework 3.0.6 break property editor support for List's? If so, here's a new bug that was created. (<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="398114679" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13356" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13356/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13356">#13356</a> 3.0.6 Map to Map conversion shallow copying maps causing unexpected results on upgrade from 3.0.5</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/836e3c92531e608ccb5dcf8fdb8a0fa8bc24145a/hovercard" href="https://github.com/spring-projects/spring-framework/commit/836e3c92531e608ccb5dcf8fdb8a0fa8bc24145a"><tt>836e3c9</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/33b53b7cca7ec2667d57d320d888c51e48b09ed6/hovercard" href="https://github.com/spring-projects/spring-framework/commit/33b53b7cca7ec2667d57d320d888c51e48b09ed6"><tt>33b53b7</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/94513c1a280db691f1c5e191dd9a581a3d497cb1/hovercard" href="https://github.com/spring-projects/spring-framework/commit/94513c1a280db691f1c5e191dd9a581a3d497cb1"><tt>94513c1</tt></a></p> <p dir="auto">1 votes, 3 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=jeremyg484" rel="nofollow">Jeremy Grelle</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7400?redirect=false" rel="nofollow">SPR-7400</a></strong> and commented</p> <p dir="auto">Building on the newly added ResourceHttpRequestHandler, the following advance features should be re-considered:</p> <ul dir="auto"> <li> <p dir="auto">Minification should be applied to text-based resources where possible e.g. .js (should be possible to disable)</p> </li> <li> <p dir="auto">Resource bundling should be supported. This provides the ability to load multiple resources in one HTTP request, which can improve performance.</p> </li> <li> <p dir="auto">Resource versioning should be supported. This causes clients to refresh cached resources when a new version of the application is deployed. This prevents clients from working with stale content after deployment of a new version. (should be possible to disable, when disabled no caching should be performed)</p> </li> <li> <p dir="auto">The ability to serve GZip compressed resources should be further expanded to consider disk-cached pre-compressed versions of the resources</p> </li> </ul> <hr> <p dir="auto"><strong>Affects:</strong> 3.0.4</p> <p dir="auto"><strong>Sub-tasks:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398104794" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11800" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11800/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11800">#11800</a> Add support for versioning resources</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398106406" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12059" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12059/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12059">#12059</a> Add support for caching of compressed resources</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398106408" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12060" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12060/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12060">#12060</a> Add support for versioning resources</li> </ul> <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="398104628" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11776" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11776/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11776">#11776</a> Add ResourceHttpRequestHandler for efficiently serving static resouces (<em><strong>"depends on"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398161652" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/15561" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/15561/hovercard" href="https://github.com/spring-projects/spring-framework/issues/15561">#15561</a> Enhance ResourceHttpRequestHandler with ResourceResolver strategy (<em><strong>"duplicates"</strong></em>)</li> </ul> <p dir="auto">4 votes, 8 watchers</p>
0
<p dir="auto">The following code:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@functools.partial(jax.custom_vjp, nondiff_argnums=(1,)) def _precise_mean(x, axis): with jax.experimental.enable_x64(): return jnp.mean(x.astype(&quot;float64&quot;), axis=axis).astype(x.dtype) def _precise_mean_fwd(x, axis): return _precise_mean(x, axis), (x,) def _precise_mean_bwd(axis, res, g): x, = res dims = tuple(i for i in range(x.ndim) if i not in axis) factor = 1 for a in axis: factor *= x.shape[a] g = g / factor print(g.dtype) return lax.broadcast_in_dim(g.astype(x.dtype), x.shape, dims), _precise_mean.defvjp(_precise_mean_fwd, _precise_mean_bwd) def precise_mean(x, axis=None): if axis is None: axis = tuple(range(x.ndim)) elif isinstance(axis, int): axis = (axis,) # Take care of negative values axis = tuple((x.ndim + a) % x.ndim for a in axis) if not all(isinstance(a, int) for a in axis): raise ValueError(&quot;All axis must be integers.&quot;) return _precise_mean(x, axis) @jax.jit def f(x, a, b): x = jnp.matmul(x, a) + b[None] y = jnp.sum(x, axis=-1) return precise_mean(y, axis=0) x = jnp.ones([5000, 100]) a = jnp.ones([100, 100]) b = jnp.zeros([100]) print(f(x, a, b).dtype)"><pre class="notranslate"><code class="notranslate">@functools.partial(jax.custom_vjp, nondiff_argnums=(1,)) def _precise_mean(x, axis): with jax.experimental.enable_x64(): return jnp.mean(x.astype("float64"), axis=axis).astype(x.dtype) def _precise_mean_fwd(x, axis): return _precise_mean(x, axis), (x,) def _precise_mean_bwd(axis, res, g): x, = res dims = tuple(i for i in range(x.ndim) if i not in axis) factor = 1 for a in axis: factor *= x.shape[a] g = g / factor print(g.dtype) return lax.broadcast_in_dim(g.astype(x.dtype), x.shape, dims), _precise_mean.defvjp(_precise_mean_fwd, _precise_mean_bwd) def precise_mean(x, axis=None): if axis is None: axis = tuple(range(x.ndim)) elif isinstance(axis, int): axis = (axis,) # Take care of negative values axis = tuple((x.ndim + a) % x.ndim for a in axis) if not all(isinstance(a, int) for a in axis): raise ValueError("All axis must be integers.") return _precise_mean(x, axis) @jax.jit def f(x, a, b): x = jnp.matmul(x, a) + b[None] y = jnp.sum(x, axis=-1) return precise_mean(y, axis=0) x = jnp.ones([5000, 100]) a = jnp.ones([100, 100]) b = jnp.zeros([100]) print(f(x, a, b).dtype) </code></pre></div> <p dir="auto">Throws out the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="UnfilteredStackTrace: RuntimeError: Internal: Seen floating point types of different precisions in %reduce.23 = f32[] reduce(f64[5000]{0} %convert.17, f32[] %constant.18), dimensions={0}, to_apply=%primitive_computation_add.19, metadata={op_type=&quot;reduce_sum&quot; op_name=&quot;jit(f)/custom_vjp_call_jaxpr/reduce_sum[ axes=(0,) ]&quot; source_file=&quot;&lt;ipython-input-219-aea426c526ae&gt;&quot; source_line=13}, but mixed precision is disallowed. Failed after pipeline-start The stack trace below excludes JAX-internal frames. The preceding is the original exception that occurred, unmodified."><pre class="notranslate"><code class="notranslate">UnfilteredStackTrace: RuntimeError: Internal: Seen floating point types of different precisions in %reduce.23 = f32[] reduce(f64[5000]{0} %convert.17, f32[] %constant.18), dimensions={0}, to_apply=%primitive_computation_add.19, metadata={op_type="reduce_sum" op_name="jit(f)/custom_vjp_call_jaxpr/reduce_sum[ axes=(0,) ]" source_file="&lt;ipython-input-219-aea426c526ae&gt;" source_line=13}, but mixed precision is disallowed. Failed after pipeline-start The stack trace below excludes JAX-internal frames. The preceding is the original exception that occurred, unmodified. </code></pre></div> <p dir="auto">It is unclear at the moment how to use the <code class="notranslate">enable_x64</code> contest when using <code class="notranslate">jax.jit</code>.</p>
<p dir="auto">minimal repro:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from jax import jit, experimental @jit def f(a): with experimental.enable_x64(): return 1 + a f(1)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">jax</span> <span class="pl-k">import</span> <span class="pl-s1">jit</span>, <span class="pl-s1">experimental</span> <span class="pl-en">@<span class="pl-s1">jit</span></span> <span class="pl-k">def</span> <span class="pl-en">f</span>(<span class="pl-s1">a</span>): <span class="pl-k">with</span> <span class="pl-s1">experimental</span>.<span class="pl-en">enable_x64</span>(): <span class="pl-k">return</span> <span class="pl-c1">1</span> <span class="pl-c1">+</span> <span class="pl-s1">a</span> <span class="pl-en">f</span>(<span class="pl-c1">1</span>)</pre></div> <div class="highlight highlight-text-python-traceback notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="RuntimeError: Invalid argument: Binary op add with different element types: s64[] and s32[]."><pre class="notranslate"><span class="pl-en">RuntimeError</span>: <span class="pl-s">Invalid argument: Binary op add with different element types: s64[] and s32[].</span></pre></div>
1
<p dir="auto"><strong>Expected Behavior</strong><br> Use the session.setProxy function of a window to set a user:pass authenticated proxy. Load URL in that window. Expect that app.login event is triggered and request is made.<br> <strong>Actual behavior</strong><br> Set session proxy to a user:pass authenticated proxy, loadURL requests fail with status "failed" in dev tools. App.login event never called.<br> <strong>To Reproduce</strong><br> Create a window, use the session setProxy function to set a user:pass authenticated proxy. Then try to load ANY url in that window.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="win.webContents.session.setProxy({ proxyRules: `http://user:pass@ip:port` }, () =&gt; {}); } //Requests fail status &quot;failed&quot; win.loadURL('https://whatismyipaddress.com'); //This is NOT reached app.on('login', function (event, request, authInfo, callback) { if (authInfo.isProxy) { log.info(`HI ${JSON.stringify(authInfo)}`) // callback('username', 'password'); } })"><pre class="notranslate"><code class="notranslate">win.webContents.session.setProxy({ proxyRules: `http://user:pass@ip:port` }, () =&gt; {}); } //Requests fail status "failed" win.loadURL('https://whatismyipaddress.com'); //This is NOT reached app.on('login', function (event, request, authInfo, callback) { if (authInfo.isProxy) { log.info(`HI ${JSON.stringify(authInfo)}`) // callback('username', 'password'); } }) </code></pre></div> <p dir="auto">Working code with IP authenticated proxies</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="win.webContents.session.setProxy({ proxyRules: `http://ip:port` }, () =&gt; {}); } //Requests succeed win.loadURL('https://whatismyipaddress.com'); //This is reached app.on('login', function (event, request, authInfo, callback) { if (authInfo.isProxy) { log.info(`HI ${JSON.stringify(authInfo)}`) // callback('username', 'password'); } })"><pre class="notranslate"><code class="notranslate">win.webContents.session.setProxy({ proxyRules: `http://ip:port` }, () =&gt; {}); } //Requests succeed win.loadURL('https://whatismyipaddress.com'); //This is reached app.on('login', function (event, request, authInfo, callback) { if (authInfo.isProxy) { log.info(`HI ${JSON.stringify(authInfo)}`) // callback('username', 'password'); } }) </code></pre></div> <p dir="auto">This code is working for me with IP authenticated proxies. App.login is triggered and the request completes as expected. Just user:pass proxies that are the issue.</p> <p dir="auto">When opening chrome dev tools I can see the requests being attempted and returning status "failed".</p> <p dir="auto"><strong>Additional Information</strong></p> <p dir="auto">I opened this issue and it was closed, marked as a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="308769567" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/12443" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/12443/hovercard" href="https://github.com/electron/electron/issues/12443">#12443</a></p> <p dir="auto">This is a different case and not a duplicate. Please do not close this! Thank you.</p> <p dir="auto"><em>edited</em></p> <ul dir="auto"> <li>Electron version :2.0.1</li> <li>Platform: MacOS High Sierra 10.13.3</li> </ul>
<h3 dir="auto">Preflight Checklist</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Issue Details</h3> <ul dir="auto"> <li><strong>Electron Version:</strong> <ul dir="auto"> <li>7.0.0</li> </ul> </li> <li><strong>Operating System:</strong> <ul dir="auto"> <li>macOS</li> </ul> </li> <li><strong>Last Known Working Electron version:</strong> <ul dir="auto"> <li>6.1.2</li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto"><a href="https://github.com/electron/electron/blob/v7.0.0/docs/api/web-contents.md#event-login">https://github.com/electron/electron/blob/v7.0.0/docs/api/web-contents.md#event-login</a> triggered</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">login event not triggered</p> <h3 dir="auto">To Reproduce</h3> <p dir="auto">run following code</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const {app, BrowserWindow} = require('electron') app.once('ready', async () =&gt; { win = new BrowserWindow() app.on('login', console.log) win.webContents.on('login', console.log) win.webContents.once('did-finish-load', async () =&gt; { const html = await win.webContents.executeJavaScript('document.documentElement.innerHTML') console.log(html) app.quit() }) await win.webContents.loadURL('https://httpbin.org/basic-auth/user/passwd') })"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-kos">{</span>app<span class="pl-kos">,</span> BrowserWindow<span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'electron'</span><span class="pl-kos">)</span> <span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">once</span><span class="pl-kos">(</span><span class="pl-s">'ready'</span><span class="pl-kos">,</span> <span class="pl-k">async</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-s1">win</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">BrowserWindow</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'login'</span><span class="pl-kos">,</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-c1">log</span><span class="pl-kos">)</span> <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-c1">webContents</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'login'</span><span class="pl-kos">,</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-c1">log</span><span class="pl-kos">)</span> <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-c1">webContents</span><span class="pl-kos">.</span><span class="pl-en">once</span><span class="pl-kos">(</span><span class="pl-s">'did-finish-load'</span><span class="pl-kos">,</span> <span class="pl-k">async</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-k">const</span> <span class="pl-s1">html</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-c1">webContents</span><span class="pl-kos">.</span><span class="pl-en">executeJavaScript</span><span class="pl-kos">(</span><span class="pl-s">'document.documentElement.innerHTML'</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">html</span><span class="pl-kos">)</span> <span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">quit</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-k">await</span> <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-c1">webContents</span><span class="pl-kos">.</span><span class="pl-en">loadURL</span><span class="pl-kos">(</span><span class="pl-s">'https://httpbin.org/basic-auth/user/passwd'</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
1
<p dir="auto">they have plans so that deno can run on arm architectures.</p>
<p dir="auto">When attempting to install deno on my Raspberry Pi, I get the following:</p> <p dir="auto">$ curl -fsSL <a href="https://deno.land/x/install/install.sh" rel="nofollow">https://deno.land/x/install/install.sh</a> | sh -s v0.4.0<br> Unsuported architecture armv7l. Only x64 binaries are available.</p> <p dir="auto">Is support for 32-bit ARM processors something we can eventually expect?</p>
1
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p> <p dir="auto">It is possible for a MSSQL connection attached to one database to reference objects in another database by using the objects' full names in the form, &lt;database_name&gt;.&lt;owner_name&gt;.&lt;table_name&gt;. The schema.Table constructor takes a schema argument and an owner argument already. These arguments should be used so that the schema argument takes the place of the database name in the format described above.</p> <p dir="auto">So the following table definition:</p> <p dir="auto">t = Table('a_table', meta, Column('col1', Integer), Column('col2', Integer), schema='database_name', owner='owner_name')</p> <p dir="auto">and select construction:</p> <p dir="auto">select(<a href="t">t</a>)</p> <p dir="auto">would yield the following SQL when compiled:</p> <p dir="auto">SELECT a_table_xxxx.col1, a_table_xxxx.col2<br> FROM database_name.owner_name.a_table<br> AS a_table_xxxx</p> <p dir="auto">Please find included a simple test case that demonstrates the desired behavior.</p> <hr> <p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/594/test_mssql_naming_scheme.py">test_mssql_naming_scheme.py</a></p>
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p> <p dir="auto">Please find attached some diffs which go towards supporting multipart schema names. Background discussion can be found on a thread on the sqlalchemy group:</p> <p dir="auto"><a href="http://groups.google.com/group/sqlalchemy/browse_frm/thread/e34ff8fed2c5be2a" rel="nofollow">http://groups.google.com/group/sqlalchemy/browse_frm/thread/e34ff8fed2c5be2a</a></p> <p dir="auto">I added a couple of new tests in test/dialect/mssql.py</p> <hr> <p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/1341/1341.patch">1341.patch</a> | <a href="../wiki/imported_issue_attachments/1341/sa_multipart_schema.patch">sa_multipart_schema.patch</a></p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Issue Details</h3> <ul dir="auto"> <li><strong>Electron Version:</strong> 8.1.1</li> <li><strong>Operating System:</strong> Windows 10 (1709)</li> <li><strong>Last Known Working Electron version:</strong> n/a - relates to new allowRendererProcessReuse flag; works fine without it</li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">I am using Node's http/https modules to ping a site in a renderer process. I expect that I can successfully ping a site like "<a href="https://google.com" rel="nofollow">https://google.com</a>" without timing out when <code class="notranslate">app.allowRendererProcessReuse</code> is <code class="notranslate">true</code>.</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">The request always times out.</p> <h3 dir="auto">To Reproduce</h3> <p dir="auto">Code below, but the gist is this.</p> <p dir="auto">I navigate a window to a page. Then, I navigate the window to another page and ping the site with the http/https modules.</p> <p dir="auto">When <code class="notranslate">allowRendererProcessReuse</code> is set, the requests always time out.</p> <p dir="auto">When I unset the flag, everything works fine.<br> When I load the second page (that makes the requests) instead of the first, everything works fine.<br> When I explicitly kill the renderer process from the first navigation, and then do the second navigation, everything works fine.</p> <p dir="auto">Something about keeping the old renderer around makes it not work for some reason.</p> <p dir="auto">main.ts:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import &quot;electron&quot;; function createMainWindow(): void { const { BrowserWindow, ipcMain } = require(&quot;electron&quot;); const mainWindow: Electron.BrowserWindow = new BrowserWindow({ show: true, webPreferences: { nodeIntegration: true } }); mainWindow.loadFile(&quot;./firstPage.html&quot;); // Workaround 2: load the secondPage instead of the firstPage ipcMain.once(&quot;next&quot;, () =&gt; { mainWindow.loadFile(&quot;./secondPage.html&quot;); mainWindow.webContents.openDevTools(); }); } export async function main(): Promise&lt;void&gt; { const { app } = require(&quot;electron&quot;); app.allowRendererProcessReuse = true; // Workaround 1: comment this out app.on(&quot;window-all-closed&quot;, () =&gt; { app.quit(); }); await app.whenReady(); createMainWindow(); } if (require.main === module) { main(); }"><pre class="notranslate"><code class="notranslate">import "electron"; function createMainWindow(): void { const { BrowserWindow, ipcMain } = require("electron"); const mainWindow: Electron.BrowserWindow = new BrowserWindow({ show: true, webPreferences: { nodeIntegration: true } }); mainWindow.loadFile("./firstPage.html"); // Workaround 2: load the secondPage instead of the firstPage ipcMain.once("next", () =&gt; { mainWindow.loadFile("./secondPage.html"); mainWindow.webContents.openDevTools(); }); } export async function main(): Promise&lt;void&gt; { const { app } = require("electron"); app.allowRendererProcessReuse = true; // Workaround 1: comment this out app.on("window-all-closed", () =&gt; { app.quit(); }); await app.whenReady(); createMainWindow(); } if (require.main === module) { main(); } </code></pre></div> <p dir="auto">firstPage.html:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;body&gt; &lt;button id=&quot;acceptButton&quot;&gt;Accept&lt;/button&gt; &lt;script src=&quot;./firstPage.ts&quot;&gt;&lt;/script&gt; &lt;/body&gt; &lt;/html&gt;"><pre class="notranslate"><code class="notranslate">&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;body&gt; &lt;button id="acceptButton"&gt;Accept&lt;/button&gt; &lt;script src="./firstPage.ts"&gt;&lt;/script&gt; &lt;/body&gt; &lt;/html&gt; </code></pre></div> <p dir="auto">firstPage.ts:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="document.getElementById(&quot;acceptButton&quot;).onclick = () =&gt; { require(&quot;electron&quot;).ipcRenderer.send(&quot;next&quot;); // Workaround 3: Do a process.exit() here and await the loadFile(secondPage) navigation. This causes us to create a new renderer process };"><pre class="notranslate"><code class="notranslate">document.getElementById("acceptButton").onclick = () =&gt; { require("electron").ipcRenderer.send("next"); // Workaround 3: Do a process.exit() here and await the loadFile(secondPage) navigation. This causes us to create a new renderer process }; </code></pre></div> <p dir="auto">secondPage.html:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;body&gt; &lt;div id=&quot;controlDiv&quot;&gt; &lt;input id=&quot;url&quot; type=&quot;url&quot; value=&quot;https://google.com&quot; /&gt; &lt;button id=&quot;navigateButton&quot;&gt;Navigate&lt;/button&gt; &lt;/div&gt; &lt;script src=&quot;./secondPage.js&quot;&gt;&lt;/script&gt; &lt;/body&gt; &lt;/html&gt;"><pre class="notranslate"><code class="notranslate">&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;body&gt; &lt;div id="controlDiv"&gt; &lt;input id="url" type="url" value="https://google.com" /&gt; &lt;button id="navigateButton"&gt;Navigate&lt;/button&gt; &lt;/div&gt; &lt;script src="./secondPage.js"&gt;&lt;/script&gt; &lt;/body&gt; &lt;/html&gt; </code></pre></div> <p dir="auto">secondPage.ts:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const https = require(&quot;https&quot;); const http = require(&quot;http&quot;); const dialog = require(&quot;electron&quot;).remote.dialog; document.getElementById(&quot;navigateButton&quot;).onclick = () =&gt; { const url: string = (document.getElementById(&quot;url&quot;) as HTMLInputElement).value.trim(); const parsedURL: URL = new URL(url); let requestMethod = http.request; if (parsedURL.protocol === &quot;https:&quot;) { requestMethod = https.request; } const clientRequest = requestMethod(url, { method: &quot;HEAD&quot;, timeout: 3000 }, () =&gt; { dialog.showMessageBox({ message: &quot;valid&quot; }); }); clientRequest.on(&quot;timeout&quot;, () =&gt; { dialog.showMessageBox({ message: &quot;timed out&quot; }); clientRequest.abort(); }); clientRequest.end(); };"><pre class="notranslate"><code class="notranslate">const https = require("https"); const http = require("http"); const dialog = require("electron").remote.dialog; document.getElementById("navigateButton").onclick = () =&gt; { const url: string = (document.getElementById("url") as HTMLInputElement).value.trim(); const parsedURL: URL = new URL(url); let requestMethod = http.request; if (parsedURL.protocol === "https:") { requestMethod = https.request; } const clientRequest = requestMethod(url, { method: "HEAD", timeout: 3000 }, () =&gt; { dialog.showMessageBox({ message: "valid" }); }); clientRequest.on("timeout", () =&gt; { dialog.showMessageBox({ message: "timed out" }); clientRequest.abort(); }); clientRequest.end(); }; </code></pre></div> <p dir="auto">Start the app. Click the button to go to the second page. Click the navigate button (or try another URL). You will see the "timed out" dialog appear instead of the "valid" dialog.</p>
<ul dir="auto"> <li>Electron version: 1.6.8</li> <li>Operating system: MacOS</li> </ul> <p dir="auto">Apologies if this is a duplicate, I found issues related to <code class="notranslate">window.open</code>, however I believe none covered my use case</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">Communication between an iframe and windows it opens should be possible (via <code class="notranslate">postMessage</code> API). Therefore, <code class="notranslate">window.open</code> should behave correctly when used within an iframe.</p> <h4 dir="auto">Opener to opened</h4> <p dir="auto">Calling <code class="notranslate">window.open</code> from within an iframe should return the created <code class="notranslate">BrowserProxyWindow</code>, allowing the <strong>opener</strong> to post messages to the <strong>opened</strong></p> <h4 dir="auto">Opened to opener</h4> <p dir="auto">The opened windows <code class="notranslate">window.opener</code> should point back to the iframes window (the window that opened it), allowing the <strong>opened</strong> to post messages to the <strong>opener</strong></p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">Communication between the opener and the opened window is broken in both directions when the<br> opener is an iframe.</p> <h4 dir="auto">Opener to opened</h4> <p dir="auto"><code class="notranslate">window.open</code> returns <code class="notranslate">null</code> when called within an iframe. Therefore, it is impossible for the opener to communicate to the opened window.</p> <p dir="auto"><code class="notranslate">window.open</code> uses Chromiums implementation instead of Electron's proxy from within an iframe.</p> <h4 dir="auto">Opened to opener</h4> <p dir="auto"><code class="notranslate">window.opener</code> points to <code class="notranslate">top</code> instead of the iframe which opened the window. Therefore, it is impossible to communicate from the opened window to the opener window (the iframe).</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto">The easiest way to reproduce is to:</p> <ol dir="auto"> <li>open up the example electron app</li> <li>open dev tools and insert an iframe</li> <li>from dev tools console set the context to the iframe, and execute <code class="notranslate">window.open</code> (it will return <code class="notranslate">null</code>)</li> <li>open the dev tools in the opened window and inspect <code class="notranslate">window.opener</code>... it will NOT point to the opener (the iframe) instead it will be pointing at <code class="notranslate">top</code></li> </ol>
0
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-use-appendto-to-move-elements-with-jquery?solution=fccss%0A%20%20%24%28document%29.ready%28function%28%29%20%7B%0A%20%20%20%20%24%28%22%23target1%22%29.css%28%22color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.prop%28%22disabled%22%2C%20true%29%3B%0A%20%20%20%20%24%28%22%23target4%22%29.remove%28%29%3B%0A%20%20%20%20%24%28%22%23target2%22%29.appendTo%28%22%23right-well%22%29%3B%0A%0A%20%20%7D%29%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Waypoint: Use appendTo to Move Elements with jQuery</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.3; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <p dir="auto">My code:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;script&gt; $(document).ready(function() { $(&quot;#target1&quot;).css(&quot;color&quot;, &quot;red&quot;); $(&quot;#target1&quot;).prop(&quot;disabled&quot;, true); $(&quot;#target4&quot;).remove(); $(&quot;#target2&quot;).appendTo(&quot;#right-well&quot;); }); &lt;/script&gt; &lt;!-- Only change code above this line. --&gt; &lt;div class=&quot;container-fluid&quot;&gt; &lt;h3 class=&quot;text-primary text-center&quot;&gt;jQuery Playground&lt;/h3&gt; &lt;div class=&quot;row&quot;&gt; &lt;div class=&quot;col-xs-6&quot;&gt; &lt;h4&gt;#left-well&lt;/h4&gt; &lt;div class=&quot;well&quot; id=&quot;left-well&quot;&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target1&quot;&gt;#target1&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target2&quot;&gt;#target2&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target3&quot;&gt;#target3&lt;/button&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class=&quot;col-xs-6&quot;&gt; &lt;h4&gt;#right-well&lt;/h4&gt; &lt;div class=&quot;well&quot; id=&quot;right-well&quot;&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target4&quot;&gt;#target4&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target5&quot;&gt;#target5&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target6&quot;&gt;#target6&lt;/button&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; "><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">prop</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target4"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-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-c">&lt;!-- Only change code above this line. --&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">&gt;</span>jQuery Playground<span class="pl-kos">&lt;/</span><span class="pl-ent">h3</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span>#left-well<span class="pl-kos">&lt;/</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">&gt;</span>#target1<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">&gt;</span>#target2<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">&gt;</span>#target3<span class="pl-kos">&lt;/</span><span class="pl-ent">button</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">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span>#right-well<span class="pl-kos">&lt;/</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">&gt;</span>#target4<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">&gt;</span>#target5<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">&gt;</span>#target6<span class="pl-kos">&lt;/</span><span class="pl-ent">button</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">div</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">div</span><span class="pl-kos">&gt;</span></pre></div>
<p dir="auto">A bug seems to be present: Chrome 46.0.2490.86 m; Windows 8.1 with respect to <code class="notranslate">appendTo()</code> function.</p> <p dir="auto"><code class="notranslate">$("#target2").appendTo($("#right-well"));</code> does work, but not the <code class="notranslate">$("#target2").appendTo("#right-well");</code>, the latter being suggested in the tutorial.</p> <p dir="auto">Hard reload and cache clearing did not seem to solve the problem.</p>
1
<p dir="auto">Hi ,<br> I used the VideoCapture function to call the camera, but something went wrong. Is this a bug? My CV version is 4.5.3 .<br> import cv2<br> cap = cv2.VideoCapture(0)<br> while True:<br> ret,frame=cap.read()<br> gray=cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY)<br> cv2.imshow('WindowName',gray)<br> if cv2.waitKey(1)&amp;0xFF==ord('q'):<br> break<br> cap.release()<br> cv2.destroyAllWindows()</p> <p dir="auto">cv2.error: OpenCV(4.5.3) /Users/runner/miniforge3/conda-bld/libopencv_1633800950233/work/modules/videoio/src/cap.cpp:239: error: (-215:Assertion failed) !info.backendFactory.empty() in function 'open'</p> <p dir="auto">The above exception was the direct cause of the following exception:</p> <p dir="auto">Traceback (most recent call last):<br> File "/Users/master/python/cv2video.py", line 2, in <br> cap = cv2.VideoCapture(0)<br> SystemError: &lt;class 'cv2.VideoCapture'&gt; returned a result with an error set</p> <p dir="auto">The above exception was the direct cause of the following exception:</p> <p dir="auto">Traceback (most recent call last):<br> File "/Users/master/python/cv2video.py", line 2, in <br> cap = cv2.VideoCapture(1)<br> SystemError: &lt;class 'cv2.VideoCapture'&gt; returned a result with an error set</p>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 3.4.2</li> <li>Operating System / Platform = macOS 10.13.6</li> <li>Compiler = Xcode Version 10.0 beta 6 (10L232m)</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">OpenCV iOS framework build fails against most recent Xcode 10 beta. The following error occurs:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="CMake Error at cmake/OpenCVCompilerOptimizations.cmake:458 (message): Required baseline optimization is not supported: NEON (CPU_BASELINE_REQUIRE=;NEON) Call Stack (most recent call first): cmake/OpenCVCompilerOptions.cmake:259 (include) CMakeLists.txt:555 (include) -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Failed CMake Error at cmake/OpenCVCompilerOptimizations.cmake:505 (message): Compiler doesn't support baseline optimization flags: Call Stack (most recent call first): cmake/OpenCVCompilerOptions.cmake:261 (ocv_compiler_optimization_options) CMakeLists.txt:555 (include)"><pre class="notranslate"><code class="notranslate">CMake Error at cmake/OpenCVCompilerOptimizations.cmake:458 (message): Required baseline optimization is not supported: NEON (CPU_BASELINE_REQUIRE=;NEON) Call Stack (most recent call first): cmake/OpenCVCompilerOptions.cmake:259 (include) CMakeLists.txt:555 (include) -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Failed CMake Error at cmake/OpenCVCompilerOptimizations.cmake:505 (message): Compiler doesn't support baseline optimization flags: Call Stack (most recent call first): cmake/OpenCVCompilerOptions.cmake:261 (ocv_compiler_optimization_options) CMakeLists.txt:555 (include) </code></pre></div> <p dir="auto">I realize that this is a <em>beta</em> version of Xcode, but the final version is expected to be released next week, and I was hoping someone else may have seen this issue. Full log is here: <a href="https://gist.github.com/amrox/522e7968c5badbb2fdd168068843e808">https://gist.github.com/amrox/522e7968c5badbb2fdd168068843e808</a></p> <p dir="auto">This seems very similar to<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="283513765" data-permission-text="Title is private" data-url="https://github.com/opencv/opencv/issues/10363" data-hovercard-type="issue" data-hovercard-url="/opencv/opencv/issues/10363/hovercard" href="https://github.com/opencv/opencv/issues/10363">#10363</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="237156692" data-permission-text="Title is private" data-url="https://github.com/opencv/opencv/issues/8945" data-hovercard-type="issue" data-hovercard-url="/opencv/opencv/issues/8945/hovercard" href="https://github.com/opencv/opencv/issues/8945">#8945</a> but this issue is said to be fixed in 3.4.1, and I'm still seeing it in 3.4.2 and 3.4.3.</p> <p dir="auto">Finally this <em>only</em> happens when using the Xcode beta toolchain. If I switch back to Xcode 9.4.1 (9F2000) it builds fine.</p> <h5 dir="auto">Steps to reproduce</h5> <ol dir="auto"> <li>Checkout opencv, tested against <code class="notranslate">3.4.3</code> <code class="notranslate">3.4.2</code> and <code class="notranslate">d74b98c3d9264f9623b27a8d4e0fc92ac97b71d0</code></li> <li>build iOS framework with: <code class="notranslate">python platforms/ios/build_framework.py build/ios</code></li> </ol> <p dir="auto">Edit:</p> <p dir="auto">It appears the real problem is due to the fact that libstdc++ is deprecated in Xcode 10 / iOS 12 toolchain and Apple wants you to move to libc++</p> <p dir="auto">CMakeError.log: <a href="https://github.com/opencv/opencv/files/2352853/CMakeError.log">CMakeError.log</a></p>
0
<p dir="auto">It would be interesting to have a section thant explain how to extends and modifiy Bootstrap for our own project (jsute modify the .less file?) How that can work with the bootstrap update???</p> <p dir="auto">Thanks.</p>
<p dir="auto">As provided here <a href="https://gist.github.com/1866577">https://gist.github.com/1866577</a></p>
0
<p dir="auto">Rather than rolling our own sparse-matrix library, it seems like it would be much better to use <a href="http://www.mcs.anl.gov/petsc/" rel="nofollow">PETSc</a>, which is the de-facto standard here.</p> <p dir="auto">PETSc would give us access to a huge number of sparse-direct back-ends (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="12254930" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/2632" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/2632/hovercard" href="https://github.com/JuliaLang/julia/issues/2632">#2632</a>), iterative solvers, sparse eigensolvers (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="8495314" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/1573" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/1573/hovercard" href="https://github.com/JuliaLang/julia/issues/1573">#1573</a>) via the <a href="http://www.grycap.upv.es/slepc/" rel="nofollow">SLEPc</a> library, optimized implementations (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5121136" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/942" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/942/hovercard" href="https://github.com/JuliaLang/julia/issues/942">#942</a>), multiple output formats, and parallel support (currently completely missing and quite nontrivial to implement well).</p> <p dir="auto">Re-inventing the wheel here is a little like rewriting LAPACK.</p>
<p dir="auto">I'm having a problem where when I build from <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/3c7136e3697865cc1381b17199cb1a92a519f437/hovercard" href="https://github.com/JuliaLang/julia/commit/3c7136e3697865cc1381b17199cb1a92a519f437"><tt>3c7136e</tt></a> when I run julia, I get the error <code class="notranslate">could not allocate pools</code> If I run as a different user, Julia runs successfully.</p> <p dir="auto">I think there might be something specific to my user on this box, but I am happy to help identify what is happening here.</p> <p dir="auto">I think this is related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="45978605" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/8699" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/8699/hovercard" href="https://github.com/JuliaLang/julia/pull/8699">#8699</a></p> <p dir="auto">also, from the julia-users group: <a href="https://groups.google.com/forum/#!topic/julia-users/FSIC1E6aaXk" rel="nofollow">https://groups.google.com/forum/#!topic/julia-users/FSIC1E6aaXk</a></p>
0
<ul dir="auto"> <li>Avatar broken.</li> <li>Username is missing first character.</li> <li>User link points to 404 Not Found: <a href="https://atom.io/users/" rel="nofollow">https://atom.io/users/</a></li> <li>Clicking "Report issues" triggers a dialog about invalid URL with <code class="notranslate">%@</code>.</li> </ul> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/156867/8402616/90a6edf6-1e34-11e5-817b-b6c9658405c3.png"><img src="https://cloud.githubusercontent.com/assets/156867/8402616/90a6edf6-1e34-11e5-817b-b6c9658405c3.png" alt="screen shot" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/823545/8129092/90823146-10d3-11e5-852e-8fc506cb1aa0.png"><img src="https://cloud.githubusercontent.com/assets/823545/8129092/90823146-10d3-11e5-852e-8fc506cb1aa0.png" alt="screenshot 2015-06-12 07 20 42" style="max-width: 100%;"></a></p> <p dir="auto">This is <a href="https://atom.io/packages/jshint" rel="nofollow">https://atom.io/packages/jshint</a> - it uses a repo path of the form <code class="notranslate">username/repo</code> in <code class="notranslate">package.json</code>. The repo link in the package card is missing the first letter, and tries to open an invalid URL. The package card also failed to download the username and avatar from GitHub.</p> <p dir="auto">Atom 0.210.0-7a6a48d</p> <p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jlord/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jlord">@jlord</a></p>
1
<p dir="auto">I tried the example in the file "neural_style_transfer.py". I want to see the outputs features of relu units for a single image in VGG network. I do not want to trouble to modify the code so I simply duplicated the same image for three times and inputs them together to the net (using K.function to extract three outputs). But the output has negative numbers.</p> <p dir="auto">However, when I tried to extract the output of only one image (still kept three image as inputs, but using three K.fucntion() to extract their outputs seperately) the problem is gone.</p> <p dir="auto">Even for the positive values, joint outputs are still different from individual outputs.</p> <p dir="auto">This is weird, I worry if it may cause serious problem. See below for the code segments (I do not modify other codes)<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/13939832/13708151/05f39c94-e7e8-11e5-9915-b5421acdef20.png"><img src="https://cloud.githubusercontent.com/assets/13939832/13708151/05f39c94-e7e8-11e5-9915-b5421acdef20.png" alt="2016-03-11 11 00 27 pm" style="max-width: 100%;"></a></p>
<p dir="auto">A shared layer is represented by a single in-memory object. However, in the case shown below, saving then loading the model leads to the creation of duplicate layers - this means that training the loaded model will lead to different results. This is because one use of the shared layer is in a (sub-)model, which in turn is included as a layer in the full model.</p> <ul class="contains-task-list"> <li class="task-list-item"> <p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check that you are up-to-date with the master branch of Keras. You can update with:<br> pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps</p> </li> <li class="task-list-item"> <p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found <a href="https://www.tensorflow.org/get_started/os_setup" rel="nofollow">here</a>.</p> </li> <li class="task-list-item"> <p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).</p> </li> </ul> <p dir="auto">Minimal example showing the issue:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from keras.layers import Input, Dense from keras.models import Model from keras.models import load_model, save_model x = Input((10,)) dense = Dense(10) submodel = Model(x, dense(x)) model = Model(x, dense(submodel(x))) save_model(model, 'test.model') model2 = load_model('test.model') print('Layer name is shared in original model:', model.layers[1].layers[-1].name == model.layers[-1].name) print('Layer is shared in original model:', model.layers[1].layers[-1] is model.layers[-1]) print('Layer name is shared in loaded model:', model2.layers[1].layers[-1].name == model2.layers[-1].name) print('Layer is shared in loaded model:', model2.layers[1].layers[-1] is model2.layers[-1])"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">keras</span>.<span class="pl-s1">layers</span> <span class="pl-k">import</span> <span class="pl-v">Input</span>, <span class="pl-v">Dense</span> <span class="pl-k">from</span> <span class="pl-s1">keras</span>.<span class="pl-s1">models</span> <span class="pl-k">import</span> <span class="pl-v">Model</span> <span class="pl-k">from</span> <span class="pl-s1">keras</span>.<span class="pl-s1">models</span> <span class="pl-k">import</span> <span class="pl-s1">load_model</span>, <span class="pl-s1">save_model</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-v">Input</span>((<span class="pl-c1">10</span>,)) <span class="pl-s1">dense</span> <span class="pl-c1">=</span> <span class="pl-v">Dense</span>(<span class="pl-c1">10</span>) <span class="pl-s1">submodel</span> <span class="pl-c1">=</span> <span class="pl-v">Model</span>(<span class="pl-s1">x</span>, <span class="pl-en">dense</span>(<span class="pl-s1">x</span>)) <span class="pl-s1">model</span> <span class="pl-c1">=</span> <span class="pl-v">Model</span>(<span class="pl-s1">x</span>, <span class="pl-en">dense</span>(<span class="pl-en">submodel</span>(<span class="pl-s1">x</span>))) <span class="pl-en">save_model</span>(<span class="pl-s1">model</span>, <span class="pl-s">'test.model'</span>) <span class="pl-s1">model2</span> <span class="pl-c1">=</span> <span class="pl-en">load_model</span>(<span class="pl-s">'test.model'</span>) <span class="pl-en">print</span>(<span class="pl-s">'Layer name is shared in original model:'</span>, <span class="pl-s1">model</span>.<span class="pl-s1">layers</span>[<span class="pl-c1">1</span>].<span class="pl-s1">layers</span>[<span class="pl-c1">-</span><span class="pl-c1">1</span>].<span class="pl-s1">name</span> <span class="pl-c1">==</span> <span class="pl-s1">model</span>.<span class="pl-s1">layers</span>[<span class="pl-c1">-</span><span class="pl-c1">1</span>].<span class="pl-s1">name</span>) <span class="pl-en">print</span>(<span class="pl-s">'Layer is shared in original model:'</span>, <span class="pl-s1">model</span>.<span class="pl-s1">layers</span>[<span class="pl-c1">1</span>].<span class="pl-s1">layers</span>[<span class="pl-c1">-</span><span class="pl-c1">1</span>] <span class="pl-c1">is</span> <span class="pl-s1">model</span>.<span class="pl-s1">layers</span>[<span class="pl-c1">-</span><span class="pl-c1">1</span>]) <span class="pl-en">print</span>(<span class="pl-s">'Layer name is shared in loaded model:'</span>, <span class="pl-s1">model2</span>.<span class="pl-s1">layers</span>[<span class="pl-c1">1</span>].<span class="pl-s1">layers</span>[<span class="pl-c1">-</span><span class="pl-c1">1</span>].<span class="pl-s1">name</span> <span class="pl-c1">==</span> <span class="pl-s1">model2</span>.<span class="pl-s1">layers</span>[<span class="pl-c1">-</span><span class="pl-c1">1</span>].<span class="pl-s1">name</span>) <span class="pl-en">print</span>(<span class="pl-s">'Layer is shared in loaded model:'</span>, <span class="pl-s1">model2</span>.<span class="pl-s1">layers</span>[<span class="pl-c1">1</span>].<span class="pl-s1">layers</span>[<span class="pl-c1">-</span><span class="pl-c1">1</span>] <span class="pl-c1">is</span> <span class="pl-s1">model2</span>.<span class="pl-s1">layers</span>[<span class="pl-c1">-</span><span class="pl-c1">1</span>])</pre></div> <p dir="auto">returns:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Layer name is shared in original model: True Layer is shared in original model: True Layer name is shared in loaded model: True Layer is shared in loaded model: False"><pre class="notranslate"><code class="notranslate">Layer name is shared in original model: True Layer is shared in original model: True Layer name is shared in loaded model: True Layer is shared in loaded model: False </code></pre></div>
0
<p dir="auto">This works fine in Chrome React DevTools, only an issue in the Firefox flavor.</p> <p dir="auto">React version: N/A</p> <h2 dir="auto">Steps To Reproduce</h2> <ol dir="auto"> <li>Use the React DevTools in Firefox</li> <li>With the Components inspector open, press e.g. CMD-+ or CMD-- to increase/decrease the UI font size</li> </ol> <h2 dir="auto">The current behavior</h2> <p dir="auto">The rest of the debugger UI reacts (heh) to the change in font size, but the React DevTools font remains tiny. This is a critical accessibility issue -- I have a visual disability and this makes the DevTools extremely hard to use.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/10970257/109089753-9926ef80-76c6-11eb-9f1d-b308f4313abb.png"><img src="https://user-images.githubusercontent.com/10970257/109089753-9926ef80-76c6-11eb-9f1d-b308f4313abb.png" alt="image" style="max-width: 100%;"></a></p> <h2 dir="auto">The expected behavior</h2> <p dir="auto">The React DevTools UI also changes font size.</p>
<p dir="auto">This was a bit weird:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/810438/28973995-cebc65bc-792c-11e7-8f7f-066a4ca038dd.png"><img width="967" alt="screen shot 2017-08-04 at 3 51 29 pm" src="https://user-images.githubusercontent.com/810438/28973995-cebc65bc-792c-11e7-8f7f-066a4ca038dd.png" style="max-width: 100%;"></a></p> <p dir="auto">Look at the last log.</p> <p dir="auto">Notice how our internal error that we're supposed to just give to the error boundary is said to be uncaught. I wonder why. It doesn't look like intentional.</p>
0
<ul dir="auto"> <li>Electron version: All</li> <li>Operating system: Windows vs Mac</li> </ul> <p dir="auto">When I define a custom undo behaviour I found it become different between Windows and Mac devices.</p> <p dir="auto">This is what I did:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// the main menu I overwrite: let menuTemplate = [ // Edit { label: 'Edit', submenu: [ { label: 'Undo', accelerator: 'CmdOrCtrl+Z', click () { console.log('Undo'); } }, { label: 'Redo', accelerator: 'Shift+CmdOrCtrl+Z', click () { console.log('Redo'); } }, ] } ];"><pre class="notranslate"><span class="pl-c">// the main menu I overwrite:</span> <span class="pl-k">let</span> <span class="pl-s1">menuTemplate</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span> <span class="pl-c">// Edit</span> <span class="pl-kos">{</span> <span class="pl-c1">label</span>: <span class="pl-s">'Edit'</span><span class="pl-kos">,</span> <span class="pl-c1">submenu</span>: <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">label</span>: <span class="pl-s">'Undo'</span><span class="pl-kos">,</span> <span class="pl-c1">accelerator</span>: <span class="pl-s">'CmdOrCtrl+Z'</span><span class="pl-kos">,</span> <span class="pl-en">click</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'Undo'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">label</span>: <span class="pl-s">'Redo'</span><span class="pl-kos">,</span> <span class="pl-c1">accelerator</span>: <span class="pl-s">'Shift+CmdOrCtrl+Z'</span><span class="pl-kos">,</span> <span class="pl-en">click</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'Redo'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">]</span> <span class="pl-kos">}</span> <span class="pl-kos">]</span><span class="pl-kos">;</span></pre></div> <p dir="auto">As you can see, I overwrite the Undo behaviour and use the same shortcuts from the Browser. When I press <code class="notranslate">ctrl/cmd+z</code> on Mac, things goes fine, the menu click go first and take over it. But in Windows, it seems like the original <code class="notranslate">webContents.undo()</code> will be executed first, if the undo stack have states (which means you should typing some letters on a <code class="notranslate">&lt;input&gt;</code> first).</p> <p dir="auto">This makes me have no chance to overwrite the undo for Windows platform. Is this expect in Windows? If we can not change the menu behaviour, is there a way to disable/stop <code class="notranslate">webContents.undo</code> when pressing <code class="notranslate">ctrl+z</code> so that the Main Menu can receive it?</p>
<p dir="auto">Minimal repro: <a href="https://gist.github.com/DanielDignam/b49084941a2f731501d5">https://gist.github.com/DanielDignam/b49084941a2f731501d5</a></p> <p dir="auto">We are using node 4.1.1, Chrome 45.0.2454.85, and Electron 0.35.2, on Windows 10</p> <p dir="auto">Run attached app. Notice ^Z reports correctly to the console. Type something into the input box and hit the button to remove the element from the DOM. Hit ^Z notice it doesn't report. Hit ^Z again and notice it does.</p> <p dir="auto">If you rerun and paste something into the text box N times you'll notice the number of ^Z's it takes before it is reported is N+1.</p> <p dir="auto">The implication is that the input box is still processing events even though it is no longer in the DOM, and doesn't pass the ^Z on until it has emptied its Undo stack.</p> <p dir="auto">This breaks undo in our application where application undo actions will not be restored on ^Z if an input field has been used and then removed from the DOM.</p> <p dir="auto">We want to undo other state in our application when there is no form/input.</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;title&gt;Hello World!&lt;/title&gt; &lt;/head&gt; &lt;body id='body'&gt; &lt;h1&gt;Hello World!&lt;/h1&gt; We are using node &lt;script&gt;document.write(process.versions.node)&lt;/script&gt;, Chrome &lt;script&gt;document.write(process.versions.chrome)&lt;/script&gt;, and Electron &lt;script&gt;document.write(process.versions.electron)&lt;/script&gt;. &lt;script&gt; function removeInput(event) { var i = document.getElementById(&quot;foo&quot;); var b = document.getElementById(&quot;body&quot;); b.removeChild(i); } const remote = require('electron').remote; const Menu = remote.Menu; const MenuItem = remote.MenuItem; var template = [ { label: 'Edit', submenu: [ { label: 'Undo', accelerator: 'CmdOrCtrl+Z', click: function () { console.log('Undo called'); }, enabled: true } ] }]; menu = Menu.buildFromTemplate(template); Menu.setApplicationMenu(menu); &lt;/script&gt; &lt;input id='foo' type='text'/&gt; &lt;input type='button' onclick='removeInput()'/&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">title</span><span class="pl-kos">&gt;</span>Hello World!<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">head</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">body</span> <span class="pl-c1">id</span>='<span class="pl-s">body</span>'<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h1</span><span class="pl-kos">&gt;</span>Hello World!<span class="pl-kos">&lt;/</span><span class="pl-ent">h1</span><span class="pl-kos">&gt;</span> We are using node <span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span><span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">write</span><span class="pl-kos">(</span><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">versions</span><span class="pl-kos">.</span><span class="pl-c1">node</span><span class="pl-kos">)</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span>, Chrome <span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span><span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">write</span><span class="pl-kos">(</span><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">versions</span><span class="pl-kos">.</span><span class="pl-c1">chrome</span><span class="pl-kos">)</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span>, and Electron <span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span><span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">write</span><span class="pl-kos">(</span><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">versions</span><span class="pl-kos">.</span><span class="pl-c1">electron</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">script</span><span class="pl-kos">&gt;</span> <span class="pl-k">function</span> <span class="pl-en">removeInput</span><span class="pl-kos">(</span><span class="pl-s1">event</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">getElementById</span><span class="pl-kos">(</span><span class="pl-s">"foo"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">getElementById</span><span class="pl-kos">(</span><span class="pl-s">"body"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">b</span><span class="pl-kos">.</span><span class="pl-en">removeChild</span><span class="pl-kos">(</span><span class="pl-s1">i</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-s1">remote</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'electron'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">remote</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-v">Menu</span> <span class="pl-c1">=</span> <span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-c1">Menu</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-v">MenuItem</span> <span class="pl-c1">=</span> <span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-c1">MenuItem</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">template</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">label</span>: <span class="pl-s">'Edit'</span><span class="pl-kos">,</span> <span class="pl-c1">submenu</span>: <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">label</span>: <span class="pl-s">'Undo'</span><span class="pl-kos">,</span> <span class="pl-c1">accelerator</span>: <span class="pl-s">'CmdOrCtrl+Z'</span><span class="pl-kos">,</span> <span class="pl-en">click</span>: <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'Undo called'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">enabled</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span> <span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-s1">menu</span> <span class="pl-c1">=</span> <span class="pl-v">Menu</span><span class="pl-kos">.</span><span class="pl-en">buildFromTemplate</span><span class="pl-kos">(</span><span class="pl-s1">template</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-v">Menu</span><span class="pl-kos">.</span><span class="pl-en">setApplicationMenu</span><span class="pl-kos">(</span><span class="pl-s1">menu</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">input</span> <span class="pl-c1">id</span>='<span class="pl-s">foo</span>' <span class="pl-c1">type</span>='<span class="pl-s">text</span>'/&gt; <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>='<span class="pl-s">button</span>' <span class="pl-c1">onclick</span>='<span class="pl-s">removeInput()</span>'/&gt; <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>
1
<p dir="auto">Describe what you were doing when the bug occurred:<br> 1.<br> 2.<br> 3.</p> <hr> <h2 dir="auto">Please do not remove the text below this line</h2> <p dir="auto">DevTools version: 4.2.1-3816ae7c3</p> <p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157108<br> at Map.forEach ()<br> at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157054)<br> at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157577)<br> at vl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:314907)<br> at gi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:59907)<br> at el (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:68139)<br> at jl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:108547)<br> at Lc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92715)<br> at Pc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92640)</p> <p dir="auto">Component stack: in vl<br> in div<br> in div<br> in div<br> in wo<br> in Unknown<br> in n<br> in Unknown<br> in div<br> in div<br> in Li<br> in $e<br> in dn<br> in Ca<br> in Pc</p>
<p dir="auto">PLEASE INCLUDE REPRO INSTRUCTIONS AND EXAMPLE CODE</p> <p dir="auto">I got this error when I click 'Ranked'.</p> <hr> <h2 dir="auto">Please do not remove the text below this line</h2> <p dir="auto">DevTools version: 4.0.4-3c6a219</p> <p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11441<br> at Map.forEach ()<br> at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11387)<br> at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11920)<br> at _i (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:277123)<br> at Ha (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:55890)<br> at Xl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:98280)<br> at Hl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:84255)<br> at Fl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:81285)<br> at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:25363</p> <p dir="auto">Component stack: in _i<br> in div<br> in div<br> in div<br> in Or<br> in Unknown<br> in n<br> in Unknown<br> in div<br> in div<br> in Ha<br> in le<br> in ve<br> in ko<br> in Ul</p>
1
<p dir="auto"><strong>What is the current behavior?</strong></p> <p dir="auto">When I using DefinePlugin to inject <code class="notranslate">process.env</code> variable into the package, the output file will contain hundreds of duplicated the variable object (in everywhere the code use it) like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{NODE_ENV:&quot;production&quot;}.NODE_ENV"><pre class="notranslate"><code class="notranslate">{NODE_ENV:"production"}.NODE_ENV </code></pre></div> <p dir="auto">Even I activated the <code class="notranslate">--optimize-dedupe</code> argument it still happens.</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p> <p dir="auto">Just try this configuration:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="new webpack.DefinePlugin({ 'process.env': JSON.stringify({ NODE_ENV: process.env.NODE_ENV }) })"><pre class="notranslate"><code class="notranslate">new webpack.DefinePlugin({ 'process.env': JSON.stringify({ NODE_ENV: process.env.NODE_ENV }) }) </code></pre></div> <p dir="auto"><strong>What is the expected behavior?</strong></p> <p dir="auto">I am expecting any variable injected by DefinePlugin should only present once in the output code as an internal module. And when any usage of the variables it could just be like a requirement.</p> <p dir="auto">Because if it act like current, the size of output file will be very huge with several injected variables.</p> <p dir="auto">Hope you could help on this.</p>
<h1 dir="auto">Bug report</h1> <p dir="auto"><strong>What is the current behavior?</strong><br> If i use babel-transform-runtime and use optimization splitChunks app.bundle.js not start in browser.</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="clone https://github.com/ariran5/webpack-splitting-error"><pre class="notranslate"><code class="notranslate">clone https://github.com/ariran5/webpack-splitting-error </code></pre></div> <p dir="auto">open index.html in dist<br> or</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="clone https://github.com/ariran5/webpack-splitting-error cd webpack-splitting-error npm i npm run webpack"><pre class="notranslate"><code class="notranslate">clone https://github.com/ariran5/webpack-splitting-error cd webpack-splitting-error npm i npm run webpack </code></pre></div> <p dir="auto">and open index.html in dist</p> <p dir="auto">in order for this to work, you need to remove optimization in webpack config</p> <p dir="auto"><strong>What is the expected behavior?</strong><br> JavaScript is expected to start working</p> <p dir="auto"><strong>Other relevant information:</strong><br> webpack version: 4.16.5<br> Node.js version: 10.8<br> Operating System: windows 10<br> Additional tools:</p>
0
<ul dir="auto"> <li>Electron version: 0.36.7</li> </ul> <p dir="auto">I would like to be able to customize the button title for an <code class="notranslate">open dialog</code> (<a href="https://github.com/atom/electron/blob/master/docs/api/dialog.md#dialogshowopendialogbrowserwindow-options-callback">https://github.com/atom/electron/blob/master/docs/api/dialog.md#dialogshowopendialogbrowserwindow-options-callback</a>)</p> <p dir="auto">For example, to say <code class="notranslate">Choose</code> instead of <code class="notranslate">Open</code>:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1271509/13939892/116feb12-ef96-11e5-95ce-6f15ffa49517.png"><img width="713" alt="screen shot 2016-03-21 at 6 52 12 pm" src="https://cloud.githubusercontent.com/assets/1271509/13939892/116feb12-ef96-11e5-95ce-6f15ffa49517.png" style="max-width: 100%;"></a></p>
<p dir="auto">A Choose dialog is just like an Open dialog, but not only does it have a custom title, it also has a custom name for the “Open” button. Two examples where it is helpful:</p> <ul dir="auto"> <li>choosing a directory where downloaded files should be saved – you “Choose” the directory</li> <li>using a dialog to “Import” a file in a different format, not to “Open” a file in your app’s format</li> </ul> <p dir="auto">It is used in OS X apps: <a href="https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/OSXHIGuidelines/WindowDialogs.html#//apple_ref/doc/uid/20000957-CH43-SW8" rel="nofollow">OS X Human Interface Guidelines – The Choose Dialog</a>. I don’t know if other platforms have an equivalent.</p> <p dir="auto">The simplest way to support it would be accepting another option in the <code class="notranslate">options</code> parameter of <a href="https://github.com/atom/electron/blob/master/docs/api/dialog.md#dialogshowopendialogbrowserwindow-options-callback"><code class="notranslate">dialog.showOpenDialog</code></a>. The property name would be something like <code class="notranslate">buttonLabel</code>, <code class="notranslate">openButtonLabel</code>, or <code class="notranslate">prompt</code> (which is OS X’s name for it). The property should contain a string that the button will be renamed to.</p> <p dir="auto">To implement this for OS X, you just need to add this code to <a href="https://github.com/atom/electron/blob/ea74e825c91d9401851124cfe8deede03c3c79b9/atom/browser/ui/file_dialog_mac.mm#L48"><code class="notranslate">SetupDialog</code> in <code class="notranslate">file_dialog_mac.mm</code></a>:</p> <div class="highlight highlight-source-objc++ notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="if (!prompt.empty()) [dialog setPrompt:prompt];"><pre class="notranslate"><span class="pl-k">if</span> (!prompt.empty()) [dialog <span class="pl-c1">setPrompt:</span>prompt];</pre></div> <p dir="auto">And also change <code class="notranslate">SetupDialog</code> and its callers to pass <code class="notranslate">prompt</code> in, which would be extracted from the <code class="notranslate">options</code> of <code class="notranslate">showOpenDialog</code>.</p> <hr> <p dir="auto">I can imagine that this might be useful for Save dialogs, too – you could change the button to “Save As” or “Export” instead of “Save”. You can probably implement it for <a href="https://github.com/atom/electron/blob/master/docs/api/dialog.md#dialogshowsavedialogbrowserwindow-options-callback"><code class="notranslate">dialog.showSaveDialog</code></a> in exactly the same way as for <code class="notranslate">showOpenDialog</code>. It would make sense that users could pass the same option to customize the button, since those two functions already support mostly the same options.</p>
1
<p dir="auto">Sorry if this is a duplicate...it seems like this would have come up for somebody else before, but I can't find anything about it.</p> <h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong><br> When using AxesGrid and the 'extend' option for filled contours, the last rectangular color levels before the arrow-shaped endpoints are blank. A workaround is to manually create the colorbar via <code class="notranslate">mpl.colorbar.ColorbarBase</code>.</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="import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.axes_grid1 import AxesGrid import matplotlib as mpl levels = np.arange(0., 1.2, 0.15) # This yields blank values just before the end arrows in the colorbar. fig = plt.figure() axgrid = AxesGrid(fig, 111, nrows_ncols=(1, 1), ngrids=1, cbar_mode='single') ax = axgrid[0] cs = ax.contourf(np.random.random((10, 20)), extend='both') cbar = axgrid.cbar_axes[0].colorbar(cs) # This problem does not occur when not using AxesGrid. fig, ax = plt.subplots() cs = ax.contourf(np.random.random((10, 20)), extend='both') cbar = plt.colorbar(cs, ax=ax) # The problem also doesn't occur if using AxesGrid + manually creating the colorbar. fig = plt.figure() axgrid = AxesGrid(fig, 111, nrows_ncols=(1, 1), ngrids=1, cbar_mode='single') ax = axgrid[0] cs = ax.contourf(np.random.random((10, 20)), extend='both', levels=levels) cmap = mpl.cm.viridis cb = mpl.colorbar.ColorbarBase(axgrid.cbar_axes[0], cmap=cmap, boundaries=levels, orientation='vertical', extend='both')"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-k">from</span> <span class="pl-s1">mpl_toolkits</span>.<span class="pl-s1">axes_grid1</span> <span class="pl-k">import</span> <span class="pl-v">AxesGrid</span> <span class="pl-k">import</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">as</span> <span class="pl-s1">mpl</span> <span class="pl-s1">levels</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">0.</span>, <span class="pl-c1">1.2</span>, <span class="pl-c1">0.15</span>) <span class="pl-c"># This yields blank values just before the end arrows in the colorbar.</span> <span class="pl-s1">fig</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">figure</span>() <span class="pl-s1">axgrid</span> <span class="pl-c1">=</span> <span class="pl-v">AxesGrid</span>(<span class="pl-s1">fig</span>, <span class="pl-c1">111</span>, <span class="pl-s1">nrows_ncols</span><span class="pl-c1">=</span>(<span class="pl-c1">1</span>, <span class="pl-c1">1</span>), <span class="pl-s1">ngrids</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">cbar_mode</span><span class="pl-c1">=</span><span class="pl-s">'single'</span>) <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">axgrid</span>[<span class="pl-c1">0</span>] <span class="pl-s1">cs</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">contourf</span>(<span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">random</span>((<span class="pl-c1">10</span>, <span class="pl-c1">20</span>)), <span class="pl-s1">extend</span><span class="pl-c1">=</span><span class="pl-s">'both'</span>) <span class="pl-s1">cbar</span> <span class="pl-c1">=</span> <span class="pl-s1">axgrid</span>.<span class="pl-s1">cbar_axes</span>[<span class="pl-c1">0</span>].<span class="pl-en">colorbar</span>(<span class="pl-s1">cs</span>) <span class="pl-c"># This problem does not occur when not using AxesGrid.</span> <span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>() <span class="pl-s1">cs</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">contourf</span>(<span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">random</span>((<span class="pl-c1">10</span>, <span class="pl-c1">20</span>)), <span class="pl-s1">extend</span><span class="pl-c1">=</span><span class="pl-s">'both'</span>) <span class="pl-s1">cbar</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">colorbar</span>(<span class="pl-s1">cs</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>) <span class="pl-c"># The problem also doesn't occur if using AxesGrid + manually creating the colorbar.</span> <span class="pl-s1">fig</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">figure</span>() <span class="pl-s1">axgrid</span> <span class="pl-c1">=</span> <span class="pl-v">AxesGrid</span>(<span class="pl-s1">fig</span>, <span class="pl-c1">111</span>, <span class="pl-s1">nrows_ncols</span><span class="pl-c1">=</span>(<span class="pl-c1">1</span>, <span class="pl-c1">1</span>), <span class="pl-s1">ngrids</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">cbar_mode</span><span class="pl-c1">=</span><span class="pl-s">'single'</span>) <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">axgrid</span>[<span class="pl-c1">0</span>] <span class="pl-s1">cs</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">contourf</span>(<span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">random</span>((<span class="pl-c1">10</span>, <span class="pl-c1">20</span>)), <span class="pl-s1">extend</span><span class="pl-c1">=</span><span class="pl-s">'both'</span>, <span class="pl-s1">levels</span><span class="pl-c1">=</span><span class="pl-s1">levels</span>) <span class="pl-s1">cmap</span> <span class="pl-c1">=</span> <span class="pl-s1">mpl</span>.<span class="pl-s1">cm</span>.<span class="pl-s1">viridis</span> <span class="pl-s1">cb</span> <span class="pl-c1">=</span> <span class="pl-s1">mpl</span>.<span class="pl-s1">colorbar</span>.<span class="pl-v">ColorbarBase</span>(<span class="pl-s1">axgrid</span>.<span class="pl-s1">cbar_axes</span>[<span class="pl-c1">0</span>], <span class="pl-s1">cmap</span><span class="pl-c1">=</span><span class="pl-s1">cmap</span>, <span class="pl-s1">boundaries</span><span class="pl-c1">=</span><span class="pl-s1">levels</span>, <span class="pl-s1">orientation</span><span class="pl-c1">=</span><span class="pl-s">'vertical'</span>, <span class="pl-s1">extend</span><span class="pl-c1">=</span><span class="pl-s">'both'</span>)</pre></div> <p dir="auto"><strong>Actual outcome</strong><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6200806/32759626-3b36ad88-c8e2-11e7-89b7-2dfe12b86ae7.png"><img width="432" alt="bug" src="https://user-images.githubusercontent.com/6200806/32759626-3b36ad88-c8e2-11e7-89b7-2dfe12b86ae7.png" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6200806/32759627-3b6412fa-c8e2-11e7-9190-49a1ecf35bfe.png"><img width="432" alt="no_bug" src="https://user-images.githubusercontent.com/6200806/32759627-3b6412fa-c8e2-11e7-9190-49a1ecf35bfe.png" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6200806/32759628-3b814aaa-c8e2-11e7-8351-306cdb6fafe1.png"><img width="432" alt="workaround" src="https://user-images.githubusercontent.com/6200806/32759628-3b814aaa-c8e2-11e7-8351-306cdb6fafe1.png" style="max-width: 100%;"></a></p> <p dir="auto">See the attached images.</p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: MacOS + Jupyter Notebook</li> <li>Matplotlib version: 2.1.0</li> <li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): MacOSX</li> <li>Python version: 3.6</li> <li>Jupyter version (if applicable): 4.3.0</li> <li>Other libraries:</li> </ul> <p dir="auto">Matplotlib installed via <code class="notranslate">conda install -c conda-forge matplotlib</code></p>
<p dir="auto">When trying to plot a 2d DataArray and setting the extent of one of the two axis with a numpy datetime64 value, the following error is returned:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''"><pre class="notranslate"><code class="notranslate">TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' </code></pre></div> <p dir="auto">I suggest adding the following code after this line </p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/matplotlib/matplotlib/blob/ca4958b8d755c303cfd0617556530da08094bab5/lib/matplotlib/image.py#L972">matplotlib/lib/matplotlib/image.py</a> </p> <p class="mb-0 color-fg-muted"> Line 972 in <a data-pjax="true" class="commit-tease-sha" href="/matplotlib/matplotlib/commit/ca4958b8d755c303cfd0617556530da08094bab5">ca4958b</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="L972" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="972"></td> <td id="LC972" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">self</span>.<span class="pl-s1">_extent</span> <span class="pl-c1">=</span> <span class="pl-s1">xmin</span>, <span class="pl-s1">xmax</span>, <span class="pl-s1">ymin</span>, <span class="pl-s1">ymax</span> <span class="pl-c1">=</span> <span class="pl-s1">extent</span> </td> </tr> </tbody></table> </div> </div> :<p></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from matplotlib.dates import date2num extent_ = [] for value in extent: if np.issubdtype(value.dtype, np.datetime64): value = date2num(value) extent_.append(value)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">dates</span> <span class="pl-k">import</span> <span class="pl-s1">date2num</span> <span class="pl-s1">extent_</span> <span class="pl-c1">=</span> [] <span class="pl-k">for</span> <span class="pl-s1">value</span> <span class="pl-c1">in</span> <span class="pl-s1">extent</span>: <span class="pl-k">if</span> <span class="pl-s1">np</span>.<span class="pl-en">issubdtype</span>(<span class="pl-s1">value</span>.<span class="pl-s1">dtype</span>, <span class="pl-s1">np</span>.<span class="pl-s1">datetime64</span>): <span class="pl-s1">value</span> <span class="pl-c1">=</span> <span class="pl-en">date2num</span>(<span class="pl-s1">value</span>) <span class="pl-s1">extent_</span>.<span class="pl-en">append</span>(<span class="pl-s1">value</span>)</pre></div> <p dir="auto">This is linked to an issue I started on xarray:<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1244977848" data-permission-text="Title is private" data-url="https://github.com/pydata/xarray/issues/6629" data-hovercard-type="issue" data-hovercard-url="/pydata/xarray/issues/6629/hovercard" href="https://github.com/pydata/xarray/issues/6629">pydata/xarray#6629</a></p>
0
<p dir="auto">In several PRs (e.g. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="328562762" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/11182" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/11182/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/11182">#11182</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="395595325" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/12916" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/12916/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/12916">#12916</a>) the question arises whether we need to deprecate some object before it can be removed or changed. This goes back to defining what is public API in scikit-learn.</p> <p dir="auto">The lest controversial definition is that,</p> <ul dir="auto"> <li>import paths with that include a module with a leading <code class="notranslate">_</code> are private</li> <li>other modules are public.</li> </ul> <p dir="auto">However, you could do, for instance,</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sklearn.cluster.dbscan_ import NearestNeighbors"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">cluster</span>.<span class="pl-s1">dbscan_</span> <span class="pl-k">import</span> <span class="pl-v">NearestNeighbors</span></pre></div> <p dir="auto">Does it mean that we are supposed to preserve backward compatibility on <code class="notranslate">sklearn.cluster.dbscan_.NearestNeighbors</code> in terms of import path? How about <code class="notranslate">sklearn.preprocessing.data.sparse</code> (<code class="notranslate">scipy.sparse</code>)?</p> <p dir="auto">I guess not, meaning that just because we have an import path without an underscore does not mean that it is part of the public API. At the very least it also needs to be documented or used in examples.</p> <p dir="auto">If we take this definition,</p> <ul dir="auto"> <li>most of <code class="notranslate">sklearn.utils</code>, is public API (as documented <a href="https://scikit-learn.org/stable/modules/classes.html#module-sklearn.utils" rel="nofollow">https://scikit-learn.org/stable/modules/classes.html#module-sklearn.utils</a>) but certainly not all 151 objects listed in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="145199979" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/6616" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/6616/hovercard?comment_id=245085954&amp;comment_type=issue_comment" href="https://github.com/scikit-learn/scikit-learn/issues/6616#issuecomment-245085954">#6616 (comment)</a></li> <li><code class="notranslate">sklearn.utils.fixes</code> is not.</li> <li><code class="notranslate">sklearn.externals</code> are not (except for <code class="notranslate">sklearn.externals.joblib</code>) that we previously used in examples.</li> </ul> <p dir="auto">This would mean that we can e.g. remove <code class="notranslate">sklearn.externals.six</code> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="395595325" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/12916" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/12916/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/12916">#12916</a> without a deprecation warning (but possibly with a what's new entry). I have a hard time seeing a user reasonably complaining that we didn't go through a deprecation cycle there.</p> <p dir="auto">This would also help resolving the "public vs private utils" discussion in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="145199979" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/6616" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/6616/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/6616">#6616</a></p> <p dir="auto">WDYT, do you have other ideas of how we should define what is public API in scikit-learn?</p> <p dir="auto">cc <a class="team-mention js-team-mention notranslate" data-error-text="Failed to load team members" data-id="11523" data-permission-text="Team members are private" data-url="/orgs/scikit-learn/teams/core-devs/members" data-hovercard-type="team" data-hovercard-url="/orgs/scikit-learn/teams/core-devs/hovercard" href="https://github.com/orgs/scikit-learn/teams/core-devs">@scikit-learn/core-devs</a></p>
<p dir="auto">This is maybe for 1.0. Recently we started marking files like <code class="notranslate">model_selection._split</code> private, so that everything has a single canonical import:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sklearn.model_selection import cross_val_score"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">model_selection</span> <span class="pl-k">import</span> <span class="pl-s1">cross_val_score</span></pre></div> <p dir="auto">For many (older?) models that's not the case, we have</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sklearn.linear_model.logistic import LogisticRegression from sklearn.linear_model import LogisticRegression"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">linear_model</span>.<span class="pl-s1">logistic</span> <span class="pl-k">import</span> <span class="pl-v">LogisticRegression</span> <span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">linear_model</span> <span class="pl-k">import</span> <span class="pl-v">LogisticRegression</span></pre></div> <p dir="auto">etc.<br> I think it would be nice to make all the files that are not the canonical import (according to the API documentation) private (with deprecation obviously).<br> That might be a bit annoying for existing users that used long import paths, but it makes auto-complete much more helpful and the module structure much less confusing for newcomers.</p> <p dir="auto">For example <code class="notranslate">sklearn.linear_model.ridge</code> is a module, while <code class="notranslate">sklearn.linear_model.ridge_regression</code> is a function that implements ridge regression and <code class="notranslate">sklearn.linear_model.Ridge</code> is a class that implements ridge regression. From the names this is totally unclear.</p>
1
<p dir="auto">It seems there are incompatibilities between the new Profiler and the previous one, regarding CSS frameworks.</p> <p dir="auto">Indeed, the profiler breaks Bootstrap 3.x styles, and vice-versa (you can see on the screenshot below that the left side menu is not at the correct position):</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/465798/10477773/3e2e5018-7259-11e5-9de1-589a79ea53e4.png"><img src="https://cloud.githubusercontent.com/assets/465798/10477773/3e2e5018-7259-11e5-9de1-589a79ea53e4.png" alt="CsaGuzzleBundle and 2.8 profiler" style="max-width: 100%;"></a></p> <p dir="auto">We should expect similar issues with other CSS frameworks.</p>
<p dir="auto">Hi !</p> <p dir="auto">I've made a event listener that tries to switch controller under specific conditions. Here is how I set the new controller in the FilterControllerEvent:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$event-&gt;setController(array(new DefaultController(),'badRefererAction'));"><pre class="notranslate"><code class="notranslate">$event-&gt;setController(array(new DefaultController(),'badRefererAction')); </code></pre></div> <p dir="auto">When these conditions are fullfilled, my controller action is called but it cannot render any template (below the controller code):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="namespace MyCompany\MyBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; class DefaultController extends Controller { /** * @Route(&quot;/badref&quot;, name=&quot;plugin_badreferer&quot;) * @Template() */ public function badRefererAction() { return $this-&gt;render('MyCompanyMyBundle:Default:badReferer.html.twig', array()); } }"><pre class="notranslate"><code class="notranslate">namespace MyCompany\MyBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; class DefaultController extends Controller { /** * @Route("/badref", name="plugin_badreferer") * @Template() */ public function badRefererAction() { return $this-&gt;render('MyCompanyMyBundle:Default:badReferer.html.twig', array()); } } </code></pre></div> <p dir="auto">as it crashes with the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FatalErrorException: Error: Call to a member function get() on a non-object in E:\workspace_web\Symfony\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Controller\Controller.php line 106"><pre class="notranslate"><code class="notranslate">FatalErrorException: Error: Call to a member function get() on a non-object in E:\workspace_web\Symfony\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Controller\Controller.php line 106 </code></pre></div> <p dir="auto">What is the problem here?</p>
0
<p dir="auto">Describe what you were doing when the bug occurred:<br> 1.<br> 2.<br> 3.</p> <hr> <h2 dir="auto">Please do not remove the text below this line</h2> <p dir="auto">DevTools version: 4.2.1-3816ae7c3</p> <p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157108<br> at Map.forEach ()<br> at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157054)<br> at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157577)<br> at vl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:314907)<br> at gi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:59907)<br> at jl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:107381)<br> at Lc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92715)<br> at Pc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92640)<br> at wc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:89544)</p> <p dir="auto">Component stack: in vl<br> in div<br> in div<br> in div<br> in wo<br> in Unknown<br> in n<br> in Unknown<br> in div<br> in div<br> in Li<br> in $e<br> in dn<br> in Ca<br> in Pc</p>
<p dir="auto">Describe what you were doing when the bug occurred:<br> 1.<br> 2.<br> 3.</p> <hr> <h2 dir="auto">Please do not remove the text below this line</h2> <p dir="auto">DevTools version: 4.10.0-11a2ae3a0d</p> <p dir="auto">Call stack: at store_Store.getElementAtIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:21215:35)<br> at store_Store.getElementIDAtIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:21231:26)<br> at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:28667:63<br> at List.render (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:22923:18)<br> at si (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:13506:76)<br> at ri (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:13497:10)<br> at jk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:16068:86)<br> at ik (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:15450:11)<br> at hk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:15442:23)<br> at Zj (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:15426:5)</p> <p dir="auto">Component stack: at List (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:22618:30)<br> at div<br> at AutoSizer (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:3002:5)<br> at div<br> at div<br> at Tree_Tree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:28418:47)<br> at div<br> at div<br> at InspectedElementContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:28910:3)<br> at OwnersListContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:27547:3)<br> at SettingsModalContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:28195:3)<br> at Components_Components (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:33372:52)<br> at ErrorBoundary_ErrorBoundary (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:29208:5)<br> at PortaledContent (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:29325:32)<br> at div<br> at div<br> at ProfilerContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32923:3)<br> at TreeContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:24311:3)<br> at SettingsContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:24800:3)<br> at ModalDialogContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:29393:3)<br> at DevTools_DevTools (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:36196:3)</p>
0
<p dir="auto">As reported at pendulum, there are cases where creating a <code class="notranslate">date_range</code> fails with a segfault: <a href="https://github.com/sdispater/pendulum/issues/131" data-hovercard-type="issue" data-hovercard-url="/sdispater/pendulum/issues/131/hovercard">pendulum issues 131</a>.</p> <h4 dir="auto">Code Sample</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from datetime import datetime, timedelta from pendulum.tz.timezone import UTCTimezone from pendulum.tz.timezone_info import UTC import pandas as pd tomorrow = datetime.now() + timedelta(hours=24) now = datetime.now() r = pd.date_range(now, tomorrow, freq='1H') r.tz = UTC # prints out the current date and time print(r[0]) r.tz = UTCTimezone # seg faults print(r[0])"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">datetime</span> <span class="pl-k">import</span> <span class="pl-s1">datetime</span>, <span class="pl-s1">timedelta</span> <span class="pl-k">from</span> <span class="pl-s1">pendulum</span>.<span class="pl-s1">tz</span>.<span class="pl-s1">timezone</span> <span class="pl-k">import</span> <span class="pl-v">UTCTimezone</span> <span class="pl-k">from</span> <span class="pl-s1">pendulum</span>.<span class="pl-s1">tz</span>.<span class="pl-s1">timezone_info</span> <span class="pl-k">import</span> <span class="pl-v">UTC</span> <span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-s1">tomorrow</span> <span class="pl-c1">=</span> <span class="pl-s1">datetime</span>.<span class="pl-en">now</span>() <span class="pl-c1">+</span> <span class="pl-en">timedelta</span>(<span class="pl-s1">hours</span><span class="pl-c1">=</span><span class="pl-c1">24</span>) <span class="pl-s1">now</span> <span class="pl-c1">=</span> <span class="pl-s1">datetime</span>.<span class="pl-en">now</span>() <span class="pl-s1">r</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">date_range</span>(<span class="pl-s1">now</span>, <span class="pl-s1">tomorrow</span>, <span class="pl-s1">freq</span><span class="pl-c1">=</span><span class="pl-s">'1H'</span>) <span class="pl-s1">r</span>.<span class="pl-s1">tz</span> <span class="pl-c1">=</span> <span class="pl-v">UTC</span> <span class="pl-c"># prints out the current date and time</span> <span class="pl-en">print</span>(<span class="pl-s1">r</span>[<span class="pl-c1">0</span>]) <span class="pl-s1">r</span>.<span class="pl-s1">tz</span> <span class="pl-c1">=</span> <span class="pl-v">UTCTimezone</span> <span class="pl-c"># seg faults</span> <span class="pl-en">print</span>(<span class="pl-s1">r</span>[<span class="pl-c1">0</span>])</pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">As I understand it is allowed for <code class="notranslate">tzinfo</code> objects to return <code class="notranslate">None</code> for <code class="notranslate">utcoffset</code> according to the <a href="https://docs.python.org/3.6/library/datetime.html#datetime.tzinfo.utcoffset" rel="nofollow">Python docs</a>. However, in <a href="https://github.com/pandas-dev/pandas/blob/c8dafb5a7ae9fe42b9d15c47082a6fb139e78b5d/pandas/_libs/tslib.pyx#L4332">_get_dst_info</a> of <code class="notranslate">tslib</code> it is assumed <em>not</em> to return <code class="notranslate">None</code>. As I understand from the aforementioned <code class="notranslate">pendulum</code> ticket, it is correct to return <code class="notranslate">None</code> in this case.</p> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> INSTALLED VERSIONS ------------------ commit: None python: 3.5.3.final.0 python-bits: 64 OS: Linux OS-release: 4.11.3-200.fc25.x86_64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_GB.UTF-8 LOCALE: en_GB.UTF-8 <p dir="auto">pandas: 0.20.3<br> pytest: 3.1.3<br> pip: 9.0.1<br> setuptools: 25.1.1<br> Cython: None<br> numpy: 1.13.1<br> scipy: 0.19.1<br> xarray: None<br> IPython: 6.1.0<br> sphinx: None<br> patsy: None<br> dateutil: 2.6.1<br> pytz: 2017.2<br> blosc: None<br> bottleneck: None<br> tables: None<br> numexpr: None<br> feather: None<br> matplotlib: None<br> openpyxl: None<br> xlrd: None<br> xlwt: None<br> xlsxwriter: None<br> lxml: None<br> bs4: 4.6.0<br> html5lib: None<br> sqlalchemy: None<br> pymysql: None<br> psycopg2: None<br> jinja2: None<br> s3fs: None<br> pandas_gbq: None<br> pandas_datareader: None</p> </details>
<p dir="auto">xref <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158265190" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/13351" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/13351/hovercard?comment_id=224614415&amp;comment_type=issue_comment" href="https://github.com/pandas-dev/pandas/pull/13351#issuecomment-224614415">#13351 (comment)</a></p> <p dir="auto">We use <code class="notranslate">io/common/_get_handle</code> and <code class="notranslate">io/common/get_filepath_or_buffer</code> in various places in most of the io modules, need to unify encoding handling to a somewhat simpler interface (1 function).</p>
0
<p dir="auto">Hello,</p> <p dir="auto">The description of some of the commands on the list are too long. This makes them difficult to read.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12058428/79671178-bd719000-81c8-11ea-97b5-fc4b4aae0abf.png"><img width="726" alt="Screenshot 2020-04-18 at 23 02 43" src="https://user-images.githubusercontent.com/12058428/79671178-bd719000-81c8-11ea-97b5-fc4b4aae0abf.png" style="max-width: 100%;"></a></p> <p dir="auto">I think that some text should be moved to descriptions of individual commands e.g. `airflow days backfill --help<code class="notranslate">. We currently do not have descriptions for individual commands. After executing the </code> --help '' command, we only have a list of arguments.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12058428/79671219-248f4480-81c9-11ea-8b6c-030495e3be86.png"><img width="720" alt="Screenshot 2020-04-18 at 23 04 40" src="https://user-images.githubusercontent.com/12058428/79671219-248f4480-81c9-11ea-8b6c-030495e3be86.png" style="max-width: 100%;"></a></p> <p dir="auto">After making changes it may look like the screen below.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12058428/79671262-8059cd80-81c9-11ea-8539-dee59122c511.png"><img width="720" alt="Screenshot 2020-04-18 at 23 08 11" src="https://user-images.githubusercontent.com/12058428/79671262-8059cd80-81c9-11ea-8539-dee59122c511.png" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12058428/79671338-e5152800-81c9-11ea-9f3a-1f28628d6af5.png"><img width="729" alt="Screenshot 2020-04-18 at 23 10 58" src="https://user-images.githubusercontent.com/12058428/79671338-e5152800-81c9-11ea-9f3a-1f28628d6af5.png" style="max-width: 100%;"></a></p> <p dir="auto">Descriptions can be set by the parameters <code class="notranslate">description</code> or<code class="notranslate"> epilogue</code>.<br> </p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/apache/airflow/blob/8517cb189872aebdd70e9d5d584478cd7fb65d0f/airflow/cli/cli_parser.py#L1280-L1282">airflow/airflow/cli/cli_parser.py</a> </p> <p class="mb-0 color-fg-muted"> Lines 1280 to 1282 in <a data-pjax="true" class="commit-tease-sha" href="/apache/airflow/commit/8517cb189872aebdd70e9d5d584478cd7fb65d0f">8517cb1</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="L1280" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="1280"></td> <td id="LC1280" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">sub_proc</span> <span class="pl-c1">=</span> <span class="pl-s1">subparsers</span>.<span class="pl-en">add_parser</span>( </td> </tr> <tr class="border-0"> <td id="L1281" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="1281"></td> <td id="LC1281" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">sub</span>.<span class="pl-s1">name</span>, <span class="pl-s1">help</span><span class="pl-c1">=</span><span class="pl-s1">sub</span>.<span class="pl-s1">help</span> </td> </tr> <tr class="border-0"> <td id="L1282" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="1282"></td> <td id="LC1282" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> ) </td> </tr> </tbody></table> </div> </div> <p></p> <div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" sub_proc = subparsers.add_parser( - sub.name, help=sub.help + sub.name, help=sub.help, description=&quot;DESCRIPTION&quot;, epilog=&quot;EPILOG&quot; )"><pre class="notranslate"> sub_proc = subparsers.add_parser( <span class="pl-md"><span class="pl-md">-</span> sub.name, help=sub.help</span> <span class="pl-mi1"><span class="pl-mi1">+</span> sub.name, help=sub.help, description="DESCRIPTION", epilog="EPILOG"</span> )</pre></div> <p dir="auto">I would be happy if all the commands had a description. It may duplicate the description from the list.</p>
<h3 dir="auto">Description</h3> <p dir="auto">I think adding the following operators/sensors would benefit companies that need to start/stop RDS instances programmatically.</p> <table role="table"> <thead> <tr> <th align="left">Name</th> <th align="left">Description</th> <th align="left">PR</th> </tr> </thead> <tbody> <tr> <td align="left"><code class="notranslate">RdsStartDbOperator</code></td> <td align="left">Start an instance, and optionally wait for it enter "available" state</td> <td align="left"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1410382201" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/27076" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/27076/hovercard" href="https://github.com/apache/airflow/pull/27076">#27076</a></td> </tr> <tr> <td align="left"><code class="notranslate">RdsStopDbOperator</code></td> <td align="left">Start an instance, and optionally wait for it to enter "stopped" state</td> <td align="left"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1410382201" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/27076" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/27076/hovercard" href="https://github.com/apache/airflow/pull/27076">#27076</a></td> </tr> <tr> <td align="left"><code class="notranslate">RdsDbSensor</code></td> <td align="left">Wait for the requested status (eg. available, stopped)</td> <td align="left"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1352964025" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/26003" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26003/hovercard" href="https://github.com/apache/airflow/pull/26003">#26003</a></td> </tr> </tbody> </table> <p dir="auto">Is this something that would be accepted into the codebase?<br> Please let me know.</p> <h3 dir="auto">Use case/motivation</h3> <h4 dir="auto">1. Saving money</h4> <p dir="auto">RDS is expensive. To save money, a company keeps test/dev environment relational databases shutdown until it needs to use them. With Airflow, they can start a database instance before running a workload, then turn it off after the workload finishes (or errors).</p> <h4 dir="auto">2. Force RDS to stay shutdown</h4> <p dir="auto">RDS automatically starts a database after 1 week of downtime. A company does not need this feature. They can create a DAG to continuously run the shutdown command on a list of databases instance ids stored in a <code class="notranslate">Variable</code>. The alternative is to create a shell script or login to the console and manually shutdown each database every week.</p> <h4 dir="auto">3. Making sure a database is running before scheduling workload</h4> <p dir="auto">A company programmatically starts/stops its RDS instances. Before they run a workload, they want to make sure it's running. They can use a sensor to make sure a database is available before attempting to run any jobs that require access.</p> <p dir="auto">Also, during maintenance windows, RDS instances may be taken offline. Rather than tuning each DAG schedule to run outside of this window, a company can use a sensor to wait until the instance is available. (Yes, the availability check could also take place immediately before the maintenance window.)</p> <h3 dir="auto">Related issues</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Are you willing to submit a PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> 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
<h3 dir="auto">Current Behavior:</h3> <p dir="auto">The docs for npm@7 mention hook scripts as a feature:</p> <blockquote> <p dir="auto">If you want to run a specific script at a specific lifecycle event for ALL packages, then you can use a hook script.</p> <p dir="auto">Place an executable file at <code class="notranslate">node_modules/.hooks/{eventname}</code>...</p> </blockquote> <p dir="auto">^ <a href="https://github.com/npm/cli/blob/latest/docs/content/using-npm/scripts.md#hook-scripts">https://github.com/npm/cli/blob/latest/docs/content/using-npm/scripts.md#hook-scripts</a></p> <h3 dir="auto">Expected Behavior:</h3> <p dir="auto">This section should be removed from NPM docs since the hook script functionality no longer works. It appears to be no longer supported in npm@7, according to the @npmcli/run-script readme:</p> <blockquote> <p dir="auto">Hook scripts are not run by this module. If the caller wishes to run hook scripts, then they can override the default package script with an explicit cmd option pointing to the node_modules/.hook/${event} script.</p> </blockquote> <p dir="auto">^ <a href="https://github.com/npm/run-script#differences-from-npm-lifecycle">https://github.com/npm/run-script#differences-from-npm-lifecycle</a></p> <h3 dir="auto">Steps To Reproduce:</h3> <p dir="auto">n/a</p> <h3 dir="auto">Environment:</h3> <p dir="auto">n/a</p>
<p dir="auto">First of all, thanks for all of the work being done on the npm CLI and the ecosystem! Tons of new amazing things in v7.</p> <h3 dir="auto">Current Behavior:</h3> <p dir="auto">Hook scripts (documented <a href="https://docs.npmjs.com/cli/v7/using-npm/scripts#hook-scripts" rel="nofollow">in the docs here</a>) seem to no longer get run for npm v7.</p> <p dir="auto">For example, an executable file at <code class="notranslate">node_modules/.hooks/postinstall</code> with the following contents not get run:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#!/usr/bin/env node console.log('ran hook');"><pre class="notranslate">#!/usr/bin/env node <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">'ran hook'</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">I also tried this:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#!/usr/bin/env bash echo 'ran hook'"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#!</span>/usr/bin/env bash</span> <span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">'</span>ran hook<span class="pl-pds">'</span></span></pre></div> <p dir="auto">This will not get run during <code class="notranslate">npm install</code> or <code class="notranslate">npm install &lt;pkg name&gt;</code></p> <h3 dir="auto">Expected Behavior:</h3> <p dir="auto">The hook scripts should be run</p> <h3 dir="auto">Steps To Reproduce:</h3> <ol dir="auto"> <li>Create a new package with one of the file contents above in an executable file under <code class="notranslate">node_modules/.hooks/postinstall</code></li> <li>Run <code class="notranslate">npm install</code></li> <li>Hook script does not get run</li> </ol> <h3 dir="auto">Environment:</h3> <ul dir="auto"> <li>OS: macOS 11.2.1</li> <li>Node: 15.8.0</li> <li>npm: 7.5.4</li> </ul> <h3 dir="auto">Alternatives considered</h3> <p dir="auto">Maybe Hook Scripts are no longer supported? In this case, they should be removed from the documentation.</p>
1
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [v1.32.3]</li> <li>Operating System: [macOS 12.6.5]</li> <li>Browser: [Chromium]</li> <li>Other info:</li> </ul> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li> </ul> <p dir="auto"><strong><a href="https://github.com/ozyx/playwright-ui-repeateach-failure">Link to the GitHub repository with the repro</a></strong></p> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li><code class="notranslate">npx playwright test --ui</code></li> <li>Try to run the only existing test in the repro (hit play on the single test)</li> <li>Notice errors in the console:</li> </ul> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Error: TypeError: Cannot read properties of undefined (reading '_createTestResult') at Be._onTestBegin (http://localhost:58924/trace/watch.575ca3b3.js:1:3028) at Be.dispatch (http://localhost:58924/trace/watch.575ca3b3.js:1:1991) at window.dispatch (http://localhost:58924/trace/watch.575ca3b3.js:3:296) at eval (eval at evaluate (:195:30), &lt;anonymous&gt;:2:10) at UtilityScript.evaluate (&lt;anonymous&gt;:197:17) at UtilityScript.&lt;anonymous&gt; (&lt;anonymous&gt;:1:44)Error: TypeError: Cannot read properties of undefined (reading 'resultsMap') at Be._onStepBegin (http://localhost:58924/trace/watch.575ca3b3.js:1:3534) at Be.dispatch (http://localhost:58924/trace/watch.575ca3b3.js:1:2119) at window.dispatch (http://localhost:58924/trace/watch.575ca3b3.js:3:296) at eval (eval at evaluate (:195:30), &lt;anonymous&gt;:2:10) at UtilityScript.evaluate (&lt;anonymous&gt;:197:17) at UtilityScript.&lt;anonymous&gt; (&lt;anonymous&gt;:1:44)Error: TypeError: Cannot read properties of undefined (reading 'resultsMap') // etc..."><pre class="notranslate">Error: TypeError: Cannot <span class="pl-c1">read</span> properties of undefined (reading <span class="pl-s"><span class="pl-pds">'</span>_createTestResult<span class="pl-pds">'</span></span>) at Be._onTestBegin (http://localhost:58924/trace/watch.575ca3b3.js:1:3028) at Be.dispatch (http://localhost:58924/trace/watch.575ca3b3.js:1:1991) at window.dispatch (http://localhost:58924/trace/watch.575ca3b3.js:3:296) at <span class="pl-c1">eval</span> (eval at evaluate (:195:30), <span class="pl-k">&lt;</span>anonymous<span class="pl-k">&gt;</span>:2:10) at UtilityScript.evaluate (<span class="pl-k">&lt;</span>anonymous<span class="pl-k">&gt;</span>:197:17) at UtilityScript.<span class="pl-k">&lt;</span>anonymous<span class="pl-k">&gt;</span> (<span class="pl-k">&lt;</span>anonymous<span class="pl-k">&gt;</span>:1:44)Error: TypeError: Cannot <span class="pl-c1">read</span> properties of undefined (reading <span class="pl-s"><span class="pl-pds">'</span>resultsMap<span class="pl-pds">'</span></span>) at Be._onStepBegin (http://localhost:58924/trace/watch.575ca3b3.js:1:3534) at Be.dispatch (http://localhost:58924/trace/watch.575ca3b3.js:1:2119) at window.dispatch (http://localhost:58924/trace/watch.575ca3b3.js:3:296) at <span class="pl-c1">eval</span> (eval at evaluate (:195:30), <span class="pl-k">&lt;</span>anonymous<span class="pl-k">&gt;</span>:2:10) at UtilityScript.evaluate (<span class="pl-k">&lt;</span>anonymous<span class="pl-k">&gt;</span>:197:17) at UtilityScript.<span class="pl-k">&lt;</span>anonymous<span class="pl-k">&gt;</span> (<span class="pl-k">&lt;</span>anonymous<span class="pl-k">&gt;</span>:1:44)Error: TypeError: Cannot <span class="pl-c1">read</span> properties of undefined (reading <span class="pl-s"><span class="pl-pds">'</span>resultsMap<span class="pl-pds">'</span></span>) // etc...</pre></div> <ul dir="auto"> <li>Run tests regularly: <code class="notranslate">npx playwright test</code></li> <li>Notice that tests run 5 times as expected and pass</li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">Test should run</p> <p dir="auto"><strong>Actual</strong></p> <p dir="auto">Test does not run, errors appear in console</p>
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [v1.34.2]</li> <li>Operating System: [macOS 13.2]</li> <li>Browser: [WebKit]</li> <li>Other info:</li> </ul> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li> </ul> <p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p> <p dir="auto"><a href="https://github.com/ArrayZoneYour/playwright-screenshot">https://github.com/ArrayZoneYour/playwright-screenshot</a></p> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>pnpm install</li> <li>npm run test</li> <li>npm run test:ui</li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">[Describe expected behavior]</p> <p dir="auto">webkit screenshot is the same as it display under ui mode</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/21001457/249116794-5038668f-c9fa-4319-8b08-161fe2657a03.png"><img src="https://user-images.githubusercontent.com/21001457/249116794-5038668f-c9fa-4319-8b08-161fe2657a03.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Actual</strong></p> <p dir="auto">[Describe actual behavior]</p> <p dir="auto">webkit screenshot rotateY is not worked as expected</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://github.com/ArrayZoneYour/playwright-screenshot/blob/main/webkit.png?raw=true"><img src="https://github.com/ArrayZoneYour/playwright-screenshot/blob/main/webkit.png?raw=true" alt="" style="max-width: 100%;"></a></p>
0
<h4 dir="auto">Challenge Name</h4> <p dir="auto">Get set for our algorithm challenges</p> <h4 dir="auto">Issue Description</h4> <p dir="auto">This isn't a challenge, it is just the overview/instruction page for basic-algorithm-scripting. It loads page 1/4 but the "Go to my next step" button is broken so you cannot navigate to pages 2, 3, and 4. You have to just skip to the first challenge. That means you don't get that satisfying green checkbox on the map.</p> <p dir="auto">Tested with Chrome and IE</p>
<p dir="auto"><strong>Expected Behavior:</strong> When I click "Go to my next step", I should go to my next step.<br> <strong>Current Behavior:</strong> When I click "Go to my next step", I stay on that page and nothing happens.</p> <p dir="auto">I have tried refreshing, clearing cache and history, re-logging in, but the current behavior has not changed.</p> <h4 dir="auto">Challenge Name</h4> <p dir="auto"><a href="https://www.freecodecamp.com/challenges/get-set-for-our-front-end-development-projects" rel="nofollow">https://www.freecodecamp.com/challenges/get-set-for-our-front-end-development-projects</a></p> <h4 dir="auto">Issue Description</h4> <ol dir="auto"> <li>Click 'Map' in menu</li> <li>When side map pops up, click 'basic-front-end-development-projects' under the Front End Dev</li> <li>Click 'Get Set for our Front End Development Projects'</li> <li>Click 'Go to my next step'</li> <li>Nothing happens</li> </ol> <h4 dir="auto">Browser Information</h4> <ul dir="auto"> <li>Browser Name, Version: Google Chrome, Version 52.0.2743.116 (64-bit)</li> <li>Operating System: Mac OS X El Capitan Version 10.11.6</li> <li>Desktop (Web)</li> </ul> <h4 dir="auto">Screenshot</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/14988593/18413659/f916f2ae-7762-11e6-8331-d7ef7265b1dd.png"><img width="866" alt="screen shot 2016-09-10 at 2 28 45 pm" src="https://cloud.githubusercontent.com/assets/14988593/18413659/f916f2ae-7762-11e6-8331-d7ef7265b1dd.png" style="max-width: 100%;"></a></p>
1
<p dir="auto">A component in 2.0.0-alpha.45 with</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="template: `&lt;svg version=&quot;1.1&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 100 100&quot;&gt;&lt;/svg&gt;`"><pre class="notranslate"><code class="notranslate">template: `&lt;svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"&gt;&lt;/svg&gt;` </code></pre></div> <p dir="auto">arrives in the DOM as</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewbox=&quot;0 0 100 100&quot; version=&quot;1.1&quot;&gt;&lt;/svg&gt;"><pre class="notranslate"><code class="notranslate">&lt;svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 100 100" version="1.1"&gt;&lt;/svg&gt; </code></pre></div> <p dir="auto">Note the lower-case <code class="notranslate">b</code> of <code class="notranslate">viewbox</code>. That way, the SVG doesn't render correctly.</p> <p dir="auto">As a workaround, I'm using an <code class="notranslate">ElementRef</code> in the constructor to manually set the correct property.</p>
<p dir="auto">SVG elements inside templates are not visible with alpha.38. From what I can see, the browser is not recognizing the svg element.</p> <p dir="auto">Works in alpha.37: <a href="http://plnkr.co/edit/GOEp4DSa0Q3HGZGxXVAi" rel="nofollow">http://plnkr.co/edit/GOEp4DSa0Q3HGZGxXVAi</a><br> Breaks in alpha.38: <a href="http://plnkr.co/edit/thIhnOB9zhzIQeEnmZUA" rel="nofollow">http://plnkr.co/edit/thIhnOB9zhzIQeEnmZUA</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import {bootstrap, bind, Component, View} from 'angular2/angular2'; @Component({ selector: 'app-cmp' }) @View({ template: ` &lt;div&gt; &lt;svg fill=&quot;000000&quot; width=&quot;24&quot; height=&quot;24&quot; viewBox=&quot;0 0 24 24&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt; &lt;path d=&quot;M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z&quot;&gt;&lt;/path&gt; &lt;/svg&gt; &lt;/div&gt; ` }) class App { constructor() {} } bootstrap(App);"><pre class="notranslate"><code class="notranslate">import {bootstrap, bind, Component, View} from 'angular2/angular2'; @Component({ selector: 'app-cmp' }) @View({ template: ` &lt;div&gt; &lt;svg fill="000000" width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"&gt; &lt;path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"&gt;&lt;/path&gt; &lt;/svg&gt; &lt;/div&gt; ` }) class App { constructor() {} } bootstrap(App); </code></pre></div>
1
<p dir="auto">Hi!</p> <p dir="auto">I used the customizer to generate my own bootstrap 3 css files and using it to display a dialog with 'fade' in the class made the dialog background go black instead of 50% opacity black.</p> <p dir="auto">Inspecting the modal-backdrop I figured the .fade opacity: 1 attribute was overriding the .modal-backdrop opacity: 0.5 attribute.</p> <p dir="auto">Simply changing the order in which those classes show up in the bootstrap css fixed the problem.</p> <p dir="auto">I am attaching some pictures to show the problem.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/223555782fb56674952972a76b28dcce70238e7d1de3c746b124bc20a6c255b1/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313038383030392f313031393435392f66613730613839342d306334332d313165332d393534332d3362613432386135653263312e706e67"><img src="https://camo.githubusercontent.com/223555782fb56674952972a76b28dcce70238e7d1de3c746b124bc20a6c255b1/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313038383030392f313031393435392f66613730613839342d306334332d313165332d393534332d3362613432386135653263312e706e67" alt="screen shot 2013-08-23 at 3 10 44 pm" data-canonical-src="https://f.cloud.github.com/assets/1088009/1019459/fa70a894-0c43-11e3-9543-3ba428a5e2c1.png" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/92fb8ce6b1b13bfcf9143cb47c13961094761c2e6b2f20ea1ca76d88e4fdfebe/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313038383030392f313031393436312f31303733376163322d306334342d313165332d386237322d3961376461653036353063332e706e67"><img src="https://camo.githubusercontent.com/92fb8ce6b1b13bfcf9143cb47c13961094761c2e6b2f20ea1ca76d88e4fdfebe/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313038383030392f313031393436312f31303733376163322d306334342d313165332d386237322d3961376461653036353063332e706e67" alt="screen shot 2013-08-23 at 3 15 45 pm" data-canonical-src="https://f.cloud.github.com/assets/1088009/1019461/10737ac2-0c44-11e3-8b72-9a7dae0650c3.png" style="max-width: 100%;"></a></p>
<p dir="auto">Hi!</p> <p dir="auto">I just generated a customized version and the modal background is totally black (I also generated a version without any change to be sure it wasn't me that caused that):</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/7c884cd09470c8345f0304ad6c0a9768a9b9ad1b1cf415c28d5eb6df1beb82ab/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353238373238352f313030393333382f66653335323434612d306233362d313165332d393531332d3962363637663362646665652e706e67"><img src="https://camo.githubusercontent.com/7c884cd09470c8345f0304ad6c0a9768a9b9ad1b1cf415c28d5eb6df1beb82ab/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353238373238352f313030393333382f66653335323434612d306233362d313165332d393531332d3962363637663362646665652e706e67" alt="image" data-canonical-src="https://f.cloud.github.com/assets/5287285/1009338/fe35244a-0b36-11e3-9513-9b667f3bdfee.png" style="max-width: 100%;"></a></p> <p dir="auto">The download link on the home page does have transparency:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/c35f738d5bc9c495c9e5c3e792a7c2a713e064f7ba536da495ecd6830f696e96/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353238373238352f313030393335332f33396635313138342d306233372d313165332d383231622d3263396365363830626339352e706e67"><img src="https://camo.githubusercontent.com/c35f738d5bc9c495c9e5c3e792a7c2a713e064f7ba536da495ecd6830f696e96/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353238373238352f313030393335332f33396635313138342d306233372d313165332d383231622d3263396365363830626339352e706e67" alt="image" data-canonical-src="https://f.cloud.github.com/assets/5287285/1009353/39f51184-0b37-11e3-821b-2c9ce680bc95.png" style="max-width: 100%;"></a></p>
1
<p dir="auto">We're missing some library copies, I'll have a look into it.</p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/brson/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/brson">@brson</a></p>
<p dir="auto"><a href="http://buildbot.rust-lang.org/builders/master-mac/builds/94/steps/compile/logs/stdio" rel="nofollow">http://buildbot.rust-lang.org/builders/master-mac/builds/94/steps/compile/logs/stdio</a><br> <a href="http://buildbot.rust-lang.org/builders/master-linux/builds/95/steps/compile/logs/stdio" rel="nofollow">http://buildbot.rust-lang.org/builders/master-linux/builds/95/steps/compile/logs/stdio</a></p> <p dir="auto">These are configured something like <code class="notranslate">../configure --host-triples=x86_64-apple-darwin,i686-apple-darwin</code></p>
1
<ul dir="auto"> <li>Electron version: 1.4.1</li> <li>Operating system: Linux 4.4.11-v7+</li> </ul> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8680993/18929251/bb65db54-8591-11e6-8790-4c49a90cd4a5.png"><img src="https://cloud.githubusercontent.com/assets/8680993/18929251/bb65db54-8591-11e6-8790-4c49a90cd4a5.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">edit:</p> <p dir="auto">Issue was solved once i properly set my system time</p>
<ul dir="auto"> <li>Electron version: 1.4.1</li> <li>Operating system: Linux 4.4.11-v7+</li> <li>node v4.2.1</li> <li>npm v2.14.7</li> </ul>
1
<p dir="auto">Font-family not being passed to SnackBar as expected.</p> <p dir="auto">Add a SnackBar component at the root of your project. Without any parent from which it will catch the font family, it goes to the serif default browser font.</p> <ul dir="auto"> <li>Material-UI: Current</li> <li>React: Current</li> <li>Browser: Any</li> </ul>
<h3 dir="auto">Problem description</h3> <p dir="auto">A <code class="notranslate">&lt;SnackBar&gt;</code> component added inside a <code class="notranslate">&lt;MuiThemeProvider&gt;</code> element displays with a bad font.</p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">Create a <code class="notranslate">&lt;Snackbar /&gt;</code> inside a document with no default styles in the body - just a <code class="notranslate">&lt;MuiThemeProvider&gt;</code> wrapper.</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;MuiThemeProvider&gt; &lt;div&gt; &lt;Notification open={true} message=&quot;hello, world&quot; autoHideDuration={10000}/&gt; &lt;/div&gt; &lt;/MuiThemeProvider&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">MuiThemeProvider</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">Notification</span> <span class="pl-c1">open</span>=<span class="pl-s">{true}</span> <span class="pl-c1">message</span>="<span class="pl-s">hello, world</span>" <span class="pl-c1">autoHideDuration</span>=<span class="pl-s">{10000}/</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">MuiThemeProvider</span><span class="pl-kos">&gt;</span></pre></div> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: 0.15.2</li> <li>React: 15.2.1</li> <li>Browser: Chrome 51</li> </ul> <h3 dir="auto">Images &amp; references</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/99944/16805289/b853f86a-490f-11e6-99db-fd7d89be163d.png"><img src="https://cloud.githubusercontent.com/assets/99944/16805289/b853f86a-490f-11e6-99db-fd7d89be163d.png" alt="image" style="max-width: 100%;"></a></p>
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> <p dir="auto">When I use a single GPU, all parameters in the model get non-zero gradients;<br> but after wrapping my model with nn.DataParallel, the gradients of some part (RNN in my case) of the model become zero.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Steps to reproduce the behavior:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import sys import torch from torch import nn import torch.nn.functional as F from torchexp.stat import RunningAvgDict from torch.nn.utils.rnn import pack_padded_sequence from torch.nn.utils.rnn import pad_packed_sequence import numpy as np import math gpus = list(map(int, sys.argv[1].split(','))) def to_device(m, x): &quot;&quot;&quot;Send tensor into the device of the module. Args: m (torch.nn.Module): Torch module. x (Tensor): Torch tensor. Returns: Tensor: Torch tensor located in the same place as torch module. &quot;&quot;&quot; assert isinstance(m, torch.nn.Module) device = next(m.parameters()).device return x.to(device) def reset_backward_rnn_state(states): &quot;&quot;&quot;Sets backward BRNN states to zeroes - useful in processing of sliding windows over the inputs&quot;&quot;&quot; if isinstance(states, (list, tuple)): for state in states: state[1::2] = 0. else: states[1::2] = 0. return states class RNNP(nn.Module): &quot;&quot;&quot;RNN with projection layer module :param int idim: dimension of inputs, default: odim of CNN :param int nlayers: Number of layers :param int enc_dim: hidden dim of BLSTMP :param int proj_dim: proj. dim of BLSTMP :param int odim: ouput of encoder dimension (default: proj_dim) &quot;&quot;&quot; def __init__(self, idim, nlayers, enc_dim, proj_dim, odim): super(RNNP, self).__init__() self.enc_dim = enc_dim self.proj_dim = proj_dim self.odim = odim self.nlayers = nlayers self.rnn0 = nn.LSTM(idim, enc_dim, num_layers=1, bidirectional=True, batch_first=True) self.bt0 = nn.Linear(2 * enc_dim, proj_dim) for i in range(1,self.nlayers): rnn = nn.LSTM(proj_dim, enc_dim, num_layers=1, bidirectional=True, batch_first=True) setattr(self, f&quot;rnn{i}&quot;, rnn) if i == self.nlayers - 1: setattr(self, f&quot;bt{i}&quot;, nn.Linear(2 * enc_dim, odim)) else: setattr(self, f&quot;bt{i}&quot;, nn.Linear(2 * enc_dim, proj_dim)) def forward(self, xs_pad, enc_lens, prev_state=None): &quot;&quot;&quot;RNNP forward :param torch.Tensor xs_pad: batch of padded input sequences (B, Tmax, cnn_o_dim) :param list of int enc_lens :param torch.Tensor prev_state: batch of previous RNN states :return: batch of hidden state sequences (B, Tmax, odim) :rtype: torch.Tensor &quot;&quot;&quot; hid_states = [] for i in range(self.nlayers): total_length = xs_pad.size(1) xs_pack = pack_padded_sequence(xs_pad, enc_lens, batch_first = True) rnn = getattr(self, f&quot;rnn{i}&quot;) rnn.flatten_parameters() if prev_state is not None: prev_state = reset_backward_rnn_state(prev_state) ys, states = rnn(xs_pack, hx=None if prev_state is None else prev_state[i]) hid_states.append(states) ys_pad, enc_lens= pad_packed_sequence(ys, batch_first=True, total_length=total_length) # ys_pad: (B, T, enc_dim) projected = getattr(self, f&quot;bt{i}&quot;)(ys_pad.contiguous().view(-1, ys_pad.size(2))) #(B*T, proj_dim) xs_pad = torch.tanh(projected.view(ys_pad.size(0), ys_pad.size(1), -1)) return xs_pad, to_device(self,enc_lens), hid_states class BlstmEncoder(nn.Module): &quot;&quot;&quot; :param int idim: dim of input :param int enc_dim: hidden dim for BLSTM :param int proj_dim: projection dim for BLSTMP :param int odim: encoder output dimension (usually set as proj_dim) &quot;&quot;&quot; def __init__(self, idim, enc_dim, proj_dim, odim): super(BlstmEncoder, self).__init__() self.idim = idim self.enc_dim = enc_dim self.proj_dim = proj_dim self.odim = odim self.cnn_model = nn.Sequential( nn.Conv2d(1, 128, kernel_size=3, stride=1, padding=1), nn.ReLU(), nn.Conv2d(128, 128, kernel_size=3, stride=1, padding=1), nn.ReLU(), nn.MaxPool2d(2, stride=2, ceil_mode=True), ) cnn_o_dim = np.ceil(np.array(idim, dtype=np.float32) / 2) cnn_o_dim = int(cnn_o_dim) * 128 self.nlayers = 1 self.blstm = RNNP(cnn_o_dim, self.nlayers, enc_dim, proj_dim, odim) def forward(self, xs_pad, ilens, prev_state=None): xs_pad = xs_pad.view(xs_pad.size(0), xs_pad.size(1), 1, xs_pad.size(2)).transpose(1,2) xs_pad = self.cnn_model(xs_pad) if torch.is_tensor(ilens): ilens = ilens.cpu().numpy() else: ilens = np.array(ilens, dtype=np.float32) enc_lens = np.array(np.ceil(ilens/2), dtype=np.int64) enc_lens = np.array(np.ceil(np.array(enc_lens, dtype=np.float32)/2), dtype=np.int64).tolist() xs_pad = xs_pad.transpose(1,2) xs_pad = xs_pad.contiguous().view(xs_pad.size(0), xs_pad.size(1), xs_pad.size(2) * xs_pad.size(3)) out, enc_lens, cur_state = self.blstm(xs_pad, enc_lens, prev_state) return out, enc_lens, cur_state class MultiHeadBLSTM(nn.Module): def __init__(self): super(MultiHeadBLSTM, self).__init__() self.idim = 20 self.odim = 10 enc_o_dim = 128 self.encoder = BlstmEncoder(self.idim, enc_o_dim, enc_o_dim, enc_o_dim) self.head = nn.Linear(enc_o_dim, self.odim) @property def device(self): return next(self.parameters()).device def forward(self, xs_pad, ilens): assert xs_pad.size(0) == ilens.size(0), &quot;Batch size mismatch&quot; batch_size = xs_pad.size(0) # Put data to device xs_pad = to_device(self,xs_pad) ilens = to_device(self,ilens) enc, enc_lens, _ = self.encoder(xs_pad, ilens) out = self.head(enc) return out, enc_lens def run_batch(asr_model, ctc_loss, x, ilens, y_true, olens): pred, enc_lens = asr_model(x, ilens) if len(gpus) == 1: olens = to_device(asr_model, olens) else: olens = to_device(asr_model.module, olens) pred = F.log_softmax(pred, dim=-1) loss = ctc_loss(pred.transpose(0,1).contiguous(), y_true.cuda().to(dtype=torch.long), enc_lens.cpu().to(dtype=torch.long), olens.cpu().to(dtype=torch.long)) print('ctc loss: ', loss) info = { 'loss': loss.item() } loss.backward() return info def run_task(asr_model, ctc_loss, x, ilens, ys, olens): batch_size = len(ys) info = run_batch(asr_model, ctc_loss, x, ilens, ys, olens) # torch.set_printoptions(profile=&quot;full&quot;) if len(gpus) == 1: count = 0 for n, p in asr_model.named_parameters(): print('grad of param {}, {}: '.format(count, n), p.grad)#[0, 0, 0]) count += 1 print('num of params with grad: ', count) else: count = 0 for n, p in asr_model.module.named_parameters(): print('grad of param {}, {}: '.format(count, n), p.grad)#[0, 0, 0]) count += 1 print('num of params with grad: ', count) if __name__ == '__main__': asr_model = MultiHeadBLSTM().cuda() if len(gpus) &gt; 1: asr_model = nn.DataParallel(asr_model, device_ids=gpus) ctc_loss = nn.CTCLoss(blank=0, reduction='mean', zero_infinity=True) x = torch.rand(4, 20, 20)#.cuda() ilens = torch.tensor([20, 20, 20, 20])#.cuda() ys = [torch.tensor([1, 1, 1]), torch.tensor([1, 1, 1, 1]), torch.tensor([1, 1, 1, 1, 1]), torch.tensor([1, 1, 1, 1, 1, 1])] olens = torch.tensor([3, 4, 5, 6])#.cuda() y_true = torch.cat(ys)#.cuda() run_task(asr_model, ctc_loss, x, ilens, y_true, olens)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">sys</span> <span class="pl-k">import</span> <span class="pl-s1">torch</span> <span class="pl-k">from</span> <span class="pl-s1">torch</span> <span class="pl-k">import</span> <span class="pl-s1">nn</span> <span class="pl-k">import</span> <span class="pl-s1">torch</span>.<span class="pl-s1">nn</span>.<span class="pl-s1">functional</span> <span class="pl-k">as</span> <span class="pl-v">F</span> <span class="pl-k">from</span> <span class="pl-s1">torchexp</span>.<span class="pl-s1">stat</span> <span class="pl-k">import</span> <span class="pl-v">RunningAvgDict</span> <span class="pl-k">from</span> <span class="pl-s1">torch</span>.<span class="pl-s1">nn</span>.<span class="pl-s1">utils</span>.<span class="pl-s1">rnn</span> <span class="pl-k">import</span> <span class="pl-s1">pack_padded_sequence</span> <span class="pl-k">from</span> <span class="pl-s1">torch</span>.<span class="pl-s1">nn</span>.<span class="pl-s1">utils</span>.<span class="pl-s1">rnn</span> <span class="pl-k">import</span> <span class="pl-s1">pad_packed_sequence</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">import</span> <span class="pl-s1">math</span> <span class="pl-s1">gpus</span> <span class="pl-c1">=</span> <span class="pl-en">list</span>(<span class="pl-en">map</span>(<span class="pl-s1">int</span>, <span class="pl-s1">sys</span>.<span class="pl-s1">argv</span>[<span class="pl-c1">1</span>].<span class="pl-en">split</span>(<span class="pl-s">','</span>))) <span class="pl-k">def</span> <span class="pl-en">to_device</span>(<span class="pl-s1">m</span>, <span class="pl-s1">x</span>): <span class="pl-s">"""Send tensor into the device of the module.</span> <span class="pl-s"></span> <span class="pl-s"> Args:</span> <span class="pl-s"> m (torch.nn.Module): Torch module.</span> <span class="pl-s"> x (Tensor): Torch tensor.</span> <span class="pl-s"></span> <span class="pl-s"> Returns:</span> <span class="pl-s"> Tensor: Torch tensor located in the same place as torch module.</span> <span class="pl-s"></span> <span class="pl-s"> """</span> <span class="pl-k">assert</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">m</span>, <span class="pl-s1">torch</span>.<span class="pl-s1">nn</span>.<span class="pl-v">Module</span>) <span class="pl-s1">device</span> <span class="pl-c1">=</span> <span class="pl-en">next</span>(<span class="pl-s1">m</span>.<span class="pl-en">parameters</span>()).<span class="pl-s1">device</span> <span class="pl-k">return</span> <span class="pl-s1">x</span>.<span class="pl-en">to</span>(<span class="pl-s1">device</span>) <span class="pl-k">def</span> <span class="pl-en">reset_backward_rnn_state</span>(<span class="pl-s1">states</span>): <span class="pl-s">"""Sets backward BRNN states to zeroes - useful in processing of sliding windows over the inputs"""</span> <span class="pl-k">if</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">states</span>, (<span class="pl-s1">list</span>, <span class="pl-s1">tuple</span>)): <span class="pl-k">for</span> <span class="pl-s1">state</span> <span class="pl-c1">in</span> <span class="pl-s1">states</span>: <span class="pl-s1">state</span>[<span class="pl-c1">1</span>::<span class="pl-c1">2</span>] <span class="pl-c1">=</span> <span class="pl-c1">0.</span> <span class="pl-k">else</span>: <span class="pl-s1">states</span>[<span class="pl-c1">1</span>::<span class="pl-c1">2</span>] <span class="pl-c1">=</span> <span class="pl-c1">0.</span> <span class="pl-k">return</span> <span class="pl-s1">states</span> <span class="pl-k">class</span> <span class="pl-v">RNNP</span>(<span class="pl-s1">nn</span>.<span class="pl-v">Module</span>): <span class="pl-s">"""RNN with projection layer module</span> <span class="pl-s"></span> <span class="pl-s"> :param int idim: dimension of inputs, default: odim of CNN</span> <span class="pl-s"> :param int nlayers: Number of layers</span> <span class="pl-s"> :param int enc_dim: hidden dim of BLSTMP</span> <span class="pl-s"> :param int proj_dim: proj. dim of BLSTMP</span> <span class="pl-s"> :param int odim: ouput of encoder dimension (default: proj_dim)</span> <span class="pl-s"> """</span> <span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">idim</span>, <span class="pl-s1">nlayers</span>, <span class="pl-s1">enc_dim</span>, <span class="pl-s1">proj_dim</span>, <span class="pl-s1">odim</span>): <span class="pl-en">super</span>(<span class="pl-v">RNNP</span>, <span class="pl-s1">self</span>).<span class="pl-en">__init__</span>() <span class="pl-s1">self</span>.<span class="pl-s1">enc_dim</span> <span class="pl-c1">=</span> <span class="pl-s1">enc_dim</span> <span class="pl-s1">self</span>.<span class="pl-s1">proj_dim</span> <span class="pl-c1">=</span> <span class="pl-s1">proj_dim</span> <span class="pl-s1">self</span>.<span class="pl-s1">odim</span> <span class="pl-c1">=</span> <span class="pl-s1">odim</span> <span class="pl-s1">self</span>.<span class="pl-s1">nlayers</span> <span class="pl-c1">=</span> <span class="pl-s1">nlayers</span> <span class="pl-s1">self</span>.<span class="pl-s1">rnn0</span> <span class="pl-c1">=</span> <span class="pl-s1">nn</span>.<span class="pl-v">LSTM</span>(<span class="pl-s1">idim</span>, <span class="pl-s1">enc_dim</span>, <span class="pl-s1">num_layers</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">bidirectional</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">batch_first</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">self</span>.<span class="pl-s1">bt0</span> <span class="pl-c1">=</span> <span class="pl-s1">nn</span>.<span class="pl-v">Linear</span>(<span class="pl-c1">2</span> <span class="pl-c1">*</span> <span class="pl-s1">enc_dim</span>, <span class="pl-s1">proj_dim</span>) <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">1</span>,<span class="pl-s1">self</span>.<span class="pl-s1">nlayers</span>): <span class="pl-s1">rnn</span> <span class="pl-c1">=</span> <span class="pl-s1">nn</span>.<span class="pl-v">LSTM</span>(<span class="pl-s1">proj_dim</span>, <span class="pl-s1">enc_dim</span>, <span class="pl-s1">num_layers</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">bidirectional</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">batch_first</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-en">setattr</span>(<span class="pl-s1">self</span>, <span class="pl-s">f"rnn<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">i</span><span class="pl-kos">}</span></span>"</span>, <span class="pl-s1">rnn</span>) <span class="pl-k">if</span> <span class="pl-s1">i</span> <span class="pl-c1">==</span> <span class="pl-s1">self</span>.<span class="pl-s1">nlayers</span> <span class="pl-c1">-</span> <span class="pl-c1">1</span>: <span class="pl-en">setattr</span>(<span class="pl-s1">self</span>, <span class="pl-s">f"bt<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">i</span><span class="pl-kos">}</span></span>"</span>, <span class="pl-s1">nn</span>.<span class="pl-v">Linear</span>(<span class="pl-c1">2</span> <span class="pl-c1">*</span> <span class="pl-s1">enc_dim</span>, <span class="pl-s1">odim</span>)) <span class="pl-k">else</span>: <span class="pl-en">setattr</span>(<span class="pl-s1">self</span>, <span class="pl-s">f"bt<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">i</span><span class="pl-kos">}</span></span>"</span>, <span class="pl-s1">nn</span>.<span class="pl-v">Linear</span>(<span class="pl-c1">2</span> <span class="pl-c1">*</span> <span class="pl-s1">enc_dim</span>, <span class="pl-s1">proj_dim</span>)) <span class="pl-k">def</span> <span class="pl-en">forward</span>(<span class="pl-s1">self</span>, <span class="pl-s1">xs_pad</span>, <span class="pl-s1">enc_lens</span>, <span class="pl-s1">prev_state</span><span class="pl-c1">=</span><span class="pl-c1">None</span>): <span class="pl-s">"""RNNP forward</span> <span class="pl-s"></span> <span class="pl-s"> :param torch.Tensor xs_pad: batch of padded input sequences (B, Tmax, cnn_o_dim)</span> <span class="pl-s"> :param list of int enc_lens</span> <span class="pl-s"> :param torch.Tensor prev_state: batch of previous RNN states</span> <span class="pl-s"> :return: batch of hidden state sequences (B, Tmax, odim)</span> <span class="pl-s"> :rtype: torch.Tensor</span> <span class="pl-s"> """</span> <span class="pl-s1">hid_states</span> <span class="pl-c1">=</span> [] <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-s1">self</span>.<span class="pl-s1">nlayers</span>): <span class="pl-s1">total_length</span> <span class="pl-c1">=</span> <span class="pl-s1">xs_pad</span>.<span class="pl-en">size</span>(<span class="pl-c1">1</span>) <span class="pl-s1">xs_pack</span> <span class="pl-c1">=</span> <span class="pl-en">pack_padded_sequence</span>(<span class="pl-s1">xs_pad</span>, <span class="pl-s1">enc_lens</span>, <span class="pl-s1">batch_first</span> <span class="pl-c1">=</span> <span class="pl-c1">True</span>) <span class="pl-s1">rnn</span> <span class="pl-c1">=</span> <span class="pl-en">getattr</span>(<span class="pl-s1">self</span>, <span class="pl-s">f"rnn<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">i</span><span class="pl-kos">}</span></span>"</span>) <span class="pl-s1">rnn</span>.<span class="pl-en">flatten_parameters</span>() <span class="pl-k">if</span> <span class="pl-s1">prev_state</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>: <span class="pl-s1">prev_state</span> <span class="pl-c1">=</span> <span class="pl-en">reset_backward_rnn_state</span>(<span class="pl-s1">prev_state</span>) <span class="pl-s1">ys</span>, <span class="pl-s1">states</span> <span class="pl-c1">=</span> <span class="pl-en">rnn</span>(<span class="pl-s1">xs_pack</span>, <span class="pl-s1">hx</span><span class="pl-c1">=</span><span class="pl-c1">None</span> <span class="pl-k">if</span> <span class="pl-s1">prev_state</span> <span class="pl-c1">is</span> <span class="pl-c1">None</span> <span class="pl-k">else</span> <span class="pl-s1">prev_state</span>[<span class="pl-s1">i</span>]) <span class="pl-s1">hid_states</span>.<span class="pl-en">append</span>(<span class="pl-s1">states</span>) <span class="pl-s1">ys_pad</span>, <span class="pl-s1">enc_lens</span><span class="pl-c1">=</span> <span class="pl-en">pad_packed_sequence</span>(<span class="pl-s1">ys</span>, <span class="pl-s1">batch_first</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">total_length</span><span class="pl-c1">=</span><span class="pl-s1">total_length</span>) <span class="pl-c"># ys_pad: (B, T, enc_dim)</span> <span class="pl-s1">projected</span> <span class="pl-c1">=</span> <span class="pl-en">getattr</span>(<span class="pl-s1">self</span>, <span class="pl-s">f"bt<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">i</span><span class="pl-kos">}</span></span>"</span>)(<span class="pl-s1">ys_pad</span>.<span class="pl-en">contiguous</span>().<span class="pl-en">view</span>(<span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-s1">ys_pad</span>.<span class="pl-en">size</span>(<span class="pl-c1">2</span>))) <span class="pl-c">#(B*T, proj_dim)</span> <span class="pl-s1">xs_pad</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">tanh</span>(<span class="pl-s1">projected</span>.<span class="pl-en">view</span>(<span class="pl-s1">ys_pad</span>.<span class="pl-en">size</span>(<span class="pl-c1">0</span>), <span class="pl-s1">ys_pad</span>.<span class="pl-en">size</span>(<span class="pl-c1">1</span>), <span class="pl-c1">-</span><span class="pl-c1">1</span>)) <span class="pl-k">return</span> <span class="pl-s1">xs_pad</span>, <span class="pl-en">to_device</span>(<span class="pl-s1">self</span>,<span class="pl-s1">enc_lens</span>), <span class="pl-s1">hid_states</span> <span class="pl-k">class</span> <span class="pl-v">BlstmEncoder</span>(<span class="pl-s1">nn</span>.<span class="pl-v">Module</span>): <span class="pl-s">"""</span> <span class="pl-s"> :param int idim: dim of input</span> <span class="pl-s"> :param int enc_dim: hidden dim for BLSTM</span> <span class="pl-s"> :param int proj_dim: projection dim for BLSTMP</span> <span class="pl-s"> :param int odim: encoder output dimension (usually set as proj_dim)</span> <span class="pl-s"> """</span> <span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">idim</span>, <span class="pl-s1">enc_dim</span>, <span class="pl-s1">proj_dim</span>, <span class="pl-s1">odim</span>): <span class="pl-en">super</span>(<span class="pl-v">BlstmEncoder</span>, <span class="pl-s1">self</span>).<span class="pl-en">__init__</span>() <span class="pl-s1">self</span>.<span class="pl-s1">idim</span> <span class="pl-c1">=</span> <span class="pl-s1">idim</span> <span class="pl-s1">self</span>.<span class="pl-s1">enc_dim</span> <span class="pl-c1">=</span> <span class="pl-s1">enc_dim</span> <span class="pl-s1">self</span>.<span class="pl-s1">proj_dim</span> <span class="pl-c1">=</span> <span class="pl-s1">proj_dim</span> <span class="pl-s1">self</span>.<span class="pl-s1">odim</span> <span class="pl-c1">=</span> <span class="pl-s1">odim</span> <span class="pl-s1">self</span>.<span class="pl-s1">cnn_model</span> <span class="pl-c1">=</span> <span class="pl-s1">nn</span>.<span class="pl-v">Sequential</span>( <span class="pl-s1">nn</span>.<span class="pl-v">Conv2d</span>(<span class="pl-c1">1</span>, <span class="pl-c1">128</span>, <span class="pl-s1">kernel_size</span><span class="pl-c1">=</span><span class="pl-c1">3</span>, <span class="pl-s1">stride</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">padding</span><span class="pl-c1">=</span><span class="pl-c1">1</span>), <span class="pl-s1">nn</span>.<span class="pl-v">ReLU</span>(), <span class="pl-s1">nn</span>.<span class="pl-v">Conv2d</span>(<span class="pl-c1">128</span>, <span class="pl-c1">128</span>, <span class="pl-s1">kernel_size</span><span class="pl-c1">=</span><span class="pl-c1">3</span>, <span class="pl-s1">stride</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">padding</span><span class="pl-c1">=</span><span class="pl-c1">1</span>), <span class="pl-s1">nn</span>.<span class="pl-v">ReLU</span>(), <span class="pl-s1">nn</span>.<span class="pl-v">MaxPool2d</span>(<span class="pl-c1">2</span>, <span class="pl-s1">stride</span><span class="pl-c1">=</span><span class="pl-c1">2</span>, <span class="pl-s1">ceil_mode</span><span class="pl-c1">=</span><span class="pl-c1">True</span>), ) <span class="pl-s1">cnn_o_dim</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">ceil</span>(<span class="pl-s1">np</span>.<span class="pl-en">array</span>(<span class="pl-s1">idim</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">float32</span>) <span class="pl-c1">/</span> <span class="pl-c1">2</span>) <span class="pl-s1">cnn_o_dim</span> <span class="pl-c1">=</span> <span class="pl-en">int</span>(<span class="pl-s1">cnn_o_dim</span>) <span class="pl-c1">*</span> <span class="pl-c1">128</span> <span class="pl-s1">self</span>.<span class="pl-s1">nlayers</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span> <span class="pl-s1">self</span>.<span class="pl-s1">blstm</span> <span class="pl-c1">=</span> <span class="pl-v">RNNP</span>(<span class="pl-s1">cnn_o_dim</span>, <span class="pl-s1">self</span>.<span class="pl-s1">nlayers</span>, <span class="pl-s1">enc_dim</span>, <span class="pl-s1">proj_dim</span>, <span class="pl-s1">odim</span>) <span class="pl-k">def</span> <span class="pl-en">forward</span>(<span class="pl-s1">self</span>, <span class="pl-s1">xs_pad</span>, <span class="pl-s1">ilens</span>, <span class="pl-s1">prev_state</span><span class="pl-c1">=</span><span class="pl-c1">None</span>): <span class="pl-s1">xs_pad</span> <span class="pl-c1">=</span> <span class="pl-s1">xs_pad</span>.<span class="pl-en">view</span>(<span class="pl-s1">xs_pad</span>.<span class="pl-en">size</span>(<span class="pl-c1">0</span>), <span class="pl-s1">xs_pad</span>.<span class="pl-en">size</span>(<span class="pl-c1">1</span>), <span class="pl-c1">1</span>, <span class="pl-s1">xs_pad</span>.<span class="pl-en">size</span>(<span class="pl-c1">2</span>)).<span class="pl-en">transpose</span>(<span class="pl-c1">1</span>,<span class="pl-c1">2</span>) <span class="pl-s1">xs_pad</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">cnn_model</span>(<span class="pl-s1">xs_pad</span>) <span class="pl-k">if</span> <span class="pl-s1">torch</span>.<span class="pl-en">is_tensor</span>(<span class="pl-s1">ilens</span>): <span class="pl-s1">ilens</span> <span class="pl-c1">=</span> <span class="pl-s1">ilens</span>.<span class="pl-en">cpu</span>().<span class="pl-en">numpy</span>() <span class="pl-k">else</span>: <span class="pl-s1">ilens</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>(<span class="pl-s1">ilens</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">float32</span>) <span class="pl-s1">enc_lens</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>(<span class="pl-s1">np</span>.<span class="pl-en">ceil</span>(<span class="pl-s1">ilens</span><span class="pl-c1">/</span><span class="pl-c1">2</span>), <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">int64</span>) <span class="pl-s1">enc_lens</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>(<span class="pl-s1">np</span>.<span class="pl-en">ceil</span>(<span class="pl-s1">np</span>.<span class="pl-en">array</span>(<span class="pl-s1">enc_lens</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">float32</span>)<span class="pl-c1">/</span><span class="pl-c1">2</span>), <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">int64</span>).<span class="pl-en">tolist</span>() <span class="pl-s1">xs_pad</span> <span class="pl-c1">=</span> <span class="pl-s1">xs_pad</span>.<span class="pl-en">transpose</span>(<span class="pl-c1">1</span>,<span class="pl-c1">2</span>) <span class="pl-s1">xs_pad</span> <span class="pl-c1">=</span> <span class="pl-s1">xs_pad</span>.<span class="pl-en">contiguous</span>().<span class="pl-en">view</span>(<span class="pl-s1">xs_pad</span>.<span class="pl-en">size</span>(<span class="pl-c1">0</span>), <span class="pl-s1">xs_pad</span>.<span class="pl-en">size</span>(<span class="pl-c1">1</span>), <span class="pl-s1">xs_pad</span>.<span class="pl-en">size</span>(<span class="pl-c1">2</span>) <span class="pl-c1">*</span> <span class="pl-s1">xs_pad</span>.<span class="pl-en">size</span>(<span class="pl-c1">3</span>)) <span class="pl-s1">out</span>, <span class="pl-s1">enc_lens</span>, <span class="pl-s1">cur_state</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">blstm</span>(<span class="pl-s1">xs_pad</span>, <span class="pl-s1">enc_lens</span>, <span class="pl-s1">prev_state</span>) <span class="pl-k">return</span> <span class="pl-s1">out</span>, <span class="pl-s1">enc_lens</span>, <span class="pl-s1">cur_state</span> <span class="pl-k">class</span> <span class="pl-v">MultiHeadBLSTM</span>(<span class="pl-s1">nn</span>.<span class="pl-v">Module</span>): <span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>): <span class="pl-en">super</span>(<span class="pl-v">MultiHeadBLSTM</span>, <span class="pl-s1">self</span>).<span class="pl-en">__init__</span>() <span class="pl-s1">self</span>.<span class="pl-s1">idim</span> <span class="pl-c1">=</span> <span class="pl-c1">20</span> <span class="pl-s1">self</span>.<span class="pl-s1">odim</span> <span class="pl-c1">=</span> <span class="pl-c1">10</span> <span class="pl-s1">enc_o_dim</span> <span class="pl-c1">=</span> <span class="pl-c1">128</span> <span class="pl-s1">self</span>.<span class="pl-s1">encoder</span> <span class="pl-c1">=</span> <span class="pl-v">BlstmEncoder</span>(<span class="pl-s1">self</span>.<span class="pl-s1">idim</span>, <span class="pl-s1">enc_o_dim</span>, <span class="pl-s1">enc_o_dim</span>, <span class="pl-s1">enc_o_dim</span>) <span class="pl-s1">self</span>.<span class="pl-s1">head</span> <span class="pl-c1">=</span> <span class="pl-s1">nn</span>.<span class="pl-v">Linear</span>(<span class="pl-s1">enc_o_dim</span>, <span class="pl-s1">self</span>.<span class="pl-s1">odim</span>) <span class="pl-en">@<span class="pl-s1">property</span></span> <span class="pl-k">def</span> <span class="pl-en">device</span>(<span class="pl-s1">self</span>): <span class="pl-k">return</span> <span class="pl-en">next</span>(<span class="pl-s1">self</span>.<span class="pl-en">parameters</span>()).<span class="pl-s1">device</span> <span class="pl-k">def</span> <span class="pl-en">forward</span>(<span class="pl-s1">self</span>, <span class="pl-s1">xs_pad</span>, <span class="pl-s1">ilens</span>): <span class="pl-k">assert</span> <span class="pl-s1">xs_pad</span>.<span class="pl-en">size</span>(<span class="pl-c1">0</span>) <span class="pl-c1">==</span> <span class="pl-s1">ilens</span>.<span class="pl-en">size</span>(<span class="pl-c1">0</span>), <span class="pl-s">"Batch size mismatch"</span> <span class="pl-s1">batch_size</span> <span class="pl-c1">=</span> <span class="pl-s1">xs_pad</span>.<span class="pl-en">size</span>(<span class="pl-c1">0</span>) <span class="pl-c"># Put data to device</span> <span class="pl-s1">xs_pad</span> <span class="pl-c1">=</span> <span class="pl-en">to_device</span>(<span class="pl-s1">self</span>,<span class="pl-s1">xs_pad</span>) <span class="pl-s1">ilens</span> <span class="pl-c1">=</span> <span class="pl-en">to_device</span>(<span class="pl-s1">self</span>,<span class="pl-s1">ilens</span>) <span class="pl-s1">enc</span>, <span class="pl-s1">enc_lens</span>, <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">encoder</span>(<span class="pl-s1">xs_pad</span>, <span class="pl-s1">ilens</span>) <span class="pl-s1">out</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">head</span>(<span class="pl-s1">enc</span>) <span class="pl-k">return</span> <span class="pl-s1">out</span>, <span class="pl-s1">enc_lens</span> <span class="pl-k">def</span> <span class="pl-en">run_batch</span>(<span class="pl-s1">asr_model</span>, <span class="pl-s1">ctc_loss</span>, <span class="pl-s1">x</span>, <span class="pl-s1">ilens</span>, <span class="pl-s1">y_true</span>, <span class="pl-s1">olens</span>): <span class="pl-s1">pred</span>, <span class="pl-s1">enc_lens</span> <span class="pl-c1">=</span> <span class="pl-en">asr_model</span>(<span class="pl-s1">x</span>, <span class="pl-s1">ilens</span>) <span class="pl-k">if</span> <span class="pl-en">len</span>(<span class="pl-s1">gpus</span>) <span class="pl-c1">==</span> <span class="pl-c1">1</span>: <span class="pl-s1">olens</span> <span class="pl-c1">=</span> <span class="pl-en">to_device</span>(<span class="pl-s1">asr_model</span>, <span class="pl-s1">olens</span>) <span class="pl-k">else</span>: <span class="pl-s1">olens</span> <span class="pl-c1">=</span> <span class="pl-en">to_device</span>(<span class="pl-s1">asr_model</span>.<span class="pl-s1">module</span>, <span class="pl-s1">olens</span>) <span class="pl-s1">pred</span> <span class="pl-c1">=</span> <span class="pl-v">F</span>.<span class="pl-en">log_softmax</span>(<span class="pl-s1">pred</span>, <span class="pl-s1">dim</span><span class="pl-c1">=</span><span class="pl-c1">-</span><span class="pl-c1">1</span>) <span class="pl-s1">loss</span> <span class="pl-c1">=</span> <span class="pl-en">ctc_loss</span>(<span class="pl-s1">pred</span>.<span class="pl-en">transpose</span>(<span class="pl-c1">0</span>,<span class="pl-c1">1</span>).<span class="pl-en">contiguous</span>(), <span class="pl-s1">y_true</span>.<span class="pl-en">cuda</span>().<span class="pl-en">to</span>(<span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">torch</span>.<span class="pl-s1">long</span>), <span class="pl-s1">enc_lens</span>.<span class="pl-en">cpu</span>().<span class="pl-en">to</span>(<span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">torch</span>.<span class="pl-s1">long</span>), <span class="pl-s1">olens</span>.<span class="pl-en">cpu</span>().<span class="pl-en">to</span>(<span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">torch</span>.<span class="pl-s1">long</span>)) <span class="pl-en">print</span>(<span class="pl-s">'ctc loss: '</span>, <span class="pl-s1">loss</span>) <span class="pl-s1">info</span> <span class="pl-c1">=</span> { <span class="pl-s">'loss'</span>: <span class="pl-s1">loss</span>.<span class="pl-en">item</span>() } <span class="pl-s1">loss</span>.<span class="pl-en">backward</span>() <span class="pl-k">return</span> <span class="pl-s1">info</span> <span class="pl-k">def</span> <span class="pl-en">run_task</span>(<span class="pl-s1">asr_model</span>, <span class="pl-s1">ctc_loss</span>, <span class="pl-s1">x</span>, <span class="pl-s1">ilens</span>, <span class="pl-s1">ys</span>, <span class="pl-s1">olens</span>): <span class="pl-s1">batch_size</span> <span class="pl-c1">=</span> <span class="pl-en">len</span>(<span class="pl-s1">ys</span>) <span class="pl-s1">info</span> <span class="pl-c1">=</span> <span class="pl-en">run_batch</span>(<span class="pl-s1">asr_model</span>, <span class="pl-s1">ctc_loss</span>, <span class="pl-s1">x</span>, <span class="pl-s1">ilens</span>, <span class="pl-s1">ys</span>, <span class="pl-s1">olens</span>) <span class="pl-c"># torch.set_printoptions(profile="full")</span> <span class="pl-k">if</span> <span class="pl-en">len</span>(<span class="pl-s1">gpus</span>) <span class="pl-c1">==</span> <span class="pl-c1">1</span>: <span class="pl-s1">count</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span> <span class="pl-k">for</span> <span class="pl-s1">n</span>, <span class="pl-s1">p</span> <span class="pl-c1">in</span> <span class="pl-s1">asr_model</span>.<span class="pl-en">named_parameters</span>(): <span class="pl-en">print</span>(<span class="pl-s">'grad of param {}, {}: '</span>.<span class="pl-en">format</span>(<span class="pl-s1">count</span>, <span class="pl-s1">n</span>), <span class="pl-s1">p</span>.<span class="pl-s1">grad</span>)<span class="pl-c">#[0, 0, 0])</span> <span class="pl-s1">count</span> <span class="pl-c1">+=</span> <span class="pl-c1">1</span> <span class="pl-en">print</span>(<span class="pl-s">'num of params with grad: '</span>, <span class="pl-s1">count</span>) <span class="pl-k">else</span>: <span class="pl-s1">count</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span> <span class="pl-k">for</span> <span class="pl-s1">n</span>, <span class="pl-s1">p</span> <span class="pl-c1">in</span> <span class="pl-s1">asr_model</span>.<span class="pl-s1">module</span>.<span class="pl-en">named_parameters</span>(): <span class="pl-en">print</span>(<span class="pl-s">'grad of param {}, {}: '</span>.<span class="pl-en">format</span>(<span class="pl-s1">count</span>, <span class="pl-s1">n</span>), <span class="pl-s1">p</span>.<span class="pl-s1">grad</span>)<span class="pl-c">#[0, 0, 0])</span> <span class="pl-s1">count</span> <span class="pl-c1">+=</span> <span class="pl-c1">1</span> <span class="pl-en">print</span>(<span class="pl-s">'num of params with grad: '</span>, <span class="pl-s1">count</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">asr_model</span> <span class="pl-c1">=</span> <span class="pl-v">MultiHeadBLSTM</span>().<span class="pl-en">cuda</span>() <span class="pl-k">if</span> <span class="pl-en">len</span>(<span class="pl-s1">gpus</span>) <span class="pl-c1">&gt;</span> <span class="pl-c1">1</span>: <span class="pl-s1">asr_model</span> <span class="pl-c1">=</span> <span class="pl-s1">nn</span>.<span class="pl-v">DataParallel</span>(<span class="pl-s1">asr_model</span>, <span class="pl-s1">device_ids</span><span class="pl-c1">=</span><span class="pl-s1">gpus</span>) <span class="pl-s1">ctc_loss</span> <span class="pl-c1">=</span> <span class="pl-s1">nn</span>.<span class="pl-v">CTCLoss</span>(<span class="pl-s1">blank</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">reduction</span><span class="pl-c1">=</span><span class="pl-s">'mean'</span>, <span class="pl-s1">zero_infinity</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">rand</span>(<span class="pl-c1">4</span>, <span class="pl-c1">20</span>, <span class="pl-c1">20</span>)<span class="pl-c">#.cuda() </span> <span class="pl-s1">ilens</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">tensor</span>([<span class="pl-c1">20</span>, <span class="pl-c1">20</span>, <span class="pl-c1">20</span>, <span class="pl-c1">20</span>])<span class="pl-c">#.cuda()</span> <span class="pl-s1">ys</span> <span class="pl-c1">=</span> [<span class="pl-s1">torch</span>.<span class="pl-en">tensor</span>([<span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>]), <span class="pl-s1">torch</span>.<span class="pl-en">tensor</span>([<span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>]), <span class="pl-s1">torch</span>.<span class="pl-en">tensor</span>([<span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>]), <span class="pl-s1">torch</span>.<span class="pl-en">tensor</span>([<span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>])] <span class="pl-s1">olens</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">tensor</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-c">#.cuda()</span> <span class="pl-s1">y_true</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">cat</span>(<span class="pl-s1">ys</span>)<span class="pl-c">#.cuda()</span> <span class="pl-en">run_task</span>(<span class="pl-s1">asr_model</span>, <span class="pl-s1">ctc_loss</span>, <span class="pl-s1">x</span>, <span class="pl-s1">ilens</span>, <span class="pl-s1">y_true</span>, <span class="pl-s1">olens</span>)</pre></div> <p dir="auto">If I run <code class="notranslate">python3 test.py 0</code> (gpu devices = [0]), everything is fine;<br> however, if I run <code class="notranslate">python3 test.py 0,1</code> (gpu devices = [0, 1]), rnn receives no gradient.</p> <h2 dir="auto">Expected behavior</h2> <p dir="auto">All parameters of both single- and multi-gpu models should have non-zero gradients.</p> <h2 dir="auto">Environment</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PyTorch version: 1.4.1 Is debug build: No CUDA used to build PyTorch: 10.2 OS: Arch Linux GCC version: (Arch Linux 9.3.0-1) 9.3.0 CMake version: version 3.17.0 Python version: 3.8 Is CUDA available: Yes CUDA runtime version: 10.2.89 GPU models and configuration: GPU 0: GeForce GTX TITAN X GPU 1: GeForce GTX 1060 6GB Nvidia driver version: 440.64 cuDNN version: /usr/lib/libcudnn.so.7.6.5 Versions of relevant libraries: [pip3] numpy==1.18.2 [pip3] torch==1.4.1 [pip3] torchexp==0.1.0 [pip3] torchvision==0.5.0a0+c81ac87 [conda] Could not collect"><pre class="notranslate"><code class="notranslate">PyTorch version: 1.4.1 Is debug build: No CUDA used to build PyTorch: 10.2 OS: Arch Linux GCC version: (Arch Linux 9.3.0-1) 9.3.0 CMake version: version 3.17.0 Python version: 3.8 Is CUDA available: Yes CUDA runtime version: 10.2.89 GPU models and configuration: GPU 0: GeForce GTX TITAN X GPU 1: GeForce GTX 1060 6GB Nvidia driver version: 440.64 cuDNN version: /usr/lib/libcudnn.so.7.6.5 Versions of relevant libraries: [pip3] numpy==1.18.2 [pip3] torch==1.4.1 [pip3] torchexp==0.1.0 [pip3] torchvision==0.5.0a0+c81ac87 [conda] Could not collect </code></pre></div>
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2> <p dir="auto">I have tried running RNNs (LSTMs and GRUs) on multiple GPUs using <code class="notranslate">nn.DataParallel()</code> and when I print/plot the gradients, they are 0. They are not <code class="notranslate">Nan</code> or <code class="notranslate">None</code> but <code class="notranslate">0.0</code>. I have run the same code with CNNs and it worked fine. The RNN is part of <code class="notranslate">model.parameters()</code> so that is also not an issue.<br> This issue exists only in 1.4.0. When I rolled back to 1.3.0 it worked fine.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Steps to reproduce the behavior:</p> <p dir="auto">Following is a self contained code. You can pass <code class="notranslate">multi=True</code> and <code class="notranslate">multi=False</code> to test the gradients on multiple or single GPU.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import torch from torch import nn from torch.nn.utils.rnn import pad_packed_sequence, pack_padded_sequence import warnings warnings.filterwarnings(&quot;ignore&quot;) import torch.nn.functional as F device = torch.device('cuda' if torch.cuda.is_available() else 'cpu') class BiLSTM(nn.Module): def __init__(self,): super(BiLSTM, self).__init__() self.lstm = nn.LSTM(10, 16, bidirectional = True, batch_first= True) self.classifier = nn.Linear(32, 1) def forward(self, embed, lengths): # sorted_len, sorted_idxs = torch.sort(lengths, descending =True) # embed = embed[ sorted_idxs ,: , :].to(device) sorted_len = lengths packed_embed = pack_padded_sequence(embed, sorted_len, batch_first = True, enforce_sorted=False).to(device) all_states, hidden_states = self.lstm(packed_embed) all_states, _ = pad_packed_sequence(all_states, batch_first = True) out = torch.cat((hidden_states[0][0], hidden_states[0][1]), dim = 1) out = self.classifier(out) return out.to(device) def train(multi = False): seq_len = 5 batch_size = 8 input_dim = 10 inp = torch.randn(batch_size, seq_len, input_dim).to(device) labels = torch.tensor([0,1,0,1,0,1,0,1]) lens = torch.tensor([5,2,4,2,4,5,3,3]).to(device) model = BiLSTM().to(device) if multi: model = nn.DataParallel(model) optimizer = torch.optim.AdamW(model.parameters(), lr = 1e-4, weight_decay = 1e-3) criterion = nn.BCELoss() epochs = 1 for i in range(epochs): preds = model(inp, lens) preds = F.sigmoid(preds) loss = criterion(preds, labels.float().to(device)) optimizer.zero_grad() loss.backward() torch.nn.utils.clip_grad_norm_(model.parameters(), 10) optimizer.step() print(&quot;Gradients info..\n&quot;) model_log = model.module if multi else model for name, param in model_log.named_parameters(): print(&quot;param {} grad = {}&quot;.format(name, param.grad.data.view(-1))) if __name__ == '__main__': train(multi = False)"><pre class="notranslate"><code class="notranslate">import torch from torch import nn from torch.nn.utils.rnn import pad_packed_sequence, pack_padded_sequence import warnings warnings.filterwarnings("ignore") import torch.nn.functional as F device = torch.device('cuda' if torch.cuda.is_available() else 'cpu') class BiLSTM(nn.Module): def __init__(self,): super(BiLSTM, self).__init__() self.lstm = nn.LSTM(10, 16, bidirectional = True, batch_first= True) self.classifier = nn.Linear(32, 1) def forward(self, embed, lengths): # sorted_len, sorted_idxs = torch.sort(lengths, descending =True) # embed = embed[ sorted_idxs ,: , :].to(device) sorted_len = lengths packed_embed = pack_padded_sequence(embed, sorted_len, batch_first = True, enforce_sorted=False).to(device) all_states, hidden_states = self.lstm(packed_embed) all_states, _ = pad_packed_sequence(all_states, batch_first = True) out = torch.cat((hidden_states[0][0], hidden_states[0][1]), dim = 1) out = self.classifier(out) return out.to(device) def train(multi = False): seq_len = 5 batch_size = 8 input_dim = 10 inp = torch.randn(batch_size, seq_len, input_dim).to(device) labels = torch.tensor([0,1,0,1,0,1,0,1]) lens = torch.tensor([5,2,4,2,4,5,3,3]).to(device) model = BiLSTM().to(device) if multi: model = nn.DataParallel(model) optimizer = torch.optim.AdamW(model.parameters(), lr = 1e-4, weight_decay = 1e-3) criterion = nn.BCELoss() epochs = 1 for i in range(epochs): preds = model(inp, lens) preds = F.sigmoid(preds) loss = criterion(preds, labels.float().to(device)) optimizer.zero_grad() loss.backward() torch.nn.utils.clip_grad_norm_(model.parameters(), 10) optimizer.step() print("Gradients info..\n") model_log = model.module if multi else model for name, param in model_log.named_parameters(): print("param {} grad = {}".format(name, param.grad.data.view(-1))) if __name__ == '__main__': train(multi = False) </code></pre></div> <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): 1.4.0</li> <li>OS (e.g., Linux): Linux</li> <li>How you installed PyTorch (<code class="notranslate">conda</code>, <code class="notranslate">pip</code>, source): pip</li> <li>Build command you used (if compiling from source): NA</li> <li>Python version: 3.6.3</li> <li>CUDA/cuDNN version: CUDA=10.0.13 / CuDNN = 7.4.2</li> <li>GPU models and configuration: Nvidia 1080ti</li> <li>Any other relevant information:</li> </ul> <h2 dir="auto">Additional context</h2> <p dir="auto">NA</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></p>
1
<p dir="auto">I'm see in docs inside SelectionControls an usage example of Switch with label, it's supposed to be used like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;FormControlLabel control={ &lt;Switch checked={this.state.checkedA} onChange={(event, checked) =&gt; this.setState({ checkedA: checked })} /&gt; } label=&quot;A&quot; /&gt;"><pre class="notranslate"><code class="notranslate">&lt;FormControlLabel control={ &lt;Switch checked={this.state.checkedA} onChange={(event, checked) =&gt; this.setState({ checkedA: checked })} /&gt; } label="A" /&gt; </code></pre></div> <p dir="auto">But my state never changes. To fix it I did:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &lt;FormControlLabel control={ &lt;Switch checked={this.state.enableCache} /&gt; } label=&quot;Enable cache?&quot; onClick={() =&gt; this.setState({ enableCache: !this.state.enableCache })} /&gt;"><pre class="notranslate"><code class="notranslate"> &lt;FormControlLabel control={ &lt;Switch checked={this.state.enableCache} /&gt; } label="Enable cache?" onClick={() =&gt; this.setState({ enableCache: !this.state.enableCache })} /&gt; </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/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> <ul dir="auto"> <li>When clicking it should change state</li> </ul> <h2 dir="auto">Current Behavior</h2> <ul dir="auto"> <li>State unchanged</li> </ul> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ul dir="auto"> <li>Create a component with just a div</li> <li>Add a initial state for that component with value true or false</li> <li>Inside that div copy+paste this:</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;FormControlLabel control={ &lt;Switch checked={this.state.checkedA} onChange={(event, checked) =&gt; this.setState({ checkedA: checked })} /&gt; } label=&quot;A&quot; /&gt;"><pre class="notranslate"><code class="notranslate">&lt;FormControlLabel control={ &lt;Switch checked={this.state.checkedA} onChange={(event, checked) =&gt; this.setState({ checkedA: checked })} /&gt; } label="A" /&gt; </code></pre></div> <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.25</td> </tr> <tr> <td>React</td> <td>16.2.0</td> </tr> <tr> <td>browser</td> <td>Google Chrome</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
<p dir="auto">It would be a nice feature to not collapse a <code class="notranslate">Collapse</code> component all the way, but instead to collapse it to a height specified. This would allow for a small preview of the collapsable content.</p> <p dir="auto">There could be other ways to implement the same functionality.</p> <p dir="auto">Thanks for the consideration!</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/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul>
0
<p dir="auto">Since DCN make convolution networks gain a massive accuracy, it's that possible adding DCN inside pytorch natively?</p> <p dir="auto">Or does it already supported in somewhere in someway?</p>
<h2 dir="auto"><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> Feature</h2> <p dir="auto">Exactly as introduced in Microsoft paper : <a href="https://arxiv.org/pdf/1703.06211.pdf" rel="nofollow">https://arxiv.org/pdf/1703.06211.pdf</a></p> <h2 dir="auto">Motivation</h2> <p dir="auto">This operator has great advantages and abilities, and his popularity is increasing.</p> <p dir="auto">I don't think that any further explanation is needed.</p> <p dir="auto">BTW, other frameworks already have this operator, and I'm not talking about private people githubs..</p>
1
<h3 dir="auto">Bug summary</h3> <p dir="auto"><code class="notranslate">import matplotlib.pyplot as plt</code></p> <p dir="auto">Nomatter what drawing behavior(plot, scatter...) I uesd, I would always get below error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;dt.py&quot;, line 14, in &lt;module&gt; plt.scatter(x, y, s=area, c=colors, alpha=0.5) File &quot;C:\Python37\Lib\site-packages\matplotlib\pyplot.py&quot;, line 2817, in scatter __ret = gca().scatter( File &quot;C:\Python37\Lib\site-packages\matplotlib\pyplot.py&quot;, line 2272, in gca return gcf().gca(**kwargs) File &quot;C:\Python37\Lib\site-packages\matplotlib\pyplot.py&quot;, line 865, in gcf return figure() File &quot;C:\Python37\Lib\site-packages\matplotlib\pyplot.py&quot;, line 809, in figure FigureClass=FigureClass, **kwargs) File &quot;C:\Python37\Lib\site-packages\matplotlib\pyplot.py&quot;, line 324, in new_figure_manager _warn_if_gui_out_of_main_thread() File &quot;C:\Python37\Lib\site-packages\matplotlib\pyplot.py&quot;, line 314, in _warn_if_gui_out_of_main_thread if (_get_required_interactive_framework(_get_backend_mod()) File &quot;C:\Python37\Lib\site-packages\matplotlib\pyplot.py&quot;, line 217, in _get_backend_mod switch_backend(dict.__getitem__(rcParams, &quot;backend&quot;)) File &quot;C:\Python37\Lib\site-packages\matplotlib\pyplot.py&quot;, line 262, in switch_backend switch_backend(candidate) File &quot;C:\Python37\Lib\site-packages\matplotlib\pyplot.py&quot;, line 282, in switch_backend class backend_mod(matplotlib.backend_bases._Backend): File &quot;C:\Python37\Lib\site-packages\matplotlib\pyplot.py&quot;, line 283, in backend_mod locals().update(vars(importlib.import_module(backend_name))) File &quot;C:\Python37\lib\importlib\__init__.py&quot;, line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 1006, in _gcd_import File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 983, in _find_and_load File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 967, in _find_and_load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 677, in _load_unlocked File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 728, in exec_module File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 219, in _call_with_frames_removed File &quot;C:\Python37\Lib\site-packages\matplotlib\backends\backend_qtagg.py&quot;, line 12, in &lt;module&gt; from .backend_qt import ( File &quot;C:\Python37\Lib\site-packages\matplotlib\backends\backend_qt.py&quot;, line 76, in &lt;module&gt; for mod, key in [ File &quot;C:\Python37\Lib\site-packages\matplotlib\backends\backend_qt.py&quot;, line 76, in &lt;listcomp&gt; for mod, key in [ TypeError: int() argument must be a string, a bytes-like object or a number, not 'KeyboardModifier'"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "dt.py", line 14, in &lt;module&gt; plt.scatter(x, y, s=area, c=colors, alpha=0.5) File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 2817, in scatter __ret = gca().scatter( File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 2272, in gca return gcf().gca(**kwargs) File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 865, in gcf return figure() File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 809, in figure FigureClass=FigureClass, **kwargs) File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 324, in new_figure_manager _warn_if_gui_out_of_main_thread() File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 314, in _warn_if_gui_out_of_main_thread if (_get_required_interactive_framework(_get_backend_mod()) File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 217, in _get_backend_mod switch_backend(dict.__getitem__(rcParams, "backend")) File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 262, in switch_backend switch_backend(candidate) File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 282, in switch_backend class backend_mod(matplotlib.backend_bases._Backend): File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 283, in backend_mod locals().update(vars(importlib.import_module(backend_name))) File "C:\Python37\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "&lt;frozen importlib._bootstrap&gt;", line 1006, in _gcd_import File "&lt;frozen importlib._bootstrap&gt;", line 983, in _find_and_load File "&lt;frozen importlib._bootstrap&gt;", line 967, in _find_and_load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 677, in _load_unlocked File "&lt;frozen importlib._bootstrap_external&gt;", line 728, in exec_module File "&lt;frozen importlib._bootstrap&gt;", line 219, in _call_with_frames_removed File "C:\Python37\Lib\site-packages\matplotlib\backends\backend_qtagg.py", line 12, in &lt;module&gt; from .backend_qt import ( File "C:\Python37\Lib\site-packages\matplotlib\backends\backend_qt.py", line 76, in &lt;module&gt; for mod, key in [ File "C:\Python37\Lib\site-packages\matplotlib\backends\backend_qt.py", line 76, in &lt;listcomp&gt; for mod, key in [ TypeError: int() argument must be a string, a bytes-like object or a number, not 'KeyboardModifier' </code></pre></div> <h3 dir="auto">Code for reproduction</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt import numpy as np x = np.array([1, 2, 3, 4, 5, 6, 7, 8]) y = np.array([1, 4, 9, 16, 7, 11, 23, 18]) plt.scatter(x, y) plt.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-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">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</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-c1">7</span>, <span class="pl-c1">8</span>]) <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">1</span>, <span class="pl-c1">4</span>, <span class="pl-c1">9</span>, <span class="pl-c1">16</span>, <span class="pl-c1">7</span>, <span class="pl-c1">11</span>, <span class="pl-c1">23</span>, <span class="pl-c1">18</span>]) <span class="pl-s1">plt</span>.<span class="pl-en">scatter</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>) <span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div> <h3 dir="auto">Actual outcome</h3> <p dir="auto">Traceback (most recent call last): File "dt.py", line 14, in plt.scatter(x, y, s=area, c=colors, alpha=0.5) File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 2817, in scatter __ret = gca().scatter( File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 2272, in gca return gcf().gca(**kwargs) File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 865, in gcf return figure() File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 809, in figure FigureClass=FigureClass, **kwargs) File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 324, in new_figure_manager _warn_if_gui_out_of_main_thread() File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 314, in _warn_if_gui_out_of_main_thread if (_get_required_interactive_framework(_get_backend_mod()) File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 217, in _get_backend_mod switch_backend(dict.<strong>getitem</strong>(rcParams, "backend")) File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 262, in switch_backend switch_backend(candidate) File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 282, in switch_backend class backend_mod(matplotlib.backend_bases.<em>Backend): File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 283, in backend_mod locals().update(vars(importlib.import_module(backend_name))) File "C:\Python37\lib\importlib_<em>init</em></em>.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1006, in _gcd_import File "", line 983, in _find_and_load File "", line 967, in _find_and_load_unlocked File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "C:\Python37\Lib\site-packages\matplotlib\backends\backend_qtagg.py", line 12, in from .backend_qt import ( File "C:\Python37\Lib\site-packages\matplotlib\backends\backend_qt.py", line 76, in for mod, key in [ File "C:\Python37\Lib\site-packages\matplotlib\backends\backend_qt.py", line 76, in for mod, key in [ TypeError: int() argument must be a string, a bytes-like object or a number, not 'KeyboardModifier'</p> <h3 dir="auto">Expected outcome</h3> <p dir="auto">Scatter draw</p> <h3 dir="auto">Additional information</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Operating system</h3> <p dir="auto">Windows</p> <h3 dir="auto">Matplotlib Version</h3> <p dir="auto">3.5.3</p> <h3 dir="auto">Matplotlib Backend</h3> <p dir="auto">Traceback (most recent call last): File "", line 1, in File "C:\Python37\Lib\site-packages\matplotlib_<em>init</em>_.py", line 1172, in get_backend return rcParams['backend'] File "C:\Python37\Lib\site-packages\matplotlib_<em>init</em>_.py", line 674, in <strong>getitem</strong> plt.switch_backend(rcsetup._auto_backend_sentinel) File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 262, in switch_backend switch_backend(candidate) File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 282, in switch_backend class backend_mod(matplotlib.backend_bases.<em>Backend): File "C:\Python37\Lib\site-packages\matplotlib\pyplot.py", line 283, in backend_mod locals().update(vars(importlib.import_module(backend_name))) File "C:\Python37\lib\importlib_<em>init</em></em>.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1006, in _gcd_import File "", line 983, in _find_and_load File "", line 967, in _find_and_load_unlocked File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "C:\Python37\Lib\site-packages\matplotlib\backends\backend_qtagg.py", line 12, in from .backend_qt import ( File "C:\Python37\Lib\site-packages\matplotlib\backends\backend_qt.py", line 76, in for mod, key in [ File "C:\Python37\Lib\site-packages\matplotlib\backends\backend_qt.py", line 76, in for mod, key in [ TypeError: int() argument must be a string, a bytes-like object or a number, not 'KeyboardModifier'</p> <h3 dir="auto">Python version</h3> <p dir="auto">3.7.0</p> <h3 dir="auto">Jupyter version</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Installation</h3> <p dir="auto">pip</p>
<h3 dir="auto">Bug summary</h3> <p dir="auto"></p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/matplotlib/matplotlib/blob/318b2348f7127efc3e28aadebf762aae32b6343c/lib/matplotlib/backends/qt_compat.py#L144">matplotlib/lib/matplotlib/backends/qt_compat.py</a> </p> <p class="mb-0 color-fg-muted"> Line 144 in <a data-pjax="true" class="commit-tease-sha" href="/matplotlib/matplotlib/commit/318b2348f7127efc3e28aadebf762aae32b6343c">318b234</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="L144" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="144"></td> <td id="LC144" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">_to_int</span> <span class="pl-c1">=</span> <span class="pl-s1">operator</span>.<span class="pl-en">attrgetter</span>(<span class="pl-s">"value"</span>) <span class="pl-k">if</span> <span class="pl-v">QT_API</span> <span class="pl-c1">==</span> <span class="pl-s">"PyQt6"</span> <span class="pl-k">else</span> <span class="pl-s1">int</span> </td> </tr> </tbody></table> </div> </div> <p></p> <p dir="auto">Have to check for "PySide6" too.</p> <h3 dir="auto">Code for reproduction</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ QT_API=pyside6 python -c &quot;import matplotlib.backends.backend_qt5agg&quot;"><pre class="notranslate">$ <span class="pl-v">QT_API</span><span class="pl-c1">=</span><span class="pl-s1">pyside6</span> <span class="pl-s1">python</span> <span class="pl-c1">-</span><span class="pl-s1">c</span> <span class="pl-s">"import matplotlib.backends.backend_qt5agg"</span></pre></div> <h3 dir="auto">Actual outcome</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt; File &quot;/tmp/tmp.atoQSuHf68/venv/lib/python3.10/site-packages/matplotlib/backends/backend_qt5agg.py&quot;, line 7, in &lt;module&gt; from .backend_qtagg import ( # noqa: F401, E402 # pylint: disable=W0611 File &quot;/tmp/tmp.atoQSuHf68/venv/lib/python3.10/site-packages/matplotlib/backends/backend_qtagg.py&quot;, line 12, in &lt;module&gt; from .backend_qt import QtCore, QtGui, _BackendQT, FigureCanvasQT File &quot;/tmp/tmp.atoQSuHf68/venv/lib/python3.10/site-packages/matplotlib/backends/backend_qt.py&quot;, line 72, in &lt;module&gt; _MODIFIER_KEYS = [ File &quot;/tmp/tmp.atoQSuHf68/venv/lib/python3.10/site-packages/matplotlib/backends/backend_qt.py&quot;, line 73, in &lt;listcomp&gt; (_to_int(getattr(_enum(&quot;QtCore.Qt.KeyboardModifier&quot;), mod)), TypeError: int() argument must be a string, a bytes-like object or a real number, not 'KeyboardModifier'"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "&lt;string&gt;", line 1, in &lt;module&gt; File "/tmp/tmp.atoQSuHf68/venv/lib/python3.10/site-packages/matplotlib/backends/backend_qt5agg.py", line 7, in &lt;module&gt; from .backend_qtagg import ( # noqa: F401, E402 # pylint: disable=W0611 File "/tmp/tmp.atoQSuHf68/venv/lib/python3.10/site-packages/matplotlib/backends/backend_qtagg.py", line 12, in &lt;module&gt; from .backend_qt import QtCore, QtGui, _BackendQT, FigureCanvasQT File "/tmp/tmp.atoQSuHf68/venv/lib/python3.10/site-packages/matplotlib/backends/backend_qt.py", line 72, in &lt;module&gt; _MODIFIER_KEYS = [ File "/tmp/tmp.atoQSuHf68/venv/lib/python3.10/site-packages/matplotlib/backends/backend_qt.py", line 73, in &lt;listcomp&gt; (_to_int(getattr(_enum("QtCore.Qt.KeyboardModifier"), mod)), TypeError: int() argument must be a string, a bytes-like object or a real number, not 'KeyboardModifier' </code></pre></div> <h3 dir="auto">Expected outcome</h3> <p dir="auto">no errors</p> <h3 dir="auto">Additional information</h3> <p dir="auto">PySide6==6.4.0</p> <h3 dir="auto">Operating system</h3> <p dir="auto">GNU\Gentoo Linux</p> <h3 dir="auto">Matplotlib Version</h3> <p dir="auto">3.6.1</p> <h3 dir="auto">Matplotlib Backend</h3> <p dir="auto">same exception</p> <h3 dir="auto">Python version</h3> <p dir="auto">3.10.6</p> <h3 dir="auto">Jupyter version</h3> <p dir="auto">not installed</p> <h3 dir="auto">Installation</h3> <p dir="auto">pip</p>
1
<p dir="auto">Superset returns an internal server error when there are duplicated calculated column names</p> <h3 dir="auto">Expected results</h3> <p dir="auto">No 5xx</p> <h3 dir="auto">Actual results</h3> <p dir="auto">5xx</p> <h4 dir="auto">Screenshots</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7409244/69683280-22391c00-1069-11ea-9331-11bad441b29a.png"><img src="https://user-images.githubusercontent.com/7409244/69683280-22391c00-1069-11ea-9331-11bad441b29a.png" alt="image" style="max-width: 100%;"></a></p> <h4 dir="auto">How to reproduce the bug</h4> <p dir="auto">While recently creating a new set of calculated columns I forgot to change the name from the default of for all the fields. While attempting to save this, I wound up getting an internal server error on the front end which mapped to a "Duplicate entry '-77284' for key 'uq_table_columns_column_name'" internally.</p> <p dir="auto">It would be nice if that exception was caught or a specific error message surfaced so that people knew what they did wrong.</p> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>superset version: <code class="notranslate">master</code></li> <li>python version: <code class="notranslate">3.6</code></li> <li>node.js version: <code class="notranslate">8.6</code></li> </ul> <h3 dir="auto">Checklist</h3> <p dir="auto">Make sure these boxes are checked before submitting your issue - thank you!</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the superset logs for python stacktraces and included it here as text if there are any.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have reproduced the issue with at least the latest released version of superset.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the issue tracker for the same issue and I haven't found one similar.</li> </ul>
<p dir="auto">Make sure these boxes are checked before submitting your issue - thank you!</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the superset logs for python stacktraces and included it here as text if any</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have reproduced the issue with at least the latest released version of superset</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the issue tracker for the same issue and I haven't found one similar</li> </ul> <h3 dir="auto">Superset version</h3> <p dir="auto">0.25.6</p> <h3 dir="auto">Expected results</h3> <p dir="auto">Expected result in 0.17.6 is :<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/30650330/41275495-ac6b8076-6e3e-11e8-8098-c642e79f6179.png"><img src="https://user-images.githubusercontent.com/30650330/41275495-ac6b8076-6e3e-11e8-8098-c642e79f6179.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">Actual results</h3> <p dir="auto">Actual result which I am getting in 0.25.6 is :<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/30650330/41275520-cc665dba-6e3e-11e8-8f48-67fbc99b9a81.png"><img src="https://user-images.githubusercontent.com/30650330/41275520-cc665dba-6e3e-11e8-8f48-67fbc99b9a81.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">Open the slice and select the table view.<br> In the group by select any column with date as datatype<br> select any metric against it.<br> Output is epoch time against the metric</p>
0
<p dir="auto">When I try trace a model, I got this error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TracedModules don't support parameter sharing between modules"><pre class="notranslate"><code class="notranslate">TracedModules don't support parameter sharing between modules </code></pre></div> <p dir="auto">After digging into jit module source codes, this error thrown for the reason that:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="the module weights already inside a set, but id is different with exists one, then out performs this error"><pre class="notranslate"><code class="notranslate">the module weights already inside a set, but id is different with exists one, then out performs this error </code></pre></div> <p dir="auto">however, this message is confusing. I think <strong>it's nothing to do with parameters sharing, instead, it because of 2 modules or more with same weights but not same id</strong>.</p> <p dir="auto">I think the best way to indicates users to solve this, at least provide which layer or which modules conflicts with each other since they have same weights but not same id.</p> <p dir="auto">If you got same error when tracing a pytorch model. You should think about give my advise a <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji></p>
<p dir="auto">When tracing a model like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class BasicConv(nn.Module): def __init__(self, in_planes, out_planes, kernel_size, stride=1, padding=0, dilation=1, groups=1, relu=True, bn=True, bias=False): super(BasicConv, self).__init__() self.out_channels = out_planes self.conv = nn.Conv2d(in_planes, out_planes, kernel_size=kernel_size, stride=stride, padding=padding, dilation=dilation, groups=groups, bias=bias) self.bn = nn.BatchNorm2d(out_planes, eps=1e-5, momentum=0.01, affine=True) if bn else None self.relu = nn.ReLU(inplace=True) if relu else None def forward(self, x): x = self.conv(x) if self.bn is not None: x = self.bn(x) if self.relu is not None: x = self.relu(x) return x class FuckNet2(nn.Module): def __init__(self): super(FuckNet2, self).__init__() self.welcome_layer = BasicConv(3, 256, 3, 1, 1) self.block_1 = BasicConv(256, 256, 3, 1, 1) self.fuck_layers = nn.Sequential() for i in range(5): self.fuck_layers.add_module('{}'.format(i), self.block_1) def forward(self, x): x = self.welcome_layer(x) return self.fuck_layers(x)"><pre class="notranslate"><code class="notranslate">class BasicConv(nn.Module): def __init__(self, in_planes, out_planes, kernel_size, stride=1, padding=0, dilation=1, groups=1, relu=True, bn=True, bias=False): super(BasicConv, self).__init__() self.out_channels = out_planes self.conv = nn.Conv2d(in_planes, out_planes, kernel_size=kernel_size, stride=stride, padding=padding, dilation=dilation, groups=groups, bias=bias) self.bn = nn.BatchNorm2d(out_planes, eps=1e-5, momentum=0.01, affine=True) if bn else None self.relu = nn.ReLU(inplace=True) if relu else None def forward(self, x): x = self.conv(x) if self.bn is not None: x = self.bn(x) if self.relu is not None: x = self.relu(x) return x class FuckNet2(nn.Module): def __init__(self): super(FuckNet2, self).__init__() self.welcome_layer = BasicConv(3, 256, 3, 1, 1) self.block_1 = BasicConv(256, 256, 3, 1, 1) self.fuck_layers = nn.Sequential() for i in range(5): self.fuck_layers.add_module('{}'.format(i), self.block_1) def forward(self, x): x = self.welcome_layer(x) return self.fuck_layers(x) </code></pre></div> <p dir="auto">I got error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ValueError: TracedModules don't support parameter sharing between modules "><pre class="notranslate"><code class="notranslate">ValueError: TracedModules don't support parameter sharing between modules </code></pre></div> <p dir="auto">Why does above net can not trace? In order to trace how should we write model ? I thought my written has no problem........</p> <p dir="auto">BTW, this error message has nothing to help, I think it would be better to indicates users where causes the parameters sharing.</p>
1
<p dir="auto">Some days ago, I wrote some code involving char as HashMap key. At that time, char didn't implement the IterBytes trait, so I implemented it locally myself. After updating rust, my code failed to compile with a somewhat less than obvious error.</p> <p dir="auto">Example:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="extern mod std; use std::map::HashMap; use to_bytes::{IterBytes, Cb}; impl char: IterBytes { pure fn iter_bytes(lsb0: bool, f: Cb) { (self as i32).iter_bytes(lsb0, f); } } fn main() { let h = HashMap(); h.insert('a', ()); io::println(h.contains_key('a').to_str()); }"><pre class="notranslate"><span class="pl-k">extern</span> <span class="pl-k">mod</span> std<span class="pl-kos">;</span> <span class="pl-k">use</span> std<span class="pl-kos">::</span>map<span class="pl-kos">::</span><span class="pl-v">HashMap</span><span class="pl-kos">;</span> <span class="pl-k">use</span> to_bytes<span class="pl-kos">::</span><span class="pl-kos">{</span><span class="pl-v">IterBytes</span><span class="pl-kos">,</span> <span class="pl-v">Cb</span><span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">impl</span> <span class="pl-smi">char</span><span class="pl-kos">:</span> <span class="pl-smi">IterBytes</span> <span class="pl-kos">{</span> pure <span class="pl-k">fn</span> <span class="pl-en">iter_bytes</span><span class="pl-kos">(</span><span class="pl-s1">lsb0</span><span class="pl-kos">:</span> <span class="pl-smi">bool</span><span class="pl-kos">,</span> <span class="pl-s1">f</span><span class="pl-kos">:</span> <span class="pl-smi">Cb</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">(</span><span class="pl-smi">self</span> <span class="pl-k">as</span> <span class="pl-smi">i32</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">iter_bytes</span><span class="pl-kos">(</span>lsb0<span class="pl-kos">,</span> f<span class="pl-kos">)</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-k">let</span> h = <span class="pl-v">HashMap</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> h<span class="pl-kos">.</span><span class="pl-en">insert</span><span class="pl-kos">(</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> io<span class="pl-kos">::</span><span class="pl-en">println</span><span class="pl-kos">(</span>h<span class="pl-kos">.</span><span class="pl-en">contains_key</span><span class="pl-kos">(</span><span class="pl-s">'a'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">to_str</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">Produces the following errors:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="minimal.rs:12:12: 12:19 error: multiple applicable methods in scope minimal.rs:12 let h = HashMap(); ^~~~~~~ minimal.rs:12:12: 12:19 error: multiple applicable methods in scope minimal.rs:12 let h = HashMap(); ^~~~~~~ minimal.rs:13:4: 13:12 error: multiple applicable methods in scope minimal.rs:13 h.insert('a', ()); ^~~~~~~~ minimal.rs:13:4: 13:12 error: multiple applicable methods in scope minimal.rs:13 h.insert('a', ()); ^~~~~~~~ minimal.rs:14:16: 14:30 error: multiple applicable methods in scope minimal.rs:14 io::println(h.contains_key('a').to_str()); ^~~~~~~~~~~~~~ minimal.rs:14:16: 14:30 error: multiple applicable methods in scope minimal.rs:14 io::println(h.contains_key('a').to_str()); ^~~~~~~~~~~~~~ error: aborting due to 6 previous errors"><pre class="notranslate"><code class="notranslate">minimal.rs:12:12: 12:19 error: multiple applicable methods in scope minimal.rs:12 let h = HashMap(); ^~~~~~~ minimal.rs:12:12: 12:19 error: multiple applicable methods in scope minimal.rs:12 let h = HashMap(); ^~~~~~~ minimal.rs:13:4: 13:12 error: multiple applicable methods in scope minimal.rs:13 h.insert('a', ()); ^~~~~~~~ minimal.rs:13:4: 13:12 error: multiple applicable methods in scope minimal.rs:13 h.insert('a', ()); ^~~~~~~~ minimal.rs:14:16: 14:30 error: multiple applicable methods in scope minimal.rs:14 io::println(h.contains_key('a').to_str()); ^~~~~~~~~~~~~~ minimal.rs:14:16: 14:30 error: multiple applicable methods in scope minimal.rs:14 io::println(h.contains_key('a').to_str()); ^~~~~~~~~~~~~~ error: aborting due to 6 previous errors </code></pre></div> <p dir="auto">Note that there is no way to know that the problem is the duplicate implementation of IterBytes.</p>
<p dir="auto">The following code compiles:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="struct Foo&lt;'a&gt;(&amp;'a uint); impl&lt;'a&gt; Foo&lt;'a&gt; { fn bar&lt;'a&gt;(self, other:Foo&lt;'a&gt;) {} }"><pre class="notranslate"><code class="notranslate">struct Foo&lt;'a&gt;(&amp;'a uint); impl&lt;'a&gt; Foo&lt;'a&gt; { fn bar&lt;'a&gt;(self, other:Foo&lt;'a&gt;) {} } </code></pre></div> <p dir="auto">However, in the event of a lifetime mismatch, this can lead to confusing error messages.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="use std::kinds::marker::ContravariantLifetime; // Using a Contravariant lifetime because #[deriving] doesn't seem to work well // with &amp;-ptrs. Example holds with a covariant one as well. #[deriving(PartialEq)] struct Foo&lt;'a&gt;(ContravariantLifetime&lt;'a&gt;, uint); impl&lt;'a&gt; Foo&lt;'a&gt; { fn bar&lt;'a&gt;(self, other: Foo&lt;'a&gt;) -&gt; bool { self == other } }"><pre class="notranslate"><code class="notranslate">use std::kinds::marker::ContravariantLifetime; // Using a Contravariant lifetime because #[deriving] doesn't seem to work well // with &amp;-ptrs. Example holds with a covariant one as well. #[deriving(PartialEq)] struct Foo&lt;'a&gt;(ContravariantLifetime&lt;'a&gt;, uint); impl&lt;'a&gt; Foo&lt;'a&gt; { fn bar&lt;'a&gt;(self, other: Foo&lt;'a&gt;) -&gt; bool { self == other } } </code></pre></div> <p dir="auto">This gives a tautological recommendation along with a confusing error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="test.rs:8:2: 11:3 help: consider using an explicit lifetime parameter as shown: fn bar&lt;'a&gt;(self, other: Foo&lt;'a&gt;) -&gt; bool test.rs:8 fn bar&lt;'a&gt;(self, other: Foo&lt;'a&gt;) -&gt; bool { test.rs:9 //baz(self, other) test.rs:10 self == other test.rs:11 } test.rs:10:12: 10:17 error: mismatched types: expected `Foo&lt;'a&gt;`, found `Foo&lt;'a&gt;` (lifetime mismatch) test.rs:10 self == other"><pre class="notranslate"><code class="notranslate">test.rs:8:2: 11:3 help: consider using an explicit lifetime parameter as shown: fn bar&lt;'a&gt;(self, other: Foo&lt;'a&gt;) -&gt; bool test.rs:8 fn bar&lt;'a&gt;(self, other: Foo&lt;'a&gt;) -&gt; bool { test.rs:9 //baz(self, other) test.rs:10 self == other test.rs:11 } test.rs:10:12: 10:17 error: mismatched types: expected `Foo&lt;'a&gt;`, found `Foo&lt;'a&gt;` (lifetime mismatch) test.rs:10 self == other </code></pre></div> <p dir="auto">It's not really the error's fault for being so confusing, after all, we have shadowed the <code class="notranslate">'a</code> from the impl with a <code class="notranslate">'a</code> from the definition of <code class="notranslate">baz()</code>. This should probably be disallowed or at least linted.</p> <p dir="auto">The recommendation is flawed in two ways</p> <ul dir="auto"> <li>Firstly, it recommended <code class="notranslate">'a</code>, a lifetime which is already being used there (twice, actually). That's adding to the confusion. It clearly means to recommend a <em>new</em> lifetime (<code class="notranslate">'b</code>?)</li> <li>It's wrong, even if you change the signature of <code class="notranslate">bar()</code> to use <code class="notranslate">'b</code>, it's still wrong, but then it gives the correct recommendation to use <code class="notranslate">fn bar(self, other: Foo&lt;'a&gt;) -&gt; bool</code> on recompiling.</li> </ul> <p dir="auto">This probably needs better error reporting (don't recommend lifetimes which are already being used in that context)</p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/glennw/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/glennw">@glennw</a> came across this in Servo, getting tautological errors like <a href="https://pastebin.mozilla.org/7215857" rel="nofollow">this</a> and <a href="https://pastebin.mozilla.org/7216170" rel="nofollow">this</a>. The former is due to lifetime shadowing (and can be fixed by disallowing shadowing). I'm not yet sure what prompted the latter one, one of the lifetimes is elided but the other one is named <code class="notranslate">'a</code> in the surrounding impl and should have turned up in the error message instead of being underscored.</p>
0
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ ] bug report =&gt; search github for a similar issue or PR before submitting [X ] 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">[ ] bug report =&gt; search github for a similar issue or PR before submitting [X ] 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> If you have two CSS classes containing the same attribute (e.g. color) and apply them both to the same element with ngClass, the attribute value selected seems indeterministic.</p> <p dir="auto"><strong>Expected behavior</strong><br> Applying CSS classes with the same attribute to an element with ngClass should use the duplicated elements in a known order.</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br> <a href="http://plnkr.co/OOMWOL" rel="nofollow">http://plnkr.co/OOMWOL</a></p> <p dir="auto">In the above Plnkr, I have two CSS styles, one red (colour: red) and one green (colour: green). Applying these styles to the same element, what colour should the text be?</p> <p dir="auto">When red is used first, followed by green, the text is red. When green is first, followed by red, the test is still green.</p> <p dir="auto">The expectations is that one style will take priority over another based on the order it is applied using ngClass.</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> Applying event based styles which override previous styles within an element.</p> <p dir="auto"><strong>Please tell us about your environment:</strong><br> MacOS, Chrome, Opera</p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.0</li> <li><strong>Browser:</strong> [all]</li> </ul>
<p dir="auto"><strong>I'm submitting a ...</strong></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> Components added dynamically that have <code class="notranslate">ChangeDetectionStrategy.OnPush</code> do not detect input changes. For example, if such a component is instantiated at runtime via <code class="notranslate">ViewContainerRef.createComponent</code>, then setting an <code class="notranslate">@Input</code> property to a new immutable object does not trigger change detection. Instead, the component must be marked for check manually, with <code class="notranslate">ChangeDetectorRef.markForCheck</code>, rather than triggering change detection automatically.</p> <p dir="auto"><strong>Expected behavior</strong><br> Setting an <code class="notranslate">@Input</code> property value on a dynamically created component that has <code class="notranslate">OnPush</code> change detection should automatically trigger a change detection run, following the same behavior as components created from a template.</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br> <a href="https://plnkr.co/edit/0wHQghtww2HXVbC27bC1" rel="nofollow">Plunker to demonstrate</a><br> The ChangeDetectionOnPushComponent does not detect the change to its <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> property.</p> <p dir="auto">(Also <a href="http://stackoverflow.com/questions/41797590/angular-2-onpush-change-detection-for-dynamic-components" rel="nofollow">related Stack Overflow question</a> with markForCheck workaround.)</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> I believe this may be a bug because push change detection for dynamically created components behaves differently from static components, and is not what might be expected for <code class="notranslate">ChangeDetectionStrategy.OnPush</code>. My use case is an application that uses many dynamically created nested components that would benefit from lightweight on-push change detection.</p> <ul dir="auto"> <li> <p dir="auto"><strong>Angular version:</strong> 2.0.X<br> 2.4.4</p> </li> <li> <p dir="auto"><strong>Browser:</strong><br> All</p> </li> <li> <p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br> TypeScript 2.0.2</p> </li> </ul>
0
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ssingaraju/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ssingaraju">@ssingaraju</a>: '<br> How do I reverse the nodes(p) iterable using an order by similar option. I guess right now Destination prints first.</p> <p dir="auto">Thanks<br> '</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ssingaraju/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ssingaraju">@ssingaraju</a>: 'How do I reverse the nodes(p) iterable using an order by similar option. I guess right now Destination prints first.</p> <p dir="auto">Thanks<br> '</p>
1
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-latest-1.4-latest-1.5-cvm-kubectl-skew/1201/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-latest-1.4-latest-1.5-cvm-kubectl-skew/1201/</a></p> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl apply should reuse nodePort when apply to an existing SVC {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:521 Expected error: &lt;exec.CodeExitError&gt;: { Err: { s: &quot;error running &amp;{/workspace/kubernetes_skew/cluster/kubectl.sh [/workspace/kubernetes_skew/cluster/kubectl.sh --server=https://104.198.36.5 --kubeconfig=/workspace/.kube/config get service redis-master --namespace=e2e-tests-kubectl-adz6a -o jsonpath={.spec.ports[0].nodePort}] [] &lt;nil&gt; Error executing template: nodePort is not found. Printing more information for debugging the template:\n\ttemplate was:\n\t\t{.spec.ports[0].nodePort}\n\tobject given to jsonpath engine was:\n\t\tmap[string]interface {}{\&quot;status\&quot;:map[string]interface {}{\&quot;loadBalancer\&quot;:map[string]interface {}{}}, \&quot;kind\&quot;:\&quot;Service\&quot;, \&quot;apiVersion\&quot;:\&quot;v1\&quot;, \&quot;metadata\&quot;:map[string]interface {}{\&quot;namespace\&quot;:\&quot;e2e-tests-kubectl-adz6a\&quot;, \&quot;selfLink\&quot;:\&quot;/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master\&quot;, \&quot;uid\&quot;:\&quot;a5a5f4e8-b7cd-11e6-93a2-42010af00002\&quot;, \&quot;resourceVersion\&quot;:\&quot;930\&quot;, \&quot;creationTimestamp\&quot;:\&quot;2016-12-01T13:54:15Z\&quot;, \&quot;labels\&quot;:map[string]interface {}{\&quot;app\&quot;:\&quot;redis\&quot;, \&quot;role\&quot;:\&quot;master\&quot;}, \&quot;name\&quot;:\&quot;redis-master\&quot;}, \&quot;spec\&quot;:map[string]interface {}{\&quot;sessionAffinity\&quot;:\&quot;None\&quot;, \&quot;ports\&quot;:[]interface {}{map[string]interface {}{\&quot;protocol\&quot;:\&quot;TCP\&quot;, \&quot;port\&quot;:6379, \&quot;targetPort\&quot;:\&quot;redis-server\&quot;}}, \&quot;selector\&quot;:map[string]interface {}{\&quot;app\&quot;:\&quot;redis\&quot;, \&quot;role\&quot;:\&quot;master\&quot;}, \&quot;clusterIP\&quot;:\&quot;10.0.168.216\&quot;, \&quot;type\&quot;:\&quot;ClusterIP\&quot;}}\n\n error: error executing jsonpath \&quot;{.spec.ports[0].nodePort}\&quot;: nodePort is not found\n [] &lt;nil&gt; 0xc820b01fa0 exit status 1 &lt;nil&gt; true [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a050 0xc820b6a068] [0xafa720 0xafa720] 0xc820aaeae0}:\nCommand stdout:\nError executing template: nodePort is not found. Printing more information for debugging the template:\n\ttemplate was:\n\t\t{.spec.ports[0].nodePort}\n\tobject given to jsonpath engine was:\n\t\tmap[string]interface {}{\&quot;status\&quot;:map[string]interface {}{\&quot;loadBalancer\&quot;:map[string]interface {}{}}, \&quot;kind\&quot;:\&quot;Service\&quot;, \&quot;apiVersion\&quot;:\&quot;v1\&quot;, \&quot;metadata\&quot;:map[string]interface {}{\&quot;namespace\&quot;:\&quot;e2e-tests-kubectl-adz6a\&quot;, \&quot;selfLink\&quot;:\&quot;/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master\&quot;, \&quot;uid\&quot;:\&quot;a5a5f4e8-b7cd-11e6-93a2-42010af00002\&quot;, \&quot;resourceVersion\&quot;:\&quot;930\&quot;, \&quot;creationTimestamp\&quot;:\&quot;2016-12-01T13:54:15Z\&quot;, \&quot;labels\&quot;:map[string]interface {}{\&quot;app\&quot;:\&quot;redis\&quot;, \&quot;role\&quot;:\&quot;master\&quot;}, \&quot;name\&quot;:\&quot;redis-master\&quot;}, \&quot;spec\&quot;:map[string]interface {}{\&quot;sessionAffinity\&quot;:\&quot;None\&quot;, \&quot;ports\&quot;:[]interface {}{map[string]interface {}{\&quot;protocol\&quot;:\&quot;TCP\&quot;, \&quot;port\&quot;:6379, \&quot;targetPort\&quot;:\&quot;redis-server\&quot;}}, \&quot;selector\&quot;:map[string]interface {}{\&quot;app\&quot;:\&quot;redis\&quot;, \&quot;role\&quot;:\&quot;master\&quot;}, \&quot;clusterIP\&quot;:\&quot;10.0.168.216\&quot;, \&quot;type\&quot;:\&quot;ClusterIP\&quot;}}\n\n\nstderr:\nerror: error executing jsonpath \&quot;{.spec.ports[0].nodePort}\&quot;: nodePort is not found\n\nerror:\nexit status 1\n&quot;, }, Code: 1, } error running &amp;{/workspace/kubernetes_skew/cluster/kubectl.sh [/workspace/kubernetes_skew/cluster/kubectl.sh --server=https://104.198.36.5 --kubeconfig=/workspace/.kube/config get service redis-master --namespace=e2e-tests-kubectl-adz6a -o jsonpath={.spec.ports[0].nodePort}] [] &lt;nil&gt; Error executing template: nodePort is not found. Printing more information for debugging the template: template was: {.spec.ports[0].nodePort} object given to jsonpath engine was: map[string]interface {}{&quot;status&quot;:map[string]interface {}{&quot;loadBalancer&quot;:map[string]interface {}{}}, &quot;kind&quot;:&quot;Service&quot;, &quot;apiVersion&quot;:&quot;v1&quot;, &quot;metadata&quot;:map[string]interface {}{&quot;namespace&quot;:&quot;e2e-tests-kubectl-adz6a&quot;, &quot;selfLink&quot;:&quot;/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master&quot;, &quot;uid&quot;:&quot;a5a5f4e8-b7cd-11e6-93a2-42010af00002&quot;, &quot;resourceVersion&quot;:&quot;930&quot;, &quot;creationTimestamp&quot;:&quot;2016-12-01T13:54:15Z&quot;, &quot;labels&quot;:map[string]interface {}{&quot;app&quot;:&quot;redis&quot;, &quot;role&quot;:&quot;master&quot;}, &quot;name&quot;:&quot;redis-master&quot;}, &quot;spec&quot;:map[string]interface {}{&quot;sessionAffinity&quot;:&quot;None&quot;, &quot;ports&quot;:[]interface {}{map[string]interface {}{&quot;protocol&quot;:&quot;TCP&quot;, &quot;port&quot;:6379, &quot;targetPort&quot;:&quot;redis-server&quot;}}, &quot;selector&quot;:map[string]interface {}{&quot;app&quot;:&quot;redis&quot;, &quot;role&quot;:&quot;master&quot;}, &quot;clusterIP&quot;:&quot;10.0.168.216&quot;, &quot;type&quot;:&quot;ClusterIP&quot;}} error: error executing jsonpath &quot;{.spec.ports[0].nodePort}&quot;: nodePort is not found [] &lt;nil&gt; 0xc820b01fa0 exit status 1 &lt;nil&gt; true [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a050 0xc820b6a068] [0xafa720 0xafa720] 0xc820aaeae0}: Command stdout: Error executing template: nodePort is not found. Printing more information for debugging the template: template was: {.spec.ports[0].nodePort} object given to jsonpath engine was: map[string]interface {}{&quot;status&quot;:map[string]interface {}{&quot;loadBalancer&quot;:map[string]interface {}{}}, &quot;kind&quot;:&quot;Service&quot;, &quot;apiVersion&quot;:&quot;v1&quot;, &quot;metadata&quot;:map[string]interface {}{&quot;namespace&quot;:&quot;e2e-tests-kubectl-adz6a&quot;, &quot;selfLink&quot;:&quot;/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master&quot;, &quot;uid&quot;:&quot;a5a5f4e8-b7cd-11e6-93a2-42010af00002&quot;, &quot;resourceVersion&quot;:&quot;930&quot;, &quot;creationTimestamp&quot;:&quot;2016-12-01T13:54:15Z&quot;, &quot;labels&quot;:map[string]interface {}{&quot;app&quot;:&quot;redis&quot;, &quot;role&quot;:&quot;master&quot;}, &quot;name&quot;:&quot;redis-master&quot;}, &quot;spec&quot;:map[string]interface {}{&quot;sessionAffinity&quot;:&quot;None&quot;, &quot;ports&quot;:[]interface {}{map[string]interface {}{&quot;protocol&quot;:&quot;TCP&quot;, &quot;port&quot;:6379, &quot;targetPort&quot;:&quot;redis-server&quot;}}, &quot;selector&quot;:map[string]interface {}{&quot;app&quot;:&quot;redis&quot;, &quot;role&quot;:&quot;master&quot;}, &quot;clusterIP&quot;:&quot;10.0.168.216&quot;, &quot;type&quot;:&quot;ClusterIP&quot;}} stderr: error: error executing jsonpath &quot;{.spec.ports[0].nodePort}&quot;: nodePort is not found error: exit status 1 not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:2183"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:521 Expected error: &lt;exec.CodeExitError&gt;: { Err: { s: "error running &amp;{/workspace/kubernetes_skew/cluster/kubectl.sh [/workspace/kubernetes_skew/cluster/kubectl.sh --server=https://104.198.36.5 --kubeconfig=/workspace/.kube/config get service redis-master --namespace=e2e-tests-kubectl-adz6a -o jsonpath={.spec.ports[0].nodePort}] [] &lt;nil&gt; Error executing template: nodePort is not found. Printing more information for debugging the template:\n\ttemplate was:\n\t\t{.spec.ports[0].nodePort}\n\tobject given to jsonpath engine was:\n\t\tmap[string]interface {}{\"status\":map[string]interface {}{\"loadBalancer\":map[string]interface {}{}}, \"kind\":\"Service\", \"apiVersion\":\"v1\", \"metadata\":map[string]interface {}{\"namespace\":\"e2e-tests-kubectl-adz6a\", \"selfLink\":\"/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master\", \"uid\":\"a5a5f4e8-b7cd-11e6-93a2-42010af00002\", \"resourceVersion\":\"930\", \"creationTimestamp\":\"2016-12-01T13:54:15Z\", \"labels\":map[string]interface {}{\"app\":\"redis\", \"role\":\"master\"}, \"name\":\"redis-master\"}, \"spec\":map[string]interface {}{\"sessionAffinity\":\"None\", \"ports\":[]interface {}{map[string]interface {}{\"protocol\":\"TCP\", \"port\":6379, \"targetPort\":\"redis-server\"}}, \"selector\":map[string]interface {}{\"app\":\"redis\", \"role\":\"master\"}, \"clusterIP\":\"10.0.168.216\", \"type\":\"ClusterIP\"}}\n\n error: error executing jsonpath \"{.spec.ports[0].nodePort}\": nodePort is not found\n [] &lt;nil&gt; 0xc820b01fa0 exit status 1 &lt;nil&gt; true [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a050 0xc820b6a068] [0xafa720 0xafa720] 0xc820aaeae0}:\nCommand stdout:\nError executing template: nodePort is not found. Printing more information for debugging the template:\n\ttemplate was:\n\t\t{.spec.ports[0].nodePort}\n\tobject given to jsonpath engine was:\n\t\tmap[string]interface {}{\"status\":map[string]interface {}{\"loadBalancer\":map[string]interface {}{}}, \"kind\":\"Service\", \"apiVersion\":\"v1\", \"metadata\":map[string]interface {}{\"namespace\":\"e2e-tests-kubectl-adz6a\", \"selfLink\":\"/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master\", \"uid\":\"a5a5f4e8-b7cd-11e6-93a2-42010af00002\", \"resourceVersion\":\"930\", \"creationTimestamp\":\"2016-12-01T13:54:15Z\", \"labels\":map[string]interface {}{\"app\":\"redis\", \"role\":\"master\"}, \"name\":\"redis-master\"}, \"spec\":map[string]interface {}{\"sessionAffinity\":\"None\", \"ports\":[]interface {}{map[string]interface {}{\"protocol\":\"TCP\", \"port\":6379, \"targetPort\":\"redis-server\"}}, \"selector\":map[string]interface {}{\"app\":\"redis\", \"role\":\"master\"}, \"clusterIP\":\"10.0.168.216\", \"type\":\"ClusterIP\"}}\n\n\nstderr:\nerror: error executing jsonpath \"{.spec.ports[0].nodePort}\": nodePort is not found\n\nerror:\nexit status 1\n", }, Code: 1, } error running &amp;{/workspace/kubernetes_skew/cluster/kubectl.sh [/workspace/kubernetes_skew/cluster/kubectl.sh --server=https://104.198.36.5 --kubeconfig=/workspace/.kube/config get service redis-master --namespace=e2e-tests-kubectl-adz6a -o jsonpath={.spec.ports[0].nodePort}] [] &lt;nil&gt; Error executing template: nodePort is not found. Printing more information for debugging the template: template was: {.spec.ports[0].nodePort} object given to jsonpath engine was: map[string]interface {}{"status":map[string]interface {}{"loadBalancer":map[string]interface {}{}}, "kind":"Service", "apiVersion":"v1", "metadata":map[string]interface {}{"namespace":"e2e-tests-kubectl-adz6a", "selfLink":"/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master", "uid":"a5a5f4e8-b7cd-11e6-93a2-42010af00002", "resourceVersion":"930", "creationTimestamp":"2016-12-01T13:54:15Z", "labels":map[string]interface {}{"app":"redis", "role":"master"}, "name":"redis-master"}, "spec":map[string]interface {}{"sessionAffinity":"None", "ports":[]interface {}{map[string]interface {}{"protocol":"TCP", "port":6379, "targetPort":"redis-server"}}, "selector":map[string]interface {}{"app":"redis", "role":"master"}, "clusterIP":"10.0.168.216", "type":"ClusterIP"}} error: error executing jsonpath "{.spec.ports[0].nodePort}": nodePort is not found [] &lt;nil&gt; 0xc820b01fa0 exit status 1 &lt;nil&gt; true [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a040 0xc820b6a058 0xc820b6a070] [0xc820b6a050 0xc820b6a068] [0xafa720 0xafa720] 0xc820aaeae0}: Command stdout: Error executing template: nodePort is not found. Printing more information for debugging the template: template was: {.spec.ports[0].nodePort} object given to jsonpath engine was: map[string]interface {}{"status":map[string]interface {}{"loadBalancer":map[string]interface {}{}}, "kind":"Service", "apiVersion":"v1", "metadata":map[string]interface {}{"namespace":"e2e-tests-kubectl-adz6a", "selfLink":"/api/v1/namespaces/e2e-tests-kubectl-adz6a/services/redis-master", "uid":"a5a5f4e8-b7cd-11e6-93a2-42010af00002", "resourceVersion":"930", "creationTimestamp":"2016-12-01T13:54:15Z", "labels":map[string]interface {}{"app":"redis", "role":"master"}, "name":"redis-master"}, "spec":map[string]interface {}{"sessionAffinity":"None", "ports":[]interface {}{map[string]interface {}{"protocol":"TCP", "port":6379, "targetPort":"redis-server"}}, "selector":map[string]interface {}{"app":"redis", "role":"master"}, "clusterIP":"10.0.168.216", "type":"ClusterIP"}} stderr: error: error executing jsonpath "{.spec.ports[0].nodePort}": nodePort is not found error: exit status 1 not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:2183 </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="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></p>
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke-staging-parallel/1671/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke-staging-parallel/1671/</a></p> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl apply should reuse nodePort when apply to an existing SVC {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/framework/framework.go:134 Oct 27 16:08:39.030: Couldn't delete ns: &quot;e2e-tests-kubectl-5yeis&quot;: an error on the server (&quot;Internal Server Error: \&quot;/apis/autoscaling/v1/namespaces/e2e-tests-kubectl-5yeis/horizontalpodautoscalers\&quot;&quot;) has prevented the request from succeeding (get horizontalpodautoscalers.autoscaling) (&amp;errors.StatusError{ErrStatus:unversioned.Status{TypeMeta:unversioned.TypeMeta{Kind:&quot;&quot;, APIVersion:&quot;&quot;}, ListMeta:unversioned.ListMeta{SelfLink:&quot;&quot;, ResourceVersion:&quot;&quot;}, Status:&quot;Failure&quot;, Message:&quot;an error on the server (\&quot;Internal Server Error: \\\&quot;/apis/autoscaling/v1/namespaces/e2e-tests-kubectl-5yeis/horizontalpodautoscalers\\\&quot;\&quot;) has prevented the request from succeeding (get horizontalpodautoscalers.autoscaling)&quot;, Reason:&quot;InternalError&quot;, Details:(*unversioned.StatusDetails)(0xc82097e730), Code:500}}) /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:338"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:134 Oct 27 16:08:39.030: Couldn't delete ns: "e2e-tests-kubectl-5yeis": an error on the server ("Internal Server Error: \"/apis/autoscaling/v1/namespaces/e2e-tests-kubectl-5yeis/horizontalpodautoscalers\"") has prevented the request from succeeding (get horizontalpodautoscalers.autoscaling) (&amp;errors.StatusError{ErrStatus:unversioned.Status{TypeMeta:unversioned.TypeMeta{Kind:"", APIVersion:""}, ListMeta:unversioned.ListMeta{SelfLink:"", ResourceVersion:""}, Status:"Failure", Message:"an error on the server (\"Internal Server Error: \\\"/apis/autoscaling/v1/namespaces/e2e-tests-kubectl-5yeis/horizontalpodautoscalers\\\"\") has prevented the request from succeeding (get horizontalpodautoscalers.autoscaling)", Reason:"InternalError", Details:(*unversioned.StatusDetails)(0xc82097e730), Code:500}}) /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:338 </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="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></p>
1
<p dir="auto">The TypeScript definition for Array.filter specifies the callback must return a boolean, thus the code example at the bottom of this post fails to compile. Here's the current definition:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="filter(callbackfn: (value: T, index: number, array: T[]) =&gt; boolean, thisArg?: any): T[];"><pre class="notranslate"><code class="notranslate">filter(callbackfn: (value: T, index: number, array: T[]) =&gt; boolean, thisArg?: any): T[]; </code></pre></div> <p dir="auto"><a href="https://tc39.github.io/ecma262/#sec-array.prototype.filter" rel="nofollow">The spec</a> says this about the callback parameter:</p> <blockquote> <p dir="auto">callbackfn should be a function that accepts three arguments and returns a value that is coercible to the Boolean value true or false.</p> </blockquote> <p dir="auto">Thus I propose the definition should be changed to:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="filter(callbackfn: (value: T, index: number, array: T[]) =&gt; any, thisArg?: any): T[];"><pre class="notranslate"><code class="notranslate">filter(callbackfn: (value: T, index: number, array: T[]) =&gt; any, thisArg?: any): T[]; </code></pre></div> <p dir="auto"><em>Note: using a double not-operator is a sufficient workaround with negligible implications</em></p> <p dir="auto"><strong>TypeScript Version:</strong><br> 1.8.7</p> <p dir="auto"><strong>Code</strong><br> <a href="https://www.typescriptlang.org/play/#src=let%20a%20%3D%20%5B1%2C%202%2C%203%2C%20undefined%2C%200%2C%2042%2C%20%22%22%5D.filter%28i%20%3D%3E%20i%29%0D%0A%0D%0Aconsole.info%28a%29" rel="nofollow">Playground</a></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// the purpose is to weed out falsey values let a = [1, 2, 3, undefined, 0, 42, &quot;&quot;].filter(i =&gt; i) // &quot;i =&gt; i&quot; is an error because it does not return boolean // the following has no error let b = [1, 2, 3, undefined, 0, 42, &quot;&quot;].filter(i =&gt; !!i)"><pre class="notranslate"><span class="pl-c">// the purpose is to weed out falsey values</span> <span class="pl-k">let</span> <span class="pl-s1">a</span> <span class="pl-c1">=</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">undefined</span><span class="pl-kos">,</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">42</span><span class="pl-kos">,</span> <span class="pl-s">""</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-s1">i</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">i</span><span class="pl-kos">)</span> <span class="pl-c">// "i =&gt; i" is an error because it does not return boolean</span> <span class="pl-c">// the following has no error</span> <span class="pl-k">let</span> <span class="pl-s1">b</span> <span class="pl-c1">=</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">undefined</span><span class="pl-kos">,</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">42</span><span class="pl-kos">,</span> <span class="pl-s">""</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-s1">i</span> <span class="pl-c1">=&gt;</span> <span class="pl-c1">!</span><span class="pl-c1">!</span><span class="pl-s1">i</span><span class="pl-kos">)</span></pre></div> <p dir="auto"><strong>Expected behavior:</strong><br> No compile errors</p> <p dir="auto"><strong>Actual behavior:</strong><br> Compile errors</p>
<p dir="auto">From here: <a href="https://typescript.codeplex.com/workitem/2464" rel="nofollow">https://typescript.codeplex.com/workitem/2464</a></p> <p dir="auto">I have a possible solution: Just allow this:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class A { [index: number]: A; // &lt;- since you can already do this (...args): A; // &lt;- why not allow this also? constructor(...args) { } }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-s1">index</span>: <span class="pl-smi">number</span><span class="pl-kos">]</span>: <span class="pl-smi">A</span><span class="pl-kos">;</span> <span class="pl-c">// &lt;- since you can already do this</span><span class="pl-c1"></span> <span class="pl-kos">(</span>...<span class="pl-s1">args</span><span class="pl-kos">)</span>: <span class="pl-smi">A</span><span class="pl-kos">;</span> <span class="pl-c">// &lt;- why not allow this also?</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span>...<span class="pl-s1">args</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">Other suggestion by fdecampredon was:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class A { (): string { //do something return 'hello world'; } constructor(): A { //do something else } }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span><span class="pl-en"></span> <span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">string</span> <span class="pl-kos">{</span> <span class="pl-c">//do something</span> <span class="pl-k">return</span> <span class="pl-s">'hello world'</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">A</span> <span class="pl-kos">{</span> <span class="pl-c">//do something else</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">could be transformed into that :</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function A() { if (!(this instanceof A)) { //do something return 'hello world'; } else { //do something else } }"><pre class="notranslate"><span class="pl-k">function</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-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-kos">(</span><span class="pl-smi">this</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-kos">{</span> <span class="pl-c">//do something</span> <span class="pl-k">return</span> <span class="pl-s">'hello world'</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-kos">{</span> <span class="pl-c">//do something else</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div>
0
<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.22.0</li> <li>PowerToy Utility: Video Conference</li> <li>Running PowerToys as Admin: Yes</li> <li>Windows build number: [run "winver"] 19401.450</li> </ul> <h2 dir="auto">📝 Provide detailed reproduction steps (if any)</h2> <ol dir="auto"> <li>Use Video Conference in high resolution monitor</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">Show correctly<br> <em>What is the expected result of the above steps?</em></p> <h3 dir="auto"><g-emoji class="g-emoji" alias="x" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/274c.png">❌</g-emoji> Actual result</h3> <p dir="auto">Shown in very small size<br> <em>What is the actual result of the above steps?</em></p> <h2 dir="auto"><g-emoji class="g-emoji" alias="camera" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4f7.png">📷</g-emoji> Screenshots</h2> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/46488521/92349473-2bcfd400-f111-11ea-8b12-1d06901cf2dc.png"><img src="https://user-images.githubusercontent.com/46488521/92349473-2bcfd400-f111-11ea-8b12-1d06901cf2dc.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><em>Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form</em></p>
<h2 dir="auto">📝 Provide a description of the new feature</h2> <p dir="auto">I am on a 43" 4k monitor with Windows scaled to 150%. The Video Conference toolbar is quite small - see attachment. It might be nice if this was scalable.</p> <p dir="auto">I tested and it seems to not change size as you change scaling in Windows. I think it should at least follow scaling set in Windows, if not scalable separately.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/70700911/92248793-3b43e880-ee97-11ea-85a4-1e6c3542aee6.jpg"><img src="https://user-images.githubusercontent.com/70700911/92248793-3b43e880-ee97-11ea-85a4-1e6c3542aee6.jpg" alt="VidConfMute-SmallToolbar" style="max-width: 100%;"></a></p> <hr> <p dir="auto">If you'd like to see this feature implemented, add a <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji> reaction to this post.</p>
1
<p dir="auto">When drag-drop a firefox tag across screens, the atom(0.190.0) will exit. On Ubuntu 14.04, Firefox 37.01. Here's the console log .</p> <p dir="auto">[23715:0414/125813:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See <a href="https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment" rel="nofollow">https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment</a> for more information on developing with the sandbox on.<br> App load time: 195ms<br> ATTENTION: default value of option force_s3tc_enable overridden by environment.<br> [23751:0414/125814:INFO:renderer_main.cc(212)] Renderer process started<br> [23715:0414/125816:INFO:CONSOLE(8)] "activate linter-erb", source: /home/lithium/.atom/packages/linter-erb/lib/init.coffee (8)<br> [23715:0414/125816:INFO:CONSOLE(7)] "activate linter-xmllint", source: /home/lithium/.atom/packages/linter-xmllint/lib/init.coffee (7)<br> [23715:0414/125816:INFO:CONSOLE(59)] "Window load time: 2382ms", source: file:///usr/share/atom/resources/app/static/index.js (59)<br> The program 'atom' received an X Window System error.<br> This probably reflects a bug in the program.<br> The error was 'BadAtom (invalid Atom parameter)'.<br> (Details: serial 353 error_code 5 request_code 20 minor_code 0)<br> (Note to programmers: normally, X errors are reported asynchronously;<br> that is, you will receive the error a while after causing it.<br> To debug your program, run it with the --sync command line<br> option to change this behavior. You can then get a meaningful<br> backtrace from your debugger if you break on the gdk_x_error() function.)</p>
<p dir="auto">Atom Version: 0.129.0<br> Video of me triggering the bug: <a href="http://ara.sh/private/atom-crash.ogv" rel="nofollow">http://ara.sh/private/atom-crash.ogv</a><br> Reproducible every time.</p> <p dir="auto">Environment:<br> Ubuntu 14.04 (all updates installed as of filing this issue)<br> Unity desktop environment</p> <p dir="auto">Repro steps:</p> <ol dir="auto"> <li>Launch atom from the Terminal</li> <li>Open a Firefox window (or use an existing one)</li> <li>Drag the Firefox tab anywhere over the Atom window</li> </ol> <p dir="auto">Actual behavior:<br> It crashes</p> <p dir="auto">Expected behavior:<br> Not crash :-)</p> <p dir="auto">Additional Information:<br> The terminal prints out the following after the crash:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[7950:0920/180947:ERROR:browser_main_loop.cc(161)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on. [7950:0920/180947:ERROR:browser_main_loop.cc(189)] GTK theme error: Unable to locate theme engine in module_path: &quot;pixmap&quot;, ATTENTION: default value of option force_s3tc_enable overridden by environment. App load time: 88ms [7984:0920/180947:INFO:renderer_main.cc(227)] Renderer process started [7950:0920/180948:INFO:CONSOLE(18)] &quot;Window load time: 778ms&quot;, source: /opt/atom/resources/app/src/window-bootstrap.js (18) The program 'atom' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAtom (invalid Atom parameter)'. (Details: serial 1360 error_code 5 request_code 20 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)"><pre class="notranslate"><code class="notranslate">[7950:0920/180947:ERROR:browser_main_loop.cc(161)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on. [7950:0920/180947:ERROR:browser_main_loop.cc(189)] GTK theme error: Unable to locate theme engine in module_path: "pixmap", ATTENTION: default value of option force_s3tc_enable overridden by environment. App load time: 88ms [7984:0920/180947:INFO:renderer_main.cc(227)] Renderer process started [7950:0920/180948:INFO:CONSOLE(18)] "Window load time: 778ms", source: /opt/atom/resources/app/src/window-bootstrap.js (18) The program 'atom' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAtom (invalid Atom parameter)'. (Details: serial 1360 error_code 5 request_code 20 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) </code></pre></div>
1
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 3.4 / master branch</li> <li>Operating System / Platform =&gt; Jetson TX2 Aarch64 Ubuntu 16.04 64bit</li> <li>Compiler =&gt; GCC 5.4.0</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">I wrote PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="373065176" data-permission-text="Title is private" data-url="https://github.com/opencv/opencv/issues/12905" data-hovercard-type="pull_request" data-hovercard-url="/opencv/opencv/pull/12905/hovercard" href="https://github.com/opencv/opencv/pull/12905">#12905</a> , but even after mergin this PR, the test fails on Jetson TX2 (Aarch64)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ./bin/opencv_test_objdetect --gtest_filter=*QRC*/25 CTEST_FULL_OUTPUT OpenCV version: 3.4.3-dev OpenCV VCS version: 3.4.3-357-gd3f75df-dirty Build type: Release Compiler: /usr/bin/c++ (ver 5.4.0) Parallel framework: pthreads CPU features: NEON FP16 OpenCL is disabled Note: Google Test filter = *QRC*/25 [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from Objdetect_QRCode [ RUN ] Objdetect_QRCode.regression/25, where GetParam() = &quot;russian.jpg&quot; /home/nvidia/opencv-fork/modules/objdetect/test/test_qrcode.cpp:69: Failure Value of: detectQRCode(src, corners) Actual: false Expected: true [ FAILED ] Objdetect_QRCode.regression/25, where GetParam() = &quot;russian.jpg&quot; (120 ms) [----------] 1 test from Objdetect_QRCode (120 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (120 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] Objdetect_QRCode.regression/25, where GetParam() = &quot;russian.jpg&quot; 1 FAILED TEST"><pre class="notranslate"><code class="notranslate">$ ./bin/opencv_test_objdetect --gtest_filter=*QRC*/25 CTEST_FULL_OUTPUT OpenCV version: 3.4.3-dev OpenCV VCS version: 3.4.3-357-gd3f75df-dirty Build type: Release Compiler: /usr/bin/c++ (ver 5.4.0) Parallel framework: pthreads CPU features: NEON FP16 OpenCL is disabled Note: Google Test filter = *QRC*/25 [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from Objdetect_QRCode [ RUN ] Objdetect_QRCode.regression/25, where GetParam() = "russian.jpg" /home/nvidia/opencv-fork/modules/objdetect/test/test_qrcode.cpp:69: Failure Value of: detectQRCode(src, corners) Actual: false Expected: true [ FAILED ] Objdetect_QRCode.regression/25, where GetParam() = "russian.jpg" (120 ms) [----------] 1 test from Objdetect_QRCode (120 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (120 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] Objdetect_QRCode.regression/25, where GetParam() = "russian.jpg" 1 FAILED TEST </code></pre></div> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="373065176" data-permission-text="Title is private" data-url="https://github.com/opencv/opencv/issues/12905" data-hovercard-type="pull_request" data-hovercard-url="/opencv/opencv/pull/12905/hovercard" href="https://github.com/opencv/opencv/pull/12905">#12905</a> was fixing the "decode" part, but this failure is on "detect" part.<br> Looking back , the detection was failed on <a href="https://github.com/opencv/opencv/blob/ab2c16b2e55acaf193815e43475eb11670c45d60/modules/objdetect/src/qrcode.cpp#L319">this</a> if section<br> </p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/opencv/opencv/blob/ab2c16b2e55acaf193815e43475eb11670c45d60/modules/objdetect/src/qrcode.cpp#L319">opencv/modules/objdetect/src/qrcode.cpp</a> </p> <p class="mb-0 color-fg-muted"> Line 319 in <a data-pjax="true" class="commit-tease-sha" href="/opencv/opencv/commit/ab2c16b2e55acaf193815e43475eb11670c45d60">ab2c16b</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="L319" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="319"></td> <td id="LC319" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">if</span>( list_lines_y.<span class="pl-c1">size</span>() &lt; <span class="pl-c1">3</span> ) { <span class="pl-k">return</span> <span class="pl-c1">false</span>; } </td> </tr> </tbody></table> </div> </div> <br> Tracing back, the different behaviour comes from <a href="https://github.com/opencv/opencv/blob/ab2c16b2e55acaf193815e43475eb11670c45d60/modules/objdetect/src/qrcode.cpp#L202-L205">here</a><br> <div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/opencv/opencv/blob/ab2c16b2e55acaf193815e43475eb11670c45d60/modules/objdetect/src/qrcode.cpp#L202-L205">opencv/modules/objdetect/src/qrcode.cpp</a> </p> <p class="mb-0 color-fg-muted"> Lines 202 to 205 in <a data-pjax="true" class="commit-tease-sha" href="/opencv/opencv/commit/ab2c16b2e55acaf193815e43475eb11670c45d60">ab2c16b</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="L202" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="202"></td> <td id="LC202" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">if</span>(weight &lt; eps_horizontal) </td> </tr> <tr class="border-0"> <td id="L203" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="203"></td> <td id="LC203" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> { </td> </tr> <tr class="border-0"> <td id="L204" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="204"></td> <td id="LC204" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> result.<span class="pl-c1">push_back</span>(list_lines[pnt]); </td> </tr> <tr class="border-0"> <td id="L205" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="205"></td> <td id="LC205" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> } </td> </tr> </tbody></table> </div> </div> <br> This is computing the ratio of black and white, which should follow the QR code spec 1:1:3:1:1.<br> Unfortunately, this test case No. 25 is quite diagonal, so the ratio error becomes bit large, large enough above eps.<p></p> <p dir="auto">The difference of the binary image is very small.<br> Probably this difference comes from <code class="notranslate">adaptiveThreshold</code><br> </p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/opencv/opencv/blob/ab2c16b2e55acaf193815e43475eb11670c45d60/modules/objdetect/src/qrcode.cpp#L69">opencv/modules/objdetect/src/qrcode.cpp</a> </p> <p class="mb-0 color-fg-muted"> Line 69 in <a data-pjax="true" class="commit-tease-sha" href="/opencv/opencv/commit/ab2c16b2e55acaf193815e43475eb11670c45d60">ab2c16b</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="L69" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="69"></td> <td id="LC69" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-c1">adaptiveThreshold</span>(barcode, bin_barcode, <span class="pl-c1">255</span>, ADAPTIVE_THRESH_GAUSSIAN_C, THRESH_BINARY, <span class="pl-c1">83</span>, <span class="pl-c1">2</span>); </td> </tr> </tbody></table> </div> </div> <br> It's using <code class="notranslate">ADAPTIVE_THRESH_GAUSSIAN_C</code>, so probably it has float rounding inside, and thus the binary image doesn't become "bit-exact"<p></p> <p dir="auto">I also loosen the <code class="notranslate">eps_horizontal</code> default_value from 0.1 to 0.11 and 0.2 <a href="https://github.com/opencv/opencv/blob/ab2c16b2e55acaf193815e43475eb11670c45d60/modules/objdetect/src/qrcode.cpp#L28">here</a><br> In either case, this test No. 25 passes, but that causes false positive on other test cases.</p> <p dir="auto">So as a result of looking in this implementation, this test No.25 is on the edge of this algorithm, very edge so that even a rounding error could cause a different behavior<br> Now, I'd like to discuss about how to work with this issue.</p> <ol dir="auto"> <li>ignore and keep this test fail on Aarch64</li> <li>disable/skip this test on platform other than x86 (or totally remove this test case)</li> <li>fix it from the source (this at least includes the implementation of bit-exact <code class="notranslate">adaptiveThreshold</code>)</li> </ol> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">Run <code class="notranslate">opencv_test_objdetect</code> on Jetson TX2 (probably on any Aarch64 platform)</p>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.0.0 --&gt; 4.1.0-pre</li> <li>Operating System / Platform =&gt; Ubuntu 16.04</li> <li>Compiler =&gt; gcc 6.4</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">When running the <a href="https://docs.opencv.org/trunk/d8/d19/tutorial_stitcher.html" rel="nofollow">detailed stitching example</a>, this error occurred:</p> <blockquote> <p dir="auto">/io/opencv/modules/core/src/ocl.cpp:4766: error: (-215:Assertion failed) u-&gt;refcount == 0 &amp;&amp; "UMat deallocation error: some derived Mat is still alive" in function 'deallocate'</p> </blockquote> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">Running <code class="notranslate">stitching_detailed.cpp</code> or <code class="notranslate">stitching_detailed.py</code>.</p>
0
<h1 dir="auto">Bug report</h1> <h2 dir="auto">Describe the bug</h2> <p dir="auto">The final generated HTML contains multiple references of the same script when using <code class="notranslate">dynamic(() =&gt; import("XXX"))</code> feature.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;script async=&quot;&quot; data-next-page=&quot;/_rendr&quot; src=&quot;/_next/static/-QRY2dlf37nt2x4YyPE4t/pages/_rendr.js&quot;&gt;&lt;/script&gt; &lt;script async=&quot;&quot; data-next-page=&quot;/_app&quot; src=&quot;/_next/static/-QRY2dlf37nt2x4YyPE4t/pages/_app.js&quot;&gt;&lt;/script&gt; &lt;script async=&quot;&quot; src=&quot;/_next/static/chunks/commons.2e47dd92dd81134f73ae.js&quot;&gt;&lt;/script&gt; &lt;script async=&quot;&quot; src=&quot;/_next/static/chunks/7.08bfb698f640f0ab437a.js&quot;&gt;&lt;/script&gt; &lt;script async=&quot;&quot; src=&quot;/_next/static/chunks/11.b15a7a54832e0f86eb5f.js&quot;&gt;&lt;/script&gt; &lt;script async=&quot;&quot; src=&quot;/_next/static/chunks/12.300ea2b94b09addb1f7a.js&quot;&gt;&lt;/script&gt; &lt;script async=&quot;&quot; src=&quot;/_next/static/chunks/9.9fad9003200f003586d9.js&quot;&gt;&lt;/script&gt; &lt;script async=&quot;&quot; src=&quot;/_next/static/chunks/8.d50c138bb6c1512ea7a0.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;/_next/static/runtime/webpack-0f37fb1d4bd42a96e0fc.js&quot; async=&quot;&quot;&gt;&lt;/script&gt; &lt;script src=&quot;/_next/static/chunks/commons.2e47dd92dd81134f73ae.js&quot; async=&quot;&quot;&gt;&lt;/script&gt; &lt;script src=&quot;/_next/static/runtime/main-dbac27a7acba993626ba.js&quot; async=&quot;&quot;&gt;"><pre class="notranslate"><code class="notranslate">&lt;script async="" data-next-page="/_rendr" src="/_next/static/-QRY2dlf37nt2x4YyPE4t/pages/_rendr.js"&gt;&lt;/script&gt; &lt;script async="" data-next-page="/_app" src="/_next/static/-QRY2dlf37nt2x4YyPE4t/pages/_app.js"&gt;&lt;/script&gt; &lt;script async="" src="/_next/static/chunks/commons.2e47dd92dd81134f73ae.js"&gt;&lt;/script&gt; &lt;script async="" src="/_next/static/chunks/7.08bfb698f640f0ab437a.js"&gt;&lt;/script&gt; &lt;script async="" src="/_next/static/chunks/11.b15a7a54832e0f86eb5f.js"&gt;&lt;/script&gt; &lt;script async="" src="/_next/static/chunks/12.300ea2b94b09addb1f7a.js"&gt;&lt;/script&gt; &lt;script async="" src="/_next/static/chunks/9.9fad9003200f003586d9.js"&gt;&lt;/script&gt; &lt;script async="" src="/_next/static/chunks/8.d50c138bb6c1512ea7a0.js"&gt;&lt;/script&gt; &lt;script src="/_next/static/runtime/webpack-0f37fb1d4bd42a96e0fc.js" async=""&gt;&lt;/script&gt; &lt;script src="/_next/static/chunks/commons.2e47dd92dd81134f73ae.js" async=""&gt;&lt;/script&gt; &lt;script src="/_next/static/runtime/main-dbac27a7acba993626ba.js" async=""&gt; </code></pre></div> <p dir="auto">Firefox downloads twice <code class="notranslate">commons.2e47dd92dd81134f73ae.js</code>, I guess the <code class="notranslate">async</code> flag presents in the first reference, and not present in the second reference make a difference. Chrome does not behave the same.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">You can download the example here <a href="https://github.com/ekino/rendr/blob/master/examples/nextjs-with-remoteapi/">https://github.com/ekino/rendr/blob/master/examples/nextjs-with-remoteapi/</a>.</p> <p dir="auto">The dynamic declarations are there: <a href="https://github.com/ekino/rendr/blob/master/examples/nextjs-with-remoteapi/pages/_rendr.js#L12-L18">https://github.com/ekino/rendr/blob/master/examples/nextjs-with-remoteapi/pages/_rendr.js#L12-L18</a></p> <p dir="auto">There is also a live demo here: <a href="https://nextjs-with-remoteapi.rande.now.sh/" rel="nofollow">https://nextjs-with-remoteapi.rande.now.sh/</a></p> <h2 dir="auto">Expected behavior</h2> <p dir="auto">No duplicate references.</p> <h2 dir="auto">Screenshots</h2> <p dir="auto">If applicable, add screenshots to help explain your problem.</p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>OS: linux or now.sh env.</li> <li>Browser: Firefox and Chrome</li> <li>Version of Next.js: <code class="notranslate">9.0.5</code></li> </ul> <h2 dir="auto">Additional context</h2> <p dir="auto">Add any other context about the problem here.</p>
<h1 dir="auto">Bug report</h1> <p dir="auto">I recently upgraded to the latest canary and noticed horizontal scrolling on some mobile devices. As it turned out, this was caused by <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="424230501" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/6754" data-hovercard-type="pull_request" data-hovercard-url="/vercel/next.js/pull/6754/hovercard" href="https://github.com/vercel/next.js/pull/6754">#6754</a> (cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/developit/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/developit">@developit</a>).</p> <p dir="auto">Although the default new value of <code class="notranslate">viewport</code> is inserted only when there is no custom one, this logic did not work for me, because my custom <code class="notranslate">viewport</code> tag was in <code class="notranslate">_document.js</code> and not inside <code class="notranslate">&lt;Head /&gt;</code>.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width&quot; /&gt;"><pre class="notranslate"><code class="notranslate">&lt;meta name="viewport" content="width=device-width" /&gt; </code></pre></div> <p dir="auto">Moving the tag into <code class="notranslate">&lt;Head /&gt;</code> solved the issue, but it took a while to investigate.</p> <h2 dir="auto">Expected behavior</h2> <p dir="auto">It'd be great if Next.js searched for <code class="notranslate">&lt;meta name="viewport" content="..." /&gt;</code> inside custom <code class="notranslate">_document.js</code> and either did not insert the default one or asked developers to move their tag into <code class="notranslate">&lt;Head /&gt;</code>. WDYT folks?</p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>Version of Next.js: 8.0.5-canary.17</li> </ul>
0
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.): dns, skydns, dns not resolving</p> <hr> <p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one): Bug</p> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;3&quot;, GitVersion:&quot;v1.3.5&quot;, GitCommit:&quot;b0deb2eb8f4037421077f77cb163dbb4c0a2a9f5&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-08-11T20:29:08Z&quot;, GoVersion:&quot;go1.6.2&quot;, Compiler:&quot;gc&quot;, Platform:&quot;darwin/amd64&quot;} Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;3&quot;, GitVersion:&quot;v1.3.6&quot;, GitCommit:&quot;ae4550cc9c89a593bcda6678df201db1b208133b&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-08-26T18:06:06Z&quot;, GoVersion:&quot;go1.6.2&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}"><pre class="notranslate"><code class="notranslate">Client Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.5", GitCommit:"b0deb2eb8f4037421077f77cb163dbb4c0a2a9f5", GitTreeState:"clean", BuildDate:"2016-08-11T20:29:08Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.6", GitCommit:"ae4550cc9c89a593bcda6678df201db1b208133b", GitTreeState:"clean", BuildDate:"2016-08-26T18:06:06Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"} </code></pre></div> <p dir="auto"><strong>Environment</strong>:</p> <ul dir="auto"> <li>Hosted GKE cluster</li> </ul> <p dir="auto"><strong>What happened</strong>:<br> I created a new cluster with the <code class="notranslate">create cluster</code> button in the GUI.</p> <p dir="auto">Then, I created a number of headless services with explicitly defined endpoints that pointed at external google cloud VMS:</p> <p dir="auto">Endpoint:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;kind&quot;: &quot;Endpoints&quot;, &quot;apiVersion&quot;: &quot;v1&quot;, &quot;metadata&quot;: { &quot;name&quot;: &quot;rabbitmq&quot; }, &quot;subsets&quot;: [ { &quot;addresses&quot;: [ { &quot;ip&quot;: &quot;validExternalIP&quot; } ], &quot;ports&quot;: [ { &quot;port&quot;: 5672 } ] } ] }"><pre class="notranslate"><code class="notranslate">{ "kind": "Endpoints", "apiVersion": "v1", "metadata": { "name": "rabbitmq" }, "subsets": [ { "addresses": [ { "ip": "validExternalIP" } ], "ports": [ { "port": 5672 } ] } ] } </code></pre></div> <p dir="auto">Service:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;apiVersion&quot;: &quot;v1&quot;, &quot;kind&quot;: &quot;Service&quot;, &quot;metadata&quot;: { &quot;name&quot;: &quot;rabbitmq&quot;, &quot;labels&quot;: { &quot;name&quot;: &quot;rabbitmq&quot; } }, &quot;spec&quot;: { &quot;ports&quot;: [ { &quot;port&quot;: 5672 } ] } }"><pre class="notranslate"><code class="notranslate">{ "apiVersion": "v1", "kind": "Service", "metadata": { "name": "rabbitmq", "labels": { "name": "rabbitmq" } }, "spec": { "ports": [ { "port": 5672 } ] } } </code></pre></div> <p dir="auto">My DNS quickly began failing to resolve anything.</p> <p dir="auto">According to <a href="http://kubernetes.io/docs/user-guide/debugging-services/" rel="nofollow">http://kubernetes.io/docs/user-guide/debugging-services/</a> this command should always work:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="root@pod:/usr/src/app# nslookup kubernetes.default ;; connection timed out; no servers could be reached"><pre class="notranslate"><code class="notranslate">root@pod:/usr/src/app# nslookup kubernetes.default ;; connection timed out; no servers could be reached </code></pre></div> <p dir="auto"><strong>What you expected to happen</strong>:<br> I expected the kubedns pods to properly direct intra-cluster traffic</p> <p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):<br> Create a new cluster, wait</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nikhiljindal/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nikhiljindal">@nikhiljindal</a> there are two controllers in federation for v1.3, however the clientset of cluster controller and service controller are different so I open this issue to discuss with you how to keep them identical.</p> <ol dir="auto"> <li>The versioned clientset kept broken before I merged service controller, like watcher always get a unversioned object so the type assertion is always failed, so after checking with caesarxuchao, I changed the clientset and object in service controller to unversioned, but in cluster controller, they are versioned. We need to decide which one we should use.</li> <li>Cluster controller has a go file cluster_client.go to create clientset and the clientset was wrapped as private member of ClusterClient which can not be refered by service controller. In service controller, I duplicated to origin code of NewClusterClientSet() to create clientset(discoveryClient is not needed however), however NewClusterClientSet was changed, so the right way to make it work is to add a util func to return *clientset.Clientset so that both controller can call.</li> </ol> <p dir="auto">what do you say?</p>
0
<p dir="auto">I don't find where to define number of columns in customizer? Pls advise.</p>
<p dir="auto">Gotta bring back those grid mixins so folks can generate any number of columns easily—screw this no mixin business we have right now.</p>
1
<p dir="auto">I'm using Atom 0.121.0 on OSX 10.9.4. I turn <code class="notranslate">Atom</code> into Mac Fullscreen mode, and back. I found the Window is restored to normal, but the header is covered by the menu bar, and I cannot access it.</p> <p dir="auto">Here is the screenshot:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1287238/3921385/0f82c376-23c1-11e4-91e7-dfcebdc9832b.png"><img src="https://cloud.githubusercontent.com/assets/1287238/3921385/0f82c376-23c1-11e4-91e7-dfcebdc9832b.png" alt="Window header is not accessible" style="max-width: 100%;"></a></p> <p dir="auto">Check it with exposé, window header is there.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1287238/3921430/8d9b6bb4-23c1-11e4-828e-74b4000ecff8.png"><img src="https://cloud.githubusercontent.com/assets/1287238/3921430/8d9b6bb4-23c1-11e4-828e-74b4000ecff8.png" alt="Exposé View" style="max-width: 100%;"></a></p>
<p dir="auto">Updated to the latest version of Atom 0.121.0. When opening Atom I am now forced into full screen mode.. Toggling the mode doesn't seem to fix the issue either.</p> <p dir="auto">Possibly related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="40184034" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/3256" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/3256/hovercard" href="https://github.com/atom/atom/issues/3256">#3256</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="40187115" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/3257" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/3257/hovercard" href="https://github.com/atom/atom/issues/3257">#3257</a>?</p> <p dir="auto">Attached is a screenshot:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5354908/3915373/104bd2ba-235e-11e4-8952-3a3b4169b1a6.png"><img src="https://cloud.githubusercontent.com/assets/5354908/3915373/104bd2ba-235e-11e4-8952-3a3b4169b1a6.png" alt="screen shot 2014-08-13 at 7 51 19 pm" style="max-width: 100%;"></a></p>
1
<p dir="auto">Hi,</p> <p dir="auto">I think I may have found a bug in ValidatorTypeGuesser , either that or this is quite an unexpected behavior.</p> <p dir="auto">Validator guesser for required (guessRequired) does not seem to work properly when there is no constraint defined for a given property at all.<br> The documentation says: "The required option can be guessed based on the validation rules (i.e. is the field NotBlank or NotNull)"<br> Which seems to be confirmed by the source code comments in ValidatorTypeGuesser.php:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// If we don't find any constraint telling otherwise, we can assume // that a field is not required (with LOW_CONFIDENCE)"><pre class="notranslate"><span class="pl-c">// If we don't find any constraint telling otherwise, we can assume</span> <span class="pl-c">// that a field is not required (with LOW_CONFIDENCE)</span></pre></div> <p dir="auto">however this is not happening if no constraints are defined at all, it does work properly when a non-related constraint is defined (any constraint)</p> <p dir="auto">to reproduce:</p> <p dir="auto">The form:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class TestFormType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $builder -&gt;add(&quot;name&quot;) -&gt;add(&quot;comments&quot;); } public function getName() { return &quot;test_form&quot;; } }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">TestFormType</span> <span class="pl-k">extends</span> <span class="pl-v">AbstractType</span> { <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">buildForm</span>(<span class="pl-smi"><span class="pl-smi">FormBuilderInterface</span></span> <span class="pl-s1"><span class="pl-c1">$</span>builder</span>, <span class="pl-smi">array</span> <span class="pl-s1"><span class="pl-c1">$</span>options</span>) { <span class="pl-s1"><span class="pl-c1">$</span>builder</span> -&gt;<span class="pl-en">add</span>("<span class="pl-s">name</span>") -&gt;<span class="pl-en">add</span>("<span class="pl-s">comments</span>"); } <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">getName</span>() { <span class="pl-k">return</span> "<span class="pl-s">test_form</span>"; } }</pre></div> <p dir="auto">The entity:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class TestEntity { private $name; private $comments; // ... getters and setters ... }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">TestEntity</span> { <span class="pl-k">private</span> <span class="pl-c1"><span class="pl-c1">$</span>name</span>; <span class="pl-k">private</span> <span class="pl-c1"><span class="pl-c1">$</span>comments</span>; <span class="pl-c">// ... getters and setters ...</span> }</pre></div> <p dir="auto">The validator:</p> <div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;class name=&quot;FormExperiment\TestBundle\Entity\TestEntity&quot;&gt; &lt;property name=&quot;name&quot;&gt; &lt;constraint name=&quot;NotBlank&quot; /&gt; &lt;/property&gt; &lt;/class&gt;"><pre class="notranslate">&lt;<span class="pl-ent">class</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>FormExperiment\TestBundle\Entity\TestEntity<span class="pl-pds">"</span></span>&gt; &lt;<span class="pl-ent">property</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>name<span class="pl-pds">"</span></span>&gt; &lt;<span class="pl-ent">constraint</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>NotBlank<span class="pl-pds">"</span></span> /&gt; &lt;/<span class="pl-ent">property</span>&gt; &lt;/<span class="pl-ent">class</span>&gt;</pre></div> <p dir="auto">and in the controller simply:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$form = $this-&gt;createForm(new TestFormType(), new TestEntity());"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>form</span> = <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-en">createForm</span>(<span class="pl-k">new</span> <span class="pl-v">TestFormType</span>(), <span class="pl-k">new</span> <span class="pl-v">TestEntity</span>());</pre></div> <p dir="auto">and then just pass <code class="notranslate">$form-&gt;createView()</code> to the template</p> <p dir="auto">Expected behavior:<br> <code class="notranslate">name</code> has <code class="notranslate">required="required"</code>, and comments doesn't have it.</p> <p dir="auto">What actually happens:<br> Both <code class="notranslate">name</code> and <code class="notranslate">comments</code> have <code class="notranslate">required="required"</code></p> <p dir="auto">If you add any constraint to 'comments', like:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &lt;property name=&quot;comments&quot;&gt; &lt;constraint name=&quot;Length&quot;&gt; &lt;option name=&quot;max&quot;&gt;5&lt;/option&gt; &lt;/constraint&gt; &lt;/property&gt;"><pre class="notranslate"> &lt;property name="<span class="pl-s">comments</span>"&gt; &lt;constraint name="<span class="pl-s">Length</span>"&gt; &lt;option name="<span class="pl-s">max</span>"&gt;<span class="pl-c1">5</span>&lt;/option&gt; &lt;/constraint&gt; &lt;/property&gt;</pre></div> <p dir="auto">then it will guess the required option properly (in this case required is false since the constraint is not NotNull or NotBlank)</p> <p dir="auto">even more bizarre that if I override the default in the form type with:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public function setDefaultOptions(OptionsResolverInterface $resolver) { $resolver-&gt;setDefaults(array( 'required' =&gt; false )); }"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">setDefaultOptions</span>(<span class="pl-smi"><span class="pl-smi">OptionsResolverInterface</span></span> <span class="pl-s1"><span class="pl-c1">$</span>resolver</span>) { <span class="pl-s1"><span class="pl-c1">$</span>resolver</span>-&gt;<span class="pl-en">setDefaults</span>(<span class="pl-en">array</span>( <span class="pl-s">'required'</span> =&gt; <span class="pl-c1">false</span> )); }</pre></div> <p dir="auto">then both will miss <code class="notranslate">required="required"</code> regardless of the guessing altogether, seems like the default option is stronger than anything else.</p> <p dir="auto">I managed to trace the problem and make the guesser work though:<br> The main problem is that since constraints are not present for comments at all the whole guessing is skipped here (ValidatorTypeGuesser.php):</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" protected function guess($class, $property, \Closure $closure, $defaultValue = null) { $guesses = array(); $classMetadata = $this-&gt;metadataFactory-&gt;getMetadataFor($class); if ($classMetadata-&gt;hasMemberMetadatas($property)) { $memberMetadatas = $classMetadata-&gt;getMemberMetadatas($property); foreach ($memberMetadatas as $memberMetadata) { $constraints = $memberMetadata-&gt;getConstraints(); foreach ($constraints as $constraint) { if ($guess = $closure($constraint)) { $guesses[] = $guess; } } } if (null !== $defaultValue) { $guesses[] = new ValueGuess($defaultValue, Guess::LOW_CONFIDENCE); } } return Guess::getBestGuess($guesses); }"><pre class="notranslate"> <span class="pl-k">protected</span> <span class="pl-k">function</span> <span class="pl-en">guess</span>(<span class="pl-s1"><span class="pl-c1">$</span>class</span>, <span class="pl-s1"><span class="pl-c1">$</span>property</span>, <span class="pl-smi"><span class="pl-smi">\<span class="pl-v">Closure</span></span></span> <span class="pl-s1"><span class="pl-c1">$</span>closure</span>, <span class="pl-s1"><span class="pl-c1">$</span>defaultValue</span> = <span class="pl-c1">null</span>) { <span class="pl-s1"><span class="pl-c1">$</span>guesses</span> = <span class="pl-en">array</span>(); <span class="pl-s1"><span class="pl-c1">$</span>classMetadata</span> = <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">metadataFactory</span>-&gt;<span class="pl-en">getMetadataFor</span>(<span class="pl-s1"><span class="pl-c1">$</span>class</span>); <span class="pl-k">if</span> (<span class="pl-s1"><span class="pl-c1">$</span>classMetadata</span>-&gt;<span class="pl-en">hasMemberMetadatas</span>(<span class="pl-s1"><span class="pl-c1">$</span>property</span>)) { <span class="pl-s1"><span class="pl-c1">$</span>memberMetadatas</span> = <span class="pl-s1"><span class="pl-c1">$</span>classMetadata</span>-&gt;<span class="pl-en">getMemberMetadatas</span>(<span class="pl-s1"><span class="pl-c1">$</span>property</span>); <span class="pl-k">foreach</span> (<span class="pl-s1"><span class="pl-c1">$</span>memberMetadatas</span> <span class="pl-k">as</span> <span class="pl-s1"><span class="pl-c1">$</span>memberMetadata</span>) { <span class="pl-s1"><span class="pl-c1">$</span>constraints</span> = <span class="pl-s1"><span class="pl-c1">$</span>memberMetadata</span>-&gt;<span class="pl-en">getConstraints</span>(); <span class="pl-k">foreach</span> (<span class="pl-s1"><span class="pl-c1">$</span>constraints</span> <span class="pl-k">as</span> <span class="pl-s1"><span class="pl-c1">$</span>constraint</span>) { <span class="pl-k">if</span> (<span class="pl-s1"><span class="pl-c1">$</span>guess</span> = <span class="pl-s1"><span class="pl-c1">$</span>closure</span>(<span class="pl-s1"><span class="pl-c1">$</span>constraint</span>)) { <span class="pl-s1"><span class="pl-c1">$</span>guesses</span>[] = <span class="pl-s1"><span class="pl-c1">$</span>guess</span>; } } } <span class="pl-k">if</span> (<span class="pl-c1">null</span> !== <span class="pl-s1"><span class="pl-c1">$</span>defaultValue</span>) { <span class="pl-s1"><span class="pl-c1">$</span>guesses</span>[] = <span class="pl-k">new</span> <span class="pl-v">ValueGuess</span>(<span class="pl-s1"><span class="pl-c1">$</span>defaultValue</span>, <span class="pl-v">Guess</span>::<span class="pl-c1">LOW_CONFIDENCE</span>); } } <span class="pl-k">return</span> <span class="pl-v">Guess</span>::<span class="pl-en">getBestGuess</span>(<span class="pl-s1"><span class="pl-c1">$</span>guesses</span>); }</pre></div> <p dir="auto">the condition <code class="notranslate">if ($classMetadata-&gt;hasMemberMetadatas($property))</code> skips the entire guess because of this. this condition does not seem to be neccessary since in the next line:<br> <code class="notranslate">$memberMetadatas = $classMetadata-&gt;getMemberMetadatas($property);</code></p> <p dir="auto"><code class="notranslate">getMemberMetadatas</code> has a guard for missing metadata anyway and returns an empty array in that case which then skips through the foreach and does a false valueguess for required as it should.<br> If I remove this condition everything works fine. the guess actually makes it through and works properly. I could not find a good reason why this condition is here but someone more familiar with the code might know better.</p> <p dir="auto">Regards</p>
<p dir="auto">A mistake that I frequently see is that people forget to call <code class="notranslate">createView()</code> when passing a form to the view. What do you think about converting <code class="notranslate">FormInterface</code> instances to <code class="notranslate">FormView</code> objects automatically by calling <code class="notranslate">createView()</code>, for example, in a listener?</p>
0
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">Allow mapping the Windows key alone as the shortcut key for PowerTools Run, disabling the windows start menu launch, but still allowing the windows combo shortcuts (WIN+L, WIN+1, WIN+TAB etc) to work. One can still access the start menu or it's search by clicking with mouse.</p> <p dir="auto">Reason: I would like to replace the traditional windows menu/search with this instead.</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.0</li> <li>PowerToy Utility:</li> <li>Running PowerToys as Admin: yes</li> <li>Windows build number: [run "winver"] Microsoft Windows NT 10.0.19041.0</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> <p dir="auto">Actually wasn't even doing anything on my computer, just had powertoys running in the background (notification tray) and looking at a tablet screen to look up and have an error on powertoys on my desktop computer.</p> <blockquote> <p dir="auto">Version: 0.21.1.0<br> OS Version: Microsoft Windows NT 10.0.19041.0<br> IntPtr Length: 8<br> x64: True<br> Date: 09/29/2020 13:32:18<br> Exception:<br> System.IO.FileNotFoundException: D:\User Profile\Desktop\Flash Drive Sync\Documents\acp_commander_gui_156.exe<br> at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)<br> at Microsoft.Plugin.Program.Programs.Win32Program.ExeProgram(String path)<br> at Microsoft.Plugin.Program.Programs.Win32Program.GetAppFromPath(String path)<br> at Microsoft.Plugin.Program.Storage.Win32ProgramRepository.OnAppCreated(Object sender, FileSystemEventArgs e)<br> at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(WatcherChangeTypes changeType, ReadOnlySpan`1 name)<br> at System.IO.FileSystemWatcher.ParseEventBufferAndNotifyForEach(Byte[] buffer)<br> at System.IO.FileSystemWatcher.ReadDirectoryChangesCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)<br> at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)<br> --- End of stack trace from previous location where exception was thrown ---<br> at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pNativeOverlapped)</p> </blockquote> <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">No idea what power toys was trying to accomplish. Log attached.<br> <a href="https://github.com/microsoft/PowerToys/files/5300887/2020-09-29.txt">2020-09-29.txt</a></p> <p dir="auto">Even with the 'Something went wrong' box still up, my Fancyzones and shortcut guide, the portions of Power Toys that I primarily use, are still working fine, so not seeing anything that suddenly had a problem.</p>
0
<p dir="auto">macOS Catalina 10.15.4</p> <p dir="auto">NumPy 1.18.4<br> PyPy 7.3.1 (Python 3.6.9) with GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.32.59)] on darwin</p> <p dir="auto">Build issue after installing development version of SciPy as per the instructions mentioned in <a href="https://github.com/scipy/scipy/blob/master/INSTALL.rst.txt#installing-scipy">INSTALL.rst.txt</a></p> <p dir="auto">The issue seems to be happening only with pip_pypy3 (PyPy 7.3.1), it installs fine with pip (CPython)</p> <p dir="auto">Installation:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git clone https://github.com/scipy/scipy.git cd scipy git clean -xdf python setup.py install --user"><pre class="notranslate"><code class="notranslate">git clone https://github.com/scipy/scipy.git cd scipy git clean -xdf python setup.py install --user </code></pre></div> <p dir="auto">The log was more than 65536 characters so I have created a txt file: <a href="https://github.com/scipy/scipy/files/4696702/log.txt">Build Log</a></p> <p dir="auto">Troubleshooting Info: <code class="notranslate">pypy3 -c 'from numpy.f2py.diagnose import run; run()'</code></p> <details> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="------ os.name='posix' ------ sys.platform='darwin' ------ sys.version: 3.6.9 (?, Apr 18 2020, 02:46:07) [PyPy 7.3.1 with GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.32.59)] ------ sys.prefix: /usr/local/Cellar/pypy3/7.3.1_1/libexec ------ sys.path=':/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib_pypy/__extensions__:/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib_pypy:/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3:/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/lib-tk:/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/plat-darwin:/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/plat-mac:/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/plat-mac/lib-scriptpackages:/usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages:/usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/setuptools-46.1.3-py3.6.egg:/usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/pyparsing-2.4.7-py3.6.egg:/usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/pip-20.0.2-py3.6.egg' ------ Found new numpy version '1.18.4' in /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/numpy/__init__.py Found f2py2e version '2' in /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/numpy/f2py/f2py2e.py error: module 'numpy.distutils' has no attribute '__version__' ------ Importing numpy.distutils.fcompiler ... ok ------ Checking availability of supported Fortran compilers: Warning: Can't read registry to find the necessary compiler setting Make sure that Python modules winreg, win32api or win32con are installed. /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/numpy/distutils/fcompiler/gnu.py:353: UserWarning: Env. variable MACOSX_DEPLOYMENT_TARGET set to 10.3 flags = GnuFCompiler.get_flags_linker_so(self) Gnu95FCompiler instance properties: archiver = ['/usr/local/bin/gfortran', '-cr'] compile_switch = '-c' compiler_f77 = ['/usr/local/bin/gfortran', '-Wall', '-g', '-ffixed- form', '-fno-second-underscore', '-fPIC', '-O3', '-funroll -loops'] compiler_f90 = ['/usr/local/bin/gfortran', '-Wall', '-g', '-fno-second- underscore', '-fPIC', '-O3', '-funroll-loops'] compiler_fix = ['/usr/local/bin/gfortran', '-Wall', '-g', '-ffixed- form', '-fno-second-underscore', '-Wall', '-g', '-fno- second-underscore', '-fPIC', '-O3', '-funroll-loops'] libraries = ['gfortran'] library_dirs = ['/usr/local/Cellar/gcc/9.3.0_1/lib/gcc/9/gcc/x86_64- apple-darwin19/9.3.0', '/usr/local/Cellar/gcc/9.3.0_1/lib/gcc/9/gcc/x86_64-apple- darwin19/9.3.0/../../..', '/usr/local/Cellar/gcc/9.3.0_1/lib/gcc/9/gcc/x86_64-apple- darwin19/9.3.0/../../..'] linker_exe = ['/usr/local/bin/gfortran', '-Wall', '-Wall'] linker_so = ['/usr/local/bin/gfortran', '-Wall', '-g', '-Wall', '- g', '-undefined', 'dynamic_lookup', '-bundle'] object_switch = '-o ' ranlib = ['/usr/local/bin/gfortran'] version = LooseVersion ('9.3.0') version_cmd = ['/usr/local/bin/gfortran', '-dumpversion'] Fortran compilers found: --fcompiler=gnu95 GNU Fortran 95 compiler (9.3.0) Compilers available for this platform, but not found: --fcompiler=absoft Absoft Corp Fortran Compiler --fcompiler=g95 G95 Fortran Compiler --fcompiler=gnu GNU Fortran 77 compiler --fcompiler=ibm IBM XL Fortran Compiler --fcompiler=intel Intel Fortran Compiler for 32-bit apps --fcompiler=nag NAGWare Fortran 95 Compiler --fcompiler=pg Portland Group Fortran Compiler Compilers not available on this platform: --fcompiler=compaq Compaq Fortran Compiler --fcompiler=flang Portland Group Fortran LLVM Compiler --fcompiler=hpux HP Fortran 90 Compiler --fcompiler=intele Intel Fortran Compiler for Itanium apps --fcompiler=intelem Intel Fortran Compiler for 64-bit apps --fcompiler=intelev Intel Visual Fortran Compiler for Itanium apps --fcompiler=intelv Intel Visual Fortran Compiler for 32-bit apps --fcompiler=intelvem Intel Visual Fortran Compiler for 64-bit apps --fcompiler=lahey Lahey/Fujitsu Fortran 95 Compiler --fcompiler=mips MIPSpro Fortran Compiler --fcompiler=nagfor NAG Fortran Compiler --fcompiler=none Fake Fortran compiler --fcompiler=pathf95 PathScale Fortran Compiler --fcompiler=sun Sun or Forte Fortran 95 Compiler --fcompiler=vast Pacific-Sierra Research Fortran 90 Compiler For compiler details, run 'config_fc --verbose' setup command. ------ Importing numpy.distutils.cpuinfo ... ok ------ CPU information: CPUInfoBase__get_nbits getNCPUs is_64bit is_i386 ------ "><pre class="notranslate"><code class="notranslate">------ os.name='posix' ------ sys.platform='darwin' ------ sys.version: 3.6.9 (?, Apr 18 2020, 02:46:07) [PyPy 7.3.1 with GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.32.59)] ------ sys.prefix: /usr/local/Cellar/pypy3/7.3.1_1/libexec ------ sys.path=':/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib_pypy/__extensions__:/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib_pypy:/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3:/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/lib-tk:/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/plat-darwin:/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/plat-mac:/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/plat-mac/lib-scriptpackages:/usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages:/usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/setuptools-46.1.3-py3.6.egg:/usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/pyparsing-2.4.7-py3.6.egg:/usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/pip-20.0.2-py3.6.egg' ------ Found new numpy version '1.18.4' in /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/numpy/__init__.py Found f2py2e version '2' in /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/numpy/f2py/f2py2e.py error: module 'numpy.distutils' has no attribute '__version__' ------ Importing numpy.distutils.fcompiler ... ok ------ Checking availability of supported Fortran compilers: Warning: Can't read registry to find the necessary compiler setting Make sure that Python modules winreg, win32api or win32con are installed. /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/numpy/distutils/fcompiler/gnu.py:353: UserWarning: Env. variable MACOSX_DEPLOYMENT_TARGET set to 10.3 flags = GnuFCompiler.get_flags_linker_so(self) Gnu95FCompiler instance properties: archiver = ['/usr/local/bin/gfortran', '-cr'] compile_switch = '-c' compiler_f77 = ['/usr/local/bin/gfortran', '-Wall', '-g', '-ffixed- form', '-fno-second-underscore', '-fPIC', '-O3', '-funroll -loops'] compiler_f90 = ['/usr/local/bin/gfortran', '-Wall', '-g', '-fno-second- underscore', '-fPIC', '-O3', '-funroll-loops'] compiler_fix = ['/usr/local/bin/gfortran', '-Wall', '-g', '-ffixed- form', '-fno-second-underscore', '-Wall', '-g', '-fno- second-underscore', '-fPIC', '-O3', '-funroll-loops'] libraries = ['gfortran'] library_dirs = ['/usr/local/Cellar/gcc/9.3.0_1/lib/gcc/9/gcc/x86_64- apple-darwin19/9.3.0', '/usr/local/Cellar/gcc/9.3.0_1/lib/gcc/9/gcc/x86_64-apple- darwin19/9.3.0/../../..', '/usr/local/Cellar/gcc/9.3.0_1/lib/gcc/9/gcc/x86_64-apple- darwin19/9.3.0/../../..'] linker_exe = ['/usr/local/bin/gfortran', '-Wall', '-Wall'] linker_so = ['/usr/local/bin/gfortran', '-Wall', '-g', '-Wall', '- g', '-undefined', 'dynamic_lookup', '-bundle'] object_switch = '-o ' ranlib = ['/usr/local/bin/gfortran'] version = LooseVersion ('9.3.0') version_cmd = ['/usr/local/bin/gfortran', '-dumpversion'] Fortran compilers found: --fcompiler=gnu95 GNU Fortran 95 compiler (9.3.0) Compilers available for this platform, but not found: --fcompiler=absoft Absoft Corp Fortran Compiler --fcompiler=g95 G95 Fortran Compiler --fcompiler=gnu GNU Fortran 77 compiler --fcompiler=ibm IBM XL Fortran Compiler --fcompiler=intel Intel Fortran Compiler for 32-bit apps --fcompiler=nag NAGWare Fortran 95 Compiler --fcompiler=pg Portland Group Fortran Compiler Compilers not available on this platform: --fcompiler=compaq Compaq Fortran Compiler --fcompiler=flang Portland Group Fortran LLVM Compiler --fcompiler=hpux HP Fortran 90 Compiler --fcompiler=intele Intel Fortran Compiler for Itanium apps --fcompiler=intelem Intel Fortran Compiler for 64-bit apps --fcompiler=intelev Intel Visual Fortran Compiler for Itanium apps --fcompiler=intelv Intel Visual Fortran Compiler for 32-bit apps --fcompiler=intelvem Intel Visual Fortran Compiler for 64-bit apps --fcompiler=lahey Lahey/Fujitsu Fortran 95 Compiler --fcompiler=mips MIPSpro Fortran Compiler --fcompiler=nagfor NAG Fortran Compiler --fcompiler=none Fake Fortran compiler --fcompiler=pathf95 PathScale Fortran Compiler --fcompiler=sun Sun or Forte Fortran 95 Compiler --fcompiler=vast Pacific-Sierra Research Fortran 90 Compiler For compiler details, run 'config_fc --verbose' setup command. ------ Importing numpy.distutils.cpuinfo ... ok ------ CPU information: CPUInfoBase__get_nbits getNCPUs is_64bit is_i386 ------ </code></pre></div> </details>
<p dir="auto">macOS Catalina 10.15.4</p> <p dir="auto">NumPy 1.18.4<br> PyPy 7.3.1 (Python 3.6.9) with GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.32.59)] on darwin</p> <p dir="auto">Issue while trying to install SciPy 1.4.1 (latest) as a dependency of sklearn. This issue is still present if I try to install SciPy directly.</p> <h4 dir="auto">Reproducing code example:</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pip_pypy3 install sklearn"><pre class="notranslate"><code class="notranslate">pip_pypy3 install sklearn </code></pre></div> <h4 dir="auto">Error message:</h4> <p dir="auto">Build log as follows:</p> <details> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Processing ./Library/Caches/pip/wheels/76/03/bb/589d421d27431bcd2c6da284d5f2286c8e3b2ea3cf1594c074/sklearn-0.0-py2.py3-none-any.whl Collecting scikit-learn Using cached scikit-learn-0.23.1.tar.gz (7.2 MB) Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: /usr/local/Cellar/pypy3/7.3.1_1/bin/pypy3 /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/pip-20.0.2-py3.6.egg/pip install --ignore-installed --no-user --prefix /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-ehlg4d06/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython&gt;=0.28.5' 'numpy==1.13.3; python_version=='&quot;'&quot;'3.6'&quot;'&quot;' and platform_system!='&quot;'&quot;'AIX'&quot;'&quot;' and platform_python_implementation == '&quot;'&quot;'CPython'&quot;'&quot;'' 'numpy==1.14.0; python_version=='&quot;'&quot;'3.6'&quot;'&quot;' and platform_system!='&quot;'&quot;'AIX'&quot;'&quot;' and platform_python_implementation != '&quot;'&quot;'CPython'&quot;'&quot;'' 'numpy==1.14.5; python_version=='&quot;'&quot;'3.7'&quot;'&quot;' and platform_system!='&quot;'&quot;'AIX'&quot;'&quot;'' 'numpy==1.17.3; python_version&gt;='&quot;'&quot;'3.8'&quot;'&quot;' and platform_system!='&quot;'&quot;'AIX'&quot;'&quot;'' 'numpy==1.16.0; python_version=='&quot;'&quot;'3.6'&quot;'&quot;' and platform_system=='&quot;'&quot;'AIX'&quot;'&quot;'' 'numpy==1.16.0; python_version=='&quot;'&quot;'3.7'&quot;'&quot;' and platform_system=='&quot;'&quot;'AIX'&quot;'&quot;'' 'numpy==1.17.3; python_version&gt;='&quot;'&quot;'3.8'&quot;'&quot;' and platform_system=='&quot;'&quot;'AIX'&quot;'&quot;'' 'scipy&gt;=0.19.1' cwd: None Complete output (3352 lines): Ignoring numpy: markers 'python_version == &quot;3.6&quot; and platform_system != &quot;AIX&quot; and platform_python_implementation == &quot;CPython&quot;' don't match your environment Ignoring numpy: markers 'python_version == &quot;3.7&quot; and platform_system != &quot;AIX&quot;' don't match your environment Ignoring numpy: markers 'python_version &gt;= &quot;3.8&quot; and platform_system != &quot;AIX&quot;' don't match your environment Ignoring numpy: markers 'python_version == &quot;3.6&quot; and platform_system == &quot;AIX&quot;' don't match your environment Ignoring numpy: markers 'python_version == &quot;3.7&quot; and platform_system == &quot;AIX&quot;' don't match your environment Ignoring numpy: markers 'python_version &gt;= &quot;3.8&quot; and platform_system == &quot;AIX&quot;' don't match your environment Collecting setuptools Using cached setuptools-46.4.0-py3-none-any.whl (583 kB) Collecting wheel Using cached wheel-0.34.2-py2.py3-none-any.whl (26 kB) Collecting Cython&gt;=0.28.5 Using cached Cython-0.29.19-py2.py3-none-any.whl (971 kB) Processing ./Library/Caches/pip/wheels/84/3b/d5/cbf7fc2f4731d199460c6e7d6e02284e77e8ab6ea37d1664ee/numpy-1.14.0-pp36-pypy36_pp73-macosx_10_7_x86_64.whl Collecting scipy&gt;=0.19.1 Using cached scipy-1.4.1.tar.gz (24.6 MB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing wheel metadata: started Preparing wheel metadata: finished with status 'done' Building wheels for collected packages: scipy Building wheel for scipy (PEP 517): started Building wheel for scipy (PEP 517): finished with status 'error' ERROR: Command errored out with exit status 1: command: /usr/local/Cellar/pypy3/7.3.1_1/bin/pypy3 /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/pip-20.0.2-py3.6.egg/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmpo6o5bpzk cwd: /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-install-ml2ocady/scipy Complete output (3320 lines): lapack_opt_info: lapack_mkl_info: libraries mkl_rt not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE openblas_lapack_info: libraries openblas not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE system_info: NOT AVAILABLE atlas_3_10_threads_info: Setting PTATLAS=ATLAS libraries tatlas,tatlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries lapack_atlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries tatlas,tatlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries tatlas,tatlas not found in /usr/lib libraries lapack_atlas not found in /usr/lib &lt;class 'numpy.distutils.system_info.atlas_3_10_threads_info'&gt; NOT AVAILABLE atlas_3_10_info: libraries satlas,satlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries lapack_atlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries satlas,satlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries satlas,satlas not found in /usr/lib libraries lapack_atlas not found in /usr/lib &lt;class 'numpy.distutils.system_info.atlas_3_10_info'&gt; NOT AVAILABLE atlas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries lapack_atlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries ptf77blas,ptcblas,atlas not found in /usr/lib libraries lapack_atlas not found in /usr/lib &lt;class 'numpy.distutils.system_info.atlas_threads_info'&gt; NOT AVAILABLE atlas_info: libraries f77blas,cblas,atlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries lapack_atlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries f77blas,cblas,atlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries f77blas,cblas,atlas not found in /usr/lib libraries lapack_atlas not found in /usr/lib &lt;class 'numpy.distutils.system_info.atlas_info'&gt; NOT AVAILABLE lapack_info: FOUND: libraries = ['lapack', 'lapack'] library_dirs = ['/usr/lib'] language = f77 blas_info: customize UnixCCompiler C compiler: gcc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC creating /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/var creating /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/var/folders creating /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/var/folders/49 creating /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn creating /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T creating /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y compile options: '-I/usr/local/include -I/usr/local/Cellar/pypy3/7.3.1_1/libexec/include -c' gcc: /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/source.c /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/source.c:1:10: fatal error: 'cblas.h' file not found #include &lt;cblas.h&gt; ^~~~~~~~~ 1 error generated. /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/source.c:1:10: fatal error: 'cblas.h' file not found #include &lt;cblas.h&gt; ^~~~~~~~~ 1 error generated. FOUND: libraries = ['blas', 'blas'] library_dirs = ['/usr/lib'] include_dirs = ['/usr/local/include', '/usr/local/Cellar/pypy3/7.3.1_1/libexec/include'] FOUND: define_macros = [('NO_ATLAS_INFO', 1)] libraries = ['lapack', 'lapack', 'blas', 'blas'] library_dirs = ['/usr/lib'] language = f77 include_dirs = ['/usr/local/include', '/usr/local/Cellar/pypy3/7.3.1_1/libexec/include'] non-existing path in 'scipy/interpolate': 'src/multipack.h' Splitting linalg.interpolative Fortran source files blas_opt_info: blas_mkl_info: libraries mkl_rt not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE blis_info: libraries blis not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE openblas_info: libraries openblas not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE atlas_3_10_blas_threads_info: Setting PTATLAS=ATLAS libraries tatlas not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE atlas_3_10_blas_info: libraries satlas not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE atlas_blas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE atlas_blas_info: libraries f77blas,cblas,atlas not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE FOUND: define_macros = [('NO_ATLAS_INFO', 1)] libraries = ['blas', 'blas'] library_dirs = ['/usr/lib'] include_dirs = ['/usr/local/include', '/usr/local/Cellar/pypy3/7.3.1_1/libexec/include'] /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/importlib/_bootstrap.py:228: UserWarning: builtins.type size changed, may indicate binary incompatibility. Expected 872, got 416 return f(*args, **kwds) [makenpz] scipy/special/tests/data/boost.npz not rebuilt /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/importlib/_bootstrap.py:228: UserWarning: builtins.type size changed, may indicate binary incompatibility. Expected 872, got 416 return f(*args, **kwds) [makenpz] scipy/special/tests/data/gsl.npz not rebuilt /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/importlib/_bootstrap.py:228: UserWarning: builtins.type size changed, may indicate binary incompatibility. Expected 872, got 416 return f(*args, **kwds) [makenpz] scipy/special/tests/data/local.npz not rebuilt non-existing path in 'scipy/signal/windows': 'tests' running bdist_wheel running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building py_modules sources building library &quot;mach&quot; sources building library &quot;quadpack&quot; sources building library &quot;lsoda&quot; sources building library &quot;vode&quot; sources building library &quot;dop&quot; sources building library &quot;fitpack&quot; sources building library &quot;fwrappers&quot; sources building library &quot;odrpack&quot; sources building library &quot;minpack&quot; sources building library &quot;rectangular_lsap&quot; sources building library &quot;rootfind&quot; sources building library &quot;superlu_src&quot; sources building library &quot;arpack_scipy&quot; sources building library &quot;sc_cephes&quot; sources building library &quot;sc_mach&quot; sources building library &quot;sc_amos&quot; sources building library &quot;sc_cdf&quot; sources building library &quot;sc_specfun&quot; sources building library &quot;statlib&quot; sources building extension &quot;scipy.cluster._vq&quot; sources building extension &quot;scipy.cluster._hierarchy&quot; sources building extension &quot;scipy.cluster._optimal_leaf_ordering&quot; sources building extension &quot;scipy.fft._pocketfft.pypocketfft&quot; sources building extension &quot;scipy.fftpack.convolve&quot; sources building extension &quot;scipy.integrate._quadpack&quot; sources building extension &quot;scipy.integrate._odepack&quot; sources building extension &quot;scipy.integrate.vode&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate' to include_dirs. building extension &quot;scipy.integrate.lsoda&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate' to include_dirs. building extension &quot;scipy.integrate._dop&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate' to include_dirs. building extension &quot;scipy.integrate._test_multivariate&quot; sources building extension &quot;scipy.integrate._test_odeint_banded&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate' to include_dirs. adding 'build/src.macosx-10.7-x86_64-3.6/scipy/integrate/_test_odeint_banded-f2pywrappers.f' to sources. building extension &quot;scipy.interpolate.interpnd&quot; sources building extension &quot;scipy.interpolate._ppoly&quot; sources building extension &quot;scipy.interpolate._bspl&quot; sources building extension &quot;scipy.interpolate._fitpack&quot; sources building extension &quot;scipy.interpolate.dfitpack&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/interpolate/src/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/interpolate/src' to include_dirs. adding 'build/src.macosx-10.7-x86_64-3.6/scipy/interpolate/src/dfitpack-f2pywrappers.f' to sources. building extension &quot;scipy.io._test_fortran&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/io/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/io' to include_dirs. building extension &quot;scipy.io.matlab.streams&quot; sources building extension &quot;scipy.io.matlab.mio_utils&quot; sources building extension &quot;scipy.io.matlab.mio5_utils&quot; sources building extension &quot;scipy.linalg._fblas&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg' to include_dirs. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg/_fblas-f2pywrappers.f' to sources. building extension &quot;scipy.linalg._flapack&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg' to include_dirs. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg/_flapack-f2pywrappers.f' to sources. building extension &quot;scipy.linalg._flinalg&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg' to include_dirs. building extension &quot;scipy.linalg._interpolative&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg' to include_dirs. building extension &quot;scipy.linalg._solve_toeplitz&quot; sources building extension &quot;scipy.linalg.cython_blas&quot; sources building extension &quot;scipy.linalg.cython_lapack&quot; sources building extension &quot;scipy.linalg._decomp_update&quot; sources building extension &quot;scipy.odr.__odrpack&quot; sources building extension &quot;scipy.optimize._minpack&quot; sources building extension &quot;scipy.optimize._lsap_module&quot; sources building extension &quot;scipy.optimize._zeros&quot; sources building extension &quot;scipy.optimize._lbfgsb&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/lbfgsb_src/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/lbfgsb_src' to include_dirs. building extension &quot;scipy.optimize.moduleTNC&quot; sources building extension &quot;scipy.optimize._cobyla&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/cobyla/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/cobyla' to include_dirs. building extension &quot;scipy.optimize.minpack2&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/minpack2/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/minpack2' to include_dirs. building extension &quot;scipy.optimize._slsqp&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/slsqp/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/slsqp' to include_dirs. building extension &quot;scipy.optimize._nnls&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/nnls/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/nnls' to include_dirs. building extension &quot;scipy.optimize._group_columns&quot; sources building extension &quot;scipy.optimize._bglu_dense&quot; sources building extension &quot;scipy.optimize._lsq.givens_elimination&quot; sources building extension &quot;scipy.optimize._trlib._trlib&quot; sources building extension &quot;scipy.optimize.cython_optimize._zeros&quot; sources building extension &quot;scipy.signal.sigtools&quot; sources building extension &quot;scipy.signal._spectral&quot; sources building extension &quot;scipy.signal._max_len_seq_inner&quot; sources building extension &quot;scipy.signal._peak_finding_utils&quot; sources building extension &quot;scipy.signal._sosfilt&quot; sources building extension &quot;scipy.signal._upfirdn_apply&quot; sources building extension &quot;scipy.signal.spline&quot; sources building extension &quot;scipy.sparse.linalg.isolve._iterative&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve/iterative/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve/iterative' to include_dirs. building extension &quot;scipy.sparse.linalg.dsolve._superlu&quot; sources building extension &quot;scipy.sparse.linalg.eigen.arpack._arpack&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/arpack/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/arpack' to include_dirs. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/arpack/_arpack-f2pywrappers.f' to sources. building extension &quot;scipy.sparse.csgraph._shortest_path&quot; sources building extension &quot;scipy.sparse.csgraph._traversal&quot; sources building extension &quot;scipy.sparse.csgraph._min_spanning_tree&quot; sources building extension &quot;scipy.sparse.csgraph._matching&quot; sources building extension &quot;scipy.sparse.csgraph._flow&quot; sources building extension &quot;scipy.sparse.csgraph._reordering&quot; sources building extension &quot;scipy.sparse.csgraph._tools&quot; sources building extension &quot;scipy.sparse._csparsetools&quot; sources building extension &quot;scipy.sparse._sparsetools&quot; sources [generate_sparsetools] 'scipy/sparse/sparsetools/bsr_impl.h' already up-to-date [generate_sparsetools] 'scipy/sparse/sparsetools/csr_impl.h' already up-to-date [generate_sparsetools] 'scipy/sparse/sparsetools/csc_impl.h' already up-to-date [generate_sparsetools] 'scipy/sparse/sparsetools/other_impl.h' already up-to-date [generate_sparsetools] 'scipy/sparse/sparsetools/sparsetools_impl.h' already up-to-date building extension &quot;scipy.spatial.qhull&quot; sources building extension &quot;scipy.spatial.ckdtree&quot; sources building extension &quot;scipy.spatial._distance_wrap&quot; sources building extension &quot;scipy.spatial._voronoi&quot; sources building extension &quot;scipy.spatial._hausdorff&quot; sources building extension &quot;scipy.special.specfun&quot; sources f2py options: ['--no-wrap-functions'] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/special/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/special' to include_dirs. building extension &quot;scipy.special._ufuncs&quot; sources building extension &quot;scipy.special._ufuncs_cxx&quot; sources building extension &quot;scipy.special._ellip_harm_2&quot; sources building extension &quot;scipy.special.cython_special&quot; sources building extension &quot;scipy.special._comb&quot; sources building extension &quot;scipy.special._test_round&quot; sources building extension &quot;scipy.stats.statlib&quot; sources f2py options: ['--no-wrap-functions'] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/stats/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/stats' to include_dirs. building extension &quot;scipy.stats._stats&quot; sources building extension &quot;scipy.stats.mvn&quot; sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/stats/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/stats' to include_dirs. adding 'build/src.macosx-10.7-x86_64-3.6/scipy/stats/mvn-f2pywrappers.f' to sources. building extension &quot;scipy.ndimage._nd_image&quot; sources building extension &quot;scipy.ndimage._ni_label&quot; sources building extension &quot;scipy.ndimage._ctest&quot; sources building extension &quot;scipy.ndimage._ctest_oldapi&quot; sources building extension &quot;scipy.ndimage._cytest&quot; sources building extension &quot;scipy._lib._ccallback_c&quot; sources building extension &quot;scipy._lib._test_ccallback&quot; sources building extension &quot;scipy._lib._fpumode&quot; sources building extension &quot;scipy._lib.messagestream&quot; sources customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using config C compiler: gcc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC compile options: '-I/usr/local/Cellar/pypy3/7.3.1_1/libexec/include -c' gcc: _configtest.c gcc -pthread -arch x86_64 _configtest.o -o _configtest success! removing: _configtest.c _configtest.o _configtest building extension &quot;scipy._lib._uarray._uarray&quot; sources building data_files sources build_src: building npy-pkg config files running build_py creating build/lib.macosx-10.7-x86_64-3.6 creating build/lib.macosx-10.7-x86_64-3.6/scipy copying scipy/conftest.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy copying scipy/version.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy copying scipy/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy copying scipy/_distributor_init.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy copying scipy/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy copying build/src.macosx-10.7-x86_64-3.6/scipy/__config__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy creating build/lib.macosx-10.7-x86_64-3.6/scipy/cluster copying scipy/cluster/vq.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/cluster copying scipy/cluster/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/cluster copying scipy/cluster/hierarchy.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/cluster copying scipy/cluster/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/cluster creating build/lib.macosx-10.7-x86_64-3.6/scipy/constants copying scipy/constants/constants.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/constants copying scipy/constants/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/constants copying scipy/constants/codata.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/constants copying scipy/constants/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/constants creating build/lib.macosx-10.7-x86_64-3.6/scipy/fft copying scipy/fft/_backend.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft copying scipy/fft/_helper.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft copying scipy/fft/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft copying scipy/fft/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft copying scipy/fft/_debug_backends.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft copying scipy/fft/_realtransforms.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft copying scipy/fft/_basic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft creating build/lib.macosx-10.7-x86_64-3.6/scipy/fft/_pocketfft copying scipy/fft/_pocketfft/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft/_pocketfft copying scipy/fft/_pocketfft/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft/_pocketfft copying scipy/fft/_pocketfft/realtransforms.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft/_pocketfft copying scipy/fft/_pocketfft/basic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft/_pocketfft copying scipy/fft/_pocketfft/helper.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft/_pocketfft creating build/lib.macosx-10.7-x86_64-3.6/scipy/fftpack copying scipy/fftpack/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fftpack copying scipy/fftpack/pseudo_diffs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fftpack copying scipy/fftpack/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fftpack copying scipy/fftpack/realtransforms.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fftpack copying scipy/fftpack/basic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fftpack copying scipy/fftpack/helper.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fftpack creating build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/_ode.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/quadrature.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/quadpack.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/_quad_vec.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/_bvp.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/odepack.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate creating build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/bdf.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/ivp.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/dop853_coefficients.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/common.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/radau.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/lsoda.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/rk.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/base.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp creating build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/_cubic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/polyint.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/ndgriddata.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/_bsplines.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/fitpack.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/rbf.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/interpnd_info.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/_pade.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/interpolate.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/_fitpack_impl.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/fitpack2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate creating build/lib.macosx-10.7-x86_64-3.6/scipy/io copying scipy/io/wavfile.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io copying scipy/io/idl.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io copying scipy/io/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io copying scipy/io/netcdf.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io copying scipy/io/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io copying scipy/io/_fortran.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io copying scipy/io/mmio.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io creating build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/miobase.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/mio5_params.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/byteordercodes.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/mio.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/mio4.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/mio5.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab creating build/lib.macosx-10.7-x86_64-3.6/scipy/io/arff copying scipy/io/arff/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/arff copying scipy/io/arff/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/arff copying scipy/io/arff/arffread.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/arff creating build/lib.macosx-10.7-x86_64-3.6/scipy/io/harwell_boeing copying scipy/io/harwell_boeing/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/harwell_boeing copying scipy/io/harwell_boeing/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/harwell_boeing copying scipy/io/harwell_boeing/_fortran_format_parser.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/harwell_boeing copying scipy/io/harwell_boeing/hb.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/harwell_boeing creating build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/decomp_qr.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_matfuncs_inv_ssq.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/misc.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_sketches.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/decomp_cholesky.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_testutils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/decomp_lu.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/decomp_svd.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_procrustes.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_matfuncs_sqrtm.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/matfuncs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_generate_pyx.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_solvers.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_interpolative_backend.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/flinalg.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/basic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_decomp_polar.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/decomp.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/interpolative.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/blas.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_cython_signature_generator.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/special_matrices.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_decomp_ldl.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/decomp_schur.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_decomp_qz.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_expm_frechet.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/linalg_version.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/lapack.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg creating build/lib.macosx-10.7-x86_64-3.6/scipy/misc copying scipy/misc/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/misc copying scipy/misc/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/misc copying scipy/misc/common.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/misc copying scipy/misc/doccer.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/misc creating build/lib.macosx-10.7-x86_64-3.6/scipy/odr copying scipy/odr/models.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/odr copying scipy/odr/add_newdocs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/odr copying scipy/odr/odrpack.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/odr copying scipy/odr/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/odr copying scipy/odr/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/odr creating build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/tnc.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_lsap.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/optimize.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_linprog_ip.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/linesearch.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/nonlin.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_linprog_rs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_root.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/lbfgsb.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/zeros.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_shgo.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_linprog_simplex.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/slsqp.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_trustregion_ncg.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_minimize.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/minpack.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/nnls.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_basinhopping.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_linprog.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_hessian_update_strategy.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/cobyla.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_tstutils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_spectral.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_differentiable_functions.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_trustregion_krylov.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_trustregion.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_linprog_util.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_dual_annealing.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_root_scalar.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_trustregion_dogleg.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_trustregion_exact.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_constraints.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_differentialevolution.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_remove_redundancy.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_numdiff.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize creating build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/least_squares.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/dogbox.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/trf_linear.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/common.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/lsq_linear.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/bvls.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/trf.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq creating build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trlib copying scipy/optimize/_trlib/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trlib copying scipy/optimize/_trlib/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trlib creating build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/equality_constrained_sqp.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/tr_interior_point.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/qp_subproblem.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/minimize_trustregion_constr.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/projections.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/report.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/canonical_constraint.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr creating build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/cython_optimize copying scipy/optimize/cython_optimize/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/cython_optimize creating build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_shgo_lib copying scipy/optimize/_shgo_lib/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_shgo_lib copying scipy/optimize/_shgo_lib/sobol_seq.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_shgo_lib copying scipy/optimize/_shgo_lib/triangulation.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_shgo_lib creating build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/waveforms.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/_savitzky_golay.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/signaltools.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/bsplines.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/_arraytools.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/_max_len_seq.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/wavelets.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/lti_conversion.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/_peak_finding.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/filter_design.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/spectral.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/_upfirdn.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/ltisys.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/fir_filter_design.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal creating build/lib.macosx-10.7-x86_64-3.6/scipy/signal/windows copying scipy/signal/windows/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal/windows copying scipy/signal/windows/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal/windows copying scipy/signal/windows/windows.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal/windows creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/csc.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/generate_sparsetools.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/sparsetools.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/dok.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/coo.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/compressed.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/dia.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/_index.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/spfuncs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/lil.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/sputils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/bsr.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/_matrix_io.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/csr.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/construct.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/extract.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/base.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/data.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg copying scipy/sparse/linalg/matfuncs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg copying scipy/sparse/linalg/interface.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg copying scipy/sparse/linalg/_expm_multiply.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg copying scipy/sparse/linalg/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg copying scipy/sparse/linalg/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg copying scipy/sparse/linalg/_norm.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg copying scipy/sparse/linalg/_onenormest.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/lsqr.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/iterative.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/utils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/_gcrotmk.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/minres.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/lsmr.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/lgmres.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/dsolve copying scipy/sparse/linalg/dsolve/_add_newdocs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/dsolve copying scipy/sparse/linalg/dsolve/linsolve.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/dsolve copying scipy/sparse/linalg/dsolve/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/dsolve copying scipy/sparse/linalg/dsolve/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/dsolve creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen copying scipy/sparse/linalg/eigen/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen copying scipy/sparse/linalg/eigen/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/arpack copying scipy/sparse/linalg/eigen/arpack/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/arpack copying scipy/sparse/linalg/eigen/arpack/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/arpack copying scipy/sparse/linalg/eigen/arpack/arpack.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/arpack creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/lobpcg copying scipy/sparse/linalg/eigen/lobpcg/lobpcg.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/lobpcg copying scipy/sparse/linalg/eigen/lobpcg/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/lobpcg copying scipy/sparse/linalg/eigen/lobpcg/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/lobpcg creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/csgraph copying scipy/sparse/csgraph/_laplacian.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/csgraph copying scipy/sparse/csgraph/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/csgraph copying scipy/sparse/csgraph/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/csgraph copying scipy/sparse/csgraph/_validation.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/csgraph creating build/lib.macosx-10.7-x86_64-3.6/scipy/spatial copying scipy/spatial/_spherical_voronoi.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial copying scipy/spatial/_procrustes.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial copying scipy/spatial/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial copying scipy/spatial/distance.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial copying scipy/spatial/kdtree.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial copying scipy/spatial/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial copying scipy/spatial/_plotutils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial creating build/lib.macosx-10.7-x86_64-3.6/scipy/spatial/transform copying scipy/spatial/transform/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial/transform copying scipy/spatial/transform/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial/transform copying scipy/spatial/transform/_rotation_spline.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial/transform copying scipy/spatial/transform/rotation.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial/transform copying scipy/spatial/transform/_rotation_groups.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial/transform creating build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/spfun_stats.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/_testutils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/sf_error.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/add_newdocs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/_spherical_bessel.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/_mptestutils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/_ellip_harm.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/_generate_pyx.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/basic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/lambertw.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/orthogonal.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/_basic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/_logsumexp.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special creating build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/expn_asy.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/zetac.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/struve_convergence.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/loggamma.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/gammainc_asy.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/wrightomega.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/gammainc_data.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/utils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/lambertw.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute creating build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_multivariate.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_constants.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_binned_statistic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_distr_params.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_tukeylambda_stats.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_rvs_sampling.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_stats_mstats_common.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/kde.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/mstats_extras.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_discrete_distns.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/distributions.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_hypotests.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/mstats.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_distn_infrastructure.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/stats.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_continuous_distns.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/morestats.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/mstats_basic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/contingency.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/vonmises.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats creating build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/_ni_support.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/interpolation.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/_ni_docstrings.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/morphology.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/fourier.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/filters.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/measurements.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage creating build/lib.macosx-10.7-x86_64-3.6/scipy/_build_utils copying scipy/_build_utils/system_info.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_build_utils copying scipy/_build_utils/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_build_utils copying scipy/_build_utils/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_build_utils copying scipy/_build_utils/_fortran.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_build_utils copying scipy/_build_utils/compiler_helper.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_build_utils creating build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/uarray.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_testutils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_pep440.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_version.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/deprecation.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/decorator.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_ccallback.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_threadsafety.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_tmpdirs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_numpy_compat.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_util.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/six.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_gcutils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/doccer.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib creating build/lib.macosx-10.7-x86_64-3.6/scipy/_lib/_uarray copying scipy/_lib/_uarray/_backend.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib/_uarray copying scipy/_lib/_uarray/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib/_uarray copying scipy/_lib/_uarray/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib/_uarray running build_clib customize UnixCCompiler customize UnixCCompiler using build_clib customize Gnu95FCompiler customize Gnu95FCompiler customize Gnu95FCompiler using build_clib building 'mach' library using additional config_fc from setup script for fortran compiler: {'noopt': ('scipy/integrate/setup.py', 1)} customize Gnu95FCompiler compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC creating build/temp.macosx-10.7-x86_64-3.6 creating build/temp.macosx-10.7-x86_64-3.6/scipy creating build/temp.macosx-10.7-x86_64-3.6/scipy/integrate creating build/temp.macosx-10.7-x86_64-3.6/scipy/integrate/mach compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/integrate/mach/xerror.f scipy/integrate/mach/xerror.f:1:37: 1 | SUBROUTINE XERROR(MESS,NMESS,L1,L2) | 1 Warning: Unused dummy argument 'l1' at (1) [-Wunused-dummy-argument] scipy/integrate/mach/xerror.f:1:40: 1 | SUBROUTINE XERROR(MESS,NMESS,L1,L2) | 1 Warning: Unused dummy argument 'l2' at (1) [-Wunused-dummy-argument] gfortran:f77: scipy/integrate/mach/d1mach.f ar: adding 2 object files to build/temp.macosx-10.7-x86_64-3.6/libmach.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libmach.a building 'quadpack' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops creating build/temp.macosx-10.7-x86_64-3.6/scipy/integrate/quadpack compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/integrate/quadpack/dqcheb.f gfortran:f77: scipy/integrate/quadpack/dqawse.f gfortran:f77: scipy/integrate/quadpack/dqk41.f gfortran:f77: scipy/integrate/quadpack/dqawoe.f scipy/integrate/quadpack/dqawoe.f:449:0: 449 | 70 if(ierro.eq.3.or.erlarg.le.ertest) go to 90 | Warning: 'ertest' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqawoe.f:428:0: 428 | erlarg = erlarg-erlast | Warning: 'erlarg' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqawoe.f:505:0: 505 | if(ierro.eq.3) abserr = abserr+correc | Warning: 'correc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/quadpack/dqc25f.f scipy/integrate/quadpack/dqc25f.f:103:0: 103 | integer i,iers,integr,isym,j,k,ksave,m,momcom,neval,maxp1, | Warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/quadpack/dqwgts.f gfortran:f77: scipy/integrate/quadpack/dqk51.f gfortran:f77: scipy/integrate/quadpack/dqagse.f scipy/integrate/quadpack/dqagse.f:404:0: 404 | small = small*0.5d+00 | Warning: 'small' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqagse.f:363:0: 363 | 40 if(ierro.eq.3.or.erlarg.le.ertest) go to 60 | Warning: 'ertest' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqagse.f:353:0: 353 | erlarg = erlarg-erlast | Warning: 'erlarg' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqagse.f:418:0: 418 | if(ierro.eq.3) abserr = abserr+correc | Warning: 'correc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/quadpack/dqng.f scipy/integrate/quadpack/dqng.f:365:0: 365 | * abserr = resasc*dmin1(0.1d+01,(0.2d+03*abserr/resasc)**1.5d+00) | Warning: 'resasc' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqng.f:367:0: 367 | * ((epmach*0.5d+02)*resabs,abserr) | Warning: 'resabs' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqng.f:363:0: 363 | abserr = dabs((res87-res43)*hlgth) | Warning: 'res43' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/quadpack/dqawf.f gfortran:f77: scipy/integrate/quadpack/dqk15.f gfortran:f77: scipy/integrate/quadpack/dqmomo.f scipy/integrate/quadpack/dqmomo.f:126:5: 126 | 90 return | 1 Warning: Label 90 at (1) defined but not used [-Wunused-label] gfortran:f77: scipy/integrate/quadpack/dqelg.f gfortran:f77: scipy/integrate/quadpack/dqag.f gfortran:f77: scipy/integrate/quadpack/dqaws.f gfortran:f77: scipy/integrate/quadpack/dqk15i.f gfortran:f77: scipy/integrate/quadpack/dqawo.f gfortran:f77: scipy/integrate/quadpack/dqwgtf.f scipy/integrate/quadpack/dqwgtf.f:1:49: 1 | double precision function dqwgtf(x,omega,p2,p3,p4,integr) | 1 Warning: Unused dummy argument 'p2' at (1) [-Wunused-dummy-argument] scipy/integrate/quadpack/dqwgtf.f:1:52: 1 | double precision function dqwgtf(x,omega,p2,p3,p4,integr) | 1 Warning: Unused dummy argument 'p3' at (1) [-Wunused-dummy-argument] scipy/integrate/quadpack/dqwgtf.f:1:55: 1 | double precision function dqwgtf(x,omega,p2,p3,p4,integr) | 1 Warning: Unused dummy argument 'p4' at (1) [-Wunused-dummy-argument] gfortran:f77: scipy/integrate/quadpack/dqc25s.f gfortran:f77: scipy/integrate/quadpack/dqagi.f gfortran:f77: scipy/integrate/quadpack/dqagp.f gfortran:f77: scipy/integrate/quadpack/dqawce.f gfortran:f77: scipy/integrate/quadpack/dqawfe.f scipy/integrate/quadpack/dqawfe.f:267:10: 267 | 10 l = dabs(omega) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/integrate/quadpack/dqawfe.f:358:0: 358 | if(ier.ge.1.and.ier.ne.7) abserr = abserr+drl | Warning: 'drl' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqawfe.f:316:0: 316 | 20 psum(numrl2) = psum(ll)+rslst(lst) | Warning: 'll' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/quadpack/dqwgtc.f scipy/integrate/quadpack/dqwgtc.f:1:54: 1 | double precision function dqwgtc(x,c,p2,p3,p4,kp) | 1 Warning: Unused dummy argument 'kp' at (1) [-Wunused-dummy-argument] scipy/integrate/quadpack/dqwgtc.f:1:45: 1 | double precision function dqwgtc(x,c,p2,p3,p4,kp) | 1 Warning: Unused dummy argument 'p2' at (1) [-Wunused-dummy-argument] scipy/integrate/quadpack/dqwgtc.f:1:48: 1 | double precision function dqwgtc(x,c,p2,p3,p4,kp) | 1 Warning: Unused dummy argument 'p3' at (1) [-Wunused-dummy-argument] scipy/integrate/quadpack/dqwgtc.f:1:51: 1 | double precision function dqwgtc(x,c,p2,p3,p4,kp) | 1 Warning: Unused dummy argument 'p4' at (1) [-Wunused-dummy-argument] gfortran:f77: scipy/integrate/quadpack/dqk61.f gfortran:f77: scipy/integrate/quadpack/dqagpe.f scipy/integrate/quadpack/dqagpe.f:297:72: 297 | do 20 j = ip1,nintp1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1) scipy/integrate/quadpack/dqagpe.f:524:0: 524 | if(ierro.eq.3) abserr = abserr+correc | Warning: 'correc' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqagpe.f:350:0: 350 | iord(k) = iord(i) | Warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/quadpack/dqags.f gfortran:f77: scipy/integrate/quadpack/dqc25c.f gfortran:f77: scipy/integrate/quadpack/dqk21.f gfortran:f77: scipy/integrate/quadpack/dqk31.f gfortran:f77: scipy/integrate/quadpack/dqk15w.f gfortran:f77: scipy/integrate/quadpack/dqpsrt.f gfortran:f77: scipy/integrate/quadpack/dqawc.f gfortran:f77: scipy/integrate/quadpack/dqage.f gfortran:f77: scipy/integrate/quadpack/dqagie.f scipy/integrate/quadpack/dqagie.f:411:0: 411 | small = small*0.5d+00 | Warning: 'small' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqagie.f:372:0: 372 | 40 if(ierro.eq.3.or.erlarg.le.ertest) go to 60 | Warning: 'ertest' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqagie.f:362:0: 362 | erlarg = erlarg-erlast | Warning: 'erlarg' may be used uninitialized in this function [-Wmaybe-uninitialized] ar: adding 35 object files to build/temp.macosx-10.7-x86_64-3.6/libquadpack.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libquadpack.a building 'lsoda' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops creating build/temp.macosx-10.7-x86_64-3.6/scipy/integrate/odepack compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/integrate/odepack/blkdta000.f gfortran:f77: scipy/integrate/odepack/bnorm.f scipy/integrate/odepack/bnorm.f:24:72: 24 | 10 sum = sum + dabs(a(i1-j,j))/w(j) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) gfortran:f77: scipy/integrate/odepack/cfode.f scipy/integrate/odepack/cfode.f:62:72: 62 | 110 pc(i) = pc(i-1) + fnqm1*pc(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/cfode.f:71:72: 71 | 120 xpin = xpin + tsign*pc(i)/dfloat(i+1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/cfode.f:76:72: 76 | 130 elco(i+1,nq) = rq1fac*pc(i)/dfloat(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 130 at (1) scipy/integrate/odepack/cfode.f:99:72: 99 | 210 pc(i) = pc(i-1) + fnq*pc(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/cfode.f:103:72: 103 | 220 elco(i,nq) = pc(i)/pc(2) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) gfortran:f77: scipy/integrate/odepack/ewset.f scipy/integrate/odepack/ewset.f:17:72: 17 | 15 ewt(i) = rtol(1)*dabs(ycur(i)) + atol(1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/odepack/ewset.f:21:72: 21 | 25 ewt(i) = rtol(1)*dabs(ycur(i)) + atol(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/odepack/ewset.f:25:72: 25 | 35 ewt(i) = rtol(i)*dabs(ycur(i)) + atol(1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 35 at (1) scipy/integrate/odepack/ewset.f:29:72: 29 | 45 ewt(i) = rtol(i)*dabs(ycur(i)) + atol(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 45 at (1) gfortran:f77: scipy/integrate/odepack/fnorm.f scipy/integrate/odepack/fnorm.f:16:72: 16 | 10 sum = sum + dabs(a(i,j))/w(j) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) gfortran:f77: scipy/integrate/odepack/intdy.f scipy/integrate/odepack/intdy.f:48:72: 48 | 10 ic = ic*jj | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/intdy.f:51:72: 51 | 20 dky(i) = c*yh(i,l) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1) scipy/integrate/odepack/intdy.f:61:72: 61 | 30 ic = ic*jj | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1) scipy/integrate/odepack/intdy.f:64:72: 64 | 40 dky(i) = c*yh(i,jp1) + s*dky(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 40 at (1) scipy/integrate/odepack/intdy.f:69:72: 69 | 60 dky(i) = r*dky(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 60 at (1) gfortran:f77: scipy/integrate/odepack/lsoda.f scipy/integrate/odepack/lsoda.f:1178:72: 1178 | 95 rwork(i) = 0.0d0 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 95 at (1) scipy/integrate/odepack/lsoda.f:1219:72: 1219 | 115 rwork(i+lyh-1) = y(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 115 at (1) scipy/integrate/odepack/lsoda.f:1226:72: 1226 | 120 rwork(i+lewt-1) = 1.0d0/rwork(i+lewt-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/lsoda.f:1253:72: 1253 | 130 tol = dmax1(tol,rtol(i)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 130 at (1) scipy/integrate/odepack/lsoda.f:1274:72: 1274 | 190 rwork(i+lf0-1) = h0*rwork(i+lf0-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 190 at (1) scipy/integrate/odepack/lsoda.f:1330:72: 1330 | 260 rwork(i+lewt-1) = 1.0d0/rwork(i+lewt-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 260 at (1) scipy/integrate/odepack/lsoda.f:1425:72: 1425 | 410 y(i) = rwork(i+lyh-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 410 at (1) scipy/integrate/odepack/lsoda.f:1521:72: 1521 | 590 y(i) = rwork(i+lyh-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 590 at (1) scipy/integrate/odepack/lsoda.f:1428:0: 1428 | if (ihit) t = tcrit | Warning: 'ihit' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/odepack/lsoda.f:1112:0: 1112 | len1s = len1s + lenwm | Warning: 'lenwm' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/odepack/prja.f scipy/integrate/odepack/prja.f:69:72: 69 | 110 wm(i+2) = 0.0d0 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/prja.f:77:72: 77 | 120 wm(i+2) = wm(i+2)*con | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/prja.f:96:72: 96 | 220 wm(i+j1) = (ftem(i) - savf(i))*fac | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) scipy/integrate/odepack/prja.f:109:72: 109 | 250 j = j + np1 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 250 at (1) scipy/integrate/odepack/prja.f:126:72: 126 | 410 wm(i+2) = 0.0d0 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 410 at (1) scipy/integrate/odepack/prja.f:134:72: 134 | 420 wm(i+2) = wm(i+2)*con | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 420 at (1) scipy/integrate/odepack/prja.f:151:72: 151 | 530 y(i) = y(i) + r | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 530 at (1) scipy/integrate/odepack/prja.f:166:72: 166 | 540 wm(ii+i) = (ftem(i) - savf(i))*fac | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 540 at (1) scipy/integrate/odepack/prja.f:177:72: 177 | 580 ii = ii + meband | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 580 at (1) gfortran:f77: scipy/integrate/odepack/solsy.f scipy/integrate/odepack/solsy.f:57:72: 57 | 320 wm(i+2) = 1.0d0/di | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 320 at (1) scipy/integrate/odepack/solsy.f:59:72: 59 | 340 x(i) = wm(i+2)*x(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 340 at (1) scipy/integrate/odepack/solsy.f:1:39: 1 | subroutine solsy (wm, iwm, x, tem) | 1 Warning: Unused dummy argument 'tem' at (1) [-Wunused-dummy-argument] gfortran:f77: scipy/integrate/odepack/srcma.f scipy/integrate/odepack/srcma.f:27:72: 27 | 10 rsav(i) = rls(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/srcma.f:29:72: 29 | 15 rsav(lenrls+i) = rlsa(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/odepack/srcma.f:32:72: 32 | 20 isav(i) = ils(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1) scipy/integrate/odepack/srcma.f:34:72: 34 | 25 isav(lenils+i) = ilsa(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/odepack/srcma.f:42:72: 42 | 110 rls(i) = rsav(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/srcma.f:44:72: 44 | 115 rlsa(i) = rsav(lenrls+i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 115 at (1) scipy/integrate/odepack/srcma.f:47:72: 47 | 120 ils(i) = isav(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/srcma.f:49:72: 49 | 125 ilsa(i) = isav(lenils+i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 125 at (1) gfortran:f77: scipy/integrate/odepack/stoda.f scipy/integrate/odepack/stoda.f:155:72: 155 | 10 cm2(i) = tesco(2,i)*elco(i+1,i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/stoda.f:158:72: 158 | 20 cm1(i) = tesco(2,i)*elco(i+1,i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1) scipy/integrate/odepack/stoda.f:183:72: 183 | 155 el(i) = elco(i,nq) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 155 at (1) scipy/integrate/odepack/stoda.f:218:72: 218 | do 180 i = 1,n | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 180 at (1) scipy/integrate/odepack/stoda.f:219:72: 219 | 180 yh(i,j) = yh(i,j)*r | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 180 at (1) scipy/integrate/odepack/stoda.f:240:72: 240 | 210 yh1(i) = yh1(i) + yh1(i+nyh) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/stoda.f:253:72: 253 | 230 y(i) = yh(i,1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 230 at (1) scipy/integrate/odepack/stoda.f:275:72: 275 | 260 acor(i) = 0.0d0 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 260 at (1) scipy/integrate/odepack/stoda.f:283:72: 283 | 290 y(i) = savf(i) - acor(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 290 at (1) scipy/integrate/odepack/stoda.f:287:72: 287 | 300 acor(i) = savf(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 300 at (1) scipy/integrate/odepack/stoda.f:295:72: 295 | 360 y(i) = h*savf(i) - (yh(i,2) + acor(i)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 360 at (1) scipy/integrate/odepack/stoda.f:302:72: 302 | 380 y(i) = yh(i,1) + el(1)*acor(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 380 at (1) scipy/integrate/odepack/stoda.f:360:72: 360 | 440 yh1(i) = yh1(i) - yh1(i+nyh) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 440 at (1) scipy/integrate/odepack/stoda.f:399:72: 399 | do 460 i = 1,n | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 460 at (1) scipy/integrate/odepack/stoda.f:400:72: 400 | 460 yh(i,j) = yh(i,j) + el(j)*acor(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 460 at (1) scipy/integrate/odepack/stoda.f:508:72: 508 | 490 yh(i,lmax) = acor(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 490 at (1) scipy/integrate/odepack/stoda.f:524:72: 524 | 510 yh1(i) = yh1(i) - yh1(i+nyh) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 510 at (1) scipy/integrate/odepack/stoda.f:544:72: 544 | 530 savf(i) = acor(i) - yh(i,lmax) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 530 at (1) scipy/integrate/odepack/stoda.f:578:72: 578 | 600 yh(i,newq+1) = acor(i)*r | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 600 at (1) scipy/integrate/odepack/stoda.f:611:72: 611 | 645 y(i) = yh(i,1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 645 at (1) scipy/integrate/odepack/stoda.f:619:72: 619 | 650 yh(i,2) = h*savf(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 650 at (1) scipy/integrate/odepack/stoda.f:640:72: 640 | 710 acor(i) = acor(i)*r | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 710 at (1) gfortran:f77: scipy/integrate/odepack/vmnorm.f scipy/integrate/odepack/vmnorm.f:14:72: 14 | 10 vm = dmax1(vm,dabs(v(i))*w(i)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) gfortran:f77: scipy/integrate/odepack/xerrwv.f scipy/integrate/odepack/xerrwv.f:1:40: 1 | subroutine xerrwv (msg, nmes, nerr, level, ni, i1, i2, nr, r1, r2) | 1 Warning: Unused dummy argument 'nerr' at (1) [-Wunused-dummy-argument] gfortran:f77: scipy/integrate/odepack/xsetf.f gfortran:f77: scipy/integrate/odepack/xsetun.f ar: adding 15 object files to build/temp.macosx-10.7-x86_64-3.6/liblsoda.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/liblsoda.a building 'vode' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/integrate/odepack/vode.f scipy/integrate/odepack/vode.f:1347:72: 1347 | 120 RWORK(I+LEWT-1) = ONE/RWORK(I+LEWT-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/vode.f:1412:72: 1412 | 260 RWORK(I+LEWT-1) = ONE/RWORK(I+LEWT-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 260 at (1) scipy/integrate/odepack/vode.f:1776:72: 1776 | 60 Y(I) = Y0(I) + H*YDOT(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 60 at (1) scipy/integrate/odepack/vode.f:1779:72: 1779 | 70 TEMP(I) = (TEMP(I) - YDOT(I))/H | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 70 at (1) scipy/integrate/odepack/vode.f:1906:72: 1906 | 10 IC = IC*JJ | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/vode.f:1909:72: 1909 | 20 DKY(I) = C*YH(I,L) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1) scipy/integrate/odepack/vode.f:1919:72: 1919 | 30 IC = IC*JJ | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1) scipy/integrate/odepack/vode.f:1922:72: 1922 | 40 DKY(I) = C*YH(I,JP1) + S*DKY(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 40 at (1) scipy/integrate/odepack/vode.f:2134:72: 2134 | 110 YH1(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/vode.f:2181:72: 2181 | 210 YH1(I) = YH1(I) + YH1(I+LDYH) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/vode.f:2208:72: 2208 | 420 YH1(I) = YH1(I) - YH1(I+LDYH) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 420 at (1) scipy/integrate/odepack/vode.f:2236:72: 2236 | 470 TAU(I+1) = TAU(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 470 at (1) scipy/integrate/odepack/vode.f:2267:72: 2267 | 510 YH1(I) = YH1(I) - YH1(I+LDYH) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 510 at (1) scipy/integrate/odepack/vode.f:2301:72: 2301 | 550 YH(I,2) = H*SAVF(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 550 at (1) scipy/integrate/odepack/vode.f:2329:72: 2329 | 575 SAVF(I) = ACOR(I) - CNQUOT*YH(I,LMAX) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 575 at (1) scipy/integrate/odepack/vode.f:2479:72: 2479 | 115 EM(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 115 at (1) scipy/integrate/odepack/vode.f:2486:72: 2486 | 120 S = -S | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/vode.f:2491:72: 2491 | 140 EM(I) = EM(I) + EM(I-1)*RXI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 140 at (1) scipy/integrate/odepack/vode.f:2502:72: 2502 | 160 S = -S | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 160 at (1) scipy/integrate/odepack/vode.f:2507:72: 2507 | 170 EL(I+1) = S*EM(I)/REAL(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 170 at (1) scipy/integrate/odepack/vode.f:2516:72: 2516 | 180 EM(I) = EM(I) + EM(I-1)*RXI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 180 at (1) scipy/integrate/odepack/vode.f:2522:72: 2522 | 190 S = -S | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 190 at (1) scipy/integrate/odepack/vode.f:2528:72: 2528 | 210 EL(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/vode.f:2545:72: 2545 | 220 EL(I) = EL(I) + EL(I-1)*RXI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) scipy/integrate/odepack/vode.f:2554:72: 2554 | 235 EL(I) = EL(I) + EL(I-1)*RXIS | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 235 at (1) scipy/integrate/odepack/vode.f:2644:72: 2644 | 110 EL(J) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/vode.f:2654:72: 2654 | 120 EL(I) = EL(I)*XI + EL(I-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/vode.f:2658:72: 2658 | 140 EL(J+1) = REAL(NQ)*EL(J)/REAL(J) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 140 at (1) scipy/integrate/odepack/vode.f:2662:72: 2662 | 160 YH(I,J) = YH(I,J) - YH(I,L)*EL(J) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 160 at (1) scipy/integrate/odepack/vode.f:2670:72: 2670 | 190 YH(I,LP1) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 190 at (1) scipy/integrate/odepack/vode.f:2680:72: 2680 | 210 EL(J) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/vode.f:2690:72: 2690 | 220 EL(I) = EL(I)*XI + EL(I-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) scipy/integrate/odepack/vode.f:2695:72: 2695 | 240 YH(I,J) = YH(I,J) - YH(I,L)*EL(J) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 240 at (1) scipy/integrate/odepack/vode.f:2700:72: 2700 | 310 EL(J) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 310 at (1) scipy/integrate/odepack/vode.f:2718:72: 2718 | 320 EL(I) = EL(I)*XIOLD + EL(I-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 320 at (1) scipy/integrate/odepack/vode.f:2726:72: 2726 | 350 YH(I,LP1) = T1*YH(I,LMAX) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 350 at (1) scipy/integrate/odepack/vode.f:2894:72: 2894 | 260 ACOR(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 260 at (1) scipy/integrate/odepack/vode.f:2902:72: 2902 | 280 SAVF(I) = RL1*(H*SAVF(I) - YH(I,2)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 280 at (1) scipy/integrate/odepack/vode.f:2904:72: 2904 | 290 Y(I) = SAVF(I) - ACOR(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 290 at (1) scipy/integrate/odepack/vode.f:2907:72: 2907 | 300 Y(I) = YH(I,1) + SAVF(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 300 at (1) scipy/integrate/odepack/vode.f:2917:72: 2917 | 360 Y(I) = (RL1*H)*SAVF(I) - (RL1*YH(I,2) + ACOR(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 360 at (1) scipy/integrate/odepack/vode.f:2928:72: 2928 | 380 Y(I) = YH(I,1) + ACOR(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 380 at (1) scipy/integrate/odepack/vode.f:3091:72: 3091 | 110 WM(I+2) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/vode.f:3113:72: 3113 | 220 WM(I+J1) = (FTEM(I) - SAVF(I))*FAC | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) scipy/integrate/odepack/vode.f:3136:72: 3136 | 250 J = J + NP1 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 250 at (1) scipy/integrate/odepack/vode.f:3153:72: 3153 | 310 Y(I) = Y(I) + R*(H*SAVF(I) - YH(I,2)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 310 at (1) scipy/integrate/odepack/vode.f:3184:72: 3184 | 410 WM(I+2) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 410 at (1) scipy/integrate/odepack/vode.f:3205:72: 3205 | 530 Y(I) = Y(I) + R | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 530 at (1) scipy/integrate/odepack/vode.f:3216:72: 3216 | 540 WM(II+I) = (FTEM(I) - SAVF(I))*FAC | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 540 at (1) scipy/integrate/odepack/vode.f:3235:72: 3235 | 580 II = II + MEBAND | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 580 at (1) scipy/integrate/odepack/vode.f:3355:72: 3355 | 320 WM(I+2) = ONE/DI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 320 at (1) scipy/integrate/odepack/vode.f:3358:72: 3358 | 340 X(I) = WM(I+2)*X(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 340 at (1) scipy/integrate/odepack/vode.f:3409:72: 3409 | 10 RSAV(I) = RVOD1(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/vode.f:3411:72: 3411 | 15 RSAV(LENRV1+I) = RVOD2(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/odepack/vode.f:3414:72: 3414 | 20 ISAV(I) = IVOD1(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1) scipy/integrate/odepack/vode.f:3416:72: 3416 | 25 ISAV(LENIV1+I) = IVOD2(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/odepack/vode.f:3422:72: 3422 | 110 RVOD1(I) = RSAV(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/vode.f:3424:72: 3424 | 115 RVOD2(I) = RSAV(LENRV1+I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 115 at (1) scipy/integrate/odepack/vode.f:3427:72: 3427 | 120 IVOD1(I) = ISAV(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/vode.f:3429:72: 3429 | 125 IVOD2(I) = ISAV(LENIV1+I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 125 at (1) scipy/integrate/odepack/vode.f:3456:72: 3456 | 15 EWT(I) = RTOL(1)*ABS(YCUR(I)) + ATOL(1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/odepack/vode.f:3460:72: 3460 | 25 EWT(I) = RTOL(1)*ABS(YCUR(I)) + ATOL(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/odepack/vode.f:3464:72: 3464 | 35 EWT(I) = RTOL(I)*ABS(YCUR(I)) + ATOL(1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 35 at (1) scipy/integrate/odepack/vode.f:3468:72: 3468 | 45 EWT(I) = RTOL(I)*ABS(YCUR(I)) + ATOL(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 45 at (1) scipy/integrate/odepack/vode.f:3494:72: 3494 | 10 SUM = SUM + (V(I)*W(I))**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/vode.f:2370:4: 2370 | 700 R = ONE/TQ(2) | 1 Warning: Label 700 at (1) defined but not used [-Wunused-label] scipy/integrate/odepack/vode.f:3519:40: 3519 | SUBROUTINE XERRWD (MSG, NMES, NERR, LEVEL, NI, I1, I2, NR, R1, R2) | 1 Warning: Unused dummy argument 'nerr' at (1) [-Wunused-dummy-argument] scipy/integrate/odepack/vode.f:3500:44: 3500 | DOUBLE PRECISION FUNCTION D1MACH (IDUM) | 1 Warning: Unused dummy argument 'idum' at (1) [-Wunused-dummy-argument] scipy/integrate/odepack/vode.f:2737:35: 2737 | 1 F, JAC, PDUM, NFLAG, RPAR, IPAR) | 1 Warning: Unused dummy argument 'pdum' at (1) [-Wunused-dummy-argument] scipy/integrate/odepack/vode.f:2736:42: 2736 | SUBROUTINE DVNLSD (Y, YH, LDYH, VSAV, SAVF, EWT, ACOR, IWM, WM, | 1 Warning: Unused dummy argument 'vsav' at (1) [-Wunused-dummy-argument] scipy/integrate/odepack/vode.f:3615:0: 3615 | INTEGER FUNCTION IXSAV (IPAR, IVALUE, ISET) | Warning: '__result_ixsav' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/odepack/vode.f:1487:0: 1487 | IF (IHIT) T = TCRIT | Warning: 'ihit' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/odepack/zvode.f scipy/integrate/odepack/zvode.f:1362:72: 1362 | 120 RWORK(I+LEWT-1) = ONE/RWORK(I+LEWT-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/zvode.f:1427:72: 1427 | 260 RWORK(I+LEWT-1) = ONE/RWORK(I+LEWT-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 260 at (1) scipy/integrate/odepack/zvode.f:1795:72: 1795 | 60 Y(I) = Y0(I) + H*YDOT(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 60 at (1) scipy/integrate/odepack/zvode.f:1798:72: 1798 | 70 TEMP(I) = (TEMP(I) - YDOT(I))/H | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 70 at (1) scipy/integrate/odepack/zvode.f:1926:72: 1926 | 10 IC = IC*JJ | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/zvode.f:1929:72: 1929 | 20 DKY(I) = C*YH(I,L) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1) scipy/integrate/odepack/zvode.f:1939:72: 1939 | 30 IC = IC*JJ | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1) scipy/integrate/odepack/zvode.f:1942:72: 1942 | 40 DKY(I) = C*YH(I,JP1) + S*DKY(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 40 at (1) scipy/integrate/odepack/zvode.f:2155:72: 2155 | 110 YH1(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/zvode.f:2202:72: 2202 | 210 YH1(I) = YH1(I) + YH1(I+LDYH) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/zvode.f:2229:72: 2229 | 420 YH1(I) = YH1(I) - YH1(I+LDYH) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 420 at (1) scipy/integrate/odepack/zvode.f:2257:72: 2257 | 470 TAU(I+1) = TAU(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 470 at (1) scipy/integrate/odepack/zvode.f:2288:72: 2288 | 510 YH1(I) = YH1(I) - YH1(I+LDYH) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 510 at (1) scipy/integrate/odepack/zvode.f:2322:72: 2322 | 550 YH(I,2) = H*SAVF(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 550 at (1) scipy/integrate/odepack/zvode.f:2350:72: 2350 | 575 SAVF(I) = ACOR(I) - CNQUOT*YH(I,LMAX) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 575 at (1) scipy/integrate/odepack/zvode.f:2500:72: 2500 | 115 EM(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 115 at (1) scipy/integrate/odepack/zvode.f:2507:72: 2507 | 120 S = -S | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/zvode.f:2512:72: 2512 | 140 EM(I) = EM(I) + EM(I-1)*RXI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 140 at (1) scipy/integrate/odepack/zvode.f:2523:72: 2523 | 160 S = -S | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 160 at (1) scipy/integrate/odepack/zvode.f:2528:72: 2528 | 170 EL(I+1) = S*EM(I)/REAL(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 170 at (1) scipy/integrate/odepack/zvode.f:2537:72: 2537 | 180 EM(I) = EM(I) + EM(I-1)*RXI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 180 at (1) scipy/integrate/odepack/zvode.f:2543:72: 2543 | 190 S = -S | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 190 at (1) scipy/integrate/odepack/zvode.f:2549:72: 2549 | 210 EL(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/zvode.f:2566:72: 2566 | 220 EL(I) = EL(I) + EL(I-1)*RXI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) scipy/integrate/odepack/zvode.f:2575:72: 2575 | 235 EL(I) = EL(I) + EL(I-1)*RXIS | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 235 at (1) scipy/integrate/odepack/zvode.f:2665:72: 2665 | 110 EL(J) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/zvode.f:2675:72: 2675 | 120 EL(I) = EL(I)*XI + EL(I-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/zvode.f:2679:72: 2679 | 140 EL(J+1) = REAL(NQ)*EL(J)/REAL(J) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 140 at (1) scipy/integrate/odepack/zvode.f:2683:72: 2683 | 160 YH(I,J) = YH(I,J) - YH(I,L)*EL(J) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 160 at (1) scipy/integrate/odepack/zvode.f:2691:72: 2691 | 190 YH(I,LP1) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 190 at (1) scipy/integrate/odepack/zvode.f:2701:72: 2701 | 210 EL(J) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/zvode.f:2711:72: 2711 | 220 EL(I) = EL(I)*XI + EL(I-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) scipy/integrate/odepack/zvode.f:2716:72: 2716 | 240 YH(I,J) = YH(I,J) - YH(I,L)*EL(J) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 240 at (1) scipy/integrate/odepack/zvode.f:2721:72: 2721 | 310 EL(J) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 310 at (1) scipy/integrate/odepack/zvode.f:2739:72: 2739 | 320 EL(I) = EL(I)*XIOLD + EL(I-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 320 at (1) scipy/integrate/odepack/zvode.f:2747:72: 2747 | 350 YH(I,LP1) = T1*YH(I,LMAX) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 350 at (1) scipy/integrate/odepack/zvode.f:2916:72: 2916 | 260 ACOR(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 260 at (1) scipy/integrate/odepack/zvode.f:2924:72: 2924 | 280 SAVF(I) = RL1*(H*SAVF(I) - YH(I,2)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 280 at (1) scipy/integrate/odepack/zvode.f:2926:72: 2926 | 290 Y(I) = SAVF(I) - ACOR(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 290 at (1) scipy/integrate/odepack/zvode.f:2929:72: 2929 | 300 Y(I) = YH(I,1) + SAVF(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 300 at (1) scipy/integrate/odepack/zvode.f:2939:72: 2939 | 360 Y(I) = (RL1*H)*SAVF(I) - (RL1*YH(I,2) + ACOR(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 360 at (1) scipy/integrate/odepack/zvode.f:2950:72: 2950 | 380 Y(I) = YH(I,1) + ACOR(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 380 at (1) scipy/integrate/odepack/zvode.f:3110:72: 3110 | 110 WM(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/zvode.f:3131:72: 3131 | 220 WM(I+J1) = (FTEM(I) - SAVF(I))*FAC | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) scipy/integrate/odepack/zvode.f:3154:72: 3154 | 250 J = J + NP1 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 250 at (1) scipy/integrate/odepack/zvode.f:3170:72: 3170 | 310 Y(I) = Y(I) + R*(H*SAVF(I) - YH(I,2)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 310 at (1) scipy/integrate/odepack/zvode.f:3201:72: 3201 | 410 WM(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 410 at (1) scipy/integrate/odepack/zvode.f:3221:72: 3221 | 530 Y(I) = Y(I) + R | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 530 at (1) scipy/integrate/odepack/zvode.f:3232:72: 3232 | 540 WM(II+I) = (FTEM(I) - SAVF(I))*FAC | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 540 at (1) scipy/integrate/odepack/zvode.f:3251:72: 3251 | 580 II = II + MEBAND | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 580 at (1) scipy/integrate/odepack/zvode.f:3367:72: 3367 | 320 WM(I) = ONE/DI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 320 at (1) scipy/integrate/odepack/zvode.f:3370:72: 3370 | 340 X(I) = WM(I)*X(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 340 at (1) scipy/integrate/odepack/zvode.f:3421:72: 3421 | 10 RSAV(I) = RVOD1(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/zvode.f:3423:72: 3423 | 15 RSAV(LENRV1+I) = RVOD2(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/odepack/zvode.f:3426:72: 3426 | 20 ISAV(I) = IVOD1(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1) scipy/integrate/odepack/zvode.f:3428:72: 3428 | 25 ISAV(LENIV1+I) = IVOD2(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/odepack/zvode.f:3434:72: 3434 | 110 RVOD1(I) = RSAV(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/zvode.f:3436:72: 3436 | 115 RVOD2(I) = RSAV(LENRV1+I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 115 at (1) scipy/integrate/odepack/zvode.f:3439:72: 3439 | 120 IVOD1(I) = ISAV(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/zvode.f:3441:72: 3441 | 125 IVOD2(I) = ISAV(LENIV1+I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 125 at (1) scipy/integrate/odepack/zvode.f:3475:72: 3475 | 15 EWT(I) = RTOL(1)*ABS(YCUR(I)) + ATOL(1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/odepack/zvode.f:3479:72: 3479 | 25 EWT(I) = RTOL(1)*ABS(YCUR(I)) + ATOL(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/odepack/zvode.f:3483:72: 3483 | 35 EWT(I) = RTOL(I)*ABS(YCUR(I)) + ATOL(1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 35 at (1) scipy/integrate/odepack/zvode.f:3487:72: 3487 | 45 EWT(I) = RTOL(I)*ABS(YCUR(I)) + ATOL(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 45 at (1) scipy/integrate/odepack/zvode.f:3519:72: 3519 | 10 SUM = SUM + ZABSSQ(V(I)) * W(I)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/zvode.f:2391:4: 2391 | 700 R = ONE/TQ(2) | 1 Warning: Label 700 at (1) defined but not used [-Wunused-label] scipy/integrate/odepack/zvode.f:2758:35: 2758 | 1 F, JAC, PDUM, NFLAG, RPAR, IPAR) | 1 Warning: Unused dummy argument 'pdum' at (1) [-Wunused-dummy-argument] scipy/integrate/odepack/zvode.f:2757:42: 2757 | SUBROUTINE ZVNLSD (Y, YH, LDYH, VSAV, SAVF, EWT, ACOR, IWM, WM, | 1 Warning: Unused dummy argument 'vsav' at (1) [-Wunused-dummy-argument] scipy/integrate/odepack/zvode.f:1502:0: 1502 | IF (IHIT) T = TCRIT | Warning: 'ihit' may be used uninitialized in this function [-Wmaybe-uninitialized] ar: adding 2 object files to build/temp.macosx-10.7-x86_64-3.6/libvode.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libvode.a building 'dop' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops creating build/temp.macosx-10.7-x86_64-3.6/scipy/integrate/dop compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/integrate/dop/dop853.f scipy/integrate/dop/dop853.f:590:72: 590 | 22 Y1(I)=Y(I)+H*A21*K1(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 22 at (1) scipy/integrate/dop/dop853.f:593:72: 593 | 23 Y1(I)=Y(I)+H*(A31*K1(I)+A32*K2(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 23 at (1) scipy/integrate/dop/dop853.f:596:72: 596 | 24 Y1(I)=Y(I)+H*(A41*K1(I)+A43*K3(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 24 at (1) scipy/integrate/dop/dop853.f:599:72: 599 | 25 Y1(I)=Y(I)+H*(A51*K1(I)+A53*K3(I)+A54*K4(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/dop/dop853.f:602:72: 602 | 26 Y1(I)=Y(I)+H*(A61*K1(I)+A64*K4(I)+A65*K5(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 26 at (1) scipy/integrate/dop/dop853.f:605:72: 605 | 27 Y1(I)=Y(I)+H*(A71*K1(I)+A74*K4(I)+A75*K5(I)+A76*K6(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 27 at (1) scipy/integrate/dop/dop853.f:608:72: 608 | 28 Y1(I)=Y(I)+H*(A81*K1(I)+A84*K4(I)+A85*K5(I)+A86*K6(I)+A87*K7(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 28 at (1) scipy/integrate/dop/dop853.f:612:72: 612 | &amp; +A98*K8(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 29 at (1) scipy/integrate/dop/dop853.f:616:72: 616 | &amp; +A107*K7(I)+A108*K8(I)+A109*K9(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1) scipy/integrate/dop/dop853.f:620:72: 620 | &amp; +A117*K7(I)+A118*K8(I)+A119*K9(I)+A1110*K10(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 31 at (1) scipy/integrate/dop/dop853.f:625:72: 625 | &amp; +A127*K7(I)+A128*K8(I)+A129*K9(I)+A1210*K10(I)+A1211*K2(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 32 at (1) scipy/integrate/dop/dop853.f:631:72: 631 | 35 K5(I)=Y(I)+H*K4(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 35 at (1) scipy/integrate/dop/dop853.f:642:72: 642 | 41 ERR=ERR+(ERRI/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 41 at (1) scipy/integrate/dop/dop853.f:650:72: 650 | 42 ERR=ERR+(ERRI/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 42 at (1) scipy/integrate/dop/dop853.f:714:72: 714 | &amp; +A1413*K4(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 51 at (1) scipy/integrate/dop/dop853.f:719:72: 719 | &amp; +A1514*K10(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 52 at (1) scipy/integrate/dop/dop853.f:724:72: 724 | &amp; +A1615*K2(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 53 at (1) scipy/integrate/dop/dop853.f:743:72: 743 | 67 Y(I)=K5(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 67 at (1) scipy/integrate/dop/dop853.f:811:72: 811 | 10 DNY=DNY+(Y(I)/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/dop/dop853.f:816:72: 816 | 11 DNY=DNY+(Y(I)/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 11 at (1) scipy/integrate/dop/dop853.f:827:72: 827 | 12 Y1(I)=Y(I)+H*F0(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 12 at (1) scipy/integrate/dop/dop853.f:834:72: 834 | 15 DER2=DER2+((F1(I)-F0(I))/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/dop/dop853.f:838:72: 838 | 16 DER2=DER2+((F1(I)-F0(I))/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 16 at (1) scipy/integrate/dop/dop853.f:364:42: 364 | &amp; SOLOUT,IOUT,IDID,NMAX,UROUND,METH,NSTIFF,SAFE,BETA,FAC1,FAC2, | 1 Warning: Unused dummy argument 'meth' at (1) [-Wunused-dummy-argument] scipy/integrate/dop/dop853.f:791:38: 791 | FUNCTION HINIT853(N,FCN,X,Y,XEND,POSNEG,F0,F1,Y1,IORD, | 1 Warning: Unused dummy argument 'xend' at (1) [-Wunused-dummy-argument] scipy/integrate/dop/dop853.f:686:0: 686 | NONSTI=NONSTI+1 | Warning: 'nonsti' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/dop/dopri5.f scipy/integrate/dop/dopri5.f:249:72: 249 | 16 IWORK(20+I)=I | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 16 at (1) scipy/integrate/dop/dopri5.f:422:72: 422 | 22 Y1(I)=Y(I)+H*A21*K1(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 22 at (1) scipy/integrate/dop/dopri5.f:425:72: 425 | 23 Y1(I)=Y(I)+H*(A31*K1(I)+A32*K2(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 23 at (1) scipy/integrate/dop/dopri5.f:428:72: 428 | 24 Y1(I)=Y(I)+H*(A41*K1(I)+A42*K2(I)+A43*K3(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 24 at (1) scipy/integrate/dop/dopri5.f:431:72: 431 | 25 Y1(I)=Y(I)+H*(A51*K1(I)+A52*K2(I)+A53*K3(I)+A54*K4(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/dop/dopri5.f:434:72: 434 | 26 YSTI(I)=Y(I)+H*(A61*K1(I)+A62*K2(I)+A63*K3(I)+A64*K4(I)+A65*K5(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 26 at (1) scipy/integrate/dop/dopri5.f:438:72: 438 | 27 Y1(I)=Y(I)+H*(A71*K1(I)+A73*K3(I)+A74*K4(I)+A75*K5(I)+A76*K6(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 27 at (1) scipy/integrate/dop/dopri5.f:448:72: 448 | 28 K4(I)=(E1*K1(I)+E3*K3(I)+E4*K4(I)+E5*K5(I)+E6*K6(I)+E7*K2(I))*H | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 28 at (1) scipy/integrate/dop/dopri5.f:455:72: 455 | 41 ERR=ERR+(K4(I)/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 41 at (1) scipy/integrate/dop/dopri5.f:459:72: 459 | 42 ERR=ERR+(K4(I)/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 42 at (1) scipy/integrate/dop/dopri5.f:509:72: 509 | 44 Y(I)=Y1(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 44 at (1) scipy/integrate/dop/dopri5.f:578:72: 578 | 10 DNY=DNY+(Y(I)/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/dop/dopri5.f:583:72: 583 | 11 DNY=DNY+(Y(I)/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 11 at (1) scipy/integrate/dop/dopri5.f:594:72: 594 | 12 Y1(I)=Y(I)+H*F0(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 12 at (1) scipy/integrate/dop/dopri5.f:601:72: 601 | 15 DER2=DER2+((F1(I)-F0(I))/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/dop/dopri5.f:605:72: 605 | 16 DER2=DER2+((F1(I)-F0(I))/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 16 at (1) scipy/integrate/dop/dopri5.f:558:35: 558 | FUNCTION HINIT(N,FCN,X,Y,XEND,POSNEG,F0,F1,Y1,IORD, | 1 Warning: Unused dummy argument 'xend' at (1) [-Wunused-dummy-argument] scipy/integrate/dop/dopri5.f:491:0: 491 | NONSTI=NONSTI+1 | Warning: 'nonsti' may be used uninitialized in this function [-Wmaybe-uninitialized] ar: adding 2 object files to build/temp.macosx-10.7-x86_64-3.6/libdop.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libdop.a building 'fitpack' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops creating build/temp.macosx-10.7-x86_64-3.6/scipy/interpolate creating build/temp.macosx-10.7-x86_64-3.6/scipy/interpolate/fitpack compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/interpolate/fitpack/fptrnp.f scipy/interpolate/fitpack/fptrnp.f:39:72: 39 | do 100 j=1,5 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1) scipy/interpolate/fitpack/fptrnp.f:70:72: 70 | do 400 jj=1,mm | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 400 at (1) scipy/interpolate/fitpack/fptrnp.f:87:72: 87 | do 500 jj=1,mm | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 500 at (1) scipy/interpolate/fitpack/fptrnp.f:53:0: 53 | h(j) = b(n1,j)*pinv | Warning: 'pinv' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fprank.f scipy/interpolate/fitpack/fprank.f:90:72: 90 | do 100 j=1,m | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1) gfortran:f77: scipy/interpolate/fitpack/fpbspl.f scipy/interpolate/fitpack/fpbspl.f:31:72: 31 | do 20 i=1,j | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1) gfortran:f77: scipy/interpolate/fitpack/pogrid.f gfortran:f77: scipy/interpolate/fitpack/fpback.f gfortran:f77: scipy/interpolate/fitpack/curev.f gfortran:f77: scipy/interpolate/fitpack/clocur.f gfortran:f77: scipy/interpolate/fitpack/pardeu.f gfortran:f77: scipy/interpolate/fitpack/fpseno.f gfortran:f77: scipy/interpolate/fitpack/fpfrno.f scipy/interpolate/fitpack/fpfrno.f:42:0: 42 | right(k) = count | Warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/profil.f gfortran:f77: scipy/interpolate/fitpack/fpbisp.f gfortran:f77: scipy/interpolate/fitpack/fppocu.f gfortran:f77: scipy/interpolate/fitpack/curfit.f gfortran:f77: scipy/interpolate/fitpack/fpcosp.f scipy/interpolate/fitpack/fpcosp.f:61:72: 61 | do 20 j=1,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1) scipy/interpolate/fitpack/fpcosp.f:91:72: 91 | do 60 j3 = j1,l | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 60 at (1) scipy/interpolate/fitpack/fpcosp.f:157:72: 157 | do 170 j=1,kdim | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 170 at (1) gfortran:f77: scipy/interpolate/fitpack/fprota.f gfortran:f77: scipy/interpolate/fitpack/sproot.f gfortran:f77: scipy/interpolate/fitpack/fpgrre.f scipy/interpolate/fitpack/fpgrre.f:115:72: 115 | do 140 j=1,kx2 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 140 at (1) scipy/interpolate/fitpack/fpgrre.f:185:72: 185 | do 290 j=1,ky2 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 290 at (1) scipy/interpolate/fitpack/fpgrre.f:199:0: 199 | h(j) = by(n1,j)*pinv | Warning: 'pinv' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/parder.f gfortran:f77: scipy/interpolate/fitpack/splder.f gfortran:f77: scipy/interpolate/fitpack/fpchep.f gfortran:f77: scipy/interpolate/fitpack/sphere.f gfortran:f77: scipy/interpolate/fitpack/surfit.f gfortran:f77: scipy/interpolate/fitpack/fppasu.f scipy/interpolate/fitpack/fppasu.f:272:33: 272 | if(reducu.gt.acc) npl1 = rn*fpms/reducu | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fppasu.f:279:33: 279 | if(reducv.gt.acc) npl1 = rn*fpms/reducv | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fppasu.f:336:0: 336 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppasu.f:308:0: 308 | if(nv.eq.nve) go to 250 | Warning: 'nve' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppasu.f:295:0: 295 | if(nu.eq.nue) go to 250 | Warning: 'nue' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppasu.f:251:0: 251 | if(nu.eq.nmaxu .and. nv.eq.nmaxv) go to 430 | Warning: 'nmaxv' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppasu.f:251:0: Warning: 'nmaxu' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppasu.f:367:0: 367 | if((f1-f2).gt.acc) go to 330 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppasu.f:230:0: 230 | tv(l2) = tv(l4)-perv | Warning: 'perv' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppasu.f:209:0: 209 | tu(l3) = tu(l1)+peru | Warning: 'peru' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fprati.f gfortran:f77: scipy/interpolate/fitpack/fpcons.f scipy/interpolate/fitpack/fpcons.f:131:72: 131 | do 80 j=1,k1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 80 at (1) scipy/interpolate/fitpack/fpcons.f:321:72: 321 | do 260 j=1,k1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 260 at (1) scipy/interpolate/fitpack/fpcons.f:224:35: 224 | if(fpold-fp.gt.acc) npl1 = rn*fpms/(fpold-fp) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpcons.f:225:0: 225 | nplus = min0(nplus*2,max0(npl1,nplus/2,1)) | Warning: 'nplus' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcons.f:264:0: 264 | if(n.eq.nmax) go to 25 | Warning: 'nmax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcons.f:383:0: 383 | if(u(it).lt.t(l) .or. l.gt.nk1) go to 310 | Warning: 'nk1' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcons.f:81:0: 81 | t(i) = u(j) | Warning: 'mm' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcons.f:12:0: 12 | real*8 acc,con1,con4,con9,cos,fac,fpart,fpms,fpold,fp0,f1,f2,f3, | Warning: 'fpold' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcons.f:301:0: 301 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcons.f:12:0: 12 | real*8 acc,con1,con4,con9,cos,fac,fpart,fpms,fpold,fp0,f1,f2,f3, | Warning: 'fp0' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcons.f:418:0: 418 | if((f1-f2).gt.acc) go to 345 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpspgr.f scipy/interpolate/fitpack/fpspgr.f:315:33: 315 | if(reducu.gt.acc) npl1 = rn*fpms/reducu | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpspgr.f:322:33: 322 | if(reducv.gt.acc) npl1 = rn*fpms/reducv | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpspgr.f:382:0: 382 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpspgr.f:414:0: 414 | if((f1-f2).gt.acc) go to 330 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpspgr.f:287:0: 287 | if(nu.eq.numax .and. nv.eq.nvmax) go to 430 | Warning: 'nvmax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpspgr.f:344:0: 344 | 230 if(nv.eq.nve) go to 210 | Warning: 'nve' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpspgr.f:287:0: 287 | if(nu.eq.numax .and. nv.eq.nvmax) go to 430 | Warning: 'numax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpspgr.f:341:0: 341 | if(nu.eq.nue) go to 270 | Warning: 'nue' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/splint.f gfortran:f77: scipy/interpolate/fitpack/concur.f gfortran:f77: scipy/interpolate/fitpack/fprpsp.f gfortran:f77: scipy/interpolate/fitpack/fpopdi.f gfortran:f77: scipy/interpolate/fitpack/spalde.f gfortran:f77: scipy/interpolate/fitpack/fppogr.f scipy/interpolate/fitpack/fppogr.f:286:33: 286 | if(reducu.gt.acc) npl1 = rn*fpms/reducu | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fppogr.f:293:33: 293 | if(reducv.gt.acc) npl1 = rn*fpms/reducv | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fppogr.f:353:0: 353 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppogr.f:385:0: 385 | if((f1-f2).gt.acc) go to 330 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppogr.f:260:0: 260 | if(nu.eq.numax .and. nv.eq.nvmax) go to 430 | Warning: 'nvmax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppogr.f:315:0: 315 | 230 if(nv.eq.nve) go to 210 | Warning: 'nve' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppogr.f:260:0: 260 | if(nu.eq.numax .and. nv.eq.nvmax) go to 430 | Warning: 'numax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppogr.f:312:0: 312 | if(nu.eq.nue) go to 270 | Warning: 'nue' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpperi.f scipy/interpolate/fitpack/fpperi.f:172:72: 172 | do 70 j=1,kk1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 70 at (1) scipy/interpolate/fitpack/fpperi.f:201:72: 201 | do 95 j=1,kk | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 95 at (1) scipy/interpolate/fitpack/fpperi.f:445:72: 445 | do 360 j=1,k | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 360 at (1) scipy/interpolate/fitpack/fpperi.f:339:35: 339 | if(fpold-fp.gt.acc) npl1 = rn*fpms/(fpold-fp) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpperi.f:340:0: 340 | nplus = min0(nplus*2,max0(npl1,nplus/2,1)) | Warning: 'nplus' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpperi.f:375:0: 375 | if(n.eq.nmax) go to 5 | Warning: 'nmax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpperi.f:468:0: 468 | if(l0.eq.n10) go to 400 | Warning: 'n10' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpperi.f:16:0: 16 | integer i,ich1,ich3,ij,ik,it,iter,i1,i2,i3,j,jk,jper,j1,j2,kk, | Warning: 'i1' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpperi.f:13:0: 13 | real*8 acc,cos,c1,d1,fpart,fpms,fpold,fp0,f1,f2,f3,p,per,pinv,piv, | Warning: 'fpold' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpperi.f:409:0: 409 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpperi.f:407:0: 407 | f1 = fp0-s | Warning: 'fp0' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpperi.f:574:0: 574 | if((f1-f2) .gt. acc) go to 585 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpsurf.f scipy/interpolate/fitpack/fpsurf.f:172:72: 172 | do 140 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 140 at (1) scipy/interpolate/fitpack/fpsurf.f:273:72: 273 | do 290 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 290 at (1) scipy/interpolate/fitpack/fpsurf.f:447:72: 447 | do 480 j=ibb,iband4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 480 at (1) scipy/interpolate/fitpack/fpsurf.f:455:72: 455 | do 550 j=1,nk1x | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 550 at (1) scipy/interpolate/fitpack/fpsurf.f:497:72: 497 | do 630 j=1,nk1y | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 630 at (1) scipy/interpolate/fitpack/fpsurf.f:642:72: 642 | do 840 j=1,nk1y | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 840 at (1) scipy/interpolate/fitpack/fpsurf.f:22:0: 22 | * nrint,num,num1,nx,nxe,nxx,ny,nye,nyy,n1,rank | Warning: 'nyy' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsurf.f:21:0: 21 | * la,lf,lh,lwest,lx,ly,l1,l2,n,ncof,nk1x,nk1y,nminx,nminy,nreg, | Warning: 'nk1y' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsurf.f:21:0: Warning: 'nk1x' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsurf.f:621:0: 621 | 780 ier = lwest | Warning: 'lwest' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsurf.f:471:0: 471 | i2 = min0(iband1,ncof-irot) | Warning: 'iband1' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsurf.f:425:0: 425 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsurf.f:605:0: 605 | if((f1-f2).gt.acc) go to 750 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/dblint.f gfortran:f77: scipy/interpolate/fitpack/fpinst.f gfortran:f77: scipy/interpolate/fitpack/cualde.f gfortran:f77: scipy/interpolate/fitpack/fpgrsp.f scipy/interpolate/fitpack/fpgrsp.f:255:72: 255 | do 240 j=1,5 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 240 at (1) scipy/interpolate/fitpack/fpgrsp.f:372:72: 372 | do 440 j=1,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 440 at (1) scipy/interpolate/fitpack/fpgrsp.f:17:0: 17 | real*8 arg,co,dr01,dr02,dr03,dr11,dr12,dr13,fac,fac0,fac1,pinv,piv | Warning: 'pinv' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpbacp.f gfortran:f77: scipy/interpolate/fitpack/fpclos.f scipy/interpolate/fitpack/fpclos.f:200:72: 200 | do 70 j=1,kk1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 70 at (1) scipy/interpolate/fitpack/fpclos.f:233:72: 233 | do 95 j=1,kk | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 95 at (1) scipy/interpolate/fitpack/fpclos.f:510:72: 510 | do 360 j=1,k | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 360 at (1) scipy/interpolate/fitpack/fpclos.f:395:35: 395 | if(fpold-fp.gt.acc) npl1 = rn*fpms/(fpold-fp) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpclos.f:396:0: 396 | nplus = min0(nplus*2,max0(npl1,nplus/2,1)) | Warning: 'nplus' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpclos.f:438:0: 438 | if(n.eq.nmax) go to 5 | Warning: 'nmax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpclos.f:535:0: 535 | if(l0.eq.n10) go to 400 | Warning: 'n10' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpclos.f:16:0: 16 | integer i,ich1,ich3,ij,ik,it,iter,i1,i2,i3,j,jj,jk,jper,j1,j2,kk, | Warning: 'i1' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpclos.f:13:0: 13 | real*8 acc,cos,d1,fac,fpart,fpms,fpold,fp0,f1,f2,f3,p,per,pinv,piv | Warning: 'fpold' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpclos.f:472:0: 472 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpclos.f:470:0: 470 | f1 = fp0-s | Warning: 'fp0' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpclos.f:663:0: 663 | if((f1-f2) .gt. acc) go to 585 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpregr.f scipy/interpolate/fitpack/fpregr.f:246:33: 246 | if(reducx.gt.acc) npl1 = rn*fpms/reducx | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpregr.f:253:33: 253 | if(reducy.gt.acc) npl1 = rn*fpms/reducy | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpregr.f:310:0: 310 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpregr.f:282:0: 282 | if(ny.eq.nye) go to 250 | Warning: 'nye' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpregr.f:269:0: 269 | if(nx.eq.nxe) go to 250 | Warning: 'nxe' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpregr.f:225:0: 225 | if(nx.eq.nmaxx .and. ny.eq.nmaxy) go to 430 | Warning: 'nmaxy' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpregr.f:225:0: Warning: 'nmaxx' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpregr.f:341:0: 341 | if((f1-f2).gt.acc) go to 330 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpadno.f gfortran:f77: scipy/interpolate/fitpack/fpcsin.f gfortran:f77: scipy/interpolate/fitpack/spgrid.f gfortran:f77: scipy/interpolate/fitpack/fpcuro.f gfortran:f77: scipy/interpolate/fitpack/concon.f gfortran:f77: scipy/interpolate/fitpack/fpbfout.f scipy/interpolate/fitpack/fpbfout.f:76:72: 76 | do 20 ll=i,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1) scipy/interpolate/fitpack/fpbfout.f:108:72: 108 | do 50 ll=jj,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 50 at (1) scipy/interpolate/fitpack/fpbfout.f:185:72: 185 | do 180 ll=i,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 180 at (1) scipy/interpolate/fitpack/fpbfout.f:117:0: 117 | c2 = (hc(5)-hc(4))*term | Warning: 'term' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/evapol.f gfortran:f77: scipy/interpolate/fitpack/fpcyt1.f gfortran:f77: scipy/interpolate/fitpack/fpdisc.f gfortran:f77: scipy/interpolate/fitpack/surev.f gfortran:f77: scipy/interpolate/fitpack/fpsuev.f gfortran:f77: scipy/interpolate/fitpack/fpchec.f gfortran:f77: scipy/interpolate/fitpack/fpintb.f scipy/interpolate/fitpack/fpintb.f:91:72: 91 | do 70 i=1,j1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 70 at (1) scipy/interpolate/fitpack/fpintb.f:115:0: 115 | if(ib.lt.ia) go to 130 | Warning: 'ia' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/insert.f gfortran:f77: scipy/interpolate/fitpack/bispeu.f gfortran:f77: scipy/interpolate/fitpack/fptrpe.f scipy/interpolate/fitpack/fptrpe.f:51:72: 51 | do 100 j=1,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1) scipy/interpolate/fitpack/fptrpe.f:80:72: 80 | do 220 jj=1,mm | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 220 at (1) scipy/interpolate/fitpack/fptrpe.f:135:72: 135 | do 440 jj=1,mm | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 440 at (1) scipy/interpolate/fitpack/fptrpe.f:167:72: 167 | do 580 jj=1,mm | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 580 at (1) scipy/interpolate/fitpack/fptrpe.f:193:72: 193 | do 660 jj=1,mm | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 660 at (1) scipy/interpolate/fitpack/fptrpe.f:64:0: 64 | h(j) = b(n1,j)*pinv | Warning: 'pinv' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpadpo.f gfortran:f77: scipy/interpolate/fitpack/fpknot.f scipy/interpolate/fitpack/fpknot.f:41:0: 41 | ihalf = maxpt/2+1 | Warning: 'maxpt' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpknot.f:42:0: 42 | nrx = maxbeg+ihalf | Warning: 'maxbeg' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpknot.f:43:0: 43 | next = number+1 | Warning: 'number' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpcurf.f scipy/interpolate/fitpack/fpcurf.f:119:72: 119 | do 80 j=1,k1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 80 at (1) scipy/interpolate/fitpack/fpcurf.f:274:72: 274 | do 260 j=1,k1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 260 at (1) scipy/interpolate/fitpack/fpcurf.f:186:35: 186 | if(fpold-fp.gt.acc) npl1 = rn*fpms/(fpold-fp) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpcurf.f:187:0: 187 | nplus = min0(nplus*2,max0(npl1,nplus/2,1)) | Warning: 'nplus' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcurf.f:219:0: 219 | if(n.eq.nmax) go to 10 | Warning: 'nmax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcurf.f:12:0: 12 | real*8 acc,con1,con4,con9,cos,half,fpart,fpms,fpold,fp0,f1,f2,f3, | Warning: 'fpold' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcurf.f:256:0: 256 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcurf.f:12:0: 12 | real*8 acc,con1,con4,con9,cos,half,fpart,fpms,fpold,fp0,f1,f2,f3, | Warning: 'fp0' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcurf.f:335:0: 335 | if((f1-f2).gt.acc) go to 345 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fourco.f gfortran:f77: scipy/interpolate/fitpack/percur.f gfortran:f77: scipy/interpolate/fitpack/fpsphe.f scipy/interpolate/fitpack/fpsphe.f:165:72: 165 | do 100 j=1,npp | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1) scipy/interpolate/fitpack/fpsphe.f:216:72: 216 | do 160 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 160 at (1) scipy/interpolate/fitpack/fpsphe.f:357:72: 357 | do 380 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 380 at (1) scipy/interpolate/fitpack/fpsphe.f:532:72: 532 | do 600 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 600 at (1) scipy/interpolate/fitpack/fpsphe.f:555:72: 555 | do 720 j=1,nt6 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 720 at (1) scipy/interpolate/fitpack/fpsphe.f:603:72: 603 | do 810 j=1,npp | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 810 at (1) scipy/interpolate/fitpack/fpsphe.f:519:0: 519 | if(ntt.le.4) iband4 = ncof | Warning: 'ntt' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsphe.f:614:0: 614 | if(il.ne.3 .and. il.ne.nt4) go to 750 | Warning: 'nt4' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsphe.f:23:0: 23 | * l3,l4,ncof,ncoff,npp,np4,nreg,nrint,nrr,nr1,ntt,nt4,nt6,num, | Warning: 'np4' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsphe.f:746:0: 746 | 925 ier = lwest | Warning: 'lwest' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsphe.f:578:0: 578 | i2 = min0(iband1,ncof-irot) | Warning: 'iband1' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsphe.f:510:0: 510 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsphe.f:730:0: 730 | if((f1-f2).gt.acc) go to 905 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpcyt2.f gfortran:f77: scipy/interpolate/fitpack/fpsysy.f gfortran:f77: scipy/interpolate/fitpack/fpdeno.f gfortran:f77: scipy/interpolate/fitpack/parsur.f gfortran:f77: scipy/interpolate/fitpack/fpcoco.f gfortran:f77: scipy/interpolate/fitpack/fppara.f scipy/interpolate/fitpack/fppara.f:121:72: 121 | do 80 j=1,k1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 80 at (1) scipy/interpolate/fitpack/fppara.f:299:72: 299 | do 260 j=1,k1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 260 at (1) scipy/interpolate/fitpack/fppara.f:202:35: 202 | if(fpold-fp.gt.acc) npl1 = rn*fpms/(fpold-fp) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fppara.f:203:0: 203 | nplus = min0(nplus*2,max0(npl1,nplus/2,1)) | Warning: 'nplus' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppara.f:242:0: 242 | if(n.eq.nmax) go to 10 | Warning: 'nmax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppara.f:12:0: 12 | real*8 acc,con1,con4,con9,cos,fac,fpart,fpms,fpold,fp0,f1,f2,f3, | Warning: 'fpold' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppara.f:279:0: 279 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppara.f:12:0: 12 | real*8 acc,con1,con4,con9,cos,fac,fpart,fpms,fpold,fp0,f1,f2,f3, | Warning: 'fp0' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppara.f:378:0: 378 | if((f1-f2).gt.acc) go to 345 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpopsp.f gfortran:f77: scipy/interpolate/fitpack/bispev.f gfortran:f77: scipy/interpolate/fitpack/fpgivs.f gfortran:f77: scipy/interpolate/fitpack/fporde.f gfortran:f77: scipy/interpolate/fitpack/fpgrdi.f scipy/interpolate/fitpack/fpgrdi.f:219:72: 219 | do 240 j=1,5 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 240 at (1) scipy/interpolate/fitpack/fpgrdi.f:319:72: 319 | do 440 j=1,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 440 at (1) scipy/interpolate/fitpack/fpgrdi.f:16:0: 16 | real*8 arg,co,dz1,dz2,dz3,fac,fac0,pinv,piv,si,term,one,three,half | Warning: 'pinv' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpgrpa.f scipy/interpolate/fitpack/fpgrpa.f:158:72: 158 | do 220 i=1,nuu | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 220 at (1) scipy/interpolate/fitpack/fpgrpa.f:164:72: 164 | do 260 i=1,nuu | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 260 at (1) scipy/interpolate/fitpack/fpgrpa.f:172:72: 172 | do 360 j=1,nvv | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 360 at (1) scipy/interpolate/fitpack/fpgrpa.f:189:72: 189 | do 460 j=1,nvv | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 460 at (1) scipy/interpolate/fitpack/fpgrpa.f:209:72: 209 | do 560 l=1,nuu | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 560 at (1) gfortran:f77: scipy/interpolate/fitpack/cocosp.f gfortran:f77: scipy/interpolate/fitpack/fpched.f gfortran:f77: scipy/interpolate/fitpack/polar.f gfortran:f77: scipy/interpolate/fitpack/parcur.f gfortran:f77: scipy/interpolate/fitpack/fpader.f scipy/interpolate/fitpack/fpader.f:45:72: 45 | do 500 j2=jj,k1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 500 at (1) gfortran:f77: scipy/interpolate/fitpack/fprppo.f scipy/interpolate/fitpack/fprppo.f:12:0: 12 | integer i,iopt,ii,j,k,l,nu4,nvv | Warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/splev.f gfortran:f77: scipy/interpolate/fitpack/regrid.f gfortran:f77: scipy/interpolate/fitpack/fppola.f scipy/interpolate/fitpack/fppola.f:68:72: 68 | do 20 j=1,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1) scipy/interpolate/fitpack/fppola.f:198:72: 198 | do 140 j=1,nvv | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 140 at (1) scipy/interpolate/fitpack/fppola.f:263:72: 263 | do 200 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 200 at (1) scipy/interpolate/fitpack/fppola.f:319:72: 319 | do 270 i=1,nvv | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 270 at (1) scipy/interpolate/fitpack/fppola.f:407:72: 407 | do 420 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 420 at (1) scipy/interpolate/fitpack/fppola.f:588:72: 588 | do 630 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 630 at (1) scipy/interpolate/fitpack/fppola.f:604:72: 604 | do 720 j=1,nuu | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 720 at (1) scipy/interpolate/fitpack/fppola.f:615:72: 615 | do 650 l=1,nvv | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 650 at (1) scipy/interpolate/fitpack/fppola.f:624:72: 624 | do 660 l=1,nvv | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 660 at (1) scipy/interpolate/fitpack/fppola.f:670:72: 670 | do 810 j=1,nvv | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 810 at (1) scipy/interpolate/fitpack/fppola.f:24:0: 24 | * l3,l4,ncof,ncoff,nvv,nv4,nreg,nrint,nrr,nr1,nuu,nu4,num,num1, | Warning: 'nv4' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppola.f:680:0: 680 | if(il.eq.nu4 .and. iopt3.ne.0) go to 760 | Warning: 'nu4' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppola.f:821:0: 821 | 925 ier = lwest | Warning: 'lwest' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppola.f:645:0: 645 | i2 = min0(iband1,ncof-irot) | Warning: 'iband1' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppola.f:565:0: 565 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppola.f:805:0: 805 | if((f1-f2).gt.acc) go to 905 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] ar: adding 50 object files to build/temp.macosx-10.7-x86_64-3.6/libfitpack.a ar: adding 35 object files to build/temp.macosx-10.7-x86_64-3.6/libfitpack.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libfitpack.a building 'fwrappers' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops creating build/temp.macosx-10.7-x86_64-3.6/scipy/linalg creating build/temp.macosx-10.7-x86_64-3.6/private creating build/temp.macosx-10.7-x86_64-3.6/private/var creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49 creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-install-ml2ocady creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-install-ml2ocady/scipy creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-install-ml2ocady/scipy/scipy creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-install-ml2ocady/scipy/scipy/_build_utils creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-install-ml2ocady/scipy/scipy/_build_utils/src compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -I/usr/local/Cellar/pypy3/7.3.1_1/libexec/include -I/usr/local/Cellar/pypy3/7.3.1_1/libexec/include/include -I/usr/local/Cellar/pypy3/7.3.1_1/libexec/include -I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/linalg/_blas_subroutine_wrappers.f gfortran:f77: scipy/linalg/_lapack_subroutine_wrappers.f gfortran:f77: /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-install-ml2ocady/scipy/scipy/_build_utils/src/wrap_dummy_g77_abi.f ar: adding 3 object files to build/temp.macosx-10.7-x86_64-3.6/libfwrappers.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libfwrappers.a building 'odrpack' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops creating build/temp.macosx-10.7-x86_64-3.6/scipy/odr creating build/temp.macosx-10.7-x86_64-3.6/scipy/odr/odrpack compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/odr/odrpack/d_odr.f scipy/odr/odrpack/d_odr.f:1014:13: 1014 | NETA = MAX(TWO,P5-LOG10(ETA)) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/odr/odrpack/d_odr.f:2955:13: 2955 | NTOL = MAX(ONE,P5-LOG10(TOL)) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/odr/odrpack/d_odr.f:6032:16: 6032 | J = WORK(WRK3+I) - 1 | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] gfortran:f77: scipy/odr/odrpack/d_mprec.f gfortran:f77: scipy/odr/odrpack/dlunoc.f gfortran:f77: scipy/odr/odrpack/d_lpk.f ar: adding 4 object files to build/temp.macosx-10.7-x86_64-3.6/libodrpack.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libodrpack.a building 'minpack' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops creating build/temp.macosx-10.7-x86_64-3.6/scipy/optimize creating build/temp.macosx-10.7-x86_64-3.6/scipy/optimize/minpack compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/optimize/minpack/rwupdt.f gfortran:f77: scipy/optimize/minpack/qform.f gfortran:f77: scipy/optimize/minpack/chkder.f gfortran:f77: scipy/optimize/minpack/dogleg.f gfortran:f77: scipy/optimize/minpack/hybrj1.f gfortran:f77: scipy/optimize/minpack/fdjac1.f gfortran:f77: scipy/optimize/minpack/r1updt.f gfortran:f77: scipy/optimize/minpack/enorm.f gfortran:f77: scipy/optimize/minpack/lmstr.f gfortran:f77: scipy/optimize/minpack/hybrd1.f gfortran:f77: scipy/optimize/minpack/qrsolv.f gfortran:f77: scipy/optimize/minpack/fdjac2.f gfortran:f77: scipy/optimize/minpack/lmstr1.f gfortran:f77: scipy/optimize/minpack/lmder1.f gfortran:f77: scipy/optimize/minpack/qrfac.f gfortran:f77: scipy/optimize/minpack/lmder.f gfortran:f77: scipy/optimize/minpack/lmpar.f gfortran:f77: scipy/optimize/minpack/lmdif.f gfortran:f77: scipy/optimize/minpack/r1mpyq.f gfortran:f77: scipy/optimize/minpack/dpmpar.f gfortran:f77: scipy/optimize/minpack/hybrd.f gfortran:f77: scipy/optimize/minpack/lmdif1.f gfortran:f77: scipy/optimize/minpack/hybrj.f ar: adding 23 object files to build/temp.macosx-10.7-x86_64-3.6/libminpack.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libminpack.a building 'rectangular_lsap' library compiling C++ sources C compiler: g++ -pthread -arch x86_64 -DNDEBUG -O2 -fPIC creating build/temp.macosx-10.7-x86_64-3.6/scipy/optimize/rectangular_lsap compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' g++: scipy/optimize/rectangular_lsap/rectangular_lsap.cpp /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/importlib/_bootstrap.py:228: UserWarning: builtins.type size changed, may indicate binary incompatibility. Expected 872, got 416 return f(*args, **kwds) Running from scipy source directory. /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/distutils/system_info.py:572: UserWarning: Atlas (http://math-atlas.sourceforge.net/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [atlas]) or by setting the ATLAS environment variable. self.calc_info() /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/distutils/system_info.py:664: UserWarning: Specified path /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/__init__.py/include is invalid. return self.get_paths(self.section, key) /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/distutils/system_info.py:664: UserWarning: Specified path /usr/local/include/include is invalid. return self.get_paths(self.section, key) /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/distutils/fcompiler/gnu.py:309: UserWarning: Env. variable MACOSX_DEPLOYMENT_TARGET set to 10.3 flags = GnuFCompiler.get_flags_linker_so(self) error: Command &quot;g++ -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c scipy/optimize/rectangular_lsap/rectangular_lsap.cpp -o build/temp.macosx-10.7-x86_64-3.6/scipy/optimize/rectangular_lsap/rectangular_lsap.o -MMD -MF build/temp.macosx-10.7-x86_64-3.6/scipy/optimize/rectangular_lsap/rectangular_lsap.o.d&quot; failed with exit status 1 clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] scipy/optimize/rectangular_lsap/rectangular_lsap.cpp:43:10: fatal error: 'algorithm' file not found #include &lt;algorithm&gt; ^~~~~~~~~~~ 1 error generated. clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] scipy/optimize/rectangular_lsap/rectangular_lsap.cpp:43:10: fatal error: 'algorithm' file not found #include &lt;algorithm&gt; ^~~~~~~~~~~ 1 error generated. ---------------------------------------- ERROR: Failed building wheel for scipy Failed to build scipy ERROR: Could not build wheels for scipy which use PEP 517 and cannot be installed directly ---------------------------------------- ERROR: Command errored out with exit status 1: /usr/local/Cellar/pypy3/7.3.1_1/bin/pypy3 /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/pip-20.0.2-py3.6.egg/pip install --ignore-installed --no-user --prefix /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-ehlg4d06/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython&gt;=0.28.5' 'numpy==1.13.3; python_version=='&quot;'&quot;'3.6'&quot;'&quot;' and platform_system!='&quot;'&quot;'AIX'&quot;'&quot;' and platform_python_implementation == '&quot;'&quot;'CPython'&quot;'&quot;'' 'numpy==1.14.0; python_version=='&quot;'&quot;'3.6'&quot;'&quot;' and platform_system!='&quot;'&quot;'AIX'&quot;'&quot;' and platform_python_implementation != '&quot;'&quot;'CPython'&quot;'&quot;'' 'numpy==1.14.5; python_version=='&quot;'&quot;'3.7'&quot;'&quot;' and platform_system!='&quot;'&quot;'AIX'&quot;'&quot;'' 'numpy==1.17.3; python_version&gt;='&quot;'&quot;'3.8'&quot;'&quot;' and platform_system!='&quot;'&quot;'AIX'&quot;'&quot;'' 'numpy==1.16.0; python_version=='&quot;'&quot;'3.6'&quot;'&quot;' and platform_system=='&quot;'&quot;'AIX'&quot;'&quot;'' 'numpy==1.16.0; python_version=='&quot;'&quot;'3.7'&quot;'&quot;' and platform_system=='&quot;'&quot;'AIX'&quot;'&quot;'' 'numpy==1.17.3; python_version&gt;='&quot;'&quot;'3.8'&quot;'&quot;' and platform_system=='&quot;'&quot;'AIX'&quot;'&quot;'' 'scipy&gt;=0.19.1' Check the logs for full command output."><pre class="notranslate"><code class="notranslate">Processing ./Library/Caches/pip/wheels/76/03/bb/589d421d27431bcd2c6da284d5f2286c8e3b2ea3cf1594c074/sklearn-0.0-py2.py3-none-any.whl Collecting scikit-learn Using cached scikit-learn-0.23.1.tar.gz (7.2 MB) Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: /usr/local/Cellar/pypy3/7.3.1_1/bin/pypy3 /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/pip-20.0.2-py3.6.egg/pip install --ignore-installed --no-user --prefix /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-ehlg4d06/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython&gt;=0.28.5' 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"' and platform_python_implementation == '"'"'CPython'"'"'' 'numpy==1.14.0; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"' and platform_python_implementation != '"'"'CPython'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version&gt;='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version&gt;='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' 'scipy&gt;=0.19.1' cwd: None Complete output (3352 lines): Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX" and platform_python_implementation == "CPython"' don't match your environment Ignoring numpy: markers 'python_version == "3.7" and platform_system != "AIX"' don't match your environment Ignoring numpy: markers 'python_version &gt;= "3.8" and platform_system != "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.7" and platform_system == "AIX"' don't match your environment Ignoring numpy: markers 'python_version &gt;= "3.8" and platform_system == "AIX"' don't match your environment Collecting setuptools Using cached setuptools-46.4.0-py3-none-any.whl (583 kB) Collecting wheel Using cached wheel-0.34.2-py2.py3-none-any.whl (26 kB) Collecting Cython&gt;=0.28.5 Using cached Cython-0.29.19-py2.py3-none-any.whl (971 kB) Processing ./Library/Caches/pip/wheels/84/3b/d5/cbf7fc2f4731d199460c6e7d6e02284e77e8ab6ea37d1664ee/numpy-1.14.0-pp36-pypy36_pp73-macosx_10_7_x86_64.whl Collecting scipy&gt;=0.19.1 Using cached scipy-1.4.1.tar.gz (24.6 MB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing wheel metadata: started Preparing wheel metadata: finished with status 'done' Building wheels for collected packages: scipy Building wheel for scipy (PEP 517): started Building wheel for scipy (PEP 517): finished with status 'error' ERROR: Command errored out with exit status 1: command: /usr/local/Cellar/pypy3/7.3.1_1/bin/pypy3 /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/pip-20.0.2-py3.6.egg/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmpo6o5bpzk cwd: /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-install-ml2ocady/scipy Complete output (3320 lines): lapack_opt_info: lapack_mkl_info: libraries mkl_rt not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE openblas_lapack_info: libraries openblas not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE system_info: NOT AVAILABLE atlas_3_10_threads_info: Setting PTATLAS=ATLAS libraries tatlas,tatlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries lapack_atlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries tatlas,tatlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries tatlas,tatlas not found in /usr/lib libraries lapack_atlas not found in /usr/lib &lt;class 'numpy.distutils.system_info.atlas_3_10_threads_info'&gt; NOT AVAILABLE atlas_3_10_info: libraries satlas,satlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries lapack_atlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries satlas,satlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries satlas,satlas not found in /usr/lib libraries lapack_atlas not found in /usr/lib &lt;class 'numpy.distutils.system_info.atlas_3_10_info'&gt; NOT AVAILABLE atlas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries lapack_atlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries ptf77blas,ptcblas,atlas not found in /usr/lib libraries lapack_atlas not found in /usr/lib &lt;class 'numpy.distutils.system_info.atlas_threads_info'&gt; NOT AVAILABLE atlas_info: libraries f77blas,cblas,atlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries lapack_atlas not found in /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib libraries f77blas,cblas,atlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries f77blas,cblas,atlas not found in /usr/lib libraries lapack_atlas not found in /usr/lib &lt;class 'numpy.distutils.system_info.atlas_info'&gt; NOT AVAILABLE lapack_info: FOUND: libraries = ['lapack', 'lapack'] library_dirs = ['/usr/lib'] language = f77 blas_info: customize UnixCCompiler C compiler: gcc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC creating /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/var creating /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/var/folders creating /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/var/folders/49 creating /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn creating /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T creating /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y compile options: '-I/usr/local/include -I/usr/local/Cellar/pypy3/7.3.1_1/libexec/include -c' gcc: /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/source.c /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/source.c:1:10: fatal error: 'cblas.h' file not found #include &lt;cblas.h&gt; ^~~~~~~~~ 1 error generated. /var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/tmp_niqxb7y/source.c:1:10: fatal error: 'cblas.h' file not found #include &lt;cblas.h&gt; ^~~~~~~~~ 1 error generated. FOUND: libraries = ['blas', 'blas'] library_dirs = ['/usr/lib'] include_dirs = ['/usr/local/include', '/usr/local/Cellar/pypy3/7.3.1_1/libexec/include'] FOUND: define_macros = [('NO_ATLAS_INFO', 1)] libraries = ['lapack', 'lapack', 'blas', 'blas'] library_dirs = ['/usr/lib'] language = f77 include_dirs = ['/usr/local/include', '/usr/local/Cellar/pypy3/7.3.1_1/libexec/include'] non-existing path in 'scipy/interpolate': 'src/multipack.h' Splitting linalg.interpolative Fortran source files blas_opt_info: blas_mkl_info: libraries mkl_rt not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE blis_info: libraries blis not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE openblas_info: libraries openblas not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE atlas_3_10_blas_threads_info: Setting PTATLAS=ATLAS libraries tatlas not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE atlas_3_10_blas_info: libraries satlas not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE atlas_blas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE atlas_blas_info: libraries f77blas,cblas,atlas not found in ['/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE FOUND: define_macros = [('NO_ATLAS_INFO', 1)] libraries = ['blas', 'blas'] library_dirs = ['/usr/lib'] include_dirs = ['/usr/local/include', '/usr/local/Cellar/pypy3/7.3.1_1/libexec/include'] /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/importlib/_bootstrap.py:228: UserWarning: builtins.type size changed, may indicate binary incompatibility. Expected 872, got 416 return f(*args, **kwds) [makenpz] scipy/special/tests/data/boost.npz not rebuilt /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/importlib/_bootstrap.py:228: UserWarning: builtins.type size changed, may indicate binary incompatibility. Expected 872, got 416 return f(*args, **kwds) [makenpz] scipy/special/tests/data/gsl.npz not rebuilt /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/importlib/_bootstrap.py:228: UserWarning: builtins.type size changed, may indicate binary incompatibility. Expected 872, got 416 return f(*args, **kwds) [makenpz] scipy/special/tests/data/local.npz not rebuilt non-existing path in 'scipy/signal/windows': 'tests' running bdist_wheel running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building py_modules sources building library "mach" sources building library "quadpack" sources building library "lsoda" sources building library "vode" sources building library "dop" sources building library "fitpack" sources building library "fwrappers" sources building library "odrpack" sources building library "minpack" sources building library "rectangular_lsap" sources building library "rootfind" sources building library "superlu_src" sources building library "arpack_scipy" sources building library "sc_cephes" sources building library "sc_mach" sources building library "sc_amos" sources building library "sc_cdf" sources building library "sc_specfun" sources building library "statlib" sources building extension "scipy.cluster._vq" sources building extension "scipy.cluster._hierarchy" sources building extension "scipy.cluster._optimal_leaf_ordering" sources building extension "scipy.fft._pocketfft.pypocketfft" sources building extension "scipy.fftpack.convolve" sources building extension "scipy.integrate._quadpack" sources building extension "scipy.integrate._odepack" sources building extension "scipy.integrate.vode" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate' to include_dirs. building extension "scipy.integrate.lsoda" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate' to include_dirs. building extension "scipy.integrate._dop" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate' to include_dirs. building extension "scipy.integrate._test_multivariate" sources building extension "scipy.integrate._test_odeint_banded" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/integrate' to include_dirs. adding 'build/src.macosx-10.7-x86_64-3.6/scipy/integrate/_test_odeint_banded-f2pywrappers.f' to sources. building extension "scipy.interpolate.interpnd" sources building extension "scipy.interpolate._ppoly" sources building extension "scipy.interpolate._bspl" sources building extension "scipy.interpolate._fitpack" sources building extension "scipy.interpolate.dfitpack" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/interpolate/src/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/interpolate/src' to include_dirs. adding 'build/src.macosx-10.7-x86_64-3.6/scipy/interpolate/src/dfitpack-f2pywrappers.f' to sources. building extension "scipy.io._test_fortran" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/io/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/io' to include_dirs. building extension "scipy.io.matlab.streams" sources building extension "scipy.io.matlab.mio_utils" sources building extension "scipy.io.matlab.mio5_utils" sources building extension "scipy.linalg._fblas" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg' to include_dirs. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg/_fblas-f2pywrappers.f' to sources. building extension "scipy.linalg._flapack" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg' to include_dirs. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg/_flapack-f2pywrappers.f' to sources. building extension "scipy.linalg._flinalg" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg' to include_dirs. building extension "scipy.linalg._interpolative" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/linalg' to include_dirs. building extension "scipy.linalg._solve_toeplitz" sources building extension "scipy.linalg.cython_blas" sources building extension "scipy.linalg.cython_lapack" sources building extension "scipy.linalg._decomp_update" sources building extension "scipy.odr.__odrpack" sources building extension "scipy.optimize._minpack" sources building extension "scipy.optimize._lsap_module" sources building extension "scipy.optimize._zeros" sources building extension "scipy.optimize._lbfgsb" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/lbfgsb_src/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/lbfgsb_src' to include_dirs. building extension "scipy.optimize.moduleTNC" sources building extension "scipy.optimize._cobyla" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/cobyla/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/cobyla' to include_dirs. building extension "scipy.optimize.minpack2" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/minpack2/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/minpack2' to include_dirs. building extension "scipy.optimize._slsqp" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/slsqp/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/slsqp' to include_dirs. building extension "scipy.optimize._nnls" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/nnls/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/optimize/nnls' to include_dirs. building extension "scipy.optimize._group_columns" sources building extension "scipy.optimize._bglu_dense" sources building extension "scipy.optimize._lsq.givens_elimination" sources building extension "scipy.optimize._trlib._trlib" sources building extension "scipy.optimize.cython_optimize._zeros" sources building extension "scipy.signal.sigtools" sources building extension "scipy.signal._spectral" sources building extension "scipy.signal._max_len_seq_inner" sources building extension "scipy.signal._peak_finding_utils" sources building extension "scipy.signal._sosfilt" sources building extension "scipy.signal._upfirdn_apply" sources building extension "scipy.signal.spline" sources building extension "scipy.sparse.linalg.isolve._iterative" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve/iterative/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve/iterative' to include_dirs. building extension "scipy.sparse.linalg.dsolve._superlu" sources building extension "scipy.sparse.linalg.eigen.arpack._arpack" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/arpack/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/arpack' to include_dirs. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/arpack/_arpack-f2pywrappers.f' to sources. building extension "scipy.sparse.csgraph._shortest_path" sources building extension "scipy.sparse.csgraph._traversal" sources building extension "scipy.sparse.csgraph._min_spanning_tree" sources building extension "scipy.sparse.csgraph._matching" sources building extension "scipy.sparse.csgraph._flow" sources building extension "scipy.sparse.csgraph._reordering" sources building extension "scipy.sparse.csgraph._tools" sources building extension "scipy.sparse._csparsetools" sources building extension "scipy.sparse._sparsetools" sources [generate_sparsetools] 'scipy/sparse/sparsetools/bsr_impl.h' already up-to-date [generate_sparsetools] 'scipy/sparse/sparsetools/csr_impl.h' already up-to-date [generate_sparsetools] 'scipy/sparse/sparsetools/csc_impl.h' already up-to-date [generate_sparsetools] 'scipy/sparse/sparsetools/other_impl.h' already up-to-date [generate_sparsetools] 'scipy/sparse/sparsetools/sparsetools_impl.h' already up-to-date building extension "scipy.spatial.qhull" sources building extension "scipy.spatial.ckdtree" sources building extension "scipy.spatial._distance_wrap" sources building extension "scipy.spatial._voronoi" sources building extension "scipy.spatial._hausdorff" sources building extension "scipy.special.specfun" sources f2py options: ['--no-wrap-functions'] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/special/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/special' to include_dirs. building extension "scipy.special._ufuncs" sources building extension "scipy.special._ufuncs_cxx" sources building extension "scipy.special._ellip_harm_2" sources building extension "scipy.special.cython_special" sources building extension "scipy.special._comb" sources building extension "scipy.special._test_round" sources building extension "scipy.stats.statlib" sources f2py options: ['--no-wrap-functions'] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/stats/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/stats' to include_dirs. building extension "scipy.stats._stats" sources building extension "scipy.stats.mvn" sources f2py options: [] adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/stats/fortranobject.c' to sources. adding 'build/src.macosx-10.7-x86_64-3.6/build/src.macosx-10.7-x86_64-3.6/scipy/stats' to include_dirs. adding 'build/src.macosx-10.7-x86_64-3.6/scipy/stats/mvn-f2pywrappers.f' to sources. building extension "scipy.ndimage._nd_image" sources building extension "scipy.ndimage._ni_label" sources building extension "scipy.ndimage._ctest" sources building extension "scipy.ndimage._ctest_oldapi" sources building extension "scipy.ndimage._cytest" sources building extension "scipy._lib._ccallback_c" sources building extension "scipy._lib._test_ccallback" sources building extension "scipy._lib._fpumode" sources building extension "scipy._lib.messagestream" sources customize Gnu95FCompiler Found executable /usr/local/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using config C compiler: gcc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC compile options: '-I/usr/local/Cellar/pypy3/7.3.1_1/libexec/include -c' gcc: _configtest.c gcc -pthread -arch x86_64 _configtest.o -o _configtest success! removing: _configtest.c _configtest.o _configtest building extension "scipy._lib._uarray._uarray" sources building data_files sources build_src: building npy-pkg config files running build_py creating build/lib.macosx-10.7-x86_64-3.6 creating build/lib.macosx-10.7-x86_64-3.6/scipy copying scipy/conftest.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy copying scipy/version.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy copying scipy/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy copying scipy/_distributor_init.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy copying scipy/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy copying build/src.macosx-10.7-x86_64-3.6/scipy/__config__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy creating build/lib.macosx-10.7-x86_64-3.6/scipy/cluster copying scipy/cluster/vq.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/cluster copying scipy/cluster/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/cluster copying scipy/cluster/hierarchy.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/cluster copying scipy/cluster/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/cluster creating build/lib.macosx-10.7-x86_64-3.6/scipy/constants copying scipy/constants/constants.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/constants copying scipy/constants/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/constants copying scipy/constants/codata.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/constants copying scipy/constants/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/constants creating build/lib.macosx-10.7-x86_64-3.6/scipy/fft copying scipy/fft/_backend.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft copying scipy/fft/_helper.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft copying scipy/fft/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft copying scipy/fft/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft copying scipy/fft/_debug_backends.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft copying scipy/fft/_realtransforms.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft copying scipy/fft/_basic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft creating build/lib.macosx-10.7-x86_64-3.6/scipy/fft/_pocketfft copying scipy/fft/_pocketfft/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft/_pocketfft copying scipy/fft/_pocketfft/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft/_pocketfft copying scipy/fft/_pocketfft/realtransforms.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft/_pocketfft copying scipy/fft/_pocketfft/basic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft/_pocketfft copying scipy/fft/_pocketfft/helper.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fft/_pocketfft creating build/lib.macosx-10.7-x86_64-3.6/scipy/fftpack copying scipy/fftpack/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fftpack copying scipy/fftpack/pseudo_diffs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fftpack copying scipy/fftpack/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fftpack copying scipy/fftpack/realtransforms.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fftpack copying scipy/fftpack/basic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fftpack copying scipy/fftpack/helper.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/fftpack creating build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/_ode.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/quadrature.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/quadpack.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/_quad_vec.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/_bvp.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate copying scipy/integrate/odepack.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate creating build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/bdf.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/ivp.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/dop853_coefficients.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/common.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/radau.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/lsoda.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/rk.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp copying scipy/integrate/_ivp/base.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/integrate/_ivp creating build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/_cubic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/polyint.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/ndgriddata.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/_bsplines.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/fitpack.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/rbf.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/interpnd_info.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/_pade.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/interpolate.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/_fitpack_impl.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate copying scipy/interpolate/fitpack2.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/interpolate creating build/lib.macosx-10.7-x86_64-3.6/scipy/io copying scipy/io/wavfile.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io copying scipy/io/idl.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io copying scipy/io/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io copying scipy/io/netcdf.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io copying scipy/io/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io copying scipy/io/_fortran.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io copying scipy/io/mmio.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io creating build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/miobase.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/mio5_params.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/byteordercodes.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/mio.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/mio4.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab copying scipy/io/matlab/mio5.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/matlab creating build/lib.macosx-10.7-x86_64-3.6/scipy/io/arff copying scipy/io/arff/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/arff copying scipy/io/arff/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/arff copying scipy/io/arff/arffread.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/arff creating build/lib.macosx-10.7-x86_64-3.6/scipy/io/harwell_boeing copying scipy/io/harwell_boeing/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/harwell_boeing copying scipy/io/harwell_boeing/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/harwell_boeing copying scipy/io/harwell_boeing/_fortran_format_parser.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/harwell_boeing copying scipy/io/harwell_boeing/hb.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/io/harwell_boeing creating build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/decomp_qr.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_matfuncs_inv_ssq.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/misc.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_sketches.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/decomp_cholesky.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_testutils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/decomp_lu.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/decomp_svd.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_procrustes.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_matfuncs_sqrtm.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/matfuncs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_generate_pyx.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_solvers.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_interpolative_backend.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/flinalg.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/basic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_decomp_polar.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/decomp.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/interpolative.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/blas.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_cython_signature_generator.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/special_matrices.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_decomp_ldl.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/decomp_schur.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_decomp_qz.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/_expm_frechet.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/linalg_version.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg copying scipy/linalg/lapack.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/linalg creating build/lib.macosx-10.7-x86_64-3.6/scipy/misc copying scipy/misc/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/misc copying scipy/misc/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/misc copying scipy/misc/common.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/misc copying scipy/misc/doccer.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/misc creating build/lib.macosx-10.7-x86_64-3.6/scipy/odr copying scipy/odr/models.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/odr copying scipy/odr/add_newdocs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/odr copying scipy/odr/odrpack.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/odr copying scipy/odr/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/odr copying scipy/odr/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/odr creating build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/tnc.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_lsap.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/optimize.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_linprog_ip.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/linesearch.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/nonlin.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_linprog_rs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_root.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/lbfgsb.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/zeros.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_shgo.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_linprog_simplex.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/slsqp.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_trustregion_ncg.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_minimize.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/minpack.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/nnls.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_basinhopping.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_linprog.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_hessian_update_strategy.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/cobyla.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_tstutils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_spectral.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_differentiable_functions.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_trustregion_krylov.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_trustregion.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_linprog_util.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_dual_annealing.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_root_scalar.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_trustregion_dogleg.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_trustregion_exact.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_constraints.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_differentialevolution.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_remove_redundancy.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize copying scipy/optimize/_numdiff.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize creating build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/least_squares.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/dogbox.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/trf_linear.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/common.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/lsq_linear.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/bvls.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq copying scipy/optimize/_lsq/trf.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_lsq creating build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trlib copying scipy/optimize/_trlib/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trlib copying scipy/optimize/_trlib/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trlib creating build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/equality_constrained_sqp.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/tr_interior_point.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/qp_subproblem.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/minimize_trustregion_constr.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/projections.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/report.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr copying scipy/optimize/_trustregion_constr/canonical_constraint.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_trustregion_constr creating build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/cython_optimize copying scipy/optimize/cython_optimize/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/cython_optimize creating build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_shgo_lib copying scipy/optimize/_shgo_lib/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_shgo_lib copying scipy/optimize/_shgo_lib/sobol_seq.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_shgo_lib copying scipy/optimize/_shgo_lib/triangulation.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/optimize/_shgo_lib creating build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/waveforms.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/_savitzky_golay.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/signaltools.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/bsplines.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/_arraytools.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/_max_len_seq.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/wavelets.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/lti_conversion.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/_peak_finding.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/filter_design.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/spectral.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/_upfirdn.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/ltisys.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal copying scipy/signal/fir_filter_design.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal creating build/lib.macosx-10.7-x86_64-3.6/scipy/signal/windows copying scipy/signal/windows/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal/windows copying scipy/signal/windows/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal/windows copying scipy/signal/windows/windows.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/signal/windows creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/csc.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/generate_sparsetools.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/sparsetools.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/dok.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/coo.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/compressed.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/dia.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/_index.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/spfuncs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/lil.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/sputils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/bsr.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/_matrix_io.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/csr.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/construct.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/extract.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/base.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse copying scipy/sparse/data.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg copying scipy/sparse/linalg/matfuncs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg copying scipy/sparse/linalg/interface.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg copying scipy/sparse/linalg/_expm_multiply.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg copying scipy/sparse/linalg/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg copying scipy/sparse/linalg/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg copying scipy/sparse/linalg/_norm.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg copying scipy/sparse/linalg/_onenormest.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/lsqr.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/iterative.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/utils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/_gcrotmk.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/minres.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/lsmr.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve copying scipy/sparse/linalg/isolve/lgmres.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/isolve creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/dsolve copying scipy/sparse/linalg/dsolve/_add_newdocs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/dsolve copying scipy/sparse/linalg/dsolve/linsolve.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/dsolve copying scipy/sparse/linalg/dsolve/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/dsolve copying scipy/sparse/linalg/dsolve/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/dsolve creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen copying scipy/sparse/linalg/eigen/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen copying scipy/sparse/linalg/eigen/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/arpack copying scipy/sparse/linalg/eigen/arpack/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/arpack copying scipy/sparse/linalg/eigen/arpack/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/arpack copying scipy/sparse/linalg/eigen/arpack/arpack.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/arpack creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/lobpcg copying scipy/sparse/linalg/eigen/lobpcg/lobpcg.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/lobpcg copying scipy/sparse/linalg/eigen/lobpcg/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/lobpcg copying scipy/sparse/linalg/eigen/lobpcg/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/linalg/eigen/lobpcg creating build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/csgraph copying scipy/sparse/csgraph/_laplacian.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/csgraph copying scipy/sparse/csgraph/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/csgraph copying scipy/sparse/csgraph/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/csgraph copying scipy/sparse/csgraph/_validation.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/sparse/csgraph creating build/lib.macosx-10.7-x86_64-3.6/scipy/spatial copying scipy/spatial/_spherical_voronoi.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial copying scipy/spatial/_procrustes.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial copying scipy/spatial/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial copying scipy/spatial/distance.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial copying scipy/spatial/kdtree.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial copying scipy/spatial/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial copying scipy/spatial/_plotutils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial creating build/lib.macosx-10.7-x86_64-3.6/scipy/spatial/transform copying scipy/spatial/transform/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial/transform copying scipy/spatial/transform/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial/transform copying scipy/spatial/transform/_rotation_spline.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial/transform copying scipy/spatial/transform/rotation.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial/transform copying scipy/spatial/transform/_rotation_groups.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/spatial/transform creating build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/spfun_stats.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/_testutils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/sf_error.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/add_newdocs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/_spherical_bessel.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/_mptestutils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/_ellip_harm.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/_generate_pyx.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/basic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/lambertw.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/orthogonal.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/_basic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special copying scipy/special/_logsumexp.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special creating build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/expn_asy.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/zetac.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/struve_convergence.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/loggamma.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/gammainc_asy.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/wrightomega.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/gammainc_data.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/utils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute copying scipy/special/_precompute/lambertw.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/special/_precompute creating build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_multivariate.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_constants.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_binned_statistic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_distr_params.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_tukeylambda_stats.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_rvs_sampling.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_stats_mstats_common.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/kde.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/mstats_extras.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_discrete_distns.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/distributions.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_hypotests.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/mstats.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_distn_infrastructure.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/stats.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/_continuous_distns.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/morestats.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/mstats_basic.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/contingency.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats copying scipy/stats/vonmises.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/stats creating build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/_ni_support.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/interpolation.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/_ni_docstrings.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/morphology.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/fourier.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/filters.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage copying scipy/ndimage/measurements.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/ndimage creating build/lib.macosx-10.7-x86_64-3.6/scipy/_build_utils copying scipy/_build_utils/system_info.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_build_utils copying scipy/_build_utils/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_build_utils copying scipy/_build_utils/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_build_utils copying scipy/_build_utils/_fortran.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_build_utils copying scipy/_build_utils/compiler_helper.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_build_utils creating build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/uarray.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_testutils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_pep440.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_version.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/deprecation.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/decorator.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_ccallback.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_threadsafety.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_tmpdirs.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_numpy_compat.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_util.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/six.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/_gcutils.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib copying scipy/_lib/doccer.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib creating build/lib.macosx-10.7-x86_64-3.6/scipy/_lib/_uarray copying scipy/_lib/_uarray/_backend.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib/_uarray copying scipy/_lib/_uarray/__init__.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib/_uarray copying scipy/_lib/_uarray/setup.py -&gt; build/lib.macosx-10.7-x86_64-3.6/scipy/_lib/_uarray running build_clib customize UnixCCompiler customize UnixCCompiler using build_clib customize Gnu95FCompiler customize Gnu95FCompiler customize Gnu95FCompiler using build_clib building 'mach' library using additional config_fc from setup script for fortran compiler: {'noopt': ('scipy/integrate/setup.py', 1)} customize Gnu95FCompiler compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC creating build/temp.macosx-10.7-x86_64-3.6 creating build/temp.macosx-10.7-x86_64-3.6/scipy creating build/temp.macosx-10.7-x86_64-3.6/scipy/integrate creating build/temp.macosx-10.7-x86_64-3.6/scipy/integrate/mach compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/integrate/mach/xerror.f scipy/integrate/mach/xerror.f:1:37: 1 | SUBROUTINE XERROR(MESS,NMESS,L1,L2) | 1 Warning: Unused dummy argument 'l1' at (1) [-Wunused-dummy-argument] scipy/integrate/mach/xerror.f:1:40: 1 | SUBROUTINE XERROR(MESS,NMESS,L1,L2) | 1 Warning: Unused dummy argument 'l2' at (1) [-Wunused-dummy-argument] gfortran:f77: scipy/integrate/mach/d1mach.f ar: adding 2 object files to build/temp.macosx-10.7-x86_64-3.6/libmach.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libmach.a building 'quadpack' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops creating build/temp.macosx-10.7-x86_64-3.6/scipy/integrate/quadpack compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/integrate/quadpack/dqcheb.f gfortran:f77: scipy/integrate/quadpack/dqawse.f gfortran:f77: scipy/integrate/quadpack/dqk41.f gfortran:f77: scipy/integrate/quadpack/dqawoe.f scipy/integrate/quadpack/dqawoe.f:449:0: 449 | 70 if(ierro.eq.3.or.erlarg.le.ertest) go to 90 | Warning: 'ertest' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqawoe.f:428:0: 428 | erlarg = erlarg-erlast | Warning: 'erlarg' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqawoe.f:505:0: 505 | if(ierro.eq.3) abserr = abserr+correc | Warning: 'correc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/quadpack/dqc25f.f scipy/integrate/quadpack/dqc25f.f:103:0: 103 | integer i,iers,integr,isym,j,k,ksave,m,momcom,neval,maxp1, | Warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/quadpack/dqwgts.f gfortran:f77: scipy/integrate/quadpack/dqk51.f gfortran:f77: scipy/integrate/quadpack/dqagse.f scipy/integrate/quadpack/dqagse.f:404:0: 404 | small = small*0.5d+00 | Warning: 'small' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqagse.f:363:0: 363 | 40 if(ierro.eq.3.or.erlarg.le.ertest) go to 60 | Warning: 'ertest' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqagse.f:353:0: 353 | erlarg = erlarg-erlast | Warning: 'erlarg' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqagse.f:418:0: 418 | if(ierro.eq.3) abserr = abserr+correc | Warning: 'correc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/quadpack/dqng.f scipy/integrate/quadpack/dqng.f:365:0: 365 | * abserr = resasc*dmin1(0.1d+01,(0.2d+03*abserr/resasc)**1.5d+00) | Warning: 'resasc' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqng.f:367:0: 367 | * ((epmach*0.5d+02)*resabs,abserr) | Warning: 'resabs' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqng.f:363:0: 363 | abserr = dabs((res87-res43)*hlgth) | Warning: 'res43' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/quadpack/dqawf.f gfortran:f77: scipy/integrate/quadpack/dqk15.f gfortran:f77: scipy/integrate/quadpack/dqmomo.f scipy/integrate/quadpack/dqmomo.f:126:5: 126 | 90 return | 1 Warning: Label 90 at (1) defined but not used [-Wunused-label] gfortran:f77: scipy/integrate/quadpack/dqelg.f gfortran:f77: scipy/integrate/quadpack/dqag.f gfortran:f77: scipy/integrate/quadpack/dqaws.f gfortran:f77: scipy/integrate/quadpack/dqk15i.f gfortran:f77: scipy/integrate/quadpack/dqawo.f gfortran:f77: scipy/integrate/quadpack/dqwgtf.f scipy/integrate/quadpack/dqwgtf.f:1:49: 1 | double precision function dqwgtf(x,omega,p2,p3,p4,integr) | 1 Warning: Unused dummy argument 'p2' at (1) [-Wunused-dummy-argument] scipy/integrate/quadpack/dqwgtf.f:1:52: 1 | double precision function dqwgtf(x,omega,p2,p3,p4,integr) | 1 Warning: Unused dummy argument 'p3' at (1) [-Wunused-dummy-argument] scipy/integrate/quadpack/dqwgtf.f:1:55: 1 | double precision function dqwgtf(x,omega,p2,p3,p4,integr) | 1 Warning: Unused dummy argument 'p4' at (1) [-Wunused-dummy-argument] gfortran:f77: scipy/integrate/quadpack/dqc25s.f gfortran:f77: scipy/integrate/quadpack/dqagi.f gfortran:f77: scipy/integrate/quadpack/dqagp.f gfortran:f77: scipy/integrate/quadpack/dqawce.f gfortran:f77: scipy/integrate/quadpack/dqawfe.f scipy/integrate/quadpack/dqawfe.f:267:10: 267 | 10 l = dabs(omega) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/integrate/quadpack/dqawfe.f:358:0: 358 | if(ier.ge.1.and.ier.ne.7) abserr = abserr+drl | Warning: 'drl' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqawfe.f:316:0: 316 | 20 psum(numrl2) = psum(ll)+rslst(lst) | Warning: 'll' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/quadpack/dqwgtc.f scipy/integrate/quadpack/dqwgtc.f:1:54: 1 | double precision function dqwgtc(x,c,p2,p3,p4,kp) | 1 Warning: Unused dummy argument 'kp' at (1) [-Wunused-dummy-argument] scipy/integrate/quadpack/dqwgtc.f:1:45: 1 | double precision function dqwgtc(x,c,p2,p3,p4,kp) | 1 Warning: Unused dummy argument 'p2' at (1) [-Wunused-dummy-argument] scipy/integrate/quadpack/dqwgtc.f:1:48: 1 | double precision function dqwgtc(x,c,p2,p3,p4,kp) | 1 Warning: Unused dummy argument 'p3' at (1) [-Wunused-dummy-argument] scipy/integrate/quadpack/dqwgtc.f:1:51: 1 | double precision function dqwgtc(x,c,p2,p3,p4,kp) | 1 Warning: Unused dummy argument 'p4' at (1) [-Wunused-dummy-argument] gfortran:f77: scipy/integrate/quadpack/dqk61.f gfortran:f77: scipy/integrate/quadpack/dqagpe.f scipy/integrate/quadpack/dqagpe.f:297:72: 297 | do 20 j = ip1,nintp1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1) scipy/integrate/quadpack/dqagpe.f:524:0: 524 | if(ierro.eq.3) abserr = abserr+correc | Warning: 'correc' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqagpe.f:350:0: 350 | iord(k) = iord(i) | Warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/quadpack/dqags.f gfortran:f77: scipy/integrate/quadpack/dqc25c.f gfortran:f77: scipy/integrate/quadpack/dqk21.f gfortran:f77: scipy/integrate/quadpack/dqk31.f gfortran:f77: scipy/integrate/quadpack/dqk15w.f gfortran:f77: scipy/integrate/quadpack/dqpsrt.f gfortran:f77: scipy/integrate/quadpack/dqawc.f gfortran:f77: scipy/integrate/quadpack/dqage.f gfortran:f77: scipy/integrate/quadpack/dqagie.f scipy/integrate/quadpack/dqagie.f:411:0: 411 | small = small*0.5d+00 | Warning: 'small' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqagie.f:372:0: 372 | 40 if(ierro.eq.3.or.erlarg.le.ertest) go to 60 | Warning: 'ertest' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/quadpack/dqagie.f:362:0: 362 | erlarg = erlarg-erlast | Warning: 'erlarg' may be used uninitialized in this function [-Wmaybe-uninitialized] ar: adding 35 object files to build/temp.macosx-10.7-x86_64-3.6/libquadpack.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libquadpack.a building 'lsoda' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops creating build/temp.macosx-10.7-x86_64-3.6/scipy/integrate/odepack compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/integrate/odepack/blkdta000.f gfortran:f77: scipy/integrate/odepack/bnorm.f scipy/integrate/odepack/bnorm.f:24:72: 24 | 10 sum = sum + dabs(a(i1-j,j))/w(j) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) gfortran:f77: scipy/integrate/odepack/cfode.f scipy/integrate/odepack/cfode.f:62:72: 62 | 110 pc(i) = pc(i-1) + fnqm1*pc(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/cfode.f:71:72: 71 | 120 xpin = xpin + tsign*pc(i)/dfloat(i+1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/cfode.f:76:72: 76 | 130 elco(i+1,nq) = rq1fac*pc(i)/dfloat(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 130 at (1) scipy/integrate/odepack/cfode.f:99:72: 99 | 210 pc(i) = pc(i-1) + fnq*pc(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/cfode.f:103:72: 103 | 220 elco(i,nq) = pc(i)/pc(2) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) gfortran:f77: scipy/integrate/odepack/ewset.f scipy/integrate/odepack/ewset.f:17:72: 17 | 15 ewt(i) = rtol(1)*dabs(ycur(i)) + atol(1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/odepack/ewset.f:21:72: 21 | 25 ewt(i) = rtol(1)*dabs(ycur(i)) + atol(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/odepack/ewset.f:25:72: 25 | 35 ewt(i) = rtol(i)*dabs(ycur(i)) + atol(1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 35 at (1) scipy/integrate/odepack/ewset.f:29:72: 29 | 45 ewt(i) = rtol(i)*dabs(ycur(i)) + atol(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 45 at (1) gfortran:f77: scipy/integrate/odepack/fnorm.f scipy/integrate/odepack/fnorm.f:16:72: 16 | 10 sum = sum + dabs(a(i,j))/w(j) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) gfortran:f77: scipy/integrate/odepack/intdy.f scipy/integrate/odepack/intdy.f:48:72: 48 | 10 ic = ic*jj | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/intdy.f:51:72: 51 | 20 dky(i) = c*yh(i,l) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1) scipy/integrate/odepack/intdy.f:61:72: 61 | 30 ic = ic*jj | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1) scipy/integrate/odepack/intdy.f:64:72: 64 | 40 dky(i) = c*yh(i,jp1) + s*dky(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 40 at (1) scipy/integrate/odepack/intdy.f:69:72: 69 | 60 dky(i) = r*dky(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 60 at (1) gfortran:f77: scipy/integrate/odepack/lsoda.f scipy/integrate/odepack/lsoda.f:1178:72: 1178 | 95 rwork(i) = 0.0d0 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 95 at (1) scipy/integrate/odepack/lsoda.f:1219:72: 1219 | 115 rwork(i+lyh-1) = y(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 115 at (1) scipy/integrate/odepack/lsoda.f:1226:72: 1226 | 120 rwork(i+lewt-1) = 1.0d0/rwork(i+lewt-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/lsoda.f:1253:72: 1253 | 130 tol = dmax1(tol,rtol(i)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 130 at (1) scipy/integrate/odepack/lsoda.f:1274:72: 1274 | 190 rwork(i+lf0-1) = h0*rwork(i+lf0-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 190 at (1) scipy/integrate/odepack/lsoda.f:1330:72: 1330 | 260 rwork(i+lewt-1) = 1.0d0/rwork(i+lewt-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 260 at (1) scipy/integrate/odepack/lsoda.f:1425:72: 1425 | 410 y(i) = rwork(i+lyh-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 410 at (1) scipy/integrate/odepack/lsoda.f:1521:72: 1521 | 590 y(i) = rwork(i+lyh-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 590 at (1) scipy/integrate/odepack/lsoda.f:1428:0: 1428 | if (ihit) t = tcrit | Warning: 'ihit' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/odepack/lsoda.f:1112:0: 1112 | len1s = len1s + lenwm | Warning: 'lenwm' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/odepack/prja.f scipy/integrate/odepack/prja.f:69:72: 69 | 110 wm(i+2) = 0.0d0 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/prja.f:77:72: 77 | 120 wm(i+2) = wm(i+2)*con | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/prja.f:96:72: 96 | 220 wm(i+j1) = (ftem(i) - savf(i))*fac | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) scipy/integrate/odepack/prja.f:109:72: 109 | 250 j = j + np1 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 250 at (1) scipy/integrate/odepack/prja.f:126:72: 126 | 410 wm(i+2) = 0.0d0 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 410 at (1) scipy/integrate/odepack/prja.f:134:72: 134 | 420 wm(i+2) = wm(i+2)*con | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 420 at (1) scipy/integrate/odepack/prja.f:151:72: 151 | 530 y(i) = y(i) + r | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 530 at (1) scipy/integrate/odepack/prja.f:166:72: 166 | 540 wm(ii+i) = (ftem(i) - savf(i))*fac | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 540 at (1) scipy/integrate/odepack/prja.f:177:72: 177 | 580 ii = ii + meband | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 580 at (1) gfortran:f77: scipy/integrate/odepack/solsy.f scipy/integrate/odepack/solsy.f:57:72: 57 | 320 wm(i+2) = 1.0d0/di | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 320 at (1) scipy/integrate/odepack/solsy.f:59:72: 59 | 340 x(i) = wm(i+2)*x(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 340 at (1) scipy/integrate/odepack/solsy.f:1:39: 1 | subroutine solsy (wm, iwm, x, tem) | 1 Warning: Unused dummy argument 'tem' at (1) [-Wunused-dummy-argument] gfortran:f77: scipy/integrate/odepack/srcma.f scipy/integrate/odepack/srcma.f:27:72: 27 | 10 rsav(i) = rls(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/srcma.f:29:72: 29 | 15 rsav(lenrls+i) = rlsa(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/odepack/srcma.f:32:72: 32 | 20 isav(i) = ils(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1) scipy/integrate/odepack/srcma.f:34:72: 34 | 25 isav(lenils+i) = ilsa(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/odepack/srcma.f:42:72: 42 | 110 rls(i) = rsav(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/srcma.f:44:72: 44 | 115 rlsa(i) = rsav(lenrls+i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 115 at (1) scipy/integrate/odepack/srcma.f:47:72: 47 | 120 ils(i) = isav(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/srcma.f:49:72: 49 | 125 ilsa(i) = isav(lenils+i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 125 at (1) gfortran:f77: scipy/integrate/odepack/stoda.f scipy/integrate/odepack/stoda.f:155:72: 155 | 10 cm2(i) = tesco(2,i)*elco(i+1,i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/stoda.f:158:72: 158 | 20 cm1(i) = tesco(2,i)*elco(i+1,i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1) scipy/integrate/odepack/stoda.f:183:72: 183 | 155 el(i) = elco(i,nq) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 155 at (1) scipy/integrate/odepack/stoda.f:218:72: 218 | do 180 i = 1,n | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 180 at (1) scipy/integrate/odepack/stoda.f:219:72: 219 | 180 yh(i,j) = yh(i,j)*r | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 180 at (1) scipy/integrate/odepack/stoda.f:240:72: 240 | 210 yh1(i) = yh1(i) + yh1(i+nyh) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/stoda.f:253:72: 253 | 230 y(i) = yh(i,1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 230 at (1) scipy/integrate/odepack/stoda.f:275:72: 275 | 260 acor(i) = 0.0d0 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 260 at (1) scipy/integrate/odepack/stoda.f:283:72: 283 | 290 y(i) = savf(i) - acor(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 290 at (1) scipy/integrate/odepack/stoda.f:287:72: 287 | 300 acor(i) = savf(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 300 at (1) scipy/integrate/odepack/stoda.f:295:72: 295 | 360 y(i) = h*savf(i) - (yh(i,2) + acor(i)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 360 at (1) scipy/integrate/odepack/stoda.f:302:72: 302 | 380 y(i) = yh(i,1) + el(1)*acor(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 380 at (1) scipy/integrate/odepack/stoda.f:360:72: 360 | 440 yh1(i) = yh1(i) - yh1(i+nyh) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 440 at (1) scipy/integrate/odepack/stoda.f:399:72: 399 | do 460 i = 1,n | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 460 at (1) scipy/integrate/odepack/stoda.f:400:72: 400 | 460 yh(i,j) = yh(i,j) + el(j)*acor(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 460 at (1) scipy/integrate/odepack/stoda.f:508:72: 508 | 490 yh(i,lmax) = acor(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 490 at (1) scipy/integrate/odepack/stoda.f:524:72: 524 | 510 yh1(i) = yh1(i) - yh1(i+nyh) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 510 at (1) scipy/integrate/odepack/stoda.f:544:72: 544 | 530 savf(i) = acor(i) - yh(i,lmax) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 530 at (1) scipy/integrate/odepack/stoda.f:578:72: 578 | 600 yh(i,newq+1) = acor(i)*r | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 600 at (1) scipy/integrate/odepack/stoda.f:611:72: 611 | 645 y(i) = yh(i,1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 645 at (1) scipy/integrate/odepack/stoda.f:619:72: 619 | 650 yh(i,2) = h*savf(i) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 650 at (1) scipy/integrate/odepack/stoda.f:640:72: 640 | 710 acor(i) = acor(i)*r | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 710 at (1) gfortran:f77: scipy/integrate/odepack/vmnorm.f scipy/integrate/odepack/vmnorm.f:14:72: 14 | 10 vm = dmax1(vm,dabs(v(i))*w(i)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) gfortran:f77: scipy/integrate/odepack/xerrwv.f scipy/integrate/odepack/xerrwv.f:1:40: 1 | subroutine xerrwv (msg, nmes, nerr, level, ni, i1, i2, nr, r1, r2) | 1 Warning: Unused dummy argument 'nerr' at (1) [-Wunused-dummy-argument] gfortran:f77: scipy/integrate/odepack/xsetf.f gfortran:f77: scipy/integrate/odepack/xsetun.f ar: adding 15 object files to build/temp.macosx-10.7-x86_64-3.6/liblsoda.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/liblsoda.a building 'vode' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/integrate/odepack/vode.f scipy/integrate/odepack/vode.f:1347:72: 1347 | 120 RWORK(I+LEWT-1) = ONE/RWORK(I+LEWT-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/vode.f:1412:72: 1412 | 260 RWORK(I+LEWT-1) = ONE/RWORK(I+LEWT-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 260 at (1) scipy/integrate/odepack/vode.f:1776:72: 1776 | 60 Y(I) = Y0(I) + H*YDOT(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 60 at (1) scipy/integrate/odepack/vode.f:1779:72: 1779 | 70 TEMP(I) = (TEMP(I) - YDOT(I))/H | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 70 at (1) scipy/integrate/odepack/vode.f:1906:72: 1906 | 10 IC = IC*JJ | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/vode.f:1909:72: 1909 | 20 DKY(I) = C*YH(I,L) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1) scipy/integrate/odepack/vode.f:1919:72: 1919 | 30 IC = IC*JJ | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1) scipy/integrate/odepack/vode.f:1922:72: 1922 | 40 DKY(I) = C*YH(I,JP1) + S*DKY(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 40 at (1) scipy/integrate/odepack/vode.f:2134:72: 2134 | 110 YH1(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/vode.f:2181:72: 2181 | 210 YH1(I) = YH1(I) + YH1(I+LDYH) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/vode.f:2208:72: 2208 | 420 YH1(I) = YH1(I) - YH1(I+LDYH) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 420 at (1) scipy/integrate/odepack/vode.f:2236:72: 2236 | 470 TAU(I+1) = TAU(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 470 at (1) scipy/integrate/odepack/vode.f:2267:72: 2267 | 510 YH1(I) = YH1(I) - YH1(I+LDYH) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 510 at (1) scipy/integrate/odepack/vode.f:2301:72: 2301 | 550 YH(I,2) = H*SAVF(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 550 at (1) scipy/integrate/odepack/vode.f:2329:72: 2329 | 575 SAVF(I) = ACOR(I) - CNQUOT*YH(I,LMAX) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 575 at (1) scipy/integrate/odepack/vode.f:2479:72: 2479 | 115 EM(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 115 at (1) scipy/integrate/odepack/vode.f:2486:72: 2486 | 120 S = -S | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/vode.f:2491:72: 2491 | 140 EM(I) = EM(I) + EM(I-1)*RXI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 140 at (1) scipy/integrate/odepack/vode.f:2502:72: 2502 | 160 S = -S | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 160 at (1) scipy/integrate/odepack/vode.f:2507:72: 2507 | 170 EL(I+1) = S*EM(I)/REAL(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 170 at (1) scipy/integrate/odepack/vode.f:2516:72: 2516 | 180 EM(I) = EM(I) + EM(I-1)*RXI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 180 at (1) scipy/integrate/odepack/vode.f:2522:72: 2522 | 190 S = -S | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 190 at (1) scipy/integrate/odepack/vode.f:2528:72: 2528 | 210 EL(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/vode.f:2545:72: 2545 | 220 EL(I) = EL(I) + EL(I-1)*RXI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) scipy/integrate/odepack/vode.f:2554:72: 2554 | 235 EL(I) = EL(I) + EL(I-1)*RXIS | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 235 at (1) scipy/integrate/odepack/vode.f:2644:72: 2644 | 110 EL(J) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/vode.f:2654:72: 2654 | 120 EL(I) = EL(I)*XI + EL(I-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/vode.f:2658:72: 2658 | 140 EL(J+1) = REAL(NQ)*EL(J)/REAL(J) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 140 at (1) scipy/integrate/odepack/vode.f:2662:72: 2662 | 160 YH(I,J) = YH(I,J) - YH(I,L)*EL(J) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 160 at (1) scipy/integrate/odepack/vode.f:2670:72: 2670 | 190 YH(I,LP1) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 190 at (1) scipy/integrate/odepack/vode.f:2680:72: 2680 | 210 EL(J) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/vode.f:2690:72: 2690 | 220 EL(I) = EL(I)*XI + EL(I-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) scipy/integrate/odepack/vode.f:2695:72: 2695 | 240 YH(I,J) = YH(I,J) - YH(I,L)*EL(J) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 240 at (1) scipy/integrate/odepack/vode.f:2700:72: 2700 | 310 EL(J) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 310 at (1) scipy/integrate/odepack/vode.f:2718:72: 2718 | 320 EL(I) = EL(I)*XIOLD + EL(I-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 320 at (1) scipy/integrate/odepack/vode.f:2726:72: 2726 | 350 YH(I,LP1) = T1*YH(I,LMAX) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 350 at (1) scipy/integrate/odepack/vode.f:2894:72: 2894 | 260 ACOR(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 260 at (1) scipy/integrate/odepack/vode.f:2902:72: 2902 | 280 SAVF(I) = RL1*(H*SAVF(I) - YH(I,2)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 280 at (1) scipy/integrate/odepack/vode.f:2904:72: 2904 | 290 Y(I) = SAVF(I) - ACOR(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 290 at (1) scipy/integrate/odepack/vode.f:2907:72: 2907 | 300 Y(I) = YH(I,1) + SAVF(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 300 at (1) scipy/integrate/odepack/vode.f:2917:72: 2917 | 360 Y(I) = (RL1*H)*SAVF(I) - (RL1*YH(I,2) + ACOR(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 360 at (1) scipy/integrate/odepack/vode.f:2928:72: 2928 | 380 Y(I) = YH(I,1) + ACOR(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 380 at (1) scipy/integrate/odepack/vode.f:3091:72: 3091 | 110 WM(I+2) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/vode.f:3113:72: 3113 | 220 WM(I+J1) = (FTEM(I) - SAVF(I))*FAC | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) scipy/integrate/odepack/vode.f:3136:72: 3136 | 250 J = J + NP1 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 250 at (1) scipy/integrate/odepack/vode.f:3153:72: 3153 | 310 Y(I) = Y(I) + R*(H*SAVF(I) - YH(I,2)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 310 at (1) scipy/integrate/odepack/vode.f:3184:72: 3184 | 410 WM(I+2) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 410 at (1) scipy/integrate/odepack/vode.f:3205:72: 3205 | 530 Y(I) = Y(I) + R | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 530 at (1) scipy/integrate/odepack/vode.f:3216:72: 3216 | 540 WM(II+I) = (FTEM(I) - SAVF(I))*FAC | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 540 at (1) scipy/integrate/odepack/vode.f:3235:72: 3235 | 580 II = II + MEBAND | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 580 at (1) scipy/integrate/odepack/vode.f:3355:72: 3355 | 320 WM(I+2) = ONE/DI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 320 at (1) scipy/integrate/odepack/vode.f:3358:72: 3358 | 340 X(I) = WM(I+2)*X(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 340 at (1) scipy/integrate/odepack/vode.f:3409:72: 3409 | 10 RSAV(I) = RVOD1(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/vode.f:3411:72: 3411 | 15 RSAV(LENRV1+I) = RVOD2(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/odepack/vode.f:3414:72: 3414 | 20 ISAV(I) = IVOD1(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1) scipy/integrate/odepack/vode.f:3416:72: 3416 | 25 ISAV(LENIV1+I) = IVOD2(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/odepack/vode.f:3422:72: 3422 | 110 RVOD1(I) = RSAV(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/vode.f:3424:72: 3424 | 115 RVOD2(I) = RSAV(LENRV1+I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 115 at (1) scipy/integrate/odepack/vode.f:3427:72: 3427 | 120 IVOD1(I) = ISAV(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/vode.f:3429:72: 3429 | 125 IVOD2(I) = ISAV(LENIV1+I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 125 at (1) scipy/integrate/odepack/vode.f:3456:72: 3456 | 15 EWT(I) = RTOL(1)*ABS(YCUR(I)) + ATOL(1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/odepack/vode.f:3460:72: 3460 | 25 EWT(I) = RTOL(1)*ABS(YCUR(I)) + ATOL(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/odepack/vode.f:3464:72: 3464 | 35 EWT(I) = RTOL(I)*ABS(YCUR(I)) + ATOL(1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 35 at (1) scipy/integrate/odepack/vode.f:3468:72: 3468 | 45 EWT(I) = RTOL(I)*ABS(YCUR(I)) + ATOL(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 45 at (1) scipy/integrate/odepack/vode.f:3494:72: 3494 | 10 SUM = SUM + (V(I)*W(I))**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/vode.f:2370:4: 2370 | 700 R = ONE/TQ(2) | 1 Warning: Label 700 at (1) defined but not used [-Wunused-label] scipy/integrate/odepack/vode.f:3519:40: 3519 | SUBROUTINE XERRWD (MSG, NMES, NERR, LEVEL, NI, I1, I2, NR, R1, R2) | 1 Warning: Unused dummy argument 'nerr' at (1) [-Wunused-dummy-argument] scipy/integrate/odepack/vode.f:3500:44: 3500 | DOUBLE PRECISION FUNCTION D1MACH (IDUM) | 1 Warning: Unused dummy argument 'idum' at (1) [-Wunused-dummy-argument] scipy/integrate/odepack/vode.f:2737:35: 2737 | 1 F, JAC, PDUM, NFLAG, RPAR, IPAR) | 1 Warning: Unused dummy argument 'pdum' at (1) [-Wunused-dummy-argument] scipy/integrate/odepack/vode.f:2736:42: 2736 | SUBROUTINE DVNLSD (Y, YH, LDYH, VSAV, SAVF, EWT, ACOR, IWM, WM, | 1 Warning: Unused dummy argument 'vsav' at (1) [-Wunused-dummy-argument] scipy/integrate/odepack/vode.f:3615:0: 3615 | INTEGER FUNCTION IXSAV (IPAR, IVALUE, ISET) | Warning: '__result_ixsav' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/integrate/odepack/vode.f:1487:0: 1487 | IF (IHIT) T = TCRIT | Warning: 'ihit' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/odepack/zvode.f scipy/integrate/odepack/zvode.f:1362:72: 1362 | 120 RWORK(I+LEWT-1) = ONE/RWORK(I+LEWT-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/zvode.f:1427:72: 1427 | 260 RWORK(I+LEWT-1) = ONE/RWORK(I+LEWT-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 260 at (1) scipy/integrate/odepack/zvode.f:1795:72: 1795 | 60 Y(I) = Y0(I) + H*YDOT(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 60 at (1) scipy/integrate/odepack/zvode.f:1798:72: 1798 | 70 TEMP(I) = (TEMP(I) - YDOT(I))/H | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 70 at (1) scipy/integrate/odepack/zvode.f:1926:72: 1926 | 10 IC = IC*JJ | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/zvode.f:1929:72: 1929 | 20 DKY(I) = C*YH(I,L) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1) scipy/integrate/odepack/zvode.f:1939:72: 1939 | 30 IC = IC*JJ | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1) scipy/integrate/odepack/zvode.f:1942:72: 1942 | 40 DKY(I) = C*YH(I,JP1) + S*DKY(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 40 at (1) scipy/integrate/odepack/zvode.f:2155:72: 2155 | 110 YH1(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/zvode.f:2202:72: 2202 | 210 YH1(I) = YH1(I) + YH1(I+LDYH) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/zvode.f:2229:72: 2229 | 420 YH1(I) = YH1(I) - YH1(I+LDYH) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 420 at (1) scipy/integrate/odepack/zvode.f:2257:72: 2257 | 470 TAU(I+1) = TAU(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 470 at (1) scipy/integrate/odepack/zvode.f:2288:72: 2288 | 510 YH1(I) = YH1(I) - YH1(I+LDYH) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 510 at (1) scipy/integrate/odepack/zvode.f:2322:72: 2322 | 550 YH(I,2) = H*SAVF(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 550 at (1) scipy/integrate/odepack/zvode.f:2350:72: 2350 | 575 SAVF(I) = ACOR(I) - CNQUOT*YH(I,LMAX) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 575 at (1) scipy/integrate/odepack/zvode.f:2500:72: 2500 | 115 EM(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 115 at (1) scipy/integrate/odepack/zvode.f:2507:72: 2507 | 120 S = -S | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/zvode.f:2512:72: 2512 | 140 EM(I) = EM(I) + EM(I-1)*RXI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 140 at (1) scipy/integrate/odepack/zvode.f:2523:72: 2523 | 160 S = -S | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 160 at (1) scipy/integrate/odepack/zvode.f:2528:72: 2528 | 170 EL(I+1) = S*EM(I)/REAL(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 170 at (1) scipy/integrate/odepack/zvode.f:2537:72: 2537 | 180 EM(I) = EM(I) + EM(I-1)*RXI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 180 at (1) scipy/integrate/odepack/zvode.f:2543:72: 2543 | 190 S = -S | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 190 at (1) scipy/integrate/odepack/zvode.f:2549:72: 2549 | 210 EL(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/zvode.f:2566:72: 2566 | 220 EL(I) = EL(I) + EL(I-1)*RXI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) scipy/integrate/odepack/zvode.f:2575:72: 2575 | 235 EL(I) = EL(I) + EL(I-1)*RXIS | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 235 at (1) scipy/integrate/odepack/zvode.f:2665:72: 2665 | 110 EL(J) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/zvode.f:2675:72: 2675 | 120 EL(I) = EL(I)*XI + EL(I-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/zvode.f:2679:72: 2679 | 140 EL(J+1) = REAL(NQ)*EL(J)/REAL(J) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 140 at (1) scipy/integrate/odepack/zvode.f:2683:72: 2683 | 160 YH(I,J) = YH(I,J) - YH(I,L)*EL(J) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 160 at (1) scipy/integrate/odepack/zvode.f:2691:72: 2691 | 190 YH(I,LP1) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 190 at (1) scipy/integrate/odepack/zvode.f:2701:72: 2701 | 210 EL(J) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 210 at (1) scipy/integrate/odepack/zvode.f:2711:72: 2711 | 220 EL(I) = EL(I)*XI + EL(I-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) scipy/integrate/odepack/zvode.f:2716:72: 2716 | 240 YH(I,J) = YH(I,J) - YH(I,L)*EL(J) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 240 at (1) scipy/integrate/odepack/zvode.f:2721:72: 2721 | 310 EL(J) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 310 at (1) scipy/integrate/odepack/zvode.f:2739:72: 2739 | 320 EL(I) = EL(I)*XIOLD + EL(I-1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 320 at (1) scipy/integrate/odepack/zvode.f:2747:72: 2747 | 350 YH(I,LP1) = T1*YH(I,LMAX) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 350 at (1) scipy/integrate/odepack/zvode.f:2916:72: 2916 | 260 ACOR(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 260 at (1) scipy/integrate/odepack/zvode.f:2924:72: 2924 | 280 SAVF(I) = RL1*(H*SAVF(I) - YH(I,2)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 280 at (1) scipy/integrate/odepack/zvode.f:2926:72: 2926 | 290 Y(I) = SAVF(I) - ACOR(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 290 at (1) scipy/integrate/odepack/zvode.f:2929:72: 2929 | 300 Y(I) = YH(I,1) + SAVF(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 300 at (1) scipy/integrate/odepack/zvode.f:2939:72: 2939 | 360 Y(I) = (RL1*H)*SAVF(I) - (RL1*YH(I,2) + ACOR(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 360 at (1) scipy/integrate/odepack/zvode.f:2950:72: 2950 | 380 Y(I) = YH(I,1) + ACOR(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 380 at (1) scipy/integrate/odepack/zvode.f:3110:72: 3110 | 110 WM(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/zvode.f:3131:72: 3131 | 220 WM(I+J1) = (FTEM(I) - SAVF(I))*FAC | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1) scipy/integrate/odepack/zvode.f:3154:72: 3154 | 250 J = J + NP1 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 250 at (1) scipy/integrate/odepack/zvode.f:3170:72: 3170 | 310 Y(I) = Y(I) + R*(H*SAVF(I) - YH(I,2)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 310 at (1) scipy/integrate/odepack/zvode.f:3201:72: 3201 | 410 WM(I) = ZERO | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 410 at (1) scipy/integrate/odepack/zvode.f:3221:72: 3221 | 530 Y(I) = Y(I) + R | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 530 at (1) scipy/integrate/odepack/zvode.f:3232:72: 3232 | 540 WM(II+I) = (FTEM(I) - SAVF(I))*FAC | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 540 at (1) scipy/integrate/odepack/zvode.f:3251:72: 3251 | 580 II = II + MEBAND | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 580 at (1) scipy/integrate/odepack/zvode.f:3367:72: 3367 | 320 WM(I) = ONE/DI | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 320 at (1) scipy/integrate/odepack/zvode.f:3370:72: 3370 | 340 X(I) = WM(I)*X(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 340 at (1) scipy/integrate/odepack/zvode.f:3421:72: 3421 | 10 RSAV(I) = RVOD1(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/zvode.f:3423:72: 3423 | 15 RSAV(LENRV1+I) = RVOD2(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/odepack/zvode.f:3426:72: 3426 | 20 ISAV(I) = IVOD1(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1) scipy/integrate/odepack/zvode.f:3428:72: 3428 | 25 ISAV(LENIV1+I) = IVOD2(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/odepack/zvode.f:3434:72: 3434 | 110 RVOD1(I) = RSAV(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1) scipy/integrate/odepack/zvode.f:3436:72: 3436 | 115 RVOD2(I) = RSAV(LENRV1+I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 115 at (1) scipy/integrate/odepack/zvode.f:3439:72: 3439 | 120 IVOD1(I) = ISAV(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1) scipy/integrate/odepack/zvode.f:3441:72: 3441 | 125 IVOD2(I) = ISAV(LENIV1+I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 125 at (1) scipy/integrate/odepack/zvode.f:3475:72: 3475 | 15 EWT(I) = RTOL(1)*ABS(YCUR(I)) + ATOL(1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/odepack/zvode.f:3479:72: 3479 | 25 EWT(I) = RTOL(1)*ABS(YCUR(I)) + ATOL(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/odepack/zvode.f:3483:72: 3483 | 35 EWT(I) = RTOL(I)*ABS(YCUR(I)) + ATOL(1) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 35 at (1) scipy/integrate/odepack/zvode.f:3487:72: 3487 | 45 EWT(I) = RTOL(I)*ABS(YCUR(I)) + ATOL(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 45 at (1) scipy/integrate/odepack/zvode.f:3519:72: 3519 | 10 SUM = SUM + ZABSSQ(V(I)) * W(I)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/odepack/zvode.f:2391:4: 2391 | 700 R = ONE/TQ(2) | 1 Warning: Label 700 at (1) defined but not used [-Wunused-label] scipy/integrate/odepack/zvode.f:2758:35: 2758 | 1 F, JAC, PDUM, NFLAG, RPAR, IPAR) | 1 Warning: Unused dummy argument 'pdum' at (1) [-Wunused-dummy-argument] scipy/integrate/odepack/zvode.f:2757:42: 2757 | SUBROUTINE ZVNLSD (Y, YH, LDYH, VSAV, SAVF, EWT, ACOR, IWM, WM, | 1 Warning: Unused dummy argument 'vsav' at (1) [-Wunused-dummy-argument] scipy/integrate/odepack/zvode.f:1502:0: 1502 | IF (IHIT) T = TCRIT | Warning: 'ihit' may be used uninitialized in this function [-Wmaybe-uninitialized] ar: adding 2 object files to build/temp.macosx-10.7-x86_64-3.6/libvode.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libvode.a building 'dop' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops creating build/temp.macosx-10.7-x86_64-3.6/scipy/integrate/dop compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/integrate/dop/dop853.f scipy/integrate/dop/dop853.f:590:72: 590 | 22 Y1(I)=Y(I)+H*A21*K1(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 22 at (1) scipy/integrate/dop/dop853.f:593:72: 593 | 23 Y1(I)=Y(I)+H*(A31*K1(I)+A32*K2(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 23 at (1) scipy/integrate/dop/dop853.f:596:72: 596 | 24 Y1(I)=Y(I)+H*(A41*K1(I)+A43*K3(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 24 at (1) scipy/integrate/dop/dop853.f:599:72: 599 | 25 Y1(I)=Y(I)+H*(A51*K1(I)+A53*K3(I)+A54*K4(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/dop/dop853.f:602:72: 602 | 26 Y1(I)=Y(I)+H*(A61*K1(I)+A64*K4(I)+A65*K5(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 26 at (1) scipy/integrate/dop/dop853.f:605:72: 605 | 27 Y1(I)=Y(I)+H*(A71*K1(I)+A74*K4(I)+A75*K5(I)+A76*K6(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 27 at (1) scipy/integrate/dop/dop853.f:608:72: 608 | 28 Y1(I)=Y(I)+H*(A81*K1(I)+A84*K4(I)+A85*K5(I)+A86*K6(I)+A87*K7(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 28 at (1) scipy/integrate/dop/dop853.f:612:72: 612 | &amp; +A98*K8(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 29 at (1) scipy/integrate/dop/dop853.f:616:72: 616 | &amp; +A107*K7(I)+A108*K8(I)+A109*K9(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1) scipy/integrate/dop/dop853.f:620:72: 620 | &amp; +A117*K7(I)+A118*K8(I)+A119*K9(I)+A1110*K10(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 31 at (1) scipy/integrate/dop/dop853.f:625:72: 625 | &amp; +A127*K7(I)+A128*K8(I)+A129*K9(I)+A1210*K10(I)+A1211*K2(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 32 at (1) scipy/integrate/dop/dop853.f:631:72: 631 | 35 K5(I)=Y(I)+H*K4(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 35 at (1) scipy/integrate/dop/dop853.f:642:72: 642 | 41 ERR=ERR+(ERRI/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 41 at (1) scipy/integrate/dop/dop853.f:650:72: 650 | 42 ERR=ERR+(ERRI/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 42 at (1) scipy/integrate/dop/dop853.f:714:72: 714 | &amp; +A1413*K4(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 51 at (1) scipy/integrate/dop/dop853.f:719:72: 719 | &amp; +A1514*K10(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 52 at (1) scipy/integrate/dop/dop853.f:724:72: 724 | &amp; +A1615*K2(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 53 at (1) scipy/integrate/dop/dop853.f:743:72: 743 | 67 Y(I)=K5(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 67 at (1) scipy/integrate/dop/dop853.f:811:72: 811 | 10 DNY=DNY+(Y(I)/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/dop/dop853.f:816:72: 816 | 11 DNY=DNY+(Y(I)/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 11 at (1) scipy/integrate/dop/dop853.f:827:72: 827 | 12 Y1(I)=Y(I)+H*F0(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 12 at (1) scipy/integrate/dop/dop853.f:834:72: 834 | 15 DER2=DER2+((F1(I)-F0(I))/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/dop/dop853.f:838:72: 838 | 16 DER2=DER2+((F1(I)-F0(I))/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 16 at (1) scipy/integrate/dop/dop853.f:364:42: 364 | &amp; SOLOUT,IOUT,IDID,NMAX,UROUND,METH,NSTIFF,SAFE,BETA,FAC1,FAC2, | 1 Warning: Unused dummy argument 'meth' at (1) [-Wunused-dummy-argument] scipy/integrate/dop/dop853.f:791:38: 791 | FUNCTION HINIT853(N,FCN,X,Y,XEND,POSNEG,F0,F1,Y1,IORD, | 1 Warning: Unused dummy argument 'xend' at (1) [-Wunused-dummy-argument] scipy/integrate/dop/dop853.f:686:0: 686 | NONSTI=NONSTI+1 | Warning: 'nonsti' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/integrate/dop/dopri5.f scipy/integrate/dop/dopri5.f:249:72: 249 | 16 IWORK(20+I)=I | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 16 at (1) scipy/integrate/dop/dopri5.f:422:72: 422 | 22 Y1(I)=Y(I)+H*A21*K1(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 22 at (1) scipy/integrate/dop/dopri5.f:425:72: 425 | 23 Y1(I)=Y(I)+H*(A31*K1(I)+A32*K2(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 23 at (1) scipy/integrate/dop/dopri5.f:428:72: 428 | 24 Y1(I)=Y(I)+H*(A41*K1(I)+A42*K2(I)+A43*K3(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 24 at (1) scipy/integrate/dop/dopri5.f:431:72: 431 | 25 Y1(I)=Y(I)+H*(A51*K1(I)+A52*K2(I)+A53*K3(I)+A54*K4(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1) scipy/integrate/dop/dopri5.f:434:72: 434 | 26 YSTI(I)=Y(I)+H*(A61*K1(I)+A62*K2(I)+A63*K3(I)+A64*K4(I)+A65*K5(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 26 at (1) scipy/integrate/dop/dopri5.f:438:72: 438 | 27 Y1(I)=Y(I)+H*(A71*K1(I)+A73*K3(I)+A74*K4(I)+A75*K5(I)+A76*K6(I)) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 27 at (1) scipy/integrate/dop/dopri5.f:448:72: 448 | 28 K4(I)=(E1*K1(I)+E3*K3(I)+E4*K4(I)+E5*K5(I)+E6*K6(I)+E7*K2(I))*H | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 28 at (1) scipy/integrate/dop/dopri5.f:455:72: 455 | 41 ERR=ERR+(K4(I)/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 41 at (1) scipy/integrate/dop/dopri5.f:459:72: 459 | 42 ERR=ERR+(K4(I)/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 42 at (1) scipy/integrate/dop/dopri5.f:509:72: 509 | 44 Y(I)=Y1(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 44 at (1) scipy/integrate/dop/dopri5.f:578:72: 578 | 10 DNY=DNY+(Y(I)/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) scipy/integrate/dop/dopri5.f:583:72: 583 | 11 DNY=DNY+(Y(I)/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 11 at (1) scipy/integrate/dop/dopri5.f:594:72: 594 | 12 Y1(I)=Y(I)+H*F0(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 12 at (1) scipy/integrate/dop/dopri5.f:601:72: 601 | 15 DER2=DER2+((F1(I)-F0(I))/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1) scipy/integrate/dop/dopri5.f:605:72: 605 | 16 DER2=DER2+((F1(I)-F0(I))/SK)**2 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 16 at (1) scipy/integrate/dop/dopri5.f:558:35: 558 | FUNCTION HINIT(N,FCN,X,Y,XEND,POSNEG,F0,F1,Y1,IORD, | 1 Warning: Unused dummy argument 'xend' at (1) [-Wunused-dummy-argument] scipy/integrate/dop/dopri5.f:491:0: 491 | NONSTI=NONSTI+1 | Warning: 'nonsti' may be used uninitialized in this function [-Wmaybe-uninitialized] ar: adding 2 object files to build/temp.macosx-10.7-x86_64-3.6/libdop.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libdop.a building 'fitpack' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops creating build/temp.macosx-10.7-x86_64-3.6/scipy/interpolate creating build/temp.macosx-10.7-x86_64-3.6/scipy/interpolate/fitpack compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/interpolate/fitpack/fptrnp.f scipy/interpolate/fitpack/fptrnp.f:39:72: 39 | do 100 j=1,5 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1) scipy/interpolate/fitpack/fptrnp.f:70:72: 70 | do 400 jj=1,mm | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 400 at (1) scipy/interpolate/fitpack/fptrnp.f:87:72: 87 | do 500 jj=1,mm | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 500 at (1) scipy/interpolate/fitpack/fptrnp.f:53:0: 53 | h(j) = b(n1,j)*pinv | Warning: 'pinv' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fprank.f scipy/interpolate/fitpack/fprank.f:90:72: 90 | do 100 j=1,m | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1) gfortran:f77: scipy/interpolate/fitpack/fpbspl.f scipy/interpolate/fitpack/fpbspl.f:31:72: 31 | do 20 i=1,j | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1) gfortran:f77: scipy/interpolate/fitpack/pogrid.f gfortran:f77: scipy/interpolate/fitpack/fpback.f gfortran:f77: scipy/interpolate/fitpack/curev.f gfortran:f77: scipy/interpolate/fitpack/clocur.f gfortran:f77: scipy/interpolate/fitpack/pardeu.f gfortran:f77: scipy/interpolate/fitpack/fpseno.f gfortran:f77: scipy/interpolate/fitpack/fpfrno.f scipy/interpolate/fitpack/fpfrno.f:42:0: 42 | right(k) = count | Warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/profil.f gfortran:f77: scipy/interpolate/fitpack/fpbisp.f gfortran:f77: scipy/interpolate/fitpack/fppocu.f gfortran:f77: scipy/interpolate/fitpack/curfit.f gfortran:f77: scipy/interpolate/fitpack/fpcosp.f scipy/interpolate/fitpack/fpcosp.f:61:72: 61 | do 20 j=1,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1) scipy/interpolate/fitpack/fpcosp.f:91:72: 91 | do 60 j3 = j1,l | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 60 at (1) scipy/interpolate/fitpack/fpcosp.f:157:72: 157 | do 170 j=1,kdim | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 170 at (1) gfortran:f77: scipy/interpolate/fitpack/fprota.f gfortran:f77: scipy/interpolate/fitpack/sproot.f gfortran:f77: scipy/interpolate/fitpack/fpgrre.f scipy/interpolate/fitpack/fpgrre.f:115:72: 115 | do 140 j=1,kx2 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 140 at (1) scipy/interpolate/fitpack/fpgrre.f:185:72: 185 | do 290 j=1,ky2 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 290 at (1) scipy/interpolate/fitpack/fpgrre.f:199:0: 199 | h(j) = by(n1,j)*pinv | Warning: 'pinv' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/parder.f gfortran:f77: scipy/interpolate/fitpack/splder.f gfortran:f77: scipy/interpolate/fitpack/fpchep.f gfortran:f77: scipy/interpolate/fitpack/sphere.f gfortran:f77: scipy/interpolate/fitpack/surfit.f gfortran:f77: scipy/interpolate/fitpack/fppasu.f scipy/interpolate/fitpack/fppasu.f:272:33: 272 | if(reducu.gt.acc) npl1 = rn*fpms/reducu | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fppasu.f:279:33: 279 | if(reducv.gt.acc) npl1 = rn*fpms/reducv | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fppasu.f:336:0: 336 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppasu.f:308:0: 308 | if(nv.eq.nve) go to 250 | Warning: 'nve' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppasu.f:295:0: 295 | if(nu.eq.nue) go to 250 | Warning: 'nue' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppasu.f:251:0: 251 | if(nu.eq.nmaxu .and. nv.eq.nmaxv) go to 430 | Warning: 'nmaxv' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppasu.f:251:0: Warning: 'nmaxu' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppasu.f:367:0: 367 | if((f1-f2).gt.acc) go to 330 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppasu.f:230:0: 230 | tv(l2) = tv(l4)-perv | Warning: 'perv' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppasu.f:209:0: 209 | tu(l3) = tu(l1)+peru | Warning: 'peru' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fprati.f gfortran:f77: scipy/interpolate/fitpack/fpcons.f scipy/interpolate/fitpack/fpcons.f:131:72: 131 | do 80 j=1,k1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 80 at (1) scipy/interpolate/fitpack/fpcons.f:321:72: 321 | do 260 j=1,k1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 260 at (1) scipy/interpolate/fitpack/fpcons.f:224:35: 224 | if(fpold-fp.gt.acc) npl1 = rn*fpms/(fpold-fp) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpcons.f:225:0: 225 | nplus = min0(nplus*2,max0(npl1,nplus/2,1)) | Warning: 'nplus' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcons.f:264:0: 264 | if(n.eq.nmax) go to 25 | Warning: 'nmax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcons.f:383:0: 383 | if(u(it).lt.t(l) .or. l.gt.nk1) go to 310 | Warning: 'nk1' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcons.f:81:0: 81 | t(i) = u(j) | Warning: 'mm' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcons.f:12:0: 12 | real*8 acc,con1,con4,con9,cos,fac,fpart,fpms,fpold,fp0,f1,f2,f3, | Warning: 'fpold' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcons.f:301:0: 301 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcons.f:12:0: 12 | real*8 acc,con1,con4,con9,cos,fac,fpart,fpms,fpold,fp0,f1,f2,f3, | Warning: 'fp0' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcons.f:418:0: 418 | if((f1-f2).gt.acc) go to 345 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpspgr.f scipy/interpolate/fitpack/fpspgr.f:315:33: 315 | if(reducu.gt.acc) npl1 = rn*fpms/reducu | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpspgr.f:322:33: 322 | if(reducv.gt.acc) npl1 = rn*fpms/reducv | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpspgr.f:382:0: 382 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpspgr.f:414:0: 414 | if((f1-f2).gt.acc) go to 330 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpspgr.f:287:0: 287 | if(nu.eq.numax .and. nv.eq.nvmax) go to 430 | Warning: 'nvmax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpspgr.f:344:0: 344 | 230 if(nv.eq.nve) go to 210 | Warning: 'nve' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpspgr.f:287:0: 287 | if(nu.eq.numax .and. nv.eq.nvmax) go to 430 | Warning: 'numax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpspgr.f:341:0: 341 | if(nu.eq.nue) go to 270 | Warning: 'nue' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/splint.f gfortran:f77: scipy/interpolate/fitpack/concur.f gfortran:f77: scipy/interpolate/fitpack/fprpsp.f gfortran:f77: scipy/interpolate/fitpack/fpopdi.f gfortran:f77: scipy/interpolate/fitpack/spalde.f gfortran:f77: scipy/interpolate/fitpack/fppogr.f scipy/interpolate/fitpack/fppogr.f:286:33: 286 | if(reducu.gt.acc) npl1 = rn*fpms/reducu | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fppogr.f:293:33: 293 | if(reducv.gt.acc) npl1 = rn*fpms/reducv | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fppogr.f:353:0: 353 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppogr.f:385:0: 385 | if((f1-f2).gt.acc) go to 330 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppogr.f:260:0: 260 | if(nu.eq.numax .and. nv.eq.nvmax) go to 430 | Warning: 'nvmax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppogr.f:315:0: 315 | 230 if(nv.eq.nve) go to 210 | Warning: 'nve' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppogr.f:260:0: 260 | if(nu.eq.numax .and. nv.eq.nvmax) go to 430 | Warning: 'numax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppogr.f:312:0: 312 | if(nu.eq.nue) go to 270 | Warning: 'nue' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpperi.f scipy/interpolate/fitpack/fpperi.f:172:72: 172 | do 70 j=1,kk1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 70 at (1) scipy/interpolate/fitpack/fpperi.f:201:72: 201 | do 95 j=1,kk | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 95 at (1) scipy/interpolate/fitpack/fpperi.f:445:72: 445 | do 360 j=1,k | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 360 at (1) scipy/interpolate/fitpack/fpperi.f:339:35: 339 | if(fpold-fp.gt.acc) npl1 = rn*fpms/(fpold-fp) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpperi.f:340:0: 340 | nplus = min0(nplus*2,max0(npl1,nplus/2,1)) | Warning: 'nplus' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpperi.f:375:0: 375 | if(n.eq.nmax) go to 5 | Warning: 'nmax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpperi.f:468:0: 468 | if(l0.eq.n10) go to 400 | Warning: 'n10' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpperi.f:16:0: 16 | integer i,ich1,ich3,ij,ik,it,iter,i1,i2,i3,j,jk,jper,j1,j2,kk, | Warning: 'i1' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpperi.f:13:0: 13 | real*8 acc,cos,c1,d1,fpart,fpms,fpold,fp0,f1,f2,f3,p,per,pinv,piv, | Warning: 'fpold' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpperi.f:409:0: 409 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpperi.f:407:0: 407 | f1 = fp0-s | Warning: 'fp0' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpperi.f:574:0: 574 | if((f1-f2) .gt. acc) go to 585 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpsurf.f scipy/interpolate/fitpack/fpsurf.f:172:72: 172 | do 140 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 140 at (1) scipy/interpolate/fitpack/fpsurf.f:273:72: 273 | do 290 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 290 at (1) scipy/interpolate/fitpack/fpsurf.f:447:72: 447 | do 480 j=ibb,iband4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 480 at (1) scipy/interpolate/fitpack/fpsurf.f:455:72: 455 | do 550 j=1,nk1x | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 550 at (1) scipy/interpolate/fitpack/fpsurf.f:497:72: 497 | do 630 j=1,nk1y | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 630 at (1) scipy/interpolate/fitpack/fpsurf.f:642:72: 642 | do 840 j=1,nk1y | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 840 at (1) scipy/interpolate/fitpack/fpsurf.f:22:0: 22 | * nrint,num,num1,nx,nxe,nxx,ny,nye,nyy,n1,rank | Warning: 'nyy' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsurf.f:21:0: 21 | * la,lf,lh,lwest,lx,ly,l1,l2,n,ncof,nk1x,nk1y,nminx,nminy,nreg, | Warning: 'nk1y' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsurf.f:21:0: Warning: 'nk1x' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsurf.f:621:0: 621 | 780 ier = lwest | Warning: 'lwest' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsurf.f:471:0: 471 | i2 = min0(iband1,ncof-irot) | Warning: 'iband1' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsurf.f:425:0: 425 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsurf.f:605:0: 605 | if((f1-f2).gt.acc) go to 750 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/dblint.f gfortran:f77: scipy/interpolate/fitpack/fpinst.f gfortran:f77: scipy/interpolate/fitpack/cualde.f gfortran:f77: scipy/interpolate/fitpack/fpgrsp.f scipy/interpolate/fitpack/fpgrsp.f:255:72: 255 | do 240 j=1,5 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 240 at (1) scipy/interpolate/fitpack/fpgrsp.f:372:72: 372 | do 440 j=1,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 440 at (1) scipy/interpolate/fitpack/fpgrsp.f:17:0: 17 | real*8 arg,co,dr01,dr02,dr03,dr11,dr12,dr13,fac,fac0,fac1,pinv,piv | Warning: 'pinv' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpbacp.f gfortran:f77: scipy/interpolate/fitpack/fpclos.f scipy/interpolate/fitpack/fpclos.f:200:72: 200 | do 70 j=1,kk1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 70 at (1) scipy/interpolate/fitpack/fpclos.f:233:72: 233 | do 95 j=1,kk | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 95 at (1) scipy/interpolate/fitpack/fpclos.f:510:72: 510 | do 360 j=1,k | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 360 at (1) scipy/interpolate/fitpack/fpclos.f:395:35: 395 | if(fpold-fp.gt.acc) npl1 = rn*fpms/(fpold-fp) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpclos.f:396:0: 396 | nplus = min0(nplus*2,max0(npl1,nplus/2,1)) | Warning: 'nplus' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpclos.f:438:0: 438 | if(n.eq.nmax) go to 5 | Warning: 'nmax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpclos.f:535:0: 535 | if(l0.eq.n10) go to 400 | Warning: 'n10' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpclos.f:16:0: 16 | integer i,ich1,ich3,ij,ik,it,iter,i1,i2,i3,j,jj,jk,jper,j1,j2,kk, | Warning: 'i1' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpclos.f:13:0: 13 | real*8 acc,cos,d1,fac,fpart,fpms,fpold,fp0,f1,f2,f3,p,per,pinv,piv | Warning: 'fpold' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpclos.f:472:0: 472 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpclos.f:470:0: 470 | f1 = fp0-s | Warning: 'fp0' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpclos.f:663:0: 663 | if((f1-f2) .gt. acc) go to 585 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpregr.f scipy/interpolate/fitpack/fpregr.f:246:33: 246 | if(reducx.gt.acc) npl1 = rn*fpms/reducx | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpregr.f:253:33: 253 | if(reducy.gt.acc) npl1 = rn*fpms/reducy | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpregr.f:310:0: 310 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpregr.f:282:0: 282 | if(ny.eq.nye) go to 250 | Warning: 'nye' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpregr.f:269:0: 269 | if(nx.eq.nxe) go to 250 | Warning: 'nxe' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpregr.f:225:0: 225 | if(nx.eq.nmaxx .and. ny.eq.nmaxy) go to 430 | Warning: 'nmaxy' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpregr.f:225:0: Warning: 'nmaxx' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpregr.f:341:0: 341 | if((f1-f2).gt.acc) go to 330 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpadno.f gfortran:f77: scipy/interpolate/fitpack/fpcsin.f gfortran:f77: scipy/interpolate/fitpack/spgrid.f gfortran:f77: scipy/interpolate/fitpack/fpcuro.f gfortran:f77: scipy/interpolate/fitpack/concon.f gfortran:f77: scipy/interpolate/fitpack/fpbfout.f scipy/interpolate/fitpack/fpbfout.f:76:72: 76 | do 20 ll=i,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1) scipy/interpolate/fitpack/fpbfout.f:108:72: 108 | do 50 ll=jj,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 50 at (1) scipy/interpolate/fitpack/fpbfout.f:185:72: 185 | do 180 ll=i,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 180 at (1) scipy/interpolate/fitpack/fpbfout.f:117:0: 117 | c2 = (hc(5)-hc(4))*term | Warning: 'term' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/evapol.f gfortran:f77: scipy/interpolate/fitpack/fpcyt1.f gfortran:f77: scipy/interpolate/fitpack/fpdisc.f gfortran:f77: scipy/interpolate/fitpack/surev.f gfortran:f77: scipy/interpolate/fitpack/fpsuev.f gfortran:f77: scipy/interpolate/fitpack/fpchec.f gfortran:f77: scipy/interpolate/fitpack/fpintb.f scipy/interpolate/fitpack/fpintb.f:91:72: 91 | do 70 i=1,j1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 70 at (1) scipy/interpolate/fitpack/fpintb.f:115:0: 115 | if(ib.lt.ia) go to 130 | Warning: 'ia' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/insert.f gfortran:f77: scipy/interpolate/fitpack/bispeu.f gfortran:f77: scipy/interpolate/fitpack/fptrpe.f scipy/interpolate/fitpack/fptrpe.f:51:72: 51 | do 100 j=1,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1) scipy/interpolate/fitpack/fptrpe.f:80:72: 80 | do 220 jj=1,mm | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 220 at (1) scipy/interpolate/fitpack/fptrpe.f:135:72: 135 | do 440 jj=1,mm | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 440 at (1) scipy/interpolate/fitpack/fptrpe.f:167:72: 167 | do 580 jj=1,mm | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 580 at (1) scipy/interpolate/fitpack/fptrpe.f:193:72: 193 | do 660 jj=1,mm | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 660 at (1) scipy/interpolate/fitpack/fptrpe.f:64:0: 64 | h(j) = b(n1,j)*pinv | Warning: 'pinv' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpadpo.f gfortran:f77: scipy/interpolate/fitpack/fpknot.f scipy/interpolate/fitpack/fpknot.f:41:0: 41 | ihalf = maxpt/2+1 | Warning: 'maxpt' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpknot.f:42:0: 42 | nrx = maxbeg+ihalf | Warning: 'maxbeg' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpknot.f:43:0: 43 | next = number+1 | Warning: 'number' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpcurf.f scipy/interpolate/fitpack/fpcurf.f:119:72: 119 | do 80 j=1,k1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 80 at (1) scipy/interpolate/fitpack/fpcurf.f:274:72: 274 | do 260 j=1,k1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 260 at (1) scipy/interpolate/fitpack/fpcurf.f:186:35: 186 | if(fpold-fp.gt.acc) npl1 = rn*fpms/(fpold-fp) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fpcurf.f:187:0: 187 | nplus = min0(nplus*2,max0(npl1,nplus/2,1)) | Warning: 'nplus' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcurf.f:219:0: 219 | if(n.eq.nmax) go to 10 | Warning: 'nmax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcurf.f:12:0: 12 | real*8 acc,con1,con4,con9,cos,half,fpart,fpms,fpold,fp0,f1,f2,f3, | Warning: 'fpold' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcurf.f:256:0: 256 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcurf.f:12:0: 12 | real*8 acc,con1,con4,con9,cos,half,fpart,fpms,fpold,fp0,f1,f2,f3, | Warning: 'fp0' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpcurf.f:335:0: 335 | if((f1-f2).gt.acc) go to 345 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fourco.f gfortran:f77: scipy/interpolate/fitpack/percur.f gfortran:f77: scipy/interpolate/fitpack/fpsphe.f scipy/interpolate/fitpack/fpsphe.f:165:72: 165 | do 100 j=1,npp | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1) scipy/interpolate/fitpack/fpsphe.f:216:72: 216 | do 160 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 160 at (1) scipy/interpolate/fitpack/fpsphe.f:357:72: 357 | do 380 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 380 at (1) scipy/interpolate/fitpack/fpsphe.f:532:72: 532 | do 600 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 600 at (1) scipy/interpolate/fitpack/fpsphe.f:555:72: 555 | do 720 j=1,nt6 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 720 at (1) scipy/interpolate/fitpack/fpsphe.f:603:72: 603 | do 810 j=1,npp | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 810 at (1) scipy/interpolate/fitpack/fpsphe.f:519:0: 519 | if(ntt.le.4) iband4 = ncof | Warning: 'ntt' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsphe.f:614:0: 614 | if(il.ne.3 .and. il.ne.nt4) go to 750 | Warning: 'nt4' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsphe.f:23:0: 23 | * l3,l4,ncof,ncoff,npp,np4,nreg,nrint,nrr,nr1,ntt,nt4,nt6,num, | Warning: 'np4' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsphe.f:746:0: 746 | 925 ier = lwest | Warning: 'lwest' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsphe.f:578:0: 578 | i2 = min0(iband1,ncof-irot) | Warning: 'iband1' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsphe.f:510:0: 510 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fpsphe.f:730:0: 730 | if((f1-f2).gt.acc) go to 905 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpcyt2.f gfortran:f77: scipy/interpolate/fitpack/fpsysy.f gfortran:f77: scipy/interpolate/fitpack/fpdeno.f gfortran:f77: scipy/interpolate/fitpack/parsur.f gfortran:f77: scipy/interpolate/fitpack/fpcoco.f gfortran:f77: scipy/interpolate/fitpack/fppara.f scipy/interpolate/fitpack/fppara.f:121:72: 121 | do 80 j=1,k1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 80 at (1) scipy/interpolate/fitpack/fppara.f:299:72: 299 | do 260 j=1,k1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 260 at (1) scipy/interpolate/fitpack/fppara.f:202:35: 202 | if(fpold-fp.gt.acc) npl1 = rn*fpms/(fpold-fp) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/interpolate/fitpack/fppara.f:203:0: 203 | nplus = min0(nplus*2,max0(npl1,nplus/2,1)) | Warning: 'nplus' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppara.f:242:0: 242 | if(n.eq.nmax) go to 10 | Warning: 'nmax' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppara.f:12:0: 12 | real*8 acc,con1,con4,con9,cos,fac,fpart,fpms,fpold,fp0,f1,f2,f3, | Warning: 'fpold' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppara.f:279:0: 279 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppara.f:12:0: 12 | real*8 acc,con1,con4,con9,cos,fac,fpart,fpms,fpold,fp0,f1,f2,f3, | Warning: 'fp0' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppara.f:378:0: 378 | if((f1-f2).gt.acc) go to 345 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpopsp.f gfortran:f77: scipy/interpolate/fitpack/bispev.f gfortran:f77: scipy/interpolate/fitpack/fpgivs.f gfortran:f77: scipy/interpolate/fitpack/fporde.f gfortran:f77: scipy/interpolate/fitpack/fpgrdi.f scipy/interpolate/fitpack/fpgrdi.f:219:72: 219 | do 240 j=1,5 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 240 at (1) scipy/interpolate/fitpack/fpgrdi.f:319:72: 319 | do 440 j=1,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 440 at (1) scipy/interpolate/fitpack/fpgrdi.f:16:0: 16 | real*8 arg,co,dz1,dz2,dz3,fac,fac0,pinv,piv,si,term,one,three,half | Warning: 'pinv' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/fpgrpa.f scipy/interpolate/fitpack/fpgrpa.f:158:72: 158 | do 220 i=1,nuu | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 220 at (1) scipy/interpolate/fitpack/fpgrpa.f:164:72: 164 | do 260 i=1,nuu | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 260 at (1) scipy/interpolate/fitpack/fpgrpa.f:172:72: 172 | do 360 j=1,nvv | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 360 at (1) scipy/interpolate/fitpack/fpgrpa.f:189:72: 189 | do 460 j=1,nvv | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 460 at (1) scipy/interpolate/fitpack/fpgrpa.f:209:72: 209 | do 560 l=1,nuu | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 560 at (1) gfortran:f77: scipy/interpolate/fitpack/cocosp.f gfortran:f77: scipy/interpolate/fitpack/fpched.f gfortran:f77: scipy/interpolate/fitpack/polar.f gfortran:f77: scipy/interpolate/fitpack/parcur.f gfortran:f77: scipy/interpolate/fitpack/fpader.f scipy/interpolate/fitpack/fpader.f:45:72: 45 | do 500 j2=jj,k1 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 500 at (1) gfortran:f77: scipy/interpolate/fitpack/fprppo.f scipy/interpolate/fitpack/fprppo.f:12:0: 12 | integer i,iopt,ii,j,k,l,nu4,nvv | Warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: scipy/interpolate/fitpack/splev.f gfortran:f77: scipy/interpolate/fitpack/regrid.f gfortran:f77: scipy/interpolate/fitpack/fppola.f scipy/interpolate/fitpack/fppola.f:68:72: 68 | do 20 j=1,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1) scipy/interpolate/fitpack/fppola.f:198:72: 198 | do 140 j=1,nvv | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 140 at (1) scipy/interpolate/fitpack/fppola.f:263:72: 263 | do 200 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 200 at (1) scipy/interpolate/fitpack/fppola.f:319:72: 319 | do 270 i=1,nvv | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 270 at (1) scipy/interpolate/fitpack/fppola.f:407:72: 407 | do 420 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 420 at (1) scipy/interpolate/fitpack/fppola.f:588:72: 588 | do 630 j=1,iband | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 630 at (1) scipy/interpolate/fitpack/fppola.f:604:72: 604 | do 720 j=1,nuu | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 720 at (1) scipy/interpolate/fitpack/fppola.f:615:72: 615 | do 650 l=1,nvv | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 650 at (1) scipy/interpolate/fitpack/fppola.f:624:72: 624 | do 660 l=1,nvv | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 660 at (1) scipy/interpolate/fitpack/fppola.f:670:72: 670 | do 810 j=1,nvv | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 810 at (1) scipy/interpolate/fitpack/fppola.f:24:0: 24 | * l3,l4,ncof,ncoff,nvv,nv4,nreg,nrint,nrr,nr1,nuu,nu4,num,num1, | Warning: 'nv4' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppola.f:680:0: 680 | if(il.eq.nu4 .and. iopt3.ne.0) go to 760 | Warning: 'nu4' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppola.f:821:0: 821 | 925 ier = lwest | Warning: 'lwest' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppola.f:645:0: 645 | i2 = min0(iband1,ncof-irot) | Warning: 'iband1' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppola.f:565:0: 565 | f3 = fpms | Warning: 'fpms' may be used uninitialized in this function [-Wmaybe-uninitialized] scipy/interpolate/fitpack/fppola.f:805:0: 805 | if((f1-f2).gt.acc) go to 905 | Warning: 'acc' may be used uninitialized in this function [-Wmaybe-uninitialized] ar: adding 50 object files to build/temp.macosx-10.7-x86_64-3.6/libfitpack.a ar: adding 35 object files to build/temp.macosx-10.7-x86_64-3.6/libfitpack.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libfitpack.a building 'fwrappers' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops creating build/temp.macosx-10.7-x86_64-3.6/scipy/linalg creating build/temp.macosx-10.7-x86_64-3.6/private creating build/temp.macosx-10.7-x86_64-3.6/private/var creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49 creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-install-ml2ocady creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-install-ml2ocady/scipy creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-install-ml2ocady/scipy/scipy creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-install-ml2ocady/scipy/scipy/_build_utils creating build/temp.macosx-10.7-x86_64-3.6/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-install-ml2ocady/scipy/scipy/_build_utils/src compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -I/usr/local/Cellar/pypy3/7.3.1_1/libexec/include -I/usr/local/Cellar/pypy3/7.3.1_1/libexec/include/include -I/usr/local/Cellar/pypy3/7.3.1_1/libexec/include -I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/linalg/_blas_subroutine_wrappers.f gfortran:f77: scipy/linalg/_lapack_subroutine_wrappers.f gfortran:f77: /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-install-ml2ocady/scipy/scipy/_build_utils/src/wrap_dummy_g77_abi.f ar: adding 3 object files to build/temp.macosx-10.7-x86_64-3.6/libfwrappers.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libfwrappers.a building 'odrpack' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops creating build/temp.macosx-10.7-x86_64-3.6/scipy/odr creating build/temp.macosx-10.7-x86_64-3.6/scipy/odr/odrpack compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/odr/odrpack/d_odr.f scipy/odr/odrpack/d_odr.f:1014:13: 1014 | NETA = MAX(TWO,P5-LOG10(ETA)) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/odr/odrpack/d_odr.f:2955:13: 2955 | NTOL = MAX(ONE,P5-LOG10(TOL)) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] scipy/odr/odrpack/d_odr.f:6032:16: 6032 | J = WORK(WRK3+I) - 1 | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] gfortran:f77: scipy/odr/odrpack/d_mprec.f gfortran:f77: scipy/odr/odrpack/dlunoc.f gfortran:f77: scipy/odr/odrpack/d_lpk.f ar: adding 4 object files to build/temp.macosx-10.7-x86_64-3.6/libodrpack.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libodrpack.a building 'minpack' library compiling Fortran sources Fortran f77 compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/local/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops creating build/temp.macosx-10.7-x86_64-3.6/scipy/optimize creating build/temp.macosx-10.7-x86_64-3.6/scipy/optimize/minpack compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' gfortran:f77: scipy/optimize/minpack/rwupdt.f gfortran:f77: scipy/optimize/minpack/qform.f gfortran:f77: scipy/optimize/minpack/chkder.f gfortran:f77: scipy/optimize/minpack/dogleg.f gfortran:f77: scipy/optimize/minpack/hybrj1.f gfortran:f77: scipy/optimize/minpack/fdjac1.f gfortran:f77: scipy/optimize/minpack/r1updt.f gfortran:f77: scipy/optimize/minpack/enorm.f gfortran:f77: scipy/optimize/minpack/lmstr.f gfortran:f77: scipy/optimize/minpack/hybrd1.f gfortran:f77: scipy/optimize/minpack/qrsolv.f gfortran:f77: scipy/optimize/minpack/fdjac2.f gfortran:f77: scipy/optimize/minpack/lmstr1.f gfortran:f77: scipy/optimize/minpack/lmder1.f gfortran:f77: scipy/optimize/minpack/qrfac.f gfortran:f77: scipy/optimize/minpack/lmder.f gfortran:f77: scipy/optimize/minpack/lmpar.f gfortran:f77: scipy/optimize/minpack/lmdif.f gfortran:f77: scipy/optimize/minpack/r1mpyq.f gfortran:f77: scipy/optimize/minpack/dpmpar.f gfortran:f77: scipy/optimize/minpack/hybrd.f gfortran:f77: scipy/optimize/minpack/lmdif1.f gfortran:f77: scipy/optimize/minpack/hybrj.f ar: adding 23 object files to build/temp.macosx-10.7-x86_64-3.6/libminpack.a ranlib:@ build/temp.macosx-10.7-x86_64-3.6/libminpack.a building 'rectangular_lsap' library compiling C++ sources C compiler: g++ -pthread -arch x86_64 -DNDEBUG -O2 -fPIC creating build/temp.macosx-10.7-x86_64-3.6/scipy/optimize/rectangular_lsap compile options: '-I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c' g++: scipy/optimize/rectangular_lsap/rectangular_lsap.cpp /usr/local/Cellar/pypy3/7.3.1_1/libexec/lib-python/3/importlib/_bootstrap.py:228: UserWarning: builtins.type size changed, may indicate binary incompatibility. Expected 872, got 416 return f(*args, **kwds) Running from scipy source directory. /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/distutils/system_info.py:572: UserWarning: Atlas (http://math-atlas.sourceforge.net/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [atlas]) or by setting the ATLAS environment variable. self.calc_info() /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/distutils/system_info.py:664: UserWarning: Specified path /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/__init__.py/include is invalid. return self.get_paths(self.section, key) /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/distutils/system_info.py:664: UserWarning: Specified path /usr/local/include/include is invalid. return self.get_paths(self.section, key) /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/distutils/fcompiler/gnu.py:309: UserWarning: Env. variable MACOSX_DEPLOYMENT_TARGET set to 10.3 flags = GnuFCompiler.get_flags_linker_so(self) error: Command "g++ -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-_vmf1l9l/overlay/site-packages/numpy/core/include -c scipy/optimize/rectangular_lsap/rectangular_lsap.cpp -o build/temp.macosx-10.7-x86_64-3.6/scipy/optimize/rectangular_lsap/rectangular_lsap.o -MMD -MF build/temp.macosx-10.7-x86_64-3.6/scipy/optimize/rectangular_lsap/rectangular_lsap.o.d" failed with exit status 1 clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] scipy/optimize/rectangular_lsap/rectangular_lsap.cpp:43:10: fatal error: 'algorithm' file not found #include &lt;algorithm&gt; ^~~~~~~~~~~ 1 error generated. clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] scipy/optimize/rectangular_lsap/rectangular_lsap.cpp:43:10: fatal error: 'algorithm' file not found #include &lt;algorithm&gt; ^~~~~~~~~~~ 1 error generated. ---------------------------------------- ERROR: Failed building wheel for scipy Failed to build scipy ERROR: Could not build wheels for scipy which use PEP 517 and cannot be installed directly ---------------------------------------- ERROR: Command errored out with exit status 1: /usr/local/Cellar/pypy3/7.3.1_1/bin/pypy3 /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/pip-20.0.2-py3.6.egg/pip install --ignore-installed --no-user --prefix /private/var/folders/49/_ypr81f97y17mq6qy9qlqn980000gn/T/pip-build-env-ehlg4d06/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython&gt;=0.28.5' 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"' and platform_python_implementation == '"'"'CPython'"'"'' 'numpy==1.14.0; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"' and platform_python_implementation != '"'"'CPython'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version&gt;='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version&gt;='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' 'scipy&gt;=0.19.1' Check the logs for full command output. </code></pre></div> </details>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.6.2+</li> <li>Operating System version: mac</li> <li>Java version: jdk8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto">refer: <a href="https://github.com/apache/incubator-dubbo/issues/2511%EF%BC%8C" data-hovercard-type="issue" data-hovercard-url="/apache/dubbo/issues/2511/hovercard">https://github.com/apache/incubator-dubbo/issues/2511,</a> Multiple reference configurations on the same interface will be overwritten</p> <p dir="auto">reproduce this issue: <a href="https://github.com/freeseawind/copycat-dubbo">https://github.com/freeseawind/copycat-dubbo</a></p> <h3 dir="auto">Expected Result</h3> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/reference/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/reference">@reference</a> does not affect each other on the same interface</p>
<ul dir="auto"> <li>[ x ] 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>[ x ] 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: latest</li> <li>Operating System version: mac</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li></li> </ol> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public interface DemoService { int getListSize(List list); int getSetSize(Set set); }"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">interface</span> <span class="pl-smi">DemoService</span> { <span class="pl-smi">int</span> <span class="pl-en">getListSize</span>(<span class="pl-smi">List</span> <span class="pl-s1">list</span>); <span class="pl-smi">int</span> <span class="pl-en">getSetSize</span>(<span class="pl-smi">Set</span> <span class="pl-s1">set</span>); }</pre></div> <ol start="2" dir="auto"> <li>telnet localhost 20881</li> <li>invoke xxx.getListSize([1,2,3])</li> <li>invoke xxx.getSetSize([1,2,3])</li> </ol> <h3 dir="auto">Expected Result</h3> <ol start="3" dir="auto"> <li>ok</li> <li>ok</li> </ol> <h3 dir="auto">Actual Result</h3> <ol start="3" dir="auto"> <li>ok</li> <li>No such method</li> </ol>
0
<p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jwulf/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jwulf">@jwulf</a> on November 24, 2015 12:49</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/406975/11367128/6a53fb2e-92fd-11e5-911c-752e64b96a2f.png"><img src="https://cloud.githubusercontent.com/assets/406975/11367128/6a53fb2e-92fd-11e5-911c-752e64b96a2f.png" alt="screen shot 2015-11-24 at 10 43 58 pm" style="max-width: 100%;"></a></p> <p dir="auto"><em>Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118602073" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/544" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/544/hovercard" href="https://github.com/microsoft/vscode/issues/544">microsoft/vscode#544</a></em></p>
<p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">nightly (1.9.0-dev.20160217)</p> <p dir="auto"><strong>Code</strong><br> A contrived example:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface Convert { (arg: string): number; (arg: number): string; } function convert(arg: number | string): number | string { return typeof arg === 'number' ? arg.toString() : parseFloat(arg); } let foo: Convert = convert;"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">Convert</span> <span class="pl-kos">{</span> <span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span>: <span class="pl-smi">number</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">number</span><span class="pl-kos">)</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">function</span> <span class="pl-en">convert</span><span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">number</span> <span class="pl-c1">|</span> <span class="pl-smi">string</span><span class="pl-kos">)</span>: <span class="pl-smi">number</span> <span class="pl-c1">|</span> <span class="pl-smi">string</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-k">typeof</span> <span class="pl-s1">arg</span> <span class="pl-c1">===</span> <span class="pl-s">'number'</span> ? <span class="pl-s1">arg</span><span class="pl-kos">.</span><span class="pl-en">toString</span><span class="pl-kos">(</span><span class="pl-kos">)</span> : <span class="pl-en">parseFloat</span><span class="pl-kos">(</span><span class="pl-s1">arg</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">foo</span>: <span class="pl-smi">Convert</span> <span class="pl-c1">=</span> <span class="pl-s1">convert</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Expected behavior:</strong><br> Code above compiles, and the following compiles and runs without errors:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let result1: string = foo(10); let result2: number = foo(result1); assert(result2 === 10);"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">result1</span>: <span class="pl-smi">string</span> <span class="pl-c1">=</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-c1">10</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">result2</span>: <span class="pl-smi">number</span> <span class="pl-c1">=</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-s1">result1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">assert</span><span class="pl-kos">(</span><span class="pl-s1">result2</span> <span class="pl-c1">===</span> <span class="pl-c1">10</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Actual behavior:</strong><br> Compilation error:</p> <blockquote> <p dir="auto">...(10,5): error TS2322: Type '(arg: number | string) =&gt; number | string' is not assignable to type 'Convert'.<br> Type 'number | string' is not assignable to type 'number'.<br> Type 'string' is not assignable to type 'number'.</p> </blockquote> <p dir="auto"><strong>Current approach:</strong><br> Specify all overloads again above function:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface Convert { (arg: string): number; (arg: number): string; } function convert(arg: string): number; function convert(arg: number): string; function convert(arg: number | string): number | string { return typeof arg === 'number' ? arg.toString() : parseFloat(arg); } let foo: Convert = convert;"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">Convert</span> <span class="pl-kos">{</span> <span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span>: <span class="pl-smi">number</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">number</span><span class="pl-kos">)</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">function</span> <span class="pl-s1">convert</span><span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span>: <span class="pl-smi">number</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-s1">convert</span><span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">number</span><span class="pl-kos">)</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-en">convert</span><span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">number</span> <span class="pl-c1">|</span> <span class="pl-smi">string</span><span class="pl-kos">)</span>: <span class="pl-smi">number</span> <span class="pl-c1">|</span> <span class="pl-smi">string</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-k">typeof</span> <span class="pl-s1">arg</span> <span class="pl-c1">===</span> <span class="pl-s">'number'</span> ? <span class="pl-s1">arg</span><span class="pl-kos">.</span><span class="pl-en">toString</span><span class="pl-kos">(</span><span class="pl-kos">)</span> : <span class="pl-en">parseFloat</span><span class="pl-kos">(</span><span class="pl-s1">arg</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">foo</span>: <span class="pl-smi">Convert</span> <span class="pl-c1">=</span> <span class="pl-s1">convert</span><span class="pl-kos">;</span></pre></div>
0
<p dir="auto">Noticed on freebsd-amd64-race: <a href="http://build.golang.org/log/bfca7707a0ccb2dd15e8228eb5b97434c33d1143" rel="nofollow">http://build.golang.org/log/bfca7707a0ccb2dd15e8228eb5b97434c33d1143</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="WARNING: DATA RACE Write by goroutine 71: database/sql.(*Stmt).Query() /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1436 +0x6f3 database/sql.func·039() /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1957 +0x1ea testing.func·002() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:418 +0x18f Previous read by goroutine 61: database/sql.(*Stmt).Query() /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1435 +0x51f database/sql.func·039() /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1957 +0x1ea testing.func·002() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:418 +0x18f runtime.goexit() /tmp/buildlet-scatch184358971/go/src/runtime/asm_amd64.s:2430 +0x0 reflect.ValueOf() /tmp/buildlet-scatch184358971/go/src/reflect/value.go:2081 +0xfc database/sql/driver.int32Type.ConvertValue() /tmp/buildlet-scatch184358971/go/src/database/sql/driver/types.go:108 +0x80 database/sql/driver.(*int32Type).ConvertValue() &lt;autogenerated&gt;:12 +0xf9 database/sql.driverArgs() /tmp/buildlet-scatch184358971/go/src/database/sql/convert.go:68 +0xb3d database/sql.resultFromStatement() /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1310 +0x372 database/sql.(*Stmt).Exec() /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1289 +0x31c database/sql.(*concurrentTxStmtExecTest).test() /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1689 +0x1a0 database/sql.func·035() /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1750 +0xe2 Goroutine 71 (running) created at: testing.(*B).RunParallel() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:410 +0x46e database/sql.BenchmarkManyConcurrentQueries() /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1964 +0x496 testing.(*B).runN() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:124 +0xf2 testing.(*B).launch() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:216 +0x1d0 Goroutine 61 (running) created at: testing.(*B).RunParallel() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:410 +0x46e database/sql.BenchmarkManyConcurrentQueries() /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1964 +0x496 testing.(*B).runN() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:124 +0xf2 testing.(*B).launch() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:216 +0x1d0 ================== unexpected fault address 0x4c9c18 fatal error: fault [signal 0xa code=0xc addr=0x4c9c18 pc=0x5bb9d8] goroutine 431 [running]: runtime.throw(0x44099f, 0x423c28) /tmp/buildlet-scatch184358971/go/src/runtime/panic.go:508 +0x98 fp=0x7fffff1f8e78 sp=0x7fffff1f8e60 runtime.goroutineheader(0x423c28) /tmp/buildlet-scatch184358971/go/src/runtime/traceback.go:586 +0x1c4 fp=0x7fffff1f8eb0 sp=0x7fffff1f8e78 runtime.dopanic_m(0xc2081377a0, 0x423c28, 0x7fffff1f8e60) /tmp/buildlet-scatch184358971/go/src/runtime/panic1.go:96 +0x1ca fp=0x7fffff1f8f08 sp=0x7fffff1f8eb0 runtime.func·045() /tmp/buildlet-scatch184358971/go/src/runtime/panic.go:495 +0x43 fp=0x7fffff1f8f28 sp=0x7fffff1f8f08 runtime.systemstack(0xc208013200) /tmp/buildlet-scatch184358971/go/src/runtime/asm_amd64.s:244 +0x71 fp=0x7fffff1f8f30 sp=0x7fffff1f8f28 runtime.mstart() /tmp/buildlet-scatch184358971/go/src/runtime/proc1.go:735 fp=0x7fffff1f8f38 sp=0x7fffff1f8f30 created by testing.(*B).RunParallel /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:419 +0x46e goroutine 1 [chan receive]: testing.(*B).run(0xc20807a200, 0x0, 0x0, 0x0, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:180 +0x91 testing.RunBenchmarks(0x6d1418, 0x784cc0, 0x9, 0x9) /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:312 +0x7ec testing.(*M).Run(0xc20800a140, 0x7ace40) /tmp/buildlet-scatch184358971/go/src/testing/testing.go:495 +0x286 main.main() database/sql/_test/_testmain.go:158 +0x28d goroutine 390 [semacquire]: sync.runtime_Semacquire(0xc2080b0fcc) /tmp/buildlet-scatch184358971/go/src/runtime/sema.go:43 +0x2d sync.(*Mutex).Lock(0xc2080b0fc8) /tmp/buildlet-scatch184358971/go/src/sync/mutex.go:66 +0xfd database/sql.(*DB).removeDep(0xc2080b0fa0, 0x8007da350, 0xc2081f2000, 0x63bdc0, 0xc208178f00, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:392 +0x5b database/sql.func·009(0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1438 +0x13e database/sql.(*Rows).Close(0xc208178f00, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1650 +0x201 database/sql.func·039(0xc2080d4000) /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1962 +0x322 testing.func·002() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:418 +0x190 created by testing.(*B).RunParallel /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:419 +0x46e goroutine 418 [semacquire]: sync.runtime_Semacquire(0xc2080b0fcc) /tmp/buildlet-scatch184358971/go/src/runtime/sema.go:43 +0x2d sync.(*Mutex).Lock(0xc2080b0fc8) /tmp/buildlet-scatch184358971/go/src/sync/mutex.go:66 +0xfd database/sql.(*DB).putConn(0xc2080b0fa0, 0xc208069740, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:721 +0x54 database/sql.(*driverConn).releaseConn(0xc208069740, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:258 +0x60 database/sql.*driverConn.(database/sql.releaseConn)·fm(0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:908 +0x49 database/sql.func·009(0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1437 +0x7d database/sql.(*Rows).Close(0xc2080a7860, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1650 +0x201 database/sql.func·039(0xc2080d4a60) /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1962 +0x322 testing.func·002() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:418 +0x190 created by testing.(*B).RunParallel /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:419 +0x46e goroutine 340 [semacquire]: sync.runtime_Semacquire(0xc2080b0fcc) /tmp/buildlet-scatch184358971/go/src/runtime/sema.go:43 +0x2d sync.(*Mutex).Lock(0xc2080b0fc8) /tmp/buildlet-scatch184358971/go/src/sync/mutex.go:66 +0xfd database/sql.(*DB).putConn(0xc2080b0fa0, 0xc208069680, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:721 +0x54 database/sql.(*driverConn).releaseConn(0xc208069680, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:258 +0x60 database/sql.*driverConn.(database/sql.releaseConn)·fm(0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:908 +0x49 database/sql.func·009(0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1437 +0x7d database/sql.(*Rows).Close(0xc2081e88a0, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1650 +0x201 database/sql.func·039(0xc2081a41a0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1962 +0x322 testing.func·002() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:418 +0x190 created by testing.(*B).RunParallel /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:419 +0x46e goroutine 205 [semacquire]: sync.runtime_Semacquire(0xc20802a060) /tmp/buildlet-scatch184358971/go/src/runtime/sema.go:43 +0x2d sync.(*WaitGroup).Wait(0xc20804c600) /tmp/buildlet-scatch184358971/go/src/sync/waitgroup.go:132 +0x1e8 testing.(*B).RunParallel(0xc20807a200, 0xc20804c5c0) /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:421 +0x497 database/sql.BenchmarkManyConcurrentQueries(0xc20807a200) /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1964 +0x497 testing.(*B).runN(0xc20807a200, 0x3e8) /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:124 +0xf3 testing.(*B).launch(0xc20807a200) /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:216 +0x1d1 created by testing.(*B).run /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:179 +0x57 "><pre class="notranslate"><code class="notranslate">WARNING: DATA RACE Write by goroutine 71: database/sql.(*Stmt).Query() /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1436 +0x6f3 database/sql.func·039() /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1957 +0x1ea testing.func·002() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:418 +0x18f Previous read by goroutine 61: database/sql.(*Stmt).Query() /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1435 +0x51f database/sql.func·039() /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1957 +0x1ea testing.func·002() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:418 +0x18f runtime.goexit() /tmp/buildlet-scatch184358971/go/src/runtime/asm_amd64.s:2430 +0x0 reflect.ValueOf() /tmp/buildlet-scatch184358971/go/src/reflect/value.go:2081 +0xfc database/sql/driver.int32Type.ConvertValue() /tmp/buildlet-scatch184358971/go/src/database/sql/driver/types.go:108 +0x80 database/sql/driver.(*int32Type).ConvertValue() &lt;autogenerated&gt;:12 +0xf9 database/sql.driverArgs() /tmp/buildlet-scatch184358971/go/src/database/sql/convert.go:68 +0xb3d database/sql.resultFromStatement() /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1310 +0x372 database/sql.(*Stmt).Exec() /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1289 +0x31c database/sql.(*concurrentTxStmtExecTest).test() /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1689 +0x1a0 database/sql.func·035() /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1750 +0xe2 Goroutine 71 (running) created at: testing.(*B).RunParallel() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:410 +0x46e database/sql.BenchmarkManyConcurrentQueries() /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1964 +0x496 testing.(*B).runN() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:124 +0xf2 testing.(*B).launch() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:216 +0x1d0 Goroutine 61 (running) created at: testing.(*B).RunParallel() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:410 +0x46e database/sql.BenchmarkManyConcurrentQueries() /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1964 +0x496 testing.(*B).runN() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:124 +0xf2 testing.(*B).launch() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:216 +0x1d0 ================== unexpected fault address 0x4c9c18 fatal error: fault [signal 0xa code=0xc addr=0x4c9c18 pc=0x5bb9d8] goroutine 431 [running]: runtime.throw(0x44099f, 0x423c28) /tmp/buildlet-scatch184358971/go/src/runtime/panic.go:508 +0x98 fp=0x7fffff1f8e78 sp=0x7fffff1f8e60 runtime.goroutineheader(0x423c28) /tmp/buildlet-scatch184358971/go/src/runtime/traceback.go:586 +0x1c4 fp=0x7fffff1f8eb0 sp=0x7fffff1f8e78 runtime.dopanic_m(0xc2081377a0, 0x423c28, 0x7fffff1f8e60) /tmp/buildlet-scatch184358971/go/src/runtime/panic1.go:96 +0x1ca fp=0x7fffff1f8f08 sp=0x7fffff1f8eb0 runtime.func·045() /tmp/buildlet-scatch184358971/go/src/runtime/panic.go:495 +0x43 fp=0x7fffff1f8f28 sp=0x7fffff1f8f08 runtime.systemstack(0xc208013200) /tmp/buildlet-scatch184358971/go/src/runtime/asm_amd64.s:244 +0x71 fp=0x7fffff1f8f30 sp=0x7fffff1f8f28 runtime.mstart() /tmp/buildlet-scatch184358971/go/src/runtime/proc1.go:735 fp=0x7fffff1f8f38 sp=0x7fffff1f8f30 created by testing.(*B).RunParallel /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:419 +0x46e goroutine 1 [chan receive]: testing.(*B).run(0xc20807a200, 0x0, 0x0, 0x0, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:180 +0x91 testing.RunBenchmarks(0x6d1418, 0x784cc0, 0x9, 0x9) /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:312 +0x7ec testing.(*M).Run(0xc20800a140, 0x7ace40) /tmp/buildlet-scatch184358971/go/src/testing/testing.go:495 +0x286 main.main() database/sql/_test/_testmain.go:158 +0x28d goroutine 390 [semacquire]: sync.runtime_Semacquire(0xc2080b0fcc) /tmp/buildlet-scatch184358971/go/src/runtime/sema.go:43 +0x2d sync.(*Mutex).Lock(0xc2080b0fc8) /tmp/buildlet-scatch184358971/go/src/sync/mutex.go:66 +0xfd database/sql.(*DB).removeDep(0xc2080b0fa0, 0x8007da350, 0xc2081f2000, 0x63bdc0, 0xc208178f00, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:392 +0x5b database/sql.func·009(0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1438 +0x13e database/sql.(*Rows).Close(0xc208178f00, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1650 +0x201 database/sql.func·039(0xc2080d4000) /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1962 +0x322 testing.func·002() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:418 +0x190 created by testing.(*B).RunParallel /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:419 +0x46e goroutine 418 [semacquire]: sync.runtime_Semacquire(0xc2080b0fcc) /tmp/buildlet-scatch184358971/go/src/runtime/sema.go:43 +0x2d sync.(*Mutex).Lock(0xc2080b0fc8) /tmp/buildlet-scatch184358971/go/src/sync/mutex.go:66 +0xfd database/sql.(*DB).putConn(0xc2080b0fa0, 0xc208069740, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:721 +0x54 database/sql.(*driverConn).releaseConn(0xc208069740, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:258 +0x60 database/sql.*driverConn.(database/sql.releaseConn)·fm(0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:908 +0x49 database/sql.func·009(0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1437 +0x7d database/sql.(*Rows).Close(0xc2080a7860, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1650 +0x201 database/sql.func·039(0xc2080d4a60) /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1962 +0x322 testing.func·002() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:418 +0x190 created by testing.(*B).RunParallel /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:419 +0x46e goroutine 340 [semacquire]: sync.runtime_Semacquire(0xc2080b0fcc) /tmp/buildlet-scatch184358971/go/src/runtime/sema.go:43 +0x2d sync.(*Mutex).Lock(0xc2080b0fc8) /tmp/buildlet-scatch184358971/go/src/sync/mutex.go:66 +0xfd database/sql.(*DB).putConn(0xc2080b0fa0, 0xc208069680, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:721 +0x54 database/sql.(*driverConn).releaseConn(0xc208069680, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:258 +0x60 database/sql.*driverConn.(database/sql.releaseConn)·fm(0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:908 +0x49 database/sql.func·009(0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1437 +0x7d database/sql.(*Rows).Close(0xc2081e88a0, 0x0, 0x0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql.go:1650 +0x201 database/sql.func·039(0xc2081a41a0) /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1962 +0x322 testing.func·002() /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:418 +0x190 created by testing.(*B).RunParallel /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:419 +0x46e goroutine 205 [semacquire]: sync.runtime_Semacquire(0xc20802a060) /tmp/buildlet-scatch184358971/go/src/runtime/sema.go:43 +0x2d sync.(*WaitGroup).Wait(0xc20804c600) /tmp/buildlet-scatch184358971/go/src/sync/waitgroup.go:132 +0x1e8 testing.(*B).RunParallel(0xc20807a200, 0xc20804c5c0) /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:421 +0x497 database/sql.BenchmarkManyConcurrentQueries(0xc20807a200) /tmp/buildlet-scatch184358971/go/src/database/sql/sql_test.go:1964 +0x497 testing.(*B).runN(0xc20807a200, 0x3e8) /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:124 +0xf3 testing.(*B).launch(0xc20807a200) /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:216 +0x1d1 created by testing.(*B).run /tmp/buildlet-scatch184358971/go/src/testing/benchmark.go:179 +0x57 </code></pre></div>
<pre class="notranslate">The godoc output for this program fragment: type privateType interface { Foo() } func F(x privateType) {} will mention that x has type privateType but won't describe that type, making it impossible for the user to know what arguments can be passed to F without reading the source. Private types mentioned in public interfaces should be described meaningfully.</pre>
0
<h3 dir="auto">Documentation Link</h3> <p dir="auto"><a href="https://matplotlib.org/stable/api/figure_api.html?highlight=note#module-matplotlib.figure" rel="nofollow">https://matplotlib.org/stable/api/figure_api.html?highlight=note#module-matplotlib.figure</a></p> <h3 dir="auto">Problem</h3> <p dir="auto">The usage of</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Notes ------"><pre class="notranslate"><code class="notranslate">Notes ------ </code></pre></div> <p dir="auto">vs</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Note: "><pre class="notranslate"><code class="notranslate">Note: </code></pre></div> <p dir="auto">vs</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".. note::"><pre class="notranslate"><code class="notranslate">.. note:: </code></pre></div> <p dir="auto">is a bit inconsistent. As an example, the linked page use all three versions.</p> <p dir="auto">Stats in current main (lib directory, not doc):</p> <ul dir="auto"> <li><code class="notranslate">Note: </code>: 19</li> <li><code class="notranslate">Notes</code>: 153</li> <li><code class="notranslate">.. note::</code>: 59</li> </ul> <p dir="auto">There may for sure be a reason to use a particular approach in a gives instance, but it also may be a reason to try to make things more consistent.</p> <h3 dir="auto">Suggested improvement</h3> <p dir="auto">At least replace the Note: to one of the other.</p> <p dir="auto">Replace <code class="notranslate">Notes</code> with <code class="notranslate">.. note::</code>?</p>
<h3 dir="auto">Documentation Link</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Problem</h3> <p dir="auto">We currently have a mix of <code class="notranslate">.. notes::</code> and numpydoc Notes in the docstrings, and they render differently (compare e.g. <a href="https://matplotlib.org/devdocs/api/_as_gen/mpl_toolkits.mplot3d.axes3d.Axes3D.html#mpl_toolkits.mplot3d.axes3d.Axes3D.grid" rel="nofollow">https://matplotlib.org/devdocs/api/_as_gen/mpl_toolkits.mplot3d.axes3d.Axes3D.html#mpl_toolkits.mplot3d.axes3d.Axes3D.grid</a> and <a href="https://matplotlib.org/devdocs/api/_as_gen/mpl_toolkits.mplot3d.axes3d.Axes3D.html#mpl_toolkits.mplot3d.axes3d.Axes3D.zaxis_date" rel="nofollow">https://matplotlib.org/devdocs/api/_as_gen/mpl_toolkits.mplot3d.axes3d.Axes3D.html#mpl_toolkits.mplot3d.axes3d.Axes3D.zaxis_date</a>). Admittedly I'm not sure we can be always consistent, because (I think?) there can be only one Notes numpydoc section whereas there can be as many <code class="notranslate">.. notes::</code> as needed with any nesting. Perhaps we should try to improve partial consistency, or perhaps not... Just pointing this out :)</p> <h3 dir="auto">Suggested improvement</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Matplotlib Version</h3> <p dir="auto">3.5.0.dev2456+g2c3f14ed28</p> <h3 dir="auto">Matplotlib documentation version</h3> <p dir="auto">3.5.0.dev2456+g2c3f14ed28</p>
1
<table role="table"> <thead> <tr> <th>Q</th> <th>A</th> </tr> </thead> <tbody> <tr> <td>Bug report?</td> <td>yes</td> </tr> <tr> <td>Feature request?</td> <td>no</td> </tr> <tr> <td>BC Break report?</td> <td>no</td> </tr> <tr> <td>RFC?</td> <td>no</td> </tr> <tr> <td>Symfony version</td> <td>dev-master</td> </tr> </tbody> </table> <p dir="auto">I have reproduced this in a small example in <a href="https://github.com/zippy1981/symphony-dependency-env">this git repository</a>.</p> <p dir="auto">If I load my dependency injection configuration from a config file that looks like this the environment variables aren't parsed.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="parameters: log.file: '%env(APP_LOG)%' log.level: '%env(LOGGING_LEVEL)%' services: stream_handler: class: \Monolog\Handler\StreamHandler arguments: - '%log.file%' - '%log.level%' log: class: \Monolog\Logger arguments: [ 'default', ['@stream_handler'] ]"><pre class="notranslate"><code class="notranslate">parameters: log.file: '%env(APP_LOG)%' log.level: '%env(LOGGING_LEVEL)%' services: stream_handler: class: \Monolog\Handler\StreamHandler arguments: - '%log.file%' - '%log.level%' log: class: \Monolog\Logger arguments: [ 'default', ['@stream_handler'] ] </code></pre></div> <p dir="auto">The error I get looks like:</p> <blockquote> <p dir="auto">Fatal error: Uncaught UnexpectedValueException: The stream or file "env_PATH_a61e1e48db268605210ee2286597d6fb" could not be opened: failed to open stream: Permission denied in /var/www/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107 Stack trace: #0 /var/www/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Monolog\Handler\StreamHandler-&gt;write(Array) <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="298110" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/1" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/1/hovercard" href="https://github.com/symfony/symfony/pull/1">#1</a> /var/www/vendor/monolog/monolog/src/Monolog/Logger.php(337): Monolog\Handler\AbstractProcessingHandler-&gt;handle(Array) <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="298116" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/2" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/2/hovercard" href="https://github.com/symfony/symfony/pull/2">#2</a> /var/www/vendor/monolog/monolog/src/Monolog/Logger.php(532): Monolog\Logger-&gt;addRecord(100, 'Initialized dep...', Array) <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="299923" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/3" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/3/hovercard" href="https://github.com/symfony/symfony/pull/3">#3</a> /var/www/html/index.php(17): Monolog\Logger-&gt;debug('Initialized dep...') <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="301814" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/4" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/4/hovercard" href="https://github.com/symfony/symfony/pull/4">#4</a> {main} thrown in /var/www/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 107</p> </blockquote> <p dir="auto">I've <a href="http://stackoverflow.com/questions/43050669/symfony-yaml-backed-symfony-config-not-parsing-environment-variables" rel="nofollow">asked on stack overflow to no response</a>.</p> <p dir="auto">It seems the root of the problem is <a href="https://github.com/symfony/symfony/blob/df7f83ca6d0d941f591ccb846286e06dfa834ced/src/Symfony/Component/DependencyInjection/ContainerBuilder.php#L1037">ContainerBuilder::resolveEnvPlaceholders()</a> is never called.</p>
<table role="table"> <thead> <tr> <th>Q</th> <th>A</th> </tr> </thead> <tbody> <tr> <td>Bug report?</td> <td>yes</td> </tr> <tr> <td>Feature request?</td> <td>no</td> </tr> <tr> <td>BC Break report?</td> <td>no</td> </tr> <tr> <td>RFC?</td> <td>no</td> </tr> <tr> <td>Symfony version</td> <td>3.2.2</td> </tr> </tbody> </table> <p dir="auto">Hi,</p> <p dir="auto">I'm trying to use the new <code class="notranslate">env()</code> placeholder introduced with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="172265483" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/19681" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/19681/hovercard" href="https://github.com/symfony/symfony/pull/19681">#19681</a>, but I can't get it to work. I installed <code class="notranslate">symfony/dependency-injection|config|yaml</code>, and I followed <a href="https://symfony.com/doc/current/components/dependency_injection.html#setting-up-the-container-with-configuration-files" rel="nofollow">Setting up the Container with Configuration Files</a>.</p> <p dir="auto">This is my script—mostly copy/pasted from the documentation:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;?php require __DIR__ . '/vendor/autoload.php'; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; $container = new ContainerBuilder(); $loader = new YamlFileLoader($container, new FileLocator(__DIR__)); $loader-&gt;load('services.yml'); var_dump(getenv('NAME')); var_dump($container-&gt;getParameter('test'));"><pre class="notranslate"><span class="pl-ent">&lt;?php</span> <span class="pl-k">require</span> __DIR__ . <span class="pl-s">'/vendor/autoload.php'</span>; <span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">DependencyInjection</span>\<span class="pl-v">ContainerBuilder</span>; <span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Config</span>\<span class="pl-v">FileLocator</span>; <span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">DependencyInjection</span>\<span class="pl-v">Loader</span>\<span class="pl-v">YamlFileLoader</span>; <span class="pl-s1"><span class="pl-c1">$</span>container</span> = <span class="pl-k">new</span> <span class="pl-v">ContainerBuilder</span>(); <span class="pl-s1"><span class="pl-c1">$</span>loader</span> = <span class="pl-k">new</span> <span class="pl-v">YamlFileLoader</span>(<span class="pl-s1"><span class="pl-c1">$</span>container</span>, <span class="pl-k">new</span> <span class="pl-v">FileLocator</span>(__DIR__)); <span class="pl-s1"><span class="pl-c1">$</span>loader</span>-&gt;<span class="pl-en">load</span>(<span class="pl-s">'services.yml'</span>); var_dump(getenv(<span class="pl-s">'NAME'</span>)); var_dump(<span class="pl-s1"><span class="pl-c1">$</span>container</span>-&gt;<span class="pl-en">getParameter</span>(<span class="pl-s">'test'</span>));</pre></div> <p dir="auto">This is my <code class="notranslate">services.yml</code> file:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="parameters: test: '%env(NAME)%'"><pre class="notranslate"><span class="pl-ent">parameters</span>: <span class="pl-ent">test</span>: <span class="pl-s"><span class="pl-pds">'</span>%env(NAME)%<span class="pl-pds">'</span></span></pre></div> <p dir="auto">And this is the output of the command <code class="notranslate">NAME=madonna php test.php</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/Volumes/GIT/olvlvl/test-di-env/test.php:13: string(7) &quot;madonna&quot; /Volumes/GIT/olvlvl/test-di-env/test.php:14: string(11) &quot;%env(NAME)%&quot;"><pre lang="raw" class="notranslate"><code class="notranslate">/Volumes/GIT/olvlvl/test-di-env/test.php:13: string(7) "madonna" /Volumes/GIT/olvlvl/test-di-env/test.php:14: string(11) "%env(NAME)%" </code></pre></div> <p dir="auto">I also read <a href="http://symfony.com/doc/current/configuration/external_parameters.html" rel="nofollow">How to Set external Parameters in the Service Container</a> but it doesn't give more information, so I'm not sure what's wrong.</p> <p dir="auto">Here is the package list:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="symfony/config v3.2.2 Symfony Config Component symfony/dependency-injection v3.2.2 Symfony DependencyInjection Component symfony/filesystem v3.2.2 Symfony Filesystem Component symfony/yaml v3.2.2 Symfony Yaml Component"><pre class="notranslate"><code class="notranslate">symfony/config v3.2.2 Symfony Config Component symfony/dependency-injection v3.2.2 Symfony DependencyInjection Component symfony/filesystem v3.2.2 Symfony Filesystem Component symfony/yaml v3.2.2 Symfony Yaml Component </code></pre></div> <p dir="auto">Can you help?</p>
1
<h4 dir="auto">Why is this important and How to do it?</h4> <p dir="auto">I see a lot of job seeking websites are asking for Github username, because they are interested to know what we have done till now with codding.</p> <p dir="auto">And that's where my idea comes from, we have so much code written in FCC and so little in Github!<br> Why not connect FCC with Github and whatever you Submit in FCC it would transfer the same code in Github too.</p> <h4 dir="auto">I wish this will get done soon.</h4> <p dir="auto">Because I hate copy &amp; paste it from FCC to Github !<br> It's so BORING !</p> <h4 dir="auto">Example with user: takumar</h4> <h4 dir="auto">His profile in FCC:</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6118247/14738577/9e498750-0882-11e6-8390-2f3dad041269.png"><img src="https://cloud.githubusercontent.com/assets/6118247/14738577/9e498750-0882-11e6-8390-2f3dad041269.png" alt="image" style="max-width: 100%;"></a></p> <h4 dir="auto">His profile in Github:</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6118247/14738608/d44d0d22-0882-11e6-8acd-ed966392d309.png"><img src="https://cloud.githubusercontent.com/assets/6118247/14738608/d44d0d22-0882-11e6-8acd-ed966392d309.png" alt="image" style="max-width: 100%;"></a></p> <h4 dir="auto">Imagine how Amazing it would be if he had the same contributions !</h4> <p dir="auto">If I where a CEO of a Company I would hire him immediately!</p>
<p dir="auto">We are looking for a low-friction way for campers to be able to push their Free Code Camp challenge solutions to a GitHub repository.</p> <p dir="auto">We need to establish:</p> <ul dir="auto"> <li>is it possible to create, then write to, a camper's open source repository? (<a href="https://developer.github.com/v3/repos/#create">https://developer.github.com/v3/repos/#create</a>)</li> <li>could we push a .md file with their solution to the repository?</li> <li>Is there an alternate way where the camper could download the solution .md file to a specific repository, then manually push it up to GitHub?</li> </ul>
1
<p dir="auto">Just to confirm that there are numerous translations that are missing in the Spanish translation. I think a message asking for help for translation or any indication of why some of them are not still completed should be considered?</p>
<p dir="auto">As an user, when completing challenges in a non-english language and running into a challenge that does not have an active translation, I want a notification explaining that translation is being worked on, and the current one is missing. And invitation to contribute with it, perhaps?</p> <p dir="auto">Said notification should link to the translation repo's issues, with the respective language tags selected.</p> <p dir="auto">Active translations are translations of a challenge that is relatively up to date</p>
1
<p dir="auto">From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cherusk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cherusk">@cherusk</a> on 2016-09-16T16:58:59Z<br> Come back to me asap, please. Were prepared for impl. if OK.</p> <h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Feature Idea</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">mount module</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.0.0.2"><pre class="notranslate"><code class="notranslate">ansible 2.0.0.2 </code></pre></div> <p dir="auto">Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177472990" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/4885" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible-modules-core/issues/4885/hovercard" href="https://github.com/ansible/ansible-modules-core/issues/4885">ansible/ansible-modules-core#4885</a></p>
<h5 dir="auto">Issue Type:</h5> <p dir="auto">Bug Report</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">Ansible 1.9.2</p> <h5 dir="auto">Ansible Configuration:</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[defaults] library = /etc/ansible/library"><pre class="notranslate"><code class="notranslate">[defaults] library = /etc/ansible/library </code></pre></div> <h5 dir="auto">Environment:</h5> <p dir="auto">Ubuntu 14.04 LTS</p> <h5 dir="auto">Summary:</h5> <p dir="auto">When a playbook is run more than once concurrency from one host to another a suspected race condition occurs</p> <h5 dir="auto">Steps To Reproduce:</h5> <p dir="auto">I think there might be a race condition in the function involving </p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/ansible/ansible/blob/5ce3988d8693357f671f3fbec43b2d3b862db5f6/v1/ansible/utils/__init__.py#L319">ansible/v1/ansible/utils/__init__.py</a> </p> <p class="mb-0 color-fg-muted"> Line 319 in <a data-pjax="true" class="commit-tease-sha" href="/ansible/ansible/commit/5ce3988d8693357f671f3fbec43b2d3b862db5f6">5ce3988</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="L319" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="319"></td> <td id="LC319" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">raise</span> <span class="pl-s1">errors</span>.<span class="pl-v">AnsibleError</span>(<span class="pl-s">"Could not make dir %s: %s"</span> <span class="pl-c1">%</span> (<span class="pl-s1">tree</span>, <span class="pl-s1">e</span>)) </td> </tr> </tbody></table> </div> </div> <p></p> <p dir="auto">If I run the same playbook twice against the same host it is possible that one of the runs dies with the following:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="GATHERING FACTS *** fatal: [web.tst.example.com] =&gt; Could not make dir /var/lib/jenkins/.ansible/cp: [Errno 17] File exists: '/var/lib/jenkins/.ansible/cp'"><pre class="notranslate"><code class="notranslate">GATHERING FACTS *** fatal: [web.tst.example.com] =&gt; Could not make dir /var/lib/jenkins/.ansible/cp: [Errno 17] File exists: '/var/lib/jenkins/.ansible/cp' </code></pre></div> <p dir="auto">My use case is I have Jenkins jobs running a playbook against a host that manages Apache config along with some application specific settings. Even if I do run two Jenkins jobs at the same time the above doesn't always happen so it leads me to suspect a race condition during the temporary directory creation.</p> <p dir="auto">Is there a reason this directory isn't also unique per run as the things placed under it?</p> <h5 dir="auto">Expected Results:</h5> <p dir="auto">I'd expect each separate playbook run not to try to create and delete the same directory so they can happily run side by side.</p> <h5 dir="auto">Actual Results:</h5> <p dir="auto">If I run the same playbook twice against the same host it is possible that one of the runs dies with the following:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="GATHERING FACTS *** fatal: [web.tst.example.com] =&gt; Could not make dir /var/lib/jenkins/.ansible/cp: [Errno 17] File exists: '/var/lib/jenkins/.ansible/cp'"><pre class="notranslate"><code class="notranslate">GATHERING FACTS *** fatal: [web.tst.example.com] =&gt; Could not make dir /var/lib/jenkins/.ansible/cp: [Errno 17] File exists: '/var/lib/jenkins/.ansible/cp' </code></pre></div>
0
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">Core</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2.4.0.0"><pre class="notranslate"><code class="notranslate">2.4.0.0 </code></pre></div> <p dir="auto">(Probably. Install busted so it's hard to tell.)</p> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">Not got that far</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">macOS Sierra 10.12.6 (16G29)<br> Xcode 9.0 installed</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Can't install: <code class="notranslate">sudo pip install ansible --upgrade</code> crashes on a missing <code class="notranslate">opensslv.h</code> file.</p> <p dir="auto">NOTE: Possibly a duplicate of (closed) <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158366044" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/16120" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/16120/hovercard" href="https://github.com/ansible/ansible/issues/16120">#16120</a>, but on macOS, there isn't an openssl-devel that's around to install.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ sudo pip install ansible --upgrade"><pre class="notranslate"><code class="notranslate">$ sudo pip install ansible --upgrade </code></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">Ansible gets installed.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="reading manifest file 'src/cryptography.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*' found under directory 'vectors' writing manifest file 'src/cryptography.egg-info/SOURCES.txt' running build_ext generating cffi module 'build/temp.macosx-10.12-intel-2.7/_padding.c' creating build/temp.macosx-10.12-intel-2.7 generating cffi module 'build/temp.macosx-10.12-intel-2.7/_constant_time.c' generating cffi module 'build/temp.macosx-10.12-intel-2.7/_openssl.c' building '_openssl' extension creating build/temp.macosx-10.12-intel-2.7/build creating build/temp.macosx-10.12-intel-2.7/build/temp.macosx-10.12-intel-2.7 cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c build/temp.macosx-10.12-intel-2.7/_openssl.c -o build/temp.macosx-10.12-intel-2.7/build/temp.macosx-10.12-intel-2.7/_openssl.o -Wconversion -Wno-error=sign-conversion build/temp.macosx-10.12-intel-2.7/_openssl.c:483:10: fatal error: 'openssl/opensslv.h' file not found #include &lt;openssl/opensslv.h&gt; ^~~~~~~~~~~~~~~~~~~~ 1 error generated. error: command 'cc' failed with exit status 1"><pre class="notranslate"><code class="notranslate">reading manifest file 'src/cryptography.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*' found under directory 'vectors' writing manifest file 'src/cryptography.egg-info/SOURCES.txt' running build_ext generating cffi module 'build/temp.macosx-10.12-intel-2.7/_padding.c' creating build/temp.macosx-10.12-intel-2.7 generating cffi module 'build/temp.macosx-10.12-intel-2.7/_constant_time.c' generating cffi module 'build/temp.macosx-10.12-intel-2.7/_openssl.c' building '_openssl' extension creating build/temp.macosx-10.12-intel-2.7/build creating build/temp.macosx-10.12-intel-2.7/build/temp.macosx-10.12-intel-2.7 cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c build/temp.macosx-10.12-intel-2.7/_openssl.c -o build/temp.macosx-10.12-intel-2.7/build/temp.macosx-10.12-intel-2.7/_openssl.o -Wconversion -Wno-error=sign-conversion build/temp.macosx-10.12-intel-2.7/_openssl.c:483:10: fatal error: 'openssl/opensslv.h' file not found #include &lt;openssl/opensslv.h&gt; ^~~~~~~~~~~~~~~~~~~~ 1 error generated. error: command 'cc' failed with exit status 1 </code></pre></div>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">include_role</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.4.0.0 config file = /usr/local/etc/ansible/ansible.cfg configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.4.0.0 config file = /usr/local/etc/ansible/ansible.cfg configured module search path = Default w/o overrides </code></pre></div> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">FreeBSD-11.1-RELEASE</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Cannot find tasks files from 'include_tasks' statement of included role</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">When I include a role from another role, the include statement of the included role is not able to find the file. For example:</p> <p dir="auto">Role A includes role B</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- name: Include other role include_role: name: roleB"><pre class="notranslate">- <span class="pl-ent">name</span>: <span class="pl-s">Include other role</span> <span class="pl-ent">include_role</span>: <span class="pl-ent">name</span>: <span class="pl-s">roleB</span></pre></div> <p dir="auto">and role B is split into multiple task files:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- name: Install include_tasks: install.yml - name: Configure include_tasks: configure.yml"><pre class="notranslate">- <span class="pl-ent">name</span>: <span class="pl-s">Install</span> <span class="pl-ent">include_tasks</span>: <span class="pl-s">install.yml</span> - <span class="pl-ent">name</span>: <span class="pl-s">Configure</span> <span class="pl-ent">include_tasks</span>: <span class="pl-s">configure.yml</span></pre></div> <p dir="auto">When role B is directly used from a play everything works fine, but using it from task A failed with 'file not found errors'.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [jails : include_tasks] ********************************************************************************************************************************************************************************** fatal: [domain.local]: FAILED! =&gt; {&quot;failed&quot;: true, &quot;reason&quot;: &quot;Unable to retrieve file contents\nCould not find or access '/data/home/ansible/svn/esmg/cfg/unixadm/jails.yaml'&quot;} "><pre class="notranslate"><code class="notranslate">TASK [jails : include_tasks] ********************************************************************************************************************************************************************************** fatal: [domain.local]: FAILED! =&gt; {"failed": true, "reason": "Unable to retrieve file contents\nCould not find or access '/data/home/ansible/svn/esmg/cfg/unixadm/jails.yaml'"} </code></pre></div>
0
<p dir="auto">I can't see what actually caused the test to fail.</p>
<p dir="auto">I'm not sure if this is an artifact of how we're using <code class="notranslate">test</code>, or if we're printing this stack trace ourselves.</p> <p dir="auto">Here's an example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="00:06 +0 -1: end-to-end test tap on the floating action button; verify counter DriverError: Failed to fulfill WaitFor due to remote error Original error: JSON-RPC error -32000: Server error Original stack trace: package:json_rpc_2/src/client.dart 96:56 Client.sendRequest package:json_rpc_2/src/peer.dart 69:15 Peer.sendRequest package:vm_service_client/src/scope.dart 51:23 Scope.sendRequest.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:vm_service_client/src/scope.dart Scope.sendRequest package:vm_service_client/src/isolate.dart 344:19 VMIsolateRef.invokeExtension package:flutter_driver/src/driver.dart 196:32 FlutterDriver._sendCommand.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver._sendCommand package:flutter_driver/src/driver.dart 219:11 FlutterDriver.waitFor.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver.waitFor test_driver/main_test.dart 35:20 main.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:flutter_driver/src/driver.dart 214:5 FlutterDriver.tap.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:flutter_driver/src/driver.dart 196:7 FlutterDriver._sendCommand.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:vm_service_client/src/scope.dart 51:5 Scope.sendRequest.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:json_rpc_2/src/client.dart 175:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_pipe.dart 144 _ForwardingStreamSubscription._add dart:async/stream_pipe.dart 244 _MapStream._handleData dart:async/stream_pipe.dart 176 _ForwardingStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_pipe.dart 144 _ForwardingStreamSubscription._add dart:async/stream_pipe.dart 244 _MapStream._handleData dart:async/stream_pipe.dart 176 _ForwardingStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_pipe.dart 144 _ForwardingStreamSubscription._add dart:async/stream_pipe.dart 108 _ForwardingStream._handleData dart:async/stream_pipe.dart 176 _ForwardingStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:io/websocket_impl.dart 1105 _WebSocketImpl._WebSocketImpl._fromSocket.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_transformers.dart 67 _SinkTransformerStreamSubscription._add dart:async/stream_transformers.dart 14 _EventSinkWrapper.add dart:io/websocket_impl.dart 328 _WebSocketProtocolTransformer._messageFrameEnd dart:io/websocket_impl.dart 223 _WebSocketProtocolTransformer.add dart:async/stream_transformers.dart 119 _SinkTransformerStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:io-patch/socket_patch.dart 1659 _Socket._onData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 962 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:io-patch/socket_patch.dart 1226 _RawSocket._RawSocket.&lt;fn&gt; dart:io-patch/socket_patch.dart 760 _NativeSocket.issueReadEvent.issue dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 873 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper test_driver/main_test.dart main.&lt;fn&gt;.&lt;fn&gt; package:test/src/backend/declarer.dart 88:19 Declarer.test.&lt;fn&gt;.&lt;async&gt;.&lt;fn&gt;.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:test/src/backend/declarer.dart 167:3 Declarer._runSetUps.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future.dart 390 Future.doWhile.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/zone.dart 761 _CustomZone.bindUnaryCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 477 _Future._completeWithValue dart:async/future_impl.dart 528 _Future._asyncComplete.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 873 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper package:test/src/backend/declarer.dart Declarer.test.&lt;fn&gt;.&lt;async&gt;.&lt;fn&gt; package:test/src/backend/invoker.dart 185:17 Invoker.waitForOutstandingCallbacks.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/invoker.dart Invoker.waitForOutstandingCallbacks.&lt;fn&gt;.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 1301 runZoned package:test/src/backend/invoker.dart 182:7 Invoker.waitForOutstandingCallbacks.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 1303 runZoned package:test/src/backend/invoker.dart 181:5 Invoker.waitForOutstandingCallbacks package:test/src/backend/declarer.dart 86:29 Declarer.test.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/declarer.dart Declarer.test.&lt;fn&gt; dart:async/future.dart 118 Future.Future.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async-patch/timer_patch.dart 16 Timer._createTimer.&lt;fn&gt; dart:isolate-patch/timer_impl.dart 385 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/timer.dart 53 Timer.Timer dart:async/timer.dart 92 Timer.run dart:async/future.dart 116 Future.Future package:test/src/backend/invoker.dart 285:13 Invoker._onRun.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/invoker.dart Invoker._onRun.&lt;fn&gt;.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 1301 runZoned package:test/src/utils.dart 232:12 runZonedWithValues.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 1303 runZoned package:test/src/utils.dart 231:10 runZonedWithValues package:test/src/backend/invoker.dart 272:7 Invoker._onRun.&lt;fn&gt; package:stack_trace/src/chain.dart 88:24 Chain.capture.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 1303 runZoned package:stack_trace/src/chain.dart 86:12 Chain.capture package:test/src/backend/invoker.dart 271:11 Invoker._onRun package:test/src/backend/live_test_controller.dart 187:11 LiveTestController._run package:test/src/backend/live_test_controller.dart 39:31 _LiveTest.run package:test/src/runner/remote_listener.dart 189:14 RemoteListener._runLiveTest package:test/src/runner/remote_listener.dart 148:7 RemoteListener._serializeTest.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 962 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add package:stream_channel/src/guarantee_channel.dart 120:12 _GuaranteeSink.add package:stream_channel/src/multi_channel.dart 137:31 _MultiChannel._MultiChannel.&lt;fn&gt; dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage package:flutter_driver/src/driver.dart 198:7 FlutterDriver._sendCommand.&lt;async&gt; dart:async _Completer.completeError package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.&lt;async&gt; dart:async _Completer.completeError package:json_rpc_2/src/client.dart 177:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _Completer.completeError package:flutter_driver/src/driver.dart 207:3 FlutterDriver._sendCommand.&lt;async&gt; dart:async _Completer.completeError package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.&lt;async&gt; dart:async _Completer.completeError package:json_rpc_2/src/client.dart 177:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _asyncErrorWrapperHelper package:flutter_driver/src/driver.dart FlutterDriver._sendCommand package:flutter_driver/src/driver.dart 219:11 FlutterDriver.waitFor.&lt;async&gt; ===== asynchronous gap =========================== dart:async Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver.waitFor test_driver/main_test.dart 35:20 main.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_driver/src/driver.dart 214:5 FlutterDriver.tap.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_driver/src/driver.dart 196:7 FlutterDriver._sendCommand.&lt;async&gt; dart:async _SyncCompleter.complete package:vm_service_client/src/scope.dart 51:5 Scope.sendRequest.&lt;async&gt; dart:async _SyncCompleter.complete package:json_rpc_2/src/client.dart 175:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _asyncThenWrapperHelper test_driver/main_test.dart main.&lt;fn&gt;.&lt;fn&gt;"><pre class="notranslate"><code class="notranslate">00:06 +0 -1: end-to-end test tap on the floating action button; verify counter DriverError: Failed to fulfill WaitFor due to remote error Original error: JSON-RPC error -32000: Server error Original stack trace: package:json_rpc_2/src/client.dart 96:56 Client.sendRequest package:json_rpc_2/src/peer.dart 69:15 Peer.sendRequest package:vm_service_client/src/scope.dart 51:23 Scope.sendRequest.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:vm_service_client/src/scope.dart Scope.sendRequest package:vm_service_client/src/isolate.dart 344:19 VMIsolateRef.invokeExtension package:flutter_driver/src/driver.dart 196:32 FlutterDriver._sendCommand.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver._sendCommand package:flutter_driver/src/driver.dart 219:11 FlutterDriver.waitFor.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver.waitFor test_driver/main_test.dart 35:20 main.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:flutter_driver/src/driver.dart 214:5 FlutterDriver.tap.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:flutter_driver/src/driver.dart 196:7 FlutterDriver._sendCommand.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:vm_service_client/src/scope.dart 51:5 Scope.sendRequest.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:json_rpc_2/src/client.dart 175:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_pipe.dart 144 _ForwardingStreamSubscription._add dart:async/stream_pipe.dart 244 _MapStream._handleData dart:async/stream_pipe.dart 176 _ForwardingStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_pipe.dart 144 _ForwardingStreamSubscription._add dart:async/stream_pipe.dart 244 _MapStream._handleData dart:async/stream_pipe.dart 176 _ForwardingStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_pipe.dart 144 _ForwardingStreamSubscription._add dart:async/stream_pipe.dart 108 _ForwardingStream._handleData dart:async/stream_pipe.dart 176 _ForwardingStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:io/websocket_impl.dart 1105 _WebSocketImpl._WebSocketImpl._fromSocket.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_transformers.dart 67 _SinkTransformerStreamSubscription._add dart:async/stream_transformers.dart 14 _EventSinkWrapper.add dart:io/websocket_impl.dart 328 _WebSocketProtocolTransformer._messageFrameEnd dart:io/websocket_impl.dart 223 _WebSocketProtocolTransformer.add dart:async/stream_transformers.dart 119 _SinkTransformerStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:io-patch/socket_patch.dart 1659 _Socket._onData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 962 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:io-patch/socket_patch.dart 1226 _RawSocket._RawSocket.&lt;fn&gt; dart:io-patch/socket_patch.dart 760 _NativeSocket.issueReadEvent.issue dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 873 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper test_driver/main_test.dart main.&lt;fn&gt;.&lt;fn&gt; package:test/src/backend/declarer.dart 88:19 Declarer.test.&lt;fn&gt;.&lt;async&gt;.&lt;fn&gt;.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:test/src/backend/declarer.dart 167:3 Declarer._runSetUps.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future.dart 390 Future.doWhile.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/zone.dart 761 _CustomZone.bindUnaryCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 477 _Future._completeWithValue dart:async/future_impl.dart 528 _Future._asyncComplete.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 873 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper package:test/src/backend/declarer.dart Declarer.test.&lt;fn&gt;.&lt;async&gt;.&lt;fn&gt; package:test/src/backend/invoker.dart 185:17 Invoker.waitForOutstandingCallbacks.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/invoker.dart Invoker.waitForOutstandingCallbacks.&lt;fn&gt;.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 1301 runZoned package:test/src/backend/invoker.dart 182:7 Invoker.waitForOutstandingCallbacks.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 1303 runZoned package:test/src/backend/invoker.dart 181:5 Invoker.waitForOutstandingCallbacks package:test/src/backend/declarer.dart 86:29 Declarer.test.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/declarer.dart Declarer.test.&lt;fn&gt; dart:async/future.dart 118 Future.Future.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async-patch/timer_patch.dart 16 Timer._createTimer.&lt;fn&gt; dart:isolate-patch/timer_impl.dart 385 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/timer.dart 53 Timer.Timer dart:async/timer.dart 92 Timer.run dart:async/future.dart 116 Future.Future package:test/src/backend/invoker.dart 285:13 Invoker._onRun.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/invoker.dart Invoker._onRun.&lt;fn&gt;.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 1301 runZoned package:test/src/utils.dart 232:12 runZonedWithValues.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 1303 runZoned package:test/src/utils.dart 231:10 runZonedWithValues package:test/src/backend/invoker.dart 272:7 Invoker._onRun.&lt;fn&gt; package:stack_trace/src/chain.dart 88:24 Chain.capture.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 1303 runZoned package:stack_trace/src/chain.dart 86:12 Chain.capture package:test/src/backend/invoker.dart 271:11 Invoker._onRun package:test/src/backend/live_test_controller.dart 187:11 LiveTestController._run package:test/src/backend/live_test_controller.dart 39:31 _LiveTest.run package:test/src/runner/remote_listener.dart 189:14 RemoteListener._runLiveTest package:test/src/runner/remote_listener.dart 148:7 RemoteListener._serializeTest.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 962 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add package:stream_channel/src/guarantee_channel.dart 120:12 _GuaranteeSink.add package:stream_channel/src/multi_channel.dart 137:31 _MultiChannel._MultiChannel.&lt;fn&gt; dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage package:flutter_driver/src/driver.dart 198:7 FlutterDriver._sendCommand.&lt;async&gt; dart:async _Completer.completeError package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.&lt;async&gt; dart:async _Completer.completeError package:json_rpc_2/src/client.dart 177:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _Completer.completeError package:flutter_driver/src/driver.dart 207:3 FlutterDriver._sendCommand.&lt;async&gt; dart:async _Completer.completeError package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.&lt;async&gt; dart:async _Completer.completeError package:json_rpc_2/src/client.dart 177:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _asyncErrorWrapperHelper package:flutter_driver/src/driver.dart FlutterDriver._sendCommand package:flutter_driver/src/driver.dart 219:11 FlutterDriver.waitFor.&lt;async&gt; ===== asynchronous gap =========================== dart:async Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver.waitFor test_driver/main_test.dart 35:20 main.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_driver/src/driver.dart 214:5 FlutterDriver.tap.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_driver/src/driver.dart 196:7 FlutterDriver._sendCommand.&lt;async&gt; dart:async _SyncCompleter.complete package:vm_service_client/src/scope.dart 51:5 Scope.sendRequest.&lt;async&gt; dart:async _SyncCompleter.complete package:json_rpc_2/src/client.dart 175:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _asyncThenWrapperHelper test_driver/main_test.dart main.&lt;fn&gt;.&lt;fn&gt; </code></pre></div>
1
<p dir="auto">Traceback (most recent call last):<br> File "C:\Users\zuha\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 14, in swig_import_helper<br> return importlib.import_module(mname)<br> File "C:\Users\zuha\AppData\Local\Programs\Python\Python36\lib\importlib_<em>init</em>_.py", line 126, in import_module<br> return _bootstrap._gcd_import(name[level:], package, level)<br> File "", line 994, in _gcd_import<br> File "", line 971, in _find_and_load<br> File "", line 955, in _find_and_load_unlocked<br> File "", line 658, in _load_unlocked<br> File "", line 571, in module_from_spec<br> File "", line 922, in create_module<br> File "", line 219, in _call_with_frames_removed<br> ImportError: DLL load failed: The specified module could not be found.</p> <p dir="auto">During handling of the above exception, another exception occurred:</p> <p dir="auto">Traceback (most recent call last):<br> File "C:\Users\zuha\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <br> from tensorflow.python.pywrap_tensorflow_internal import *<br> File "C:\Users\zuha\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in <br> _pywrap_tensorflow_internal = swig_import_helper()<br> File "C:\Users\zuha\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 16, in swig_import_helper<br> return importlib.import_module('<em>pywrap_tensorflow_internal')<br> File "C:\Users\zuha\AppData\Local\Programs\Python\Python36\lib\importlib_<em>init</em></em>.py", line 126, in import_module<br> return _bootstrap._gcd_import(name[level:], package, level)<br> ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'</p> <p dir="auto">During handling of the above exception, another exception occurred:</p> <p dir="auto">Traceback (most recent call last):<br> File "", line 1, in <br> File "C:\Users\zuha\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow_<em>init</em>_.py", line 22, in <br> from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import<br> File "C:\Users\zuha\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python_<em>init</em>_.py", line 49, in <br> from tensorflow.python import pywrap_tensorflow<br> File "C:\Users\zuha\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <br> raise ImportError(msg)<br> ImportError: Traceback (most recent call last):<br> File "C:\Users\zuha\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 14, in swig_import_helper<br> return importlib.import_module(mname)<br> File "C:\Users\zuha\AppData\Local\Programs\Python\Python36\lib\importlib_<em>init</em>_.py", line 126, in import_module<br> return _bootstrap._gcd_import(name[level:], package, level)<br> File "", line 994, in _gcd_import<br> File "", line 971, in _find_and_load<br> File "", line 955, in _find_and_load_unlocked<br> File "", line 658, in _load_unlocked<br> File "", line 571, in module_from_spec<br> File "", line 922, in create_module<br> File "", line 219, in _call_with_frames_removed<br> ImportError: DLL load failed: The specified module could not be found.</p> <p dir="auto">During handling of the above exception, another exception occurred:</p> <p dir="auto">Traceback (most recent call last):<br> File "C:\Users\zuha\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <br> from tensorflow.python.pywrap_tensorflow_internal import *<br> File "C:\Users\zuha\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in <br> _pywrap_tensorflow_internal = swig_import_helper()<br> File "C:\Users\zuha\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 16, in swig_import_helper<br> return importlib.import_module('<em>pywrap_tensorflow_internal')<br> File "C:\Users\zuha\AppData\Local\Programs\Python\Python36\lib\importlib_<em>init</em></em>.py", line 126, in import_module<br> return _bootstrap._gcd_import(name[level:], package, level)<br> ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'</p> <p dir="auto">Failed to load the native TensorFlow runtime.</p> <p dir="auto">See <a href="https://www.tensorflow.org/install/install_sources#common_installation_problems" rel="nofollow">https://www.tensorflow.org/install/install_sources#common_installation_problems</a></p> <p dir="auto">for some common reasons and solutions. Include the entire stack trace<br> above this error message when asking for help.</p>
<p dir="auto">As announced in release notes, TensorFlow release binaries version 1.6 and higher are prebuilt with AVX instruction sets. This means on any CPU that do not have these instruction sets either CPU or GPU version of TF will fail to load with any of the following errors:</p> <ul dir="auto"> <li><code class="notranslate">ImportError: DLL load failed:</code></li> <li>A crash with return code 132</li> </ul> <p dir="auto">Our recommendation is to build TF from sources on these systems.</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>: ubuntu/windows/macos</li> <li><strong>TensorFlow installed from (source or binary)</strong>: binary</li> <li><strong>TensorFlow version (use command below)</strong>: 1.6 and up</li> <li><strong>Python version</strong>: 2.7, 3.3, 3.4, 3.5, 3.6 and any newer</li> <li><strong>Bazel version (if compiling from source)</strong>: n/a</li> <li><strong>GCC/Compiler version (if compiling from source)</strong>: n/a</li> <li><strong>CUDA/cuDNN version</strong>: any</li> <li><strong>GPU model and memory</strong>: any</li> <li><strong>Exact command to reproduce</strong>: python -c "import tensorflow as tf"</li> </ul>
1
<p dir="auto">I can't postmessage a shared WebAssembly memory or module to a worker:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19688162/104839764-8ea55900-58c3-11eb-9c57-2fd8d255eddb.png"><img src="https://user-images.githubusercontent.com/19688162/104839764-8ea55900-58c3-11eb-9c57-2fd8d255eddb.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">results in:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19688162/104839772-a41a8300-58c3-11eb-915e-3317c45adeec.png"><img src="https://user-images.githubusercontent.com/19688162/104839772-a41a8300-58c3-11eb-915e-3317c45adeec.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Same happens with wasm module, also I cant use any of them to move wasm execution into a worker<br> Do I need a special flag for this?</p> <p dir="auto">Command I used to run this:<br> docker run -it --init -v ${PWD}:/app hayd/alpine-deno run --allow-read --unstable --v8-flags="--experimental-wasm-threads" /app/main.ts</p> <p dir="auto"><a href="https://github.com/denoland/deno/files/5826010/test.zip">test.zip</a></p>
<h1 dir="auto">Deno op dispatch and native plugins</h1> <h2 dir="auto">Overview</h2> <p dir="auto">Deno dispatch system is based on</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Deno.core.send(opId: number, control: null | ArrayBufferView, data?: ArrayBufferView)"><pre class="notranslate"><span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-c1">core</span><span class="pl-kos">.</span><span class="pl-en">send</span><span class="pl-kos">(</span><span class="pl-s1">opId</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">control</span>: <span class="pl-c1">null</span> <span class="pl-c1">|</span> <span class="pl-smi">ArrayBufferView</span><span class="pl-kos">,</span> <span class="pl-s1">data</span>?: <span class="pl-smi">ArrayBufferView</span><span class="pl-kos">)</span></pre></div> <ul dir="auto"> <li>a function that passes messages from JS to Rust and executes function described with <code class="notranslate">opId</code>.</li> </ul> <p dir="auto">Message passing is done using so-called "shared queue", which for now has served it's purpose well.</p> <p dir="auto">The <code class="notranslate">opId</code> which identifies the op and its dispatcher is a number that is shared between TypeScript and Rust.</p> <p dir="auto">As of Deno v0.18.0 all ops dispatching logic is hardcoded.</p> <h2 dir="auto">Problem</h2> <p dir="auto">Current solution is very simple and quite efficient, however has several shortcomings that need to be addressed<br> to expose native plugins API to users;</p> <ol dir="auto"> <li><code class="notranslate">OpId</code> has to be manually synchronized between TS and Rust. In current situation, where we have about 60 ops, it's not that bad, but surely we'll be cumbersome as number of ops grows.</li> </ol> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="... // Warning! These values are duplicated in the TypeScript code (js/dispatch.ts), // update with care. pub const OP_READ: OpId = 1; pub const OP_WRITE: OpId = 2; ..."><pre class="notranslate">..<span class="pl-kos">.</span> <span class="pl-c">// Warning! These values are duplicated in the TypeScript code (js/dispatch.ts),</span> <span class="pl-c">// update with care.</span> <span class="pl-c1">pub</span><span class="pl-kos"></span> <span class="pl-k">const</span> <span class="pl-v">OP_READ</span><span class="pl-kos">:</span> <span class="pl-smi">OpId</span> = <span class="pl-c1">1</span><span class="pl-kos">;</span> <span class="pl-k">pub</span> <span class="pl-k">const</span> <span class="pl-v">OP_WRITE</span><span class="pl-kos">:</span> <span class="pl-smi">OpId</span> = <span class="pl-c1">2</span><span class="pl-kos">;</span> ..<span class="pl-kos">.</span></pre></div> <ol start="2" dir="auto"> <li>There is no way to add new op programatically. Op has be to registered in code manually before compilation, which prevents users from adding new ops from their' code.</li> </ol> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let op = match op_id { OP_READ =&gt; { dispatch_minimal::dispatch(io::op_read, state, control, zero_copy) } OP_WRITE =&gt; { dispatch_minimal::dispatch(io::op_write, state, control, zero_copy) } ... }"><pre class="notranslate"><span class="pl-k">let</span> op = <span class="pl-k">match</span> op_id <span class="pl-kos">{</span> <span class="pl-v">OP_READ</span> =&gt; <span class="pl-kos">{</span> dispatch_minimal<span class="pl-kos">::</span><span class="pl-en">dispatch</span><span class="pl-kos">(</span>io<span class="pl-kos">::</span>op_read<span class="pl-kos">,</span> state<span class="pl-kos">,</span> control<span class="pl-kos">,</span> zero_copy<span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-v">OP_WRITE</span> =&gt; <span class="pl-kos">{</span> dispatch_minimal<span class="pl-kos">::</span><span class="pl-en">dispatch</span><span class="pl-kos">(</span>io<span class="pl-kos">::</span>op_write<span class="pl-kos">,</span> state<span class="pl-kos">,</span> control<span class="pl-kos">,</span> zero_copy<span class="pl-kos">)</span> <span class="pl-kos">}</span> ... <span class="pl-kos">}</span><span class="pl-kos"></span></pre></div> <ol start="3" dir="auto"> <li>Op and its dispatcher are very tightly coupled. There still be tight coupling between op and it's dispatcher (you can't easily write op that will work with both "minimal" and "json" dispatcher), but it should be done using a simple API instead of manually writing closures.</li> </ol> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// see example above"><pre class="notranslate"><span class="pl-c">// see example above</span></pre></div> <ol start="4" dir="auto"> <li>Code for ops lives in 2 different places. TS code for ops currently lives in <code class="notranslate">//js/</code> while Rust code lives in <code class="notranslate">//cli/ops/</code>. Ideally we'd like to have <code class="notranslate">//ops</code> directory that will contain both TS and Rust code (eg. <code class="notranslate">//ops/fs/main.ts</code> and <code class="notranslate">//ops/fs/mod.ts</code> as entry points).</li> </ol> <h2 dir="auto">Nomenclature</h2> <ul dir="auto"> <li><code class="notranslate">dispatch</code> - main method used to call into Rust code from JS. See <code class="notranslate">Isolate::set_dispatch</code> method.</li> <li><code class="notranslate">dispatcher</code> - an abstract construct that is called from <code class="notranslate">dispatch</code>. It's aware of serialization method ("minimal", "json") and sets contract for <code class="notranslate">op handler</code>.</li> <li><code class="notranslate">op</code>/<code class="notranslate">op handler</code> - a function that performs some actual work, eg. "read"/"write"/"dial". <code class="notranslate">Op</code> has to be used with a <code class="notranslate">dispatcher</code> that knows how to transform result of that <code class="notranslate">op</code> into <code class="notranslate">CoreOp</code>.</li> <li><code class="notranslate">CoreOp</code> - fundamental type that describes how Rust code can return value to JS.</li> </ul> <h2 dir="auto">Requirements</h2> <ol dir="auto"> <li>Minimal or no changes to <code class="notranslate">Deno.core</code> and shared queue infrastructure.</li> <li>New system must be FAST (at least as fast as current solution, preferably faster).</li> <li>Ops should have access to permission APIs (TODO: can permissions be forced upon plugins/ops?)</li> <li>Op handler signature shouldn't depend on <code class="notranslate">ThreadSafeState</code> because it's a <code class="notranslate">deno_cli</code> concept.</li> <li>Ability to register new <code class="notranslate">dispatcher</code> with custom serialization method (eg. "msgpack").</li> <li>Ability to register new <code class="notranslate">op</code> statically (before build).</li> <li>No hardcoded <code class="notranslate">opIds</code> - after registration of an op, during startup Rust sends an "op map" that is a dictonary mapping op names to op ids.</li> <li>Ability to register new <code class="notranslate">op</code> dynamically (from JS code), loading some Rust code (as dynamic library?). This functionality can be exposed as another op - <code class="notranslate">op_register_new_op</code>.</li> <li>Ability to register an <code class="notranslate">op</code> multiple times. Say I have some native plugin that requires "read" op, but I'm not sure that host will have "read" available. So I register the op in my library setup code (potentially with namespace of my plugin).</li> <li>Both static and dynamic op registration should be as simple as possible.</li> </ol> <h2 dir="auto">Proposed dispatch implementation</h2> <h4 dir="auto">Prototype by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/afinch7/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/afinch7">@afinch7</a></h4> <p dir="auto">In <a href="https://github.com/denoland/deno/pull/2840" data-hovercard-type="pull_request" data-hovercard-url="/denoland/deno/pull/2840/hovercard">#2840</a> there's a complete solution.</p> <ul dir="auto"> <li>"op listeners"</li> </ul> <p dir="auto"><del>After registration of a new op a bunch of listener methods is called to reset the ids of all ops.<br> I believe this can be refactored to encapsulate this logic in <code class="notranslate">JsonOp</code> (presented in "pros" section) and ultimately<br> should be handled by separate op that calls "callback" function on dispatch to register op ids that are sent from Rust.</del><br> This is only done when using <code class="notranslate">set_dispatch_registry</code>, which can be combined with <code class="notranslate">set_dispatch</code>. It's functionality is equivalent<br> to proposed <code class="notranslate">setOpMap</code> below.</p> <ul dir="auto"> <li>dispatcher registry</li> </ul> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pub trait OpDispatcher: Send + Sync { fn dispatch(&amp;self, args: &amp;[u8], buf: Option&lt;PinnedBuf&gt;) -&gt; CoreOp; } type OpDispatcherRegistry = Vec&lt;Option&lt;Arc&lt;Box&lt;dyn OpDispatcher&gt;&gt;&gt;&gt;; pub struct OpDisReg { // Quick lookups by unique &quot;op id&quot;/&quot;resource id&quot; // The main goal of op_dis_registry is to perform lookups as fast // as possible at all times. op_dis_registry: RwLock&lt;OpDispatcherRegistry&gt;, next_op_dis_id: AtomicU32, // Serves as &quot;phone book&quot; for op_dis_registry // This should only be referenced for initial lookups. It isn't // possible to achieve the level of perfromance we want if we // have to query this for every dispatch, but it may be needed // to build caches for subseqent lookups. op_dis_id_registry: RwLock&lt;HashMap&lt;String, HashMap&lt;&amp;'static str, OpId&gt;&gt;&gt;, notifier_reg: RwLock&lt;NotifyerReg&gt;, }"><pre class="notranslate"><span class="pl-k">pub</span> <span class="pl-k">trait</span> <span class="pl-smi">OpDispatcher</span><span class="pl-kos">:</span> <span class="pl-smi">Send</span> + <span class="pl-smi">Sync</span> <span class="pl-kos">{</span> <span class="pl-k">fn</span> <span class="pl-en">dispatch</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-smi">self</span><span class="pl-kos">,</span> <span class="pl-s1">args</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-kos">[</span><span class="pl-smi">u8</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">buf</span><span class="pl-kos">:</span> <span class="pl-smi">Option</span><span class="pl-kos">&lt;</span><span class="pl-smi">PinnedBuf</span><span class="pl-kos">&gt;</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">CoreOp</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">type</span> <span class="pl-smi">OpDispatcherRegistry</span> = <span class="pl-smi">Vec</span><span class="pl-kos">&lt;</span><span class="pl-smi">Option</span><span class="pl-kos">&lt;</span><span class="pl-smi">Arc</span><span class="pl-kos">&lt;</span><span class="pl-smi">Box</span><span class="pl-kos">&lt;</span><span class="pl-k">dyn</span> <span class="pl-smi">OpDispatcher</span><span class="pl-kos">&gt;</span><span class="pl-kos">&gt;</span><span class="pl-kos">&gt;</span><span class="pl-kos">&gt;</span><span class="pl-kos">;</span> <span class="pl-k">pub</span> <span class="pl-k">struct</span> <span class="pl-smi">OpDisReg</span> <span class="pl-kos">{</span> <span class="pl-c">// Quick lookups by unique "op id"/"resource id"</span> <span class="pl-c">// The main goal of op_dis_registry is to perform lookups as fast</span> <span class="pl-c">// as possible at all times.</span> <span class="pl-c1">op_dis_registry</span><span class="pl-kos">:</span> <span class="pl-smi">RwLock</span><span class="pl-kos">&lt;</span><span class="pl-smi">OpDispatcherRegistry</span><span class="pl-kos">&gt;</span><span class="pl-kos">,</span> <span class="pl-c1">next_op_dis_id</span><span class="pl-kos">:</span> <span class="pl-smi">AtomicU32</span><span class="pl-kos">,</span> <span class="pl-c">// Serves as "phone book" for op_dis_registry</span> <span class="pl-c">// This should only be referenced for initial lookups. It isn't</span> <span class="pl-c">// possible to achieve the level of perfromance we want if we</span> <span class="pl-c">// have to query this for every dispatch, but it may be needed</span> <span class="pl-c">// to build caches for subseqent lookups.</span> <span class="pl-c1">op_dis_id_registry</span><span class="pl-kos">:</span> <span class="pl-smi">RwLock</span><span class="pl-kos">&lt;</span><span class="pl-smi">HashMap</span><span class="pl-kos">&lt;</span><span class="pl-smi">String</span><span class="pl-kos">,</span> <span class="pl-smi">HashMap</span><span class="pl-kos">&lt;</span><span class="pl-c1">&amp;</span><span class="pl-c1">'</span><span class="pl-ent">static</span> <span class="pl-smi">str</span><span class="pl-kos">,</span> <span class="pl-smi">OpId</span><span class="pl-kos">&gt;</span><span class="pl-kos">&gt;</span><span class="pl-kos">&gt;</span><span class="pl-kos">,</span> <span class="pl-c1">notifier_reg</span><span class="pl-kos">:</span> <span class="pl-smi">RwLock</span><span class="pl-kos">&lt;</span><span class="pl-smi">NotifyerReg</span><span class="pl-kos">&gt;</span><span class="pl-kos">,</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><code class="notranslate">notifier_reg</code> is used to trigger "op listeners" described above.</p> <p dir="auto">Pros:</p> <ul dir="auto"> <li>elegant API for registration of ops in TS</li> </ul> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const OP_CHDIR = new JsonOp(opNamespace, &quot;chdir&quot;); export function chdir(directory: string): void { OP_CHDIR.sendSync({ directory }); }"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-smi">OP_CHDIR</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">JsonOp</span><span class="pl-kos">(</span><span class="pl-s1">opNamespace</span><span class="pl-kos">,</span> <span class="pl-s">"chdir"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">function</span> <span class="pl-en">chdir</span><span class="pl-kos">(</span><span class="pl-s1">directory</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span>: <span class="pl-smi"><span class="pl-k">void</span></span> <span class="pl-kos">{</span> <span class="pl-smi">OP_CHDIR</span><span class="pl-kos">.</span><span class="pl-en">sendSync</span><span class="pl-kos">(</span><span class="pl-kos">{</span> directory <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">It might need a little tweaking as each op would create a closure, but that has to verified experimentally.</p> <ul dir="auto"> <li>nice code organization</li> </ul> <p dir="auto">All code (both Rust and TS) related to <code class="notranslate">fs</code> lives inside <code class="notranslate">//ops/fs</code> crate.</p> <p dir="auto">Cons:</p> <ul dir="auto"> <li>each op is a trait</li> </ul> <p dir="auto">This leads for a lot of boilerplate code, where we essentialy have an empty structure that must implement a trait.</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pub struct OpChmod; #[derive(Deserialize)] #[serde(rename_all = &quot;camelCase&quot;)] struct ChmodArgs { promise_id: Option&lt;u64&gt;, path: String, mode: u32, } impl FsOpDispatcher for OpChmod { fn dispatch( &amp;self, state: &amp;TSFsOpsState, control: &amp;[u8], buf: Option&lt;PinnedBuf&gt;, ) -&gt; CoreOp { wrap_json_op( move |args, _zero_copy| { let args: ChmodArgs = serde_json::from_value(args)?; let (path, path_) = deno_fs::resolve_from_cwd(args.path.as_ref())?; state.check_write(&amp;path_)?; let is_sync = args.promise_id.is_none(); blocking_json(is_sync, move || { debug!(&quot;op_chmod {}&quot;, &amp;path_); // Still check file/dir exists on windows let _metadata = fs::metadata(&amp;path).map_err(FsOpError::from)?; #[cfg(any(unix))] { let mut permissions = _metadata.permissions(); permissions.set_mode(args.mode); fs::set_permissions(&amp;path, permissions).map_err(FsOpError::from)?; } Ok(json!({})) }) }, control, buf, ) } const NAME: &amp;'static str = &quot;chmod&quot;; }"><pre class="notranslate"><span class="pl-k">pub</span> <span class="pl-k">struct</span> <span class="pl-smi">OpChmod</span><span class="pl-kos">;</span> <span class="pl-c1">#<span class="pl-kos">[</span>derive<span class="pl-kos">(</span><span class="pl-v">Deserialize</span><span class="pl-kos">)</span><span class="pl-kos">]</span></span> <span class="pl-c1">#<span class="pl-kos">[</span>serde<span class="pl-kos">(</span>rename_all = <span class="pl-s">"camelCase"</span><span class="pl-kos">)</span><span class="pl-kos">]</span></span> <span class="pl-k">struct</span> <span class="pl-smi">ChmodArgs</span> <span class="pl-kos">{</span> <span class="pl-c1">promise_id</span><span class="pl-kos">:</span> <span class="pl-smi">Option</span><span class="pl-kos">&lt;</span><span class="pl-smi">u64</span><span class="pl-kos">&gt;</span><span class="pl-kos">,</span> <span class="pl-c1">path</span><span class="pl-kos">:</span> <span class="pl-smi">String</span><span class="pl-kos">,</span> <span class="pl-c1">mode</span><span class="pl-kos">:</span> <span class="pl-smi">u32</span><span class="pl-kos">,</span> <span class="pl-kos">}</span> <span class="pl-k">impl</span> <span class="pl-smi">FsOpDispatcher</span> <span class="pl-k">for</span> <span class="pl-smi">OpChmod</span> <span class="pl-kos">{</span> <span class="pl-k">fn</span> <span class="pl-en">dispatch</span><span class="pl-kos">(</span> <span class="pl-c1">&amp;</span><span class="pl-smi">self</span><span class="pl-kos">,</span> <span class="pl-s1">state</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-smi">TSFsOpsState</span><span class="pl-kos">,</span> <span class="pl-s1">control</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-kos">[</span><span class="pl-smi">u8</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">buf</span><span class="pl-kos">:</span> <span class="pl-smi">Option</span><span class="pl-kos">&lt;</span><span class="pl-smi">PinnedBuf</span><span class="pl-kos">&gt;</span><span class="pl-kos">,</span> <span class="pl-kos">)</span> -&gt; <span class="pl-smi">CoreOp</span> <span class="pl-kos">{</span> <span class="pl-en">wrap_json_op</span><span class="pl-kos">(</span> <span class="pl-k">move</span> |args<span class="pl-kos">,</span> _zero_copy| <span class="pl-kos">{</span> <span class="pl-k">let</span> args<span class="pl-kos">:</span> <span class="pl-smi">ChmodArgs</span> = serde_json<span class="pl-kos">::</span><span class="pl-en">from_value</span><span class="pl-kos">(</span>args<span class="pl-kos">)</span>?<span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-kos">(</span>path<span class="pl-kos">,</span> path_<span class="pl-kos">)</span> = deno_fs<span class="pl-kos">::</span><span class="pl-en">resolve_from_cwd</span><span class="pl-kos">(</span>args<span class="pl-kos">.</span><span class="pl-c1">path</span><span class="pl-kos">.</span><span class="pl-en">as_ref</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span>?<span class="pl-kos">;</span> state<span class="pl-kos">.</span><span class="pl-en">check_write</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span>path_<span class="pl-kos">)</span>?<span class="pl-kos">;</span> <span class="pl-k">let</span> is_sync = args<span class="pl-kos">.</span><span class="pl-c1">promise_id</span><span class="pl-kos">.</span><span class="pl-en">is_none</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">blocking_json</span><span class="pl-kos">(</span>is_sync<span class="pl-kos">,</span> <span class="pl-k">move</span> || <span class="pl-kos">{</span> <span class="pl-en">debug</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"op_chmod {}"</span>, &amp;path_<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Still check file/dir exists on windows</span> <span class="pl-k">let</span> _metadata = fs<span class="pl-kos">::</span><span class="pl-en">metadata</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span>path<span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">map_err</span><span class="pl-kos">(</span><span class="pl-smi">FsOpError</span><span class="pl-kos">::</span>from<span class="pl-kos">)</span>?<span class="pl-kos">;</span> <span class="pl-c1">#<span class="pl-kos">[</span>cfg<span class="pl-kos">(</span>any<span class="pl-kos">(</span>unix<span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">]</span></span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-k">mut</span> permissions = _metadata<span class="pl-kos">.</span><span class="pl-en">permissions</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> permissions<span class="pl-kos">.</span><span class="pl-en">set_mode</span><span class="pl-kos">(</span>args<span class="pl-kos">.</span><span class="pl-c1">mode</span><span class="pl-kos">)</span><span class="pl-kos">;</span> fs<span class="pl-kos">::</span><span class="pl-en">set_permissions</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span>path<span class="pl-kos">,</span> permissions<span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">map_err</span><span class="pl-kos">(</span><span class="pl-smi">FsOpError</span><span class="pl-kos">::</span>from<span class="pl-kos">)</span>?<span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-v">Ok</span><span class="pl-kos">(</span><span class="pl-en">json</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> control<span class="pl-kos">,</span> buf<span class="pl-kos">,</span> <span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-v">NAME</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-c1">'</span><span class="pl-ent">static</span> <span class="pl-smi">str</span> = <span class="pl-s">"chmod"</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <ul dir="auto"> <li>a bit magical loading of TS code</li> </ul> <p dir="auto">A concept of "import map" (not import maps we have implemented in Deno tho!) is used to map bare specifier to path of .ts file inside the crate. Eg. "deno_op_fs" is mapped to "bundle/main.ts" in "ops_fs" crate.</p> <h4 dir="auto">Prototype by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bartlomieju/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bartlomieju">@bartlomieju</a></h4> <p dir="auto">Taking a lot of inspiration from <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/afinch7/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/afinch7">@afinch7</a> I came up with a bit different solution that allows to avoid problem of initial double lookup.</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// NOTE: this can be merged into `ThreadSafeState` or `Isolate` pub struct DispatchManager { op_registry: RwLock&lt;Vec&lt;OpHandler&gt;&gt; // TODO: HashMap signature should be changed to support namespacing op_phone_book: RwLock&lt;HashMap&lt;String, (OpId, Dispatcher, Op)&gt;&gt; }"><pre class="notranslate"><span class="pl-c">// NOTE: this can be merged into `ThreadSafeState` or `Isolate`</span> <span class="pl-k">pub</span> <span class="pl-k">struct</span> <span class="pl-smi">DispatchManager</span> <span class="pl-kos">{</span> <span class="pl-c1">op_registry</span><span class="pl-kos">:</span> <span class="pl-smi">RwLock</span><span class="pl-kos">&lt;</span><span class="pl-smi">Vec</span><span class="pl-kos">&lt;</span><span class="pl-smi">OpHandler</span><span class="pl-kos">&gt;</span><span class="pl-kos">&gt;</span> <span class="pl-c">// TODO: HashMap signature should be changed to support namespacing</span> op_phone_book<span class="pl-kos">:</span> <span class="pl-smi">RwLock</span><span class="pl-kos">&lt;</span><span class="pl-smi">HashMap</span><span class="pl-kos">&lt;</span><span class="pl-smi">String</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-smi">OpId</span><span class="pl-kos">,</span> <span class="pl-smi">Dispatcher</span><span class="pl-kos">,</span> <span class="pl-smi">Op</span><span class="pl-kos">)</span><span class="pl-kos">&gt;</span><span class="pl-kos">&gt;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">In this case each registered op is placed in the <code class="notranslate">op_phone_book</code> structure to identify it by it's namespace and name and <code class="notranslate">OpId</code> is an offset in the <code class="notranslate">op_registry</code> vector obtained from length of the vector.</p> <p dir="auto">In the example above <code class="notranslate">OpHandler</code> type can be roughly described as:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// TODO: this has to be changed; we want to get rid of `state` and also add permission API type OpHandler = Fn(state: &amp;ThreadSafeState, control: &amp;[u8], zero_copy: Option&lt;PinnedBuf&gt;) -&gt; CoreOp);"><pre class="notranslate"><span class="pl-c">// TODO: this has to be changed; we want to get rid of `state` and also add permission API</span> <span class="pl-k">type</span> <span class="pl-smi">OpHandler</span> = <span class="pl-smi">Fn</span><span class="pl-kos">(</span><span class="pl-s1">state</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-smi">ThreadSafeState</span><span class="pl-kos">,</span> <span class="pl-s1">control</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-kos">[</span><span class="pl-smi">u8</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">zero_copy</span><span class="pl-kos">:</span> <span class="pl-smi">Option</span><span class="pl-kos">&lt;</span><span class="pl-smi">PinnedBuf</span><span class="pl-kos">&gt;</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">CoreOp</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Which is equivalent of wrapping any <code class="notranslate">op</code> with its designated <code class="notranslate">dispatcher</code>.</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let read_handler = dispatch_minimal(op_read); let resources_handler = dispatch_json(op_read); // And registration... isolate.register_op(&quot;read&quot;, read_handler); isolate.register_op(&quot;resources&quot;, resources_handler); // or isolate.register_minimal_op(&quot;read&quot;, op_read); isolate.register_json_op(&quot;resources&quot;, op_resources);"><pre class="notranslate"><span class="pl-k">let</span> read_handler = <span class="pl-en">dispatch_minimal</span><span class="pl-kos">(</span>op_read<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> resources_handler = <span class="pl-en">dispatch_json</span><span class="pl-kos">(</span>op_read<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// And registration...</span> isolate<span class="pl-kos">.</span><span class="pl-en">register_op</span><span class="pl-kos">(</span><span class="pl-s">"read"</span><span class="pl-kos">,</span> read_handler<span class="pl-kos">)</span><span class="pl-kos">;</span> isolate<span class="pl-kos">.</span><span class="pl-en">register_op</span><span class="pl-kos">(</span><span class="pl-s">"resources"</span><span class="pl-kos">,</span> resources_handler<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// or</span> isolate<span class="pl-kos">.</span><span class="pl-en">register_minimal_op</span><span class="pl-kos">(</span><span class="pl-s">"read"</span><span class="pl-kos">,</span> op_read<span class="pl-kos">)</span><span class="pl-kos">;</span> isolate<span class="pl-kos">.</span><span class="pl-en">register_json_op</span><span class="pl-kos">(</span><span class="pl-s">"resources"</span><span class="pl-kos">,</span> op_resources<span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Then on startup a map of all registered ops can be sent to JS to synchronize JS counterparts functions:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Construct an op map that looks like this: // { // &quot;minimal&quot;: { // &quot;read&quot;: 1, // &quot;write&quot;: 2, // }, // &quot;json&quot;: { // &quot;resources&quot;: 3, // &quot;fs&quot;: { // &quot;chown&quot;: 4, // &quot;chmod&quot;: 5, // ... // } // } // } let op_map = dispatch_manager.get_map() isolate.execute(format!(&quot;denoMain({})&quot;, json!(op_map)));"><pre class="notranslate"><span class="pl-c">// Construct an op map that looks like this:</span> <span class="pl-c">// {</span> <span class="pl-c">// "minimal": {</span> <span class="pl-c">// "read": 1,</span> <span class="pl-c">// "write": 2,</span> <span class="pl-c">// },</span> <span class="pl-c">// "json": {</span> <span class="pl-c">// "resources": 3,</span> <span class="pl-c">// "fs": {</span> <span class="pl-c">// "chown": 4,</span> <span class="pl-c">// "chmod": 5,</span> <span class="pl-c">// ...</span> <span class="pl-c">// }</span> <span class="pl-c">// }</span> <span class="pl-c">// }</span> <span class="pl-k">let</span> op_map = dispatch_manager<span class="pl-kos">.</span><span class="pl-en">get_map</span><span class="pl-kos">(</span><span class="pl-kos">)</span> isolate<span class="pl-kos">.</span><span class="pl-en">execute</span><span class="pl-kos">(</span><span class="pl-en">format</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"denoMain({})"</span>, json!<span class="pl-kos">(</span>op_map<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-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function denoMain(opMao: OpMap, ...args): void { dispatch.setOpMap(opMaps); os.start(true, &quot;TS&quot;); os.start(true, &quot;TS&quot;); } // dispatch.ts export function setOpMap(opMap: OpMap): void { // this can be further abstracted away dispatch_minimal.setOpMap(opMap.minimal); dispatch_json.setOpMap(opMap.json); } // dispatch_json.ts class JsonOp { namespace?: string; name: string; opId: number; constructor(namespace: string, name?: string) { if (!this.name) { this.name = namespace; } else { this.namespace = namespace; this.name = name; } registeredOp.add(this); } register(opId: number) { this.opId = opId; } sendSync(...) {} sendAsync(...) {} } const registeredOps = [ // store all instances of `JsonOp` ] function setOpMap(opMap: opMap) { for (const registeredOp in registeredOps) { let opId; let map = opMap; if (registeredOp.namespace) { map = opMap[registeredOp.namespace] } const opId = map[registeredOp.name]; if (!opId) { throw new Error(`Unregistered op: ${registeredOp.name}`); } op.register(opId); } }"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">denoMain</span><span class="pl-kos">(</span><span class="pl-s1">opMao</span>: <span class="pl-smi">OpMap</span><span class="pl-kos">,</span> ...<span class="pl-s1">args</span><span class="pl-kos">)</span>: <span class="pl-smi"><span class="pl-k">void</span></span> <span class="pl-kos">{</span> <span class="pl-s1">dispatch</span><span class="pl-kos">.</span><span class="pl-en">setOpMap</span><span class="pl-kos">(</span><span class="pl-s1">opMaps</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">os</span><span class="pl-kos">.</span><span class="pl-en">start</span><span class="pl-kos">(</span><span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-s">"TS"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">os</span><span class="pl-kos">.</span><span class="pl-en">start</span><span class="pl-kos">(</span><span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-s">"TS"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c">// dispatch.ts</span> <span class="pl-k">export</span> <span class="pl-k">function</span> <span class="pl-en">setOpMap</span><span class="pl-kos">(</span><span class="pl-s1">opMap</span>: <span class="pl-smi">OpMap</span><span class="pl-kos">)</span>: <span class="pl-smi"><span class="pl-k">void</span></span> <span class="pl-kos">{</span> <span class="pl-c">// this can be further abstracted away</span> <span class="pl-s1">dispatch_minimal</span><span class="pl-kos">.</span><span class="pl-en">setOpMap</span><span class="pl-kos">(</span><span class="pl-s1">opMap</span><span class="pl-kos">.</span><span class="pl-c1">minimal</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">dispatch_json</span><span class="pl-kos">.</span><span class="pl-en">setOpMap</span><span class="pl-kos">(</span><span class="pl-s1">opMap</span><span class="pl-kos">.</span><span class="pl-c1">json</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c">// dispatch_json.ts</span> <span class="pl-k">class</span> <span class="pl-smi">JsonOp</span> <span class="pl-kos">{</span> <span class="pl-c1">namespace</span>?: <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-c1">name</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-c1">opId</span>: <span class="pl-smi">number</span><span class="pl-kos">;</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">namespace</span>: <span class="pl-smi">string</span><span class="pl-kos">,</span> <span class="pl-s1">name</span>?: <span class="pl-smi">string</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">name</span> <span class="pl-c1">=</span> <span class="pl-s1">namespace</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">namespace</span> <span class="pl-c1">=</span> <span class="pl-s1">namespace</span><span class="pl-kos">;</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">name</span> <span class="pl-c1">=</span> <span class="pl-s1">name</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-s1">registeredOp</span><span class="pl-kos">.</span><span class="pl-en">add</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">register</span><span class="pl-kos">(</span><span class="pl-s1">opId</span>: <span class="pl-smi">number</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">opId</span> <span class="pl-c1">=</span> <span class="pl-s1">opId</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">sendSync</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">sendAsync</span><span class="pl-kos">(</span>...<span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-s1">registeredOps</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span> <span class="pl-c">// store all instances of `JsonOp`</span> <span class="pl-kos">]</span> <span class="pl-k">function</span> <span class="pl-en">setOpMap</span><span class="pl-kos">(</span><span class="pl-s1">opMap</span>: <span class="pl-smi">opMap</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">const</span> <span class="pl-s1">registeredOp</span> <span class="pl-k">in</span> <span class="pl-s1">registeredOps</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-s1">opId</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">map</span> <span class="pl-c1">=</span> <span class="pl-s1">opMap</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">registeredOp</span><span class="pl-kos">.</span><span class="pl-c1">namespace</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">map</span> <span class="pl-c1">=</span> <span class="pl-s1">opMap</span><span class="pl-kos">[</span><span class="pl-s1">registeredOp</span><span class="pl-kos">.</span><span class="pl-c1">namespace</span><span class="pl-kos">]</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-s1">opId</span> <span class="pl-c1">=</span> <span class="pl-s1">map</span><span class="pl-kos">[</span><span class="pl-s1">registeredOp</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-s1">opId</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-smi">Error</span><span class="pl-kos">(</span><span class="pl-s">`Unregistered op: <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">registeredOp</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-s1">op</span><span class="pl-kos">.</span><span class="pl-en">register</span><span class="pl-kos">(</span><span class="pl-s1">opId</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">That way we get free validation that all ops are properly registered. Additional check can be added to ensure<br> that all ops sent from Rust are registered as well.</p> <p dir="auto">Upon dynamic registration of op we can do the same thing synchronously. The only constraint is that ops couldn't be unregistered<br> unless some synchronisation mechanism is added.</p> <h3 dir="auto">Questions/TODOs</h3> <ol dir="auto"> <li>Where should op be registered? <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ry/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ry">@ry</a> suggested doing it on <code class="notranslate">Isolate</code> which means <code class="notranslate">ops</code> become <code class="notranslate">core</code> concept (which in turn will require <code class="notranslate">permissions</code> to become <code class="notranslate">core</code> concept).</li> </ol> <h2 dir="auto">Proposed native plugins implementation</h2> <p dir="auto">TODO</p> <p dir="auto">Starting this issue for further discussion.</p> <p dir="auto">This is at least partially 1.0 blocker (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="453631188" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/2473" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/2473/hovercard" href="https://github.com/denoland/deno/issues/2473">#2473</a>)</p> <p dir="auto">Related issues:</p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="336467452" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/296" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/296/hovercard" href="https://github.com/denoland/deno/issues/296">#296</a></li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="435729046" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/2180" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/2180/hovercard" href="https://github.com/denoland/deno/issues/2180">#2180</a></li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="413189472" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/1825" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/1825/hovercard" href="https://github.com/denoland/deno/issues/1825">#1825</a></li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="488273161" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/2852" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/2852/hovercard" href="https://github.com/denoland/deno/issues/2852">#2852</a></li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="477074658" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/2730" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/2730/hovercard" href="https://github.com/denoland/deno/issues/2730">#2730</a></li> </ul> <p dir="auto">Related PRs:</p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="446737545" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/2385" data-hovercard-type="pull_request" data-hovercard-url="/denoland/deno/pull/2385/hovercard" href="https://github.com/denoland/deno/pull/2385">#2385</a></li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="481242880" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/2785" data-hovercard-type="pull_request" data-hovercard-url="/denoland/deno/pull/2785/hovercard" href="https://github.com/denoland/deno/pull/2785">#2785</a></li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="484631031" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/2811" data-hovercard-type="pull_request" data-hovercard-url="/denoland/deno/pull/2811/hovercard" href="https://github.com/denoland/deno/pull/2811">#2811</a></li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="487677061" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/2840" data-hovercard-type="pull_request" data-hovercard-url="/denoland/deno/pull/2840/hovercard" href="https://github.com/denoland/deno/pull/2840">#2840</a></li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="493269251" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/2939" data-hovercard-type="pull_request" data-hovercard-url="/denoland/deno/pull/2939/hovercard" href="https://github.com/denoland/deno/pull/2939">#2939</a></li> </ul> <p dir="auto">CC <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/afinch7/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/afinch7">@afinch7</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ry/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ry">@ry</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/piscisaureus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/piscisaureus">@piscisaureus</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kevinkassimo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kevinkassimo">@kevinkassimo</a></p>
0
<h1 dir="auto">Possibility to setup rules for automatic moving windows in to zones.</h1> <p dir="auto">I think it might be a useful feature when newly opened window will be moved in to defined zone automatically. The rules for automatic moving can be applied based on process name (and/or window title, etc).<br> The rules can be applied when window is opened or by shortcut.<br> The rules can be disabled/enabled.<br> The layout should support import/export with all rules.</p>
<p dir="auto">Hi all,</p> <p dir="auto">It would be great to choose what apps to show up on startup within a specific layout using FancyZones. For example, I have a setup of two displays and three virtual desktops and I need to open my apps and reposition them on the screen each time I boot-up my system.</p>
1
<p dir="auto">conda activate base<br> 2.0.0-alpha0<br> 2019-05-29 19:58:31.543654: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA<br> 2019-05-29 19:58:31.557759: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcuda.so.1<br> 2019-05-29 19:58:31.670769: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1009] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero<br> 2019-05-29 19:58:31.672348: I tensorflow/compiler/xla/service/service.cc:162] XLA service 0x55c9b57a0a60 executing computations on platform CUDA. Devices:<br> 2019-05-29 19:58:31.672364: I tensorflow/compiler/xla/service/service.cc:169] StreamExecutor device (0): Graphics Device, Compute Capability 7.5<br> 2019-05-29 19:58:31.693201: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2904000000 Hz<br> 2019-05-29 19:58:31.693619: I tensorflow/compiler/xla/service/service.cc:162] XLA service 0x55c9b580db30 executing computations on platform Host. Devices:<br> 2019-05-29 19:58:31.693637: I tensorflow/compiler/xla/service/service.cc:169] StreamExecutor device (0): , <br> 2019-05-29 19:58:31.693791: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1467] Found device 0 with properties:<br> name: Graphics Device major: 7 minor: 5 memoryClockRate(GHz): 1.71<br> pciBusID: 0000:01:00.0<br> totalMemory: 5.76GiB freeMemory: 5.17GiB<br> 2019-05-29 19:58:31.693804: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1546] Adding visible gpu devices: 0<br> 2019-05-29 19:58:31.693844: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0<br> 2019-05-29 19:58:31.694402: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1015] Device interconnect StreamExecutor with strength 1 edge matrix:<br> 2019-05-29 19:58:31.694413: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1021] 0<br> 2019-05-29 19:58:31.694419: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1034] 0: N<br> 2019-05-29 19:58:31.694516: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1149] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4990 MB memory) -&gt; physical GPU (device: 0, name: Graphics Device, pci bus id: 0000:01:00.0, compute capability: 7.5)<br> Number of training examples: 60000<br> Number of test examples: 10000<br> Epoch 1/5<br> 2019-05-29 19:58:32.786674: W ./tensorflow/core/framework/model.h:202] Encountered a stop event that was not preceded by a start event.<br> 2019-05-29 19:58:36.114172: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0<br> 2019-05-29 19:58:36.288348: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7<br> 2019-05-29 19:58:36.934479: E tensorflow/stream_executor/cuda/cuda_dnn.cc:338] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR<br> 2019-05-29 19:58:36.945020: E tensorflow/stream_executor/cuda/cuda_dnn.cc:338] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR<br> 2019-05-29 19:58:36.945127: W tensorflow/core/common_runtime/base_collective_executor.cc:214] BaseCollectiveExecutor::StartAbort Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.<br> [[{{node conv2d/Conv2D}}]]</p>
<p dir="auto"><em>Please make sure that this is a bug. As per our <a href="https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md">GitHub Policy</a>, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template</em></p> <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):</li> <li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Debian</li> <li>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:</li> <li>TensorFlow installed from (source or binary):binary</li> <li>TensorFlow version (use command below):1.13.1,1.14.0,2.0.0a0,1.9.0</li> <li>Python version:3.7,3.6</li> <li>Bazel version (if compiling from source):</li> <li>GCC/Compiler version (if compiling from source):</li> <li>CUDA/cuDNN version:Cuda 10/7.5.0,7.4.2,7.4.1,7.4.0,Cuda 9 can't support 2060</li> <li>GPU model and memory:rtx 2060 6GB</li> </ul> <p dir="auto">You can collect some of this information using our environment capture<br> <a href="https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh">script</a><br> You can also obtain the TensorFlow version with: 1. TF 1.0: <code class="notranslate">python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"</code> 2. TF 2.0: <code class="notranslate">python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"</code></p> <p dir="auto"><strong>Describe the current behavior</strong></p> <p dir="auto"><strong>Describe the expected behavior</strong></p> <p dir="auto"><strong>Code to reproduce the issue</strong><br> conda activate base<br> 2.0.0-alpha0<br> 2019-05-29 19:58:31.543654: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA<br> 2019-05-29 19:58:31.557759: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcuda.so.1<br> 2019-05-29 19:58:31.670769: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1009] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero<br> 2019-05-29 19:58:31.672348: I tensorflow/compiler/xla/service/service.cc:162] XLA service 0x55c9b57a0a60 executing computations on platform CUDA. Devices:<br> 2019-05-29 19:58:31.672364: I tensorflow/compiler/xla/service/service.cc:169] StreamExecutor device (0): Graphics Device, Compute Capability 7.5<br> 2019-05-29 19:58:31.693201: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2904000000 Hz<br> 2019-05-29 19:58:31.693619: I tensorflow/compiler/xla/service/service.cc:162] XLA service 0x55c9b580db30 executing computations on platform Host. Devices:<br> 2019-05-29 19:58:31.693637: I tensorflow/compiler/xla/service/service.cc:169] StreamExecutor device (0): ,<br> 2019-05-29 19:58:31.693791: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1467] Found device 0 with properties:<br> name: Graphics Device major: 7 minor: 5 memoryClockRate(GHz): 1.71<br> pciBusID: 0000:01:00.0<br> totalMemory: 5.76GiB freeMemory: 5.17GiB<br> 2019-05-29 19:58:31.693804: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1546] Adding visible gpu devices: 0<br> 2019-05-29 19:58:31.693844: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0<br> 2019-05-29 19:58:31.694402: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1015] Device interconnect StreamExecutor with strength 1 edge matrix:<br> 2019-05-29 19:58:31.694413: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1021] 0<br> 2019-05-29 19:58:31.694419: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1034] 0: N<br> 2019-05-29 19:58:31.694516: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1149] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4990 MB memory) -&gt; physical GPU (device: 0, name: Graphics Device, pci bus id: 0000:01:00.0, compute capability: 7.5)<br> Number of training examples: 60000<br> Number of test examples: 10000<br> Epoch 1/5<br> 2019-05-29 19:58:32.786674: W ./tensorflow/core/framework/model.h:202] Encountered a stop event that was not preceded by a start event.<br> 2019-05-29 19:58:36.114172: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0<br> 2019-05-29 19:58:36.288348: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7<br> 2019-05-29 19:58:36.934479: E tensorflow/stream_executor/cuda/cuda_dnn.cc:338] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR<br> 2019-05-29 19:58:36.945020: E tensorflow/stream_executor/cuda/cuda_dnn.cc:338] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR<br> 2019-05-29 19:58:36.945127: W tensorflow/core/common_runtime/base_collective_executor.cc:214] BaseCollectiveExecutor::StartAbort Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.<br> [[{{node conv2d/Conv2D}}]]</p> <p dir="auto"><strong>Other info / logs</strong><br> 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.</p>
1
<p dir="auto">The typescript typings support a property "openImmediately" in SelectField which is supposed to be passed to the DropDownMenu child. But the actual SelectField implementation doesn't support it, it's not passed down to DropDownMenu, there's a console error instead:</p> <p dir="auto">warning.js:33 Warning: React does not recognize the <code class="notranslate">openImmediately</code> prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase <code class="notranslate">openimmediately</code> instead. If you accidentally passed it from a parent component, remove it from the DOM element.<br> in div (created by TextField)<br> in TextField (created by SelectField)<br> in SelectField (created by LoginScreen)<br> in div (created by LoginScreen)<br> in LoginScreen (created by Connect(LoginScreen))<br> in Connect(LoginScreen) (created by Main)<br> in div (created by Main)<br> in Main (created by Connect(Main))<br> in Connect(Main) (created by MainSelector)<br> in div (created by MainSelector)<br> in MainSelector (created by Connect(MainSelector))<br> in Connect(MainSelector)<br> in Router (created by ConnectedRouter)<br> in ConnectedRouter<br> in div (created by StyleRoot)<br> in StyleRoot<br> in Provider<br> in AppContainer</p> <ul dir="auto"> <li>[X ] 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">A SelectField with openImmediately=true should be displayed open without click. There should be no error on the console if the property openImmediately is used on a SelectField.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">A SelectField with openImmediately=true is not opened automatically. There is and error on the console if this prop is set.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto">Use this in your react app to reproduce:<br> <code class="notranslate">&lt;SelectField openImmediately={true}/&gt;</code></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>0.20.0</td> </tr> <tr> <td>React</td> <td>16.2.0</td> </tr> <tr> <td>browser</td> <td>Chrome 63</td> </tr> </tbody> </table>
<h3 dir="auto">Problem description</h3> <p dir="auto">Safari has issues with rendering the CircularProgress component. The CPU load rises rapidly and the page freezes. Moreover, the circle looks odd since it is shown in a fully closed fashion.</p> <h3 dir="auto">Link to minimal working code that reproduces the issue</h3> <p dir="auto"><code class="notranslate">&lt;CircularProgress size={80}/&gt;</code></p> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: v1.0.0-alpha.21</li> <li>React: 15.6.1</li> <li>Browser: Safari (tested on macOS 10.12.6 and iOS 10.3.3)</li> </ul>
0
<p dir="auto">This not happens outside terminal = using powershell directly.</p> <h1 dir="auto">Steps to reproduce</h1> <ol dir="auto"> <li>start type anything</li> <li>press space</li> </ol> <h1 dir="auto">Expected behavior</h1> <ol dir="auto"> <li>the left space or character on the left of command do not delete</li> </ol> <h1 dir="auto">Actual behavior</h1> <ol dir="auto"> <li>any character on left was deleted and the command characters go to left</li> </ol> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/671670/65354835-e85e1c00-dbc6-11e9-84c0-83385143c4ae.gif"><img src="https://user-images.githubusercontent.com/671670/65354835-e85e1c00-dbc6-11e9-84c0-83385143c4ae.gif" alt="microsoft-terminal-space-bug" data-animated-image="" style="max-width: 100%;"></a></p>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 0.3.2171.0 Windows Terminal version (if applicable): 0.3.2171.0 Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 0.3.2171.0 Windows Terminal version (if applicable): 0.3.2171.0 Any other software? </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <ol dir="auto"> <li>Open Windows Terminal</li> <li>Change to any of the Vietnamese input methods and type</li> </ol> <h1 dir="auto">Expected behavior</h1> <ul dir="auto"> <li>Vietnamese texts being entered</li> </ul> <h1 dir="auto">Actual behavior</h1> <ul dir="auto"> <li>For the <a href="https://en.wikipedia.org/wiki/QWERTY#Vietnamese" rel="nofollow">Vietnamese keyboard layout</a>, only the keys 2, 3, 4 work and produce âêô. A few diacritic keys work but produce the separate diacritics instead of combining them into the base letter. The remaining keys failed to work and produce <code class="notranslate">?</code> or the letters with diacritics removed</li> <li>For the Vietnamese number based and Telex input methods, nothing works</li> </ul> <p dir="auto">I've already search several times and the only related issue is <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="476434785" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/2213" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/2213/hovercard" href="https://github.com/microsoft/terminal/issues/2213">#2213</a> but I don't think it's a duplicate, as Vietnamese uses Latin characters and no pre-edit textboxes are used like CJK languages</p>
0
<h3 dir="auto">Input Code</h3> <p dir="auto">The following test suite describes the issue:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import {expect} from 'chai'; class Demo { bad = async (x) =&gt; arguments[0]; good = (x) =&gt; (async () =&gt; (x))(); } describe('async bound handlers', function() { lazy('demo', () =&gt; new Demo('Scope leak!')); describe('#bad', function() { it('does bad things', async function() { const leak = await this.demo.bad(123); expect(leak).to.equal('Scope leak!'); }); }); describe('#good', function() { it('does good things', async function() { const x = await this.demo.good(123); expect(x).to.equal(123); }); }); });"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-s1">expect</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'chai'</span><span class="pl-kos">;</span> <span class="pl-k">class</span> <span class="pl-v">Demo</span> <span class="pl-kos">{</span> <span class="pl-c1">bad</span> <span class="pl-c1">=</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">arguments</span><span class="pl-kos">[</span><span class="pl-c1">0</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-c1">good</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span><span class="pl-k">async</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-s1">x</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-en">describe</span><span class="pl-kos">(</span><span class="pl-s">'async bound handlers'</span><span class="pl-kos">,</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">lazy</span><span class="pl-kos">(</span><span class="pl-s">'demo'</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-k">new</span> <span class="pl-v">Demo</span><span class="pl-kos">(</span><span class="pl-s">'Scope leak!'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">describe</span><span class="pl-kos">(</span><span class="pl-s">'#bad'</span><span class="pl-kos">,</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">it</span><span class="pl-kos">(</span><span class="pl-s">'does bad things'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-s1">leak</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">demo</span><span class="pl-kos">.</span><span class="pl-en">bad</span><span class="pl-kos">(</span><span class="pl-c1">123</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">leak</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">to</span><span class="pl-kos">.</span><span class="pl-en">equal</span><span class="pl-kos">(</span><span class="pl-s">'Scope leak!'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">describe</span><span class="pl-kos">(</span><span class="pl-s">'#good'</span><span class="pl-kos">,</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">it</span><span class="pl-kos">(</span><span class="pl-s">'does good things'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">demo</span><span class="pl-kos">.</span><span class="pl-en">good</span><span class="pl-kos">(</span><span class="pl-c1">123</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">x</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">to</span><span class="pl-kos">.</span><span class="pl-en">equal</span><span class="pl-kos">(</span><span class="pl-c1">123</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <h3 dir="auto">Babel Configuration (.bablerc, package.json, cli command)</h3> <p dir="auto">Using <a href="https://github.com/babel/broccoli-babel-transpiler">broccoli-babel-transpiler</a> with the following options:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ nonStandard: true, moduleIds: false, modules: 'system', externalHelpers: true, stage: 0, // …other project-specific configuration (extensions, directories, etc) }"><pre class="notranslate"><span class="pl-kos">{</span> <span class="pl-c1">nonStandard</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">moduleIds</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span> <span class="pl-c1">modules</span>: <span class="pl-s">'system'</span><span class="pl-kos">,</span> <span class="pl-c1">externalHelpers</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">stage</span>: <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c">// …other project-specific configuration (extensions, directories, etc)</span> <span class="pl-kos">}</span></pre></div> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">When defining a bound async function within an ES6 class, like so:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Demo { hello = async (name) =&gt; `Hello, ${name}!`; }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">Demo</span> <span class="pl-kos">{</span> <span class="pl-c1">hello</span> <span class="pl-c1">=</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-s1">name</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s">`Hello, <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">name</span><span class="pl-kos">}</span></span>!`</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">I would expect <code class="notranslate">name</code> to be defined.</p> <h3 dir="auto">Current Behavior</h3> <p dir="auto">With the above example given for <em>expected behavior</em>, the value of <code class="notranslate">name</code> is bound to the first argument given to the constructor for <code class="notranslate">Demo</code>.</p> <h3 dir="auto">Possible Solution</h3> <p dir="auto">A workaround is to declare the bound function <em>without</em> the <code class="notranslate">async</code> keyword, and have it return a self-evaluating function <em>with</em> the <code class="notranslate">async</code> keyword containing the original logic. For example:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Demo { hello = (name) =&gt; (async () =&gt; `Hello, ${name}!`)(); }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">Demo</span> <span class="pl-kos">{</span> <span class="pl-c1">hello</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">name</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s">`Hello, <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">name</span><span class="pl-kos">}</span></span>!`</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">A possible solution might be for Babel to do this automatically.</p> <h3 dir="auto">Context</h3> <p dir="auto">In practice, our React project passes bound functions as callbacks (e.g: <code class="notranslate">onClick</code>). Rather than dynamically binding these using <code class="notranslate">::</code> or <code class="notranslate">Function#bind</code>, which create new objects that violate shallow prop comparisons and trigger needless re-rendering (see <a href="http://benchling.engineering/performance-engineering-with-react/#functionbindinlineanonymousfunctions" rel="nofollow">Performance Engineering with React</a>), we bind these using the pattern discussed here.</p> <p dir="auto">A fair number of our handler functions have asynchronous behavior, and we'd like to take advantage of the <code class="notranslate">async</code> keyword as we have with our unbound class functions. The obvious way to do this is to declare the assigned function to have the <code class="notranslate">async</code> keyword, which triggers the errant behavior.</p> <p dir="auto">In short, we want the <code class="notranslate">job</code> variable in both functions declared below to be consistent:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Demo { async performAsync(job) {/*…process the given job…*/} boundPerformAsync = async (job) =&gt; {/*…process the given job…*/} }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">Demo</span> <span class="pl-kos">{</span> <span class="pl-k">async</span> <span class="pl-en">performAsync</span><span class="pl-kos">(</span><span class="pl-s1">job</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-c">/*…process the given job…*/</span><span class="pl-kos">}</span> <span class="pl-c1">boundPerformAsync</span> <span class="pl-c1">=</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-s1">job</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span><span class="pl-c">/*…process the given job…*/</span><span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><code class="notranslate">this.performAsync(job)</code> and <code class="notranslate">this.boundPerformAsync(job)</code> should be functionally equivalent.</p>
<p dir="auto">if I create class property and assign in a bound function, in the generated code I can access particular arguments without problem, but if I try to access <code class="notranslate">arguments</code> it brings class constructor's <code class="notranslate">arguments</code> into the closure and they become <code class="notranslate">arguments</code> of the bound function.</p> <p dir="auto">this is what I'm trying to achieve</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class Foo extends Component { componentDidMount() { $(document).on('click', this.onEvent); } onEvent = (event) =&gt; { console.log(event); console.log(arguments); }; }"><pre class="notranslate"><code class="notranslate">class Foo extends Component { componentDidMount() { $(document).on('click', this.onEvent); } onEvent = (event) =&gt; { console.log(event); console.log(arguments); }; } </code></pre></div> <p dir="auto">in <code class="notranslate">onEvent</code> the <code class="notranslate">event</code> argument will be a jquery event like expected. but <code class="notranslate">arguments</code> will not be method arguments but constructor arguments instead.</p> <p dir="auto">this <a href="https://babeljs.io/repl/#?experimental=true&amp;evaluate=true&amp;loose=false&amp;spec=false&amp;code=class%20Foo%20%7B%0A%20%20%0A%20%20componentDidMount%28%29%20%7B%0A%20%20%20%20%24%28document%29.on%28'click'%2C%20this.onEvent%29%3B%0A%20%20%7D%0A%20%20%0A%20%20onEvent%20%3D%20%28event%29%20%3D%3E%20%7B%0A%20%20%20%20console.log%28event%29%3B%0A%20%20%20%20console.log%28arguments%29%3B%0A%20%20%7D%3B%0A%7D" rel="nofollow">REPL</a> shows what code gets generated.</p> <p dir="auto">now, I may not know ES6 well enough to understand why is this happening. but I couldn't find any mention of such a "feature", so this might be a bug.</p>
1
<p dir="auto">[Enter steps to reproduce below:]</p> <ol dir="auto"> <li>...</li> <li>...</li> </ol> <p dir="auto"><strong>Atom Version</strong>: 0.189.0<br> <strong>System</strong>: Mac OS X 10.10.2<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: ENOENT: no such file or directory, open '/Users/akihiroyajima/Dropbox/Settings/.atom/packages/save-session/projects//Users/ietty/Works/totalsupport/project.json'</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At fs.js:55 Error: ENOENT: no such file or directory, open '/Users/akihiroyajima/Dropbox/Settings/.atom/packages/save-session/projects//Users/ietty/Works/totalsupport/project.json' at Error (native) "><pre class="notranslate"><code class="notranslate">At fs.js:55 Error: ENOENT: no such file or directory, open '/Users/akihiroyajima/Dropbox/Settings/.atom/packages/save-session/projects//Users/ietty/Works/totalsupport/project.json' at Error (native) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -2:07.2 core:save (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -1:43.9 tool-panel:unfocus (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel) 5x -1:25.2 core:copy (atom-text-editor.editor.vim-mode.visual-mode) -1:17.7 pane:show-previous-item (atom-text-editor.editor.vim-mode.visual-mode) -1:16.9 core:paste (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -1:03.5 settings-view:open (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:45.6 deprecation-cop:view (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui) 2x -0:39.7 pane:show-previous-item (div.deprecation-cop.pane-item.native-key-bindings) -0:36.6 vim-mode:insert-after (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:35.9 emmet:insert-formatted-line-break-only (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:35.9 editor:newline (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:32.7 emmet:insert-formatted-line-break-only (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:32.7 editor:newline (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:22.8 core:save (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:18.6 settings-view:open (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:06.7 core:close (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)"><pre class="notranslate"><code class="notranslate"> -2:07.2 core:save (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -1:43.9 tool-panel:unfocus (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel) 5x -1:25.2 core:copy (atom-text-editor.editor.vim-mode.visual-mode) -1:17.7 pane:show-previous-item (atom-text-editor.editor.vim-mode.visual-mode) -1:16.9 core:paste (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -1:03.5 settings-view:open (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:45.6 deprecation-cop:view (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui) 2x -0:39.7 pane:show-previous-item (div.deprecation-cop.pane-item.native-key-bindings) -0:36.6 vim-mode:insert-after (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:35.9 emmet:insert-formatted-line-break-only (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:35.9 editor:newline (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:32.7 emmet:insert-formatted-line-break-only (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:32.7 editor:newline (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:22.8 core:save (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:18.6 settings-view:open (atom-text-editor.editor.vim-mode.insert-mode.is-focused.autocomplete-active) -0:06.7 core:close (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui) </code></pre></div> <h3 dir="auto">Config</h3> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;core&quot;: { &quot;disabledPackages&quot;: [ &quot;sublime-tabs&quot;, &quot;atom-lint&quot;, &quot;web-view&quot;, &quot;npm-install&quot;, &quot;term2&quot;, &quot;jquery-snippets&quot;, &quot;script&quot;, &quot;atom-html-preview&quot;, &quot;linter-htmlhint&quot;, &quot;jsformat&quot;, &quot;auto-indent&quot;, &quot;save-session&quot; ], &quot;followSymlinks&quot;: true, &quot;excludeVcsIgnoredPaths&quot;: false }, &quot;editor&quot;: { &quot;invisibles&quot;: {}, &quot;fontFamily&quot;: &quot;Source Code Pro&quot;, &quot;tabLength&quot;: 4, &quot;lineHeight&quot;: 1.5, &quot;scrollPastEnd&quot;: true, &quot;softWrap&quot;: true, &quot;preferredLineLength&quot;: 500, &quot;fontSize&quot;: 12, &quot;showIndentGuide&quot;: true, &quot;zoomFontWhenCtrlScrolling&quot;: true, &quot;autoIndentOnPaste&quot;: false } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: { <span class="pl-ent">"disabledPackages"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>sublime-tabs<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>atom-lint<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>web-view<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>npm-install<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>term2<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>jquery-snippets<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>script<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>atom-html-preview<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>linter-htmlhint<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>jsformat<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>auto-indent<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>save-session<span class="pl-pds">"</span></span> ], <span class="pl-ent">"followSymlinks"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"excludeVcsIgnoredPaths"</span>: <span class="pl-c1">false</span> }, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"invisibles"</span>: {}, <span class="pl-ent">"fontFamily"</span>: <span class="pl-s"><span class="pl-pds">"</span>Source Code Pro<span class="pl-pds">"</span></span>, <span class="pl-ent">"tabLength"</span>: <span class="pl-c1">4</span>, <span class="pl-ent">"lineHeight"</span>: <span class="pl-c1">1.5</span>, <span class="pl-ent">"scrollPastEnd"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"softWrap"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"preferredLineLength"</span>: <span class="pl-c1">500</span>, <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">12</span>, <span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"zoomFontWhenCtrlScrolling"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"autoIndentOnPaste"</span>: <span class="pl-c1">false</span> } }</pre></div> <h3 dir="auto">Installed Packages</h3> <div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User Sublime-Style-Column-Selection, v1.2.3 atom-beautify, v0.23.1 autocomplete-paths, v1.0.2 autocomplete-plus, v2.7.1 autocomplete-snippets, v1.2.0 color-picker, v1.5.0 css-snippets, v0.5.0 emmet, v2.3.6 file-icons, v1.5.2 git-log, v0.3.0 highlight-line, v0.10.1 japanese-wrap, v0.2.4 javascript-snippets, v1.0.0 linter, v0.12.0 linter-csslint, v0.0.11 linter-jshint, v0.1.0 linter-scss-lint, v0.0.14 minimap, v4.7.2 project-manager, v1.15.5 tabs-to-spaces, v0.9.2 travis-ci-status, v0.13.0 vim-mode, v0.42.0 # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> Sublime<span class="pl-k">-</span>Style<span class="pl-k">-</span>Column<span class="pl-k">-</span>Selection, v1.<span class="pl-ii">2</span>.<span class="pl-ii">3</span> atom<span class="pl-k">-</span>beautify, v0.<span class="pl-ii">23</span>.<span class="pl-ii">1</span> autocomplete<span class="pl-k">-</span>paths, v1.<span class="pl-ii">0</span>.<span class="pl-ii">2</span> autocomplete<span class="pl-k">-</span>plus, v2.<span class="pl-ii">7</span>.<span class="pl-ii">1</span> autocomplete<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">2</span>.<span class="pl-ii">0</span> color<span class="pl-k">-</span>picker, v1.<span class="pl-ii">5</span>.<span class="pl-ii">0</span> css<span class="pl-k">-</span>snippets, v0.<span class="pl-ii">5</span>.<span class="pl-ii">0</span> emmet, v2.<span class="pl-ii">3</span>.<span class="pl-ii">6</span> file<span class="pl-k">-</span>icons, v1.<span class="pl-ii">5</span>.<span class="pl-ii">2</span> git<span class="pl-k">-</span>log, v0.<span class="pl-ii">3</span>.<span class="pl-ii">0</span> highlight<span class="pl-k">-</span>line, v0.<span class="pl-ii">10</span>.<span class="pl-ii">1</span> japanese<span class="pl-k">-</span>wrap, v0.<span class="pl-ii">2</span>.<span class="pl-ii">4</span> javascript<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span> linter, v0.<span class="pl-ii">12</span>.<span class="pl-ii">0</span> linter<span class="pl-k">-</span>csslint, v0.<span class="pl-ii">0</span>.<span class="pl-ii">11</span> linter<span class="pl-k">-</span>jshint, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span> linter<span class="pl-k">-</span>scss<span class="pl-k">-</span>lint, v0.<span class="pl-ii">0</span>.<span class="pl-ii">14</span> minimap, v4.<span class="pl-ii">7</span>.<span class="pl-ii">2</span> project<span class="pl-k">-</span>manager, v1.<span class="pl-ii">15</span>.<span class="pl-ii">5</span> tabs<span class="pl-k">-</span>to<span class="pl-k">-</span>spaces, v0.<span class="pl-ii">9</span>.<span class="pl-ii">2</span> travis<span class="pl-k">-</span>ci<span class="pl-k">-</span>status, v0.<span class="pl-ii">13</span>.<span class="pl-ii">0</span> vim<span class="pl-k">-</span>mode, v0.<span class="pl-ii">42</span>.<span class="pl-ii">0</span> <span class="pl-c"><span class="pl-c">#</span> Dev</span> <span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
<p dir="auto">My settings have <code class="notranslate">tab spaces</code> set to 4. I also have <code class="notranslate">soft tabs</code> enabled - as well as <code class="notranslate">Show invisibles</code> so I can see that spaces are being inserted instead of tabs.</p> <p dir="auto">If I hit space bar 4 times (or hit tab once).</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1747643/6747444/7ed62c82-cf2d-11e4-96d4-ad0e763e28ba.png"><img src="https://cloud.githubusercontent.com/assets/1747643/6747444/7ed62c82-cf2d-11e4-96d4-ad0e763e28ba.png" alt="space-4" style="max-width: 100%;"></a><br> That's good, it appears 4 spaces have been inserted. Now if I hit the left key, I'm taken to the start of the line (and not back one space).<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1747643/6747454/b5721a80-cf2d-11e4-8e1f-2bc29afbd729.png"><img src="https://cloud.githubusercontent.com/assets/1747643/6747454/b5721a80-cf2d-11e4-8e1f-2bc29afbd729.png" alt="left-arrow" style="max-width: 100%;"></a><br> Or, if I hit backspace, all four spaces are removed.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1747643/6747466/e1d0af06-cf2d-11e4-8139-ca42b9f3e42d.png"><img src="https://cloud.githubusercontent.com/assets/1747643/6747466/e1d0af06-cf2d-11e4-8139-ca42b9f3e42d.png" alt="backspace" style="max-width: 100%;"></a></p> <p dir="auto">Similarly if I try and highlight one of those spaces with my mouse, I can only highlight all or nothing of the 4 spaces.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1747643/6747648/6cd283e8-cf30-11e4-907a-58db5a7add3d.png"><img src="https://cloud.githubusercontent.com/assets/1747643/6747648/6cd283e8-cf30-11e4-907a-58db5a7add3d.png" alt="hightlight" style="max-width: 100%;"></a><br> In other editors I use (gedit, brackets), the behaviour I've found is that backspace, or left, will only go back one character, not the whole 4 (or what's configured) spaces.</p> <p dir="auto">I'm running on Ubuntu 14.04 (x86_64) and with version 0.187 of Atom.</p>
0
<p dir="auto">Hello, I think standard for url array params is <code class="notranslate">?arr1[]=1&amp;arr2[]=2</code>, am I missing something? <code class="notranslate">Router</code> parses the object into: <code class="notranslate">?delivery=1&amp;delivery=24</code></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/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">Expected at least nested objects be supported and parsed correctly from query</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">It takes the whole thing as a key, instead of creating an nested object<br> Doesn't matter the format, none of them works<br> <code class="notranslate">/?nested[key]=value</code><br> or<br> <code class="notranslate">/?nested.key=value</code></p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>Open the page with the pattern above</li> <li>Print the this.props.url.query in top level page component</li> <li>Does not work</li> <li></li> </ol> <h2 dir="auto">Context</h2> <p dir="auto">I can't pass nested object over arbitrarily if I am not using <code class="notranslate">&lt;Link /&gt;</code> component, actually I'm not sure if <code class="notranslate">&lt;Link /&gt;</code> would work with nested object since it is using npm 'url' which does not supported nested object parsing...</p> <p dir="auto">Btw, I'm currently using <a href="https://github.com/ljharb/qs">https://github.com/ljharb/qs</a> for parsing atm, I hope this saves you all time if you are looking for alternatives.</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>2.4.6</td> </tr> <tr> <td>node</td> <td>8.1.3</td> </tr> <tr> <td>OS</td> <td>macOS Sierra</td> </tr> <tr> <td>browser</td> <td>chrome</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
1
<p dir="auto">Heya,</p> <p dir="auto">Currently, <code class="notranslate">@types/angular</code> has a dependency on an earlier version of itself as can be seen in <a href="https://npmcdn.com/@types/[email protected]/package.json" rel="nofollow">https://npmcdn.com/@types/[email protected]/package.json</a>.</p> <p dir="auto">This cause a duplicate definition error when compiling a project that uses it:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="kamik@T460p MINGW64 /D/sandbox/typescript-types-bug (master) $ npm run tsc &gt; [email protected] tsc D:\sandbox\typescript-types-bug &gt; tsc node_modules/@types/angular/index.d.ts(17,21): error TS2300: Duplicate identifier 'angular'. node_modules/@types/angular/index.d.ts(18,21): error TS2300: Duplicate identifier 'ng'. node_modules/@types/angular/node_modules/@types/angular/index.d.ts(17,21): error TS2300: Duplicate identifier 'angular'. node_modules/@types/angular/node_modules/@types/angular/index.d.ts(18,21): error TS2300: Duplicate identifier 'ng'. (...) kamik@T460p MINGW64 /D/sandbox/typescript-types-bug (master) $ npm ls [email protected] D:\sandbox\typescript-types-bug +-- @types/[email protected] | +-- UNMET DEPENDENCY @types/[email protected] | `-- @types/[email protected] `-- [email protected] npm ERR! missing: @types/[email protected], required by @types/[email protected]"><pre class="notranslate"><code class="notranslate">kamik@T460p MINGW64 /D/sandbox/typescript-types-bug (master) $ npm run tsc &gt; [email protected] tsc D:\sandbox\typescript-types-bug &gt; tsc node_modules/@types/angular/index.d.ts(17,21): error TS2300: Duplicate identifier 'angular'. node_modules/@types/angular/index.d.ts(18,21): error TS2300: Duplicate identifier 'ng'. node_modules/@types/angular/node_modules/@types/angular/index.d.ts(17,21): error TS2300: Duplicate identifier 'angular'. node_modules/@types/angular/node_modules/@types/angular/index.d.ts(18,21): error TS2300: Duplicate identifier 'ng'. (...) kamik@T460p MINGW64 /D/sandbox/typescript-types-bug (master) $ npm ls [email protected] D:\sandbox\typescript-types-bug +-- @types/[email protected] | +-- UNMET DEPENDENCY @types/[email protected] | `-- @types/[email protected] `-- [email protected] npm ERR! missing: @types/[email protected], required by @types/[email protected] </code></pre></div> <p dir="auto">I've tried looking at <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/angular">https://github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/angular</a> but there is no <code class="notranslate">package.json</code> there. Any way I can contribute a fix?</p>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/xxxx</code> package and had problems.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>. (Please ask any appropriate questions there).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond.</li> </ul> <p dir="auto">Hi <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tkrotoff/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tkrotoff">@tkrotoff</a></p> <h2 dir="auto">Problem:</h2> <p dir="auto">After React 16 update many related typings just stopped working for anyone still on react 15. A similar error was reported before in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="248509895" data-permission-text="Title is private" data-url="https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18708" data-hovercard-type="issue" data-hovercard-url="/DefinitelyTyped/DefinitelyTyped/issues/18708/hovercard" href="https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18708">#18708</a> but never resolved and later closed because the person creating the issue updated to react 16 and stopped having the issue.</p> <p dir="auto">This are the typings affected that I'm aware of:</p> <ul dir="auto"> <li><code class="notranslate">@types/react-dom</code></li> <li><code class="notranslate">@types/rc-slider</code></li> <li><code class="notranslate">@types/react-addons-update</code></li> <li><code class="notranslate">@types/react-addons-shallow-compare</code></li> <li><code class="notranslate">@types/react-router</code></li> </ul> <p dir="auto">My investigation showed that types for <code class="notranslate">@types/react-select</code> and <code class="notranslate">@types/react-boostrap</code> work fine because although they also reference @types/react to the latest version they pick up the version installed in the project and don't come with their own node_modules folder that will try to use the latest version for react.</p> <p dir="auto">Is there anything I can do in a PR to make these libraries work as react-select and react-bootstrap? I digging out the type definitions in here I can't figure out the difference, when do the type modules come with node_modules and when do they not? Can someone assist me in creating a PR to fix this ASAP?</p> <p dir="auto">This is a total blocker for anyone still on React 15</p>
0
<p dir="auto">After I upgraded the React version of the project from 16.14.0 to 18.2.0, the console reported the following warning after the project started</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Warning: Internal React error: Expected static flag was missing. Please notify the React team."><pre class="notranslate"><code class="notranslate">Warning: Internal React error: Expected static flag was missing. Please notify the React team. </code></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/52249626/198931381-bf4cb492-398d-480a-9d9b-a8576a1aa430.png"><img src="https://user-images.githubusercontent.com/52249626/198931381-bf4cb492-398d-480a-9d9b-a8576a1aa430.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">I don't know the specific cause of the bug</p>
<p dir="auto">Describe what you were doing when the bug occurred:</p> <ol dir="auto"> <li>Record a profile</li> <li>Click on one of the stack frames</li> <li>The error came up</li> </ol> <p dir="auto">I'll struggle to reproduce as the first time I did a profile against the same site this didn't happen and the code is not publishable</p> <hr> <h2 dir="auto">Please do not remove the text below this line</h2> <p dir="auto">DevTools version: 4.10.1-f160547f47</p> <p dir="auto">Call stack: at getCommitTree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:19605:9)<br> at ProfilingCache_ProfilingCache.getCommitTree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:20115:11)<br> at CommitFlamegraphAutoSizer (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:34161:33)<br> at Hh (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:12807:7)<br> at qi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:13457:7)<br> at mk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:16074:86)<br> at lk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:15459:11)<br> at kk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:15451:23)<br> at ck (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:15435:5)<br> at Uj (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:15142:118)</p> <p dir="auto">Component stack: at CommitFlamegraphAutoSizer (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:34144:50)<br> at div<br> at div<br> at div<br> at SettingsModalContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:28206:3)<br> at Profiler_Profiler (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:35772:50)<br> at ErrorBoundary_ErrorBoundary (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:29219:5)<br> at PortaledContent (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:29336:32)<br> at div<br> at div<br> at ProfilerContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32934:3)<br> at TreeContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:24322:3)<br> at SettingsContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:24811:3)<br> at ModalDialogContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:29404:3)<br> at DevTools_DevTools (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:36207:3)</p>
0
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [v1.31]</li> <li>Operating System: [All]</li> <li>Browser: [All]</li> <li>Other info:</li> </ul> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I provided exact source code that allows reproducing the issue locally.</li> </ul> <p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p> <p dir="auto"><a href="https://github.com/BMayhew/playwright-demo">https://github.com/BMayhew/playwright-demo</a></p> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>Run the test in this sample repo in local mode, you could run just single smoke test npx playwright test -g "Register a new user <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/smoke/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/smoke">@smoke</a>"</li> <li>observe the test time it took including tear down time, lets call it A</li> <li>Now start a playwright server on some different remote machine</li> <li>Now, change the config to run the same test with connectOption with remote browser url</li> <li>Observe the test time it took including tear down time, lets call B</li> <li>Now, turn off tracing and rerun the test</li> <li>Observe the test time and tear down time again, lets call it C</li> </ul> <p dir="auto"><strong>Expected</strong><br> Time increase should between B and C should not be abnormally high.</p> <p dir="auto"><strong>Actual</strong><br> Time increases drastically for just 6MB of trace file, for 30sec test it increased to 2-3 mins.</p>
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: 1.36.2</li> <li>Operating System: macOS 13.3</li> <li>Browser: Chrome</li> </ul> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li> </ul> <p dir="auto"><strong>TypeScript config</strong></p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;compileOnSave&quot;: false, &quot;compilerOptions&quot;: { &quot;allowJs&quot;: true, &quot;allowSyntheticDefaultImports&quot;: true, &quot;jsx&quot;: &quot;preserve&quot;, &quot;removeComments&quot;: false, &quot;preserveConstEnums&quot;: true, &quot;sourceMap&quot;: true, &quot;skipLibCheck&quot;: true, &quot;baseUrl&quot;: &quot;.&quot;, &quot;typeRoots&quot;: [&quot;./node_modules/@types&quot;], &quot;forceConsistentCasingInFileNames&quot;: true, &quot;noEmit&quot;: true, &quot;resolveJsonModule&quot;: true, &quot;isolatedModules&quot;: true, &quot;jsx&quot;: &quot;preserve&quot; }, &quot;exclude&quot;: [ &quot;node_modules&quot;, &quot;**/*.spec.ts&quot;, &quot;**/*.spec.tsx&quot;, &quot;**/*.test.ts&quot;, &quot;**/*.test.tsx&quot; ], &quot;include&quot;: [&quot;next-env.d.ts&quot;, &quot;**/*.ts&quot;, &quot;**/*.tsx&quot;] }"><pre class="notranslate">{ <span class="pl-ent">"compileOnSave"</span>: <span class="pl-c1">false</span>, <span class="pl-ent">"compilerOptions"</span>: { <span class="pl-ent">"allowJs"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"allowSyntheticDefaultImports"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"jsx"</span>: <span class="pl-s"><span class="pl-pds">"</span>preserve<span class="pl-pds">"</span></span>, <span class="pl-ent">"removeComments"</span>: <span class="pl-c1">false</span>, <span class="pl-ent">"preserveConstEnums"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"sourceMap"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"skipLibCheck"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"baseUrl"</span>: <span class="pl-s"><span class="pl-pds">"</span>.<span class="pl-pds">"</span></span>, <span class="pl-ent">"typeRoots"</span>: [<span class="pl-s"><span class="pl-pds">"</span>./node_modules/@types<span class="pl-pds">"</span></span>], <span class="pl-ent">"forceConsistentCasingInFileNames"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"noEmit"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"resolveJsonModule"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"isolatedModules"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"jsx"</span>: <span class="pl-s"><span class="pl-pds">"</span>preserve<span class="pl-pds">"</span></span> }, <span class="pl-ent">"exclude"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>node_modules<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>**/*.spec.ts<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>**/*.spec.tsx<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>**/*.test.ts<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>**/*.test.tsx<span class="pl-pds">"</span></span> ], <span class="pl-ent">"include"</span>: [<span class="pl-s"><span class="pl-pds">"</span>next-env.d.ts<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>**/*.ts<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>**/*.tsx<span class="pl-pds">"</span></span>] }</pre></div> <p dir="auto"><strong>Config file</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts import { defineConfig, devices } from '@playwright/test'; export default defineConfig({ testDir: './tests', fullyParallel: true, forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 0, workers: process.env.CI ? 1 : undefined, reporter: 'html', testMatch: '*.pw.ts', use: { baseURL: 'http://localhost:1234', trace: 'on-first-retry', }, projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'] }, }, { name: 'firefox', use: { ...devices['Desktop Firefox'] }, }, { name: 'webkit', use: { ...devices['Desktop Safari'] }, }, ], });"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">defineConfig</span><span class="pl-kos">,</span> <span class="pl-s1">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">testDir</span>: <span class="pl-s">'./tests'</span><span class="pl-kos">,</span> <span class="pl-c1">fullyParallel</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">forbidOnly</span>: <span class="pl-c1">!</span><span class="pl-c1">!</span><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span><span class="pl-kos">,</span> <span class="pl-c1">retries</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span> ? <span class="pl-c1">2</span> : <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">workers</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span> ? <span class="pl-c1">1</span> : <span class="pl-c1">undefined</span><span class="pl-kos">,</span> <span class="pl-c1">reporter</span>: <span class="pl-s">'html'</span><span class="pl-kos">,</span> <span class="pl-c1">testMatch</span>: <span class="pl-s">'*.pw.ts'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> <span class="pl-c1">baseURL</span>: <span class="pl-s">'http://localhost:1234'</span><span class="pl-kos">,</span> <span class="pl-c1">trace</span>: <span class="pl-s">'on-first-retry'</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">projects</span>: <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'chromium'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'firefox'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Firefox'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'webkit'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Safari'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Test file (self-contained)</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { test, expect } from '@playwright/test'; import { entityMock } from 'src/pages/SomePage/__mocks__/entity'; const reference = 'somereference'; test.beforeEach(async ({ context, page }) =&gt; { await context.addCookies([ { name: 'user_id', value: 'sometoken', domain: 'localhost', path: '/', }, ]); await page.route( `/some/path/${reference}`, async (route) =&gt; { await route.fulfill({ json: entityMock }); } ); await page.goto(`/en/some/path/${reference}`); }); test('has title', async ({ page }) =&gt; { await expect(page).toHaveTitle(`Entity ${reference}`); });"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">test</span><span class="pl-kos">,</span> <span class="pl-s1">expect</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">entityMock</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'src/pages/SomePage/__mocks__/entity'</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">reference</span> <span class="pl-c1">=</span> <span class="pl-s">'somereference'</span><span class="pl-kos">;</span> <span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">beforeEach</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> context<span class="pl-kos">,</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-s1">context</span><span class="pl-kos">.</span><span class="pl-en">addCookies</span><span class="pl-kos">(</span><span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'user_id'</span><span class="pl-kos">,</span> <span class="pl-c1">value</span>: <span class="pl-s">'sometoken'</span><span class="pl-kos">,</span> <span class="pl-c1">domain</span>: <span class="pl-s">'localhost'</span><span class="pl-kos">,</span> <span class="pl-c1">path</span>: <span class="pl-s">'/'</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">route</span><span class="pl-kos">(</span> <span class="pl-s">`/some/path/<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">reference</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-s1">route</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-s1">route</span><span class="pl-kos">.</span><span class="pl-en">fulfill</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">json</span>: <span class="pl-s1">entityMock</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">`/en/some/path/<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">reference</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'has title'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveTitle</span><span class="pl-kos">(</span><span class="pl-s">`Entity <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">reference</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>Create module <code class="notranslate">src/pages/SomePage/__mocks__/entity</code> exporting an object called <code class="notranslate">entity</code>.</li> <li>Run the test with <code class="notranslate">PW_EXPERIMENTAL_TS_ESM=1 yarn playwright test</code>.</li> <li>Test run fails with error "Invalid or unexpected token" on line 3 of test file.</li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">Import statements are resolved correctly and test runs successfully.</p> <p dir="auto"><strong>Actual</strong></p> <p dir="auto">Import syntax seems to be considered invalid only for local modules because it works for <code class="notranslate">@playwright/test</code>.</p> <p dir="auto">I have a lot of utilities for mocks and generating URLs that I <strong>need</strong> to use in tests. This is possible with Cypress but I don't seem to find a way to do this with Playwright. How can this issue be fixed?</p>
0
<p dir="auto">I find that I'm often having a hard time tracking the source of various React warnings. Would it be an idea to have a setting to throw the warnings so we can at least have a stack trace?</p>
<p dir="auto">Seeing something like:</p> <blockquote> <p dir="auto">Warning: Any use of a keyed object should be wrapped in React.addons.createFragment(object) before being passed as a child.</p> </blockquote> <p dir="auto">Is really useful but... not so much if you don't know where the offending code is. A trace call would <em>really</em> help narrow down where in an application the problematic code is.</p> <p dir="auto">This would also obliviate the need for the (pointless) try/catch below that needs to be edited to even work (it catches the error it throws).</p>
1
<h5 dir="auto">Description of the problem</h5> <p dir="auto">Hello,</p> <p dir="auto">We're facing a problem with some envmap using. On firefox for Android, if you try to run (for example) this sample : <a href="https://threejs.org/examples/webgl_loader_gltf.html" rel="nofollow">https://threejs.org/examples/webgl_loader_gltf.html</a> the 3D helmet model will not be rendered.</p> <p dir="auto">We did investigations and we noticed than the problem is present from Firefox for Android 57 and until last release (the problem is present on firefox beta too...)</p> <p dir="auto">The firefox console displays the following error :</p> <p dir="auto">THREE.WebGLRenderer 92<br> three.js:21172:3<br> THREE.GLTFLoader: Duplicating UVs to support aoMap.<br> GLTFLoader.js:2262:7<br> THREE.WebGLShader: Shader couldn't compile.<br> three.js:16089:4<br> WebGLShader<br> <a href="https://threejs.org/build/three.js:16089:4" rel="nofollow">https://threejs.org/build/three.js:16089:4</a><br> WebGLProgram<br> <a href="https://threejs.org/build/three.js:16624:26" rel="nofollow">https://threejs.org/build/three.js:16624:26</a><br> WebGLPrograms/this.acquireProgram<br> <a href="https://threejs.org/build/three.js:17052:15" rel="nofollow">https://threejs.org/build/three.js:17052:15</a><br> initMaterial<br> <a href="https://threejs.org/build/three.js:22633:15" rel="nofollow">https://threejs.org/build/three.js:22633:15</a><br> setProgram<br> <a href="https://threejs.org/build/three.js:22773:5" rel="nofollow">https://threejs.org/build/three.js:22773:5</a><br> WebGLRenderer/this.renderBufferDirect<br> <a href="https://threejs.org/build/three.js:21797:18" rel="nofollow">https://threejs.org/build/three.js:21797:18</a><br> renderObject<br> <a href="https://threejs.org/build/three.js:22556:5" rel="nofollow">https://threejs.org/build/three.js:22556:5</a><br> renderObjects<br> <a href="https://threejs.org/build/three.js:22526:6" rel="nofollow">https://threejs.org/build/three.js:22526:6</a><br> WebGLRenderer/this.render<br> <a href="https://threejs.org/build/three.js:22288:33" rel="nofollow">https://threejs.org/build/three.js:22288:33</a><br> animate<br> <a href="https://threejs.org/examples/webgl_loader_gltf.html:131:5" rel="nofollow">https://threejs.org/examples/webgl_loader_gltf.html:131:5</a><br> THREE.WebGLShader: gl.getShaderInfoLog() fragment WARNING: 0:1: extension 'GL_EXT_shader_texture_lod' is not supported<br> ERROR: 0:117: 'textureCubeLodEXT' : no matching overloaded function found<br> ERROR: 0:117: '=' : cannot convert from 'const float' to '4-component vector of float'<br> ERROR: 2 compilation errors. No code generated.</p> <p dir="auto">1: #extension GL_OES_standard_derivatives : enable<br> 2: #extension GL_EXT_shader_texture_lod : enable<br> 3: precision highp float;<br> 4: precision highp int;<br> 5: #define SHADER_NAME MeshStandardMaterial<br> 6: #define STANDARD<br> 7: #define GAMMA_FACTOR 2<br> 8: #define USE_MAP<br> 9: #define USE_ENVMAP<br> 10: #define ENVMAP_TYPE_CUBE<br> 11: #define ENVMAP_MODE_REFLECTION<br> 12: #define ENVMAP_BLENDING_MULTIPLY<br> 13: #define USE_AOMAP<br> 14: #define USE_EMISSIVEMAP<br> 15: #define USE_NORMALMAP<br> 16: #define USE_ROUGHNESSMAP<br> 17: #define USE_METALNESSMAP<br> 18: #define TEXTURE_LOD_EXT<br> 19: uniform mat4 viewMatrix;<br> 20: uniform vec3 cameraPosition;<br> 21: #define TONE_MAPPING<br> 22: #ifndef saturate<br> 23: #define saturate(a) clamp( a, 0.0, 1.0 )<br> 24: #endif<br> 25: uniform float toneMappingExposure;<br> 26: uniform float toneMappingWhitePoint;<br> 27: vec3 LinearToneMapping( vec3 color ) {<br> 28: return toneMappingExposure * color;<br> 29: }<br> 30: vec3 ReinhardToneMapping( vec3 color ) {<br> 31: color *= toneMappingExposure;<br> 32: return saturate( color / ( vec3( 1.…<br> three.js:16095:4<br> THREE.WebGLProgram: shader error: 0 gl.VALIDATE_STATUS false gl.getProgramInfoLog Must have an compiled fragment shader attached. WARNING: 0:1: extension 'GL_EXT_shader_texture_lod' is not supported<br> ERROR: 0:117: 'textureCubeLodEXT' : no matching overloaded function found<br> ERROR: 0:117: '=' : cannot convert from 'const float' to '4-component vector of float'<br> ERROR: 2 compilation errors. No code generated.<br> three.js:16658:4<br> Error: WebGL warning: linkProgram: Must have an compiled fragment shader attached.<br> three.js:16642:3<br> Error: WebGL warning: useProgram: Program has not been successfully linked.<br> three.js:19211:5<br> Error: WebGL: No further warnings will be reported for this WebGL context. (already reported 32 warnings)</p> <p dir="auto">The problem seems to be independent of the Android version (reproduced on Android 7 and 8), and no problem on iOS</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=""> r92</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"> Chrome</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Firefox</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li> </ul> <h5 dir="auto">OS</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"> 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" checked=""> 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>
<p dir="auto">I've been testing returning indexed buffer geometry with the FBXLoader, and it looks like it should be possible (at least, I have it working for some simple models consisting of just vertices and normals).</p> <p dir="auto">It certainly reduces duplication of vertex info a lot, especially when dividing up quads.</p> <p dir="auto">Getting the indexing to work with complex models with skinning data will be quite a bit of work though, so before I go ahead, is this something that is worth the effort? Or are there potential negative effects from doing this?</p>
0
<p dir="auto">I am trying to define optional externals in an es6 project.<br> The feature exists - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="36944069" data-permission-text="Title is private" data-url="https://github.com/webpack/webpack/issues/339" data-hovercard-type="issue" data-hovercard-url="/webpack/webpack/issues/339/hovercard" href="https://github.com/webpack/webpack/issues/339">#339</a> , but there is no flag that I can set in the (externals) configuration to make a dependency optional. Digging into the code I found that optional is a flag checking for reasons, and if every reason's dependency is marked as optional. But I can't seem to find where it is defined.</p> <p dir="auto">What would be the best way to define an external dependency optional? Have I missed something and it is possible doing it using configuration?</p>
<p dir="auto">I npm installed bootstrap version 3.3.6 and imported it into vendor.ts. Everything seems to be working except the glyphicons, specifically .glyphicon-search is only working in safari, but not showing up in Chrome and Firefox. In Chrome in dev tools, I can see it finds the source.</p> <p dir="auto">I have these errors in my console:</p> <p dir="auto">Failed to decode downloaded font: <a href="http://localhost:8080/" rel="nofollow">http://localhost:8080/</a><br> OTS parsing error: invalid version tag</p> <p dir="auto">Also trying to import font-awesome 4.5.0. Getting:<br> Uncaught Error: Cannot find module "../fonts/fontawesome-webfont.eot?v=4.5.0"</p> <p dir="auto">and</p> <p dir="auto">./<del>/font-awesome/fonts/fontawesome-webfont.eot?v=4.5.0<br> Module parse failed: /Users/bryantluu/Projects/Work/fe-client/node_modules/font-awesome/fonts/fontawesome-webfont.eot?v=4.5.0 Line 1: Unexpected token ILLEGAL<br> You may need an appropriate loader to handle this file type.<br> (Source code omitted for this binary file)<br> @ ./</del>/css-loader?sourceMap!./<del>/postcss-loader!./</del>/font-awesome/css/font-awesome.css 6:304-355</p> <p dir="auto">for all font types. Maybe something wrong with the font loaders?</p>
0
<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): Yes</li> <li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04): <a href="https://docs.nvidia.com/deeplearning/sdk/tensorrt-container-release-notes/rel_19-02.html#rel_19-02" rel="nofollow">nvidia-docker <code class="notranslate">tensor:19.02-py3</code> (Ubuntu 16.04)</a></li> <li>TensorFlow installed from (source or binary): Source</li> <li>TensorFlow version (use command below): v1.14.0-rc1-22-gaf24dc91b5 1.14.0</li> <li>Python version: Python 3.5.2</li> <li>Bazel version (if compiling from source): NA</li> <li>GCC/Compiler version (if compiling from source): NA</li> <li>CUDA/cuDNN version: 10.0.130 / 7.4.2</li> <li>GPU model and memory: Tesla V100 32GB</li> </ul> <p dir="auto"><strong>Describe the current behavior</strong><br> I am trying to optimize (decrease) the inference time and model size of my Tiny Yolov3 model. I currently have it as a frozen graph. When I run the timing and evaluation script from <a href="https://github.com/tensorflow/models/blob/master/research/tensorrt/tensorrt.py">here</a>, fps actually decreases as the optimizations are tried, and file sizes stay constant.</p> <p dir="auto"><strong>Describe the expected behavior</strong><br> I expect file sizes and inference time to decrease.</p> <p dir="auto"><strong>Code to reproduce the issue</strong><br> I used <a href="https://docs.nvidia.com/deeplearning/sdk/tensorrt-container-release-notes/rel_19-02.html#rel_19-02" rel="nofollow">this</a> nvidia-docker image.</p> <p dir="auto"><a href="https://github.com/tensorflow/models/blob/master/research/tensorrt/tensorrt.py">This</a> script with a small preprocessing change:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="def resize_image(image, target_height, target_width): image = image.resize((target_width, target_height), Image.BICUBIC).convert('RGB') return np.array(image) def preprocess_image(file_name, output_height=416, output_width=416, num_channels=3): return resize_image(Image.open(file_name), output_height, output_width).astype('float32')"><pre class="notranslate"><code class="notranslate">def resize_image(image, target_height, target_width): image = image.resize((target_width, target_height), Image.BICUBIC).convert('RGB') return np.array(image) def preprocess_image(file_name, output_height=416, output_width=416, num_channels=3): return resize_image(Image.open(file_name), output_height, output_width).astype('float32') </code></pre></div> <p dir="auto">I also removed the printing of predictions, as the script is built for a classifier rather than a detector.</p> <p dir="auto"><strong>Other info / logs</strong><br> Command executed (image file is attached; model is <a href="https://drive.google.com/file/d/1Bgj9h6TJLwedtrhnritRs9eYm_iczG4v/view" rel="nofollow">here</a>):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="python timed.py --frozen_graph=tiny-yolov3_frozen.pb \ --image_file=11075842.jpg \ --native --fp32 --fp16 --int8 \ --output_dir=/workspace \ --input_node=inputs --output_node=output_boxes"><pre class="notranslate"><code class="notranslate">python timed.py --frozen_graph=tiny-yolov3_frozen.pb \ --image_file=11075842.jpg \ --native --fp32 --fp16 --int8 \ --output_dir=/workspace \ --input_node=inputs --output_node=output_boxes </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="========================== network: native_tiny-yolov3_frozen.pb, batchsize 256, steps 100 fps median: 993.1, mean: 959.8, uncertainty: 8.9, jitter: 7.7 latency median: 0.25778, mean: 0.26986, 99th_p: 0.43523, 99th_uncertainty: 0.05783 ========================== network: tftrt_fp32_tiny-yolov3_frozen.pb, batchsize 256, steps 100 fps median: 912.7, mean: 896.3, uncertainty: 8.2, jitter: 4.6 latency median: 0.28048, mean: 0.29338, 99th_p: 0.42830, 99th_uncertainty: 0.43877 ========================== network: tftrt_fp16_tiny-yolov3_frozen.pb, batchsize 256, steps 100 fps median: 823.5, mean: 831.9, uncertainty: 8.4, jitter: 96.2 latency median: 0.31087, mean: 0.31129, 99th_p: 0.43070, 99th_uncertainty: 0.07565 ========================== network: tftrt_int8_tiny-yolov3_frozen.pb, batchsize 256, steps 100 fps median: 803.3, mean: 820.6, uncertainty: 9.9, jitter: 19.9 latency median: 0.31867, mean: 0.31814, 99th_p: 0.60985, 99th_uncertainty: 0.01011"><pre class="notranslate"><code class="notranslate">========================== network: native_tiny-yolov3_frozen.pb, batchsize 256, steps 100 fps median: 993.1, mean: 959.8, uncertainty: 8.9, jitter: 7.7 latency median: 0.25778, mean: 0.26986, 99th_p: 0.43523, 99th_uncertainty: 0.05783 ========================== network: tftrt_fp32_tiny-yolov3_frozen.pb, batchsize 256, steps 100 fps median: 912.7, mean: 896.3, uncertainty: 8.2, jitter: 4.6 latency median: 0.28048, mean: 0.29338, 99th_p: 0.42830, 99th_uncertainty: 0.43877 ========================== network: tftrt_fp16_tiny-yolov3_frozen.pb, batchsize 256, steps 100 fps median: 823.5, mean: 831.9, uncertainty: 8.4, jitter: 96.2 latency median: 0.31087, mean: 0.31129, 99th_p: 0.43070, 99th_uncertainty: 0.07565 ========================== network: tftrt_int8_tiny-yolov3_frozen.pb, batchsize 256, steps 100 fps median: 803.3, mean: 820.6, uncertainty: 9.9, jitter: 19.9 latency median: 0.31867, mean: 0.31814, 99th_p: 0.60985, 99th_uncertainty: 0.01011 </code></pre></div>
<h2 dir="auto"><strong>System information</strong></h2> <ul dir="auto"> <li>Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No</li> <li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04, <a href="https://docs.nvidia.com/deeplearning/sdk/tensorrt-container-release-notes/rel_19-02.html#rel_19-02" rel="nofollow">nvcr.io/nvidia/tensorrt:19.02-py3</a></li> <li>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: NA</li> <li>TensorFlow installed from (source or binary): binary</li> <li>TensorFlow version (use command below): v1.12.1-7024-g24b3e6cf73 1.15.0-dev20190725</li> <li>Python version: 3.5.2</li> <li>Bazel version (if compiling from source): NA</li> <li>GCC/Compiler version (if compiling from source): NA</li> <li>CUDA/cuDNN version: 10.0.130 / 7.4.2 as per the above linked container</li> <li>GPU model and memory: Tesla V100 32GB</li> </ul> <p dir="auto">Relevant output from <code class="notranslate">pip freeze</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tf-estimator-nightly==1.14.0.dev2019072201 tf-nightly-gpu==1.15.0.dev20190725"><pre class="notranslate"><code class="notranslate">tf-estimator-nightly==1.14.0.dev2019072201 tf-nightly-gpu==1.15.0.dev20190725 </code></pre></div> <h2 dir="auto"><strong>Describe the current behavior</strong></h2> <p dir="auto"><strong>Inference Speed (frames per second)</strong></p> <table role="table"> <thead> <tr> <th>Model</th> <th>Native</th> <th>FP32</th> <th>FP16</th> <th>INT8</th> </tr> </thead> <tbody> <tr> <td>tiny-yolo</td> <td>348</td> <td>333</td> <td>402</td> <td>415</td> </tr> <tr> <td>big-yolo</td> <td>125</td> <td>140</td> <td>243</td> <td>208</td> </tr> </tbody> </table> <p dir="auto"><strong>1. Why is there a slowdown for tiny native-&gt;FP32?</strong> (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pooyadavoodi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pooyadavoodi">@pooyadavoodi</a> same as <a href="https://github.com/tensorflow/tensorflow/issues/30717#issuecomment-513938562" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/30717/hovercard">here</a>)<br> <strong>2. Why is this slowdown not consistent for big?</strong><br> <strong>3. Why is there a slowdown for big FP16-&gt;INT8?</strong></p> <p dir="auto"><strong>Model Size (megabytes)</strong></p> <table role="table"> <thead> <tr> <th>Model</th> <th>Native</th> <th>FP32</th> <th>FP16</th> <th>INT8</th> </tr> </thead> <tbody> <tr> <td>tiny-yolo</td> <td>35</td> <td>67</td> <td>44</td> <td>51</td> </tr> <tr> <td>big-yolo</td> <td>238</td> <td>439</td> <td>288</td> <td>332</td> </tr> </tbody> </table> <p dir="auto">I understand that there is currently an issue where new graph weights are saved twice to the .pb file (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="468258845" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/30717" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/30717/hovercard" href="https://github.com/tensorflow/tensorflow/issues/30717">#30717</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="468975806" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/30789" data-hovercard-type="pull_request" data-hovercard-url="/tensorflow/tensorflow/pull/30789/hovercard" href="https://github.com/tensorflow/tensorflow/pull/30789">#30789</a>). Once the weights in the table are adjusted for this double weight saving, the resulting sizes for fp32 and fp16 seem reasonable.</p> <p dir="auto"><strong>1. Why is there an increase in size for fp16-&gt;int8?</strong></p> <h2 dir="auto"><strong>Describe the expected behavior</strong></h2> <p dir="auto">I am trying to quantize two different YOLO models (one tiny, one normal) with TensorRT. The goals of this quantization are:</p> <ol dir="auto"> <li>speed up inference</li> <li>decrease model size</li> </ol> <p dir="auto">As quantization and conversion proceeds from native-&gt;fp32-&gt;fp16-&gt;int8, I expect inference time to decrease (FPS to increase), and model size to decrease.</p> <h2 dir="auto"><strong>Code to reproduce the issue</strong></h2> <p dir="auto">I am using <a href="https://github.com/tensorflow/models/blob/master/research/tensorrt/tensorrt.py">this</a> script and a few helper functions from <a href="https://github.com/tensorflow/tensorrt/blob/master/tftrt/examples/object_detection/graph_utils.py">here</a>. The two exact scripts that I use are <a href="https://github.com/tensorflow/tensorflow/files/3432597/do.py.txt">do.py</a> and <a href="https://github.com/tensorflow/tensorflow/files/3432598/utilities.py.txt">utilities.py</a>. Here are the <a href="https://drive.google.com/open?id=1Bgj9h6TJLwedtrhnritRs9eYm_iczG4v" rel="nofollow">tiny model</a> and the <a href="https://drive.google.com/open?id=19BzNDCHpDnxj9wU26BsGM4ewS9bKNmpO" rel="nofollow">big model</a>.</p> <p dir="auto">My command for running the experiments:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="python do.py \ --frozen_graph=big-yolov3_frozen.pb \ # or tiny-yolov3_frozen.pb --native --fp32 --fp16 --int8 \ --batch_size=32 \ # or 128 for tiny --output_dir=/workspace \ --input_node=inputs --output_node=output_boxes"><pre class="notranslate">python do.py \ --frozen_graph=big-yolov3_frozen.pb <span class="pl-cce">\ </span><span class="pl-c"><span class="pl-c">#</span> or tiny-yolov3_frozen.pb</span> --native --fp32 --fp16 --int8 \ --batch_size=32 <span class="pl-cce">\ </span><span class="pl-c"><span class="pl-c">#</span> or 128 for tiny</span> --output_dir=/workspace \ --input_node=inputs --output_node=output_boxes</pre></div> <h2 dir="auto"><strong>Other info / logs</strong></h2> <p dir="auto">I ran a couple of experiments just to make sure that the results were consistent.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="========================== network: native_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 350.2, mean: 348.0, uncertainty: 1.4, jitter: 5.1 latency median: 0.36551, mean: 0.36846, 99th_p: 0.42946, 99th_uncertainty: 0.01453 ========================== network: tftrt_fp32_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 340.9, mean: 333.4, uncertainty: 1.5, jitter: 4.4 latency median: 0.37546, mean: 0.38470, 99th_p: 0.47469, 99th_uncertainty: 0.06110 ========================== network: tftrt_fp16_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 403.3, mean: 402.3, uncertainty: 0.6, jitter: 3.6 latency median: 0.31740, mean: 0.31824, 99th_p: 0.34266, 99th_uncertainty: 0.00263 ========================== network: tftrt_int8_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 417.7, mean: 414.9, uncertainty: 1.1, jitter: 4.4 latency median: 0.30641, mean: 0.30873, 99th_p: 0.35451, 99th_uncertainty: 0.01511 ========================== network: native_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 125.2, mean: 124.7, uncertainty: 0.3, jitter: 1.4 latency median: 0.25553, mean: 0.25677, 99th_p: 0.28257, 99th_uncertainty: 0.00308 ========================== network: tftrt_fp32_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 140.3, mean: 140.2, uncertainty: 0.4, jitter: 1.9 latency median: 0.22802, mean: 0.22839, 99th_p: 0.25419, 99th_uncertainty: 0.00890 ========================== network: tftrt_fp16_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 237.6, mean: 242.5, uncertainty: 1.4, jitter: 5.4 latency median: 0.13469, mean: 0.13245, 99th_p: 0.17733, 99th_uncertainty: 0.04387 ========================== network: tftrt_int8_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 210.1, mean: 207.5, uncertainty: 1.5, jitter: 2.7 latency median: 0.15231, mean: 0.15657, 99th_p: 0.16928, 99th_uncertainty: 0.16613"><pre class="notranslate"><code class="notranslate">========================== network: native_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 350.2, mean: 348.0, uncertainty: 1.4, jitter: 5.1 latency median: 0.36551, mean: 0.36846, 99th_p: 0.42946, 99th_uncertainty: 0.01453 ========================== network: tftrt_fp32_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 340.9, mean: 333.4, uncertainty: 1.5, jitter: 4.4 latency median: 0.37546, mean: 0.38470, 99th_p: 0.47469, 99th_uncertainty: 0.06110 ========================== network: tftrt_fp16_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 403.3, mean: 402.3, uncertainty: 0.6, jitter: 3.6 latency median: 0.31740, mean: 0.31824, 99th_p: 0.34266, 99th_uncertainty: 0.00263 ========================== network: tftrt_int8_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 417.7, mean: 414.9, uncertainty: 1.1, jitter: 4.4 latency median: 0.30641, mean: 0.30873, 99th_p: 0.35451, 99th_uncertainty: 0.01511 ========================== network: native_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 125.2, mean: 124.7, uncertainty: 0.3, jitter: 1.4 latency median: 0.25553, mean: 0.25677, 99th_p: 0.28257, 99th_uncertainty: 0.00308 ========================== network: tftrt_fp32_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 140.3, mean: 140.2, uncertainty: 0.4, jitter: 1.9 latency median: 0.22802, mean: 0.22839, 99th_p: 0.25419, 99th_uncertainty: 0.00890 ========================== network: tftrt_fp16_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 237.6, mean: 242.5, uncertainty: 1.4, jitter: 5.4 latency median: 0.13469, mean: 0.13245, 99th_p: 0.17733, 99th_uncertainty: 0.04387 ========================== network: tftrt_int8_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 210.1, mean: 207.5, uncertainty: 1.5, jitter: 2.7 latency median: 0.15231, mean: 0.15657, 99th_p: 0.16928, 99th_uncertainty: 0.16613 </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="========================== network: native_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 357.4, mean: 354.3, uncertainty: 1.7, jitter: 14.5 latency median: 0.35814, mean: 0.36215, 99th_p: 0.44575, 99th_uncertainty: 0.00629 ========================== network: tftrt_fp32_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 324.9, mean: 319.4, uncertainty: 1.4, jitter: 2.5 latency median: 0.39401, mean: 0.40173, 99th_p: 0.49218, 99th_uncertainty: 0.06484 ========================== network: tftrt_fp16_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 376.1, mean: 372.8, uncertainty: 1.1, jitter: 1.7 latency median: 0.34036, mean: 0.34363, 99th_p: 0.38601, 99th_uncertainty: 0.02051 ========================== network: tftrt_int8_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 392.1, mean: 391.3, uncertainty: 0.5, jitter: 1.8 latency median: 0.32645, mean: 0.32717, 99th_p: 0.33765, 99th_uncertainty: 0.01967 ========================== network: native_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 124.3, mean: 124.0, uncertainty: 0.4, jitter: 1.7 latency median: 0.25737, mean: 0.25842, 99th_p: 0.31292, 99th_uncertainty: 0.00355 ========================== network: tftrt_fp32_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 141.0, mean: 140.7, uncertainty: 0.3, jitter: 0.3 latency median: 0.22690, mean: 0.22761, 99th_p: 0.24239, 99th_uncertainty: 0.00581 ========================== network: tftrt_fp16_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 247.4, mean: 245.9, uncertainty: 1.0, jitter: 4.4 latency median: 0.12934, mean: 0.13044, 99th_p: 0.16018, 99th_uncertainty: 0.02011 ========================== network: tftrt_int8_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 206.0, mean: 204.5, uncertainty: 1.4, jitter: 1.0 latency median: 0.15536, mean: 0.15885, 99th_p: 0.16454, 99th_uncertainty: 0.17423"><pre class="notranslate"><code class="notranslate">========================== network: native_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 357.4, mean: 354.3, uncertainty: 1.7, jitter: 14.5 latency median: 0.35814, mean: 0.36215, 99th_p: 0.44575, 99th_uncertainty: 0.00629 ========================== network: tftrt_fp32_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 324.9, mean: 319.4, uncertainty: 1.4, jitter: 2.5 latency median: 0.39401, mean: 0.40173, 99th_p: 0.49218, 99th_uncertainty: 0.06484 ========================== network: tftrt_fp16_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 376.1, mean: 372.8, uncertainty: 1.1, jitter: 1.7 latency median: 0.34036, mean: 0.34363, 99th_p: 0.38601, 99th_uncertainty: 0.02051 ========================== network: tftrt_int8_tiny-yolov3_frozen.pb, batchsize 128, steps 100 fps median: 392.1, mean: 391.3, uncertainty: 0.5, jitter: 1.8 latency median: 0.32645, mean: 0.32717, 99th_p: 0.33765, 99th_uncertainty: 0.01967 ========================== network: native_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 124.3, mean: 124.0, uncertainty: 0.4, jitter: 1.7 latency median: 0.25737, mean: 0.25842, 99th_p: 0.31292, 99th_uncertainty: 0.00355 ========================== network: tftrt_fp32_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 141.0, mean: 140.7, uncertainty: 0.3, jitter: 0.3 latency median: 0.22690, mean: 0.22761, 99th_p: 0.24239, 99th_uncertainty: 0.00581 ========================== network: tftrt_fp16_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 247.4, mean: 245.9, uncertainty: 1.0, jitter: 4.4 latency median: 0.12934, mean: 0.13044, 99th_p: 0.16018, 99th_uncertainty: 0.02011 ========================== network: tftrt_int8_big-yolov3_frozen.pb, batchsize 32, steps 100 fps median: 206.0, mean: 204.5, uncertainty: 1.4, jitter: 1.0 latency median: 0.15536, mean: 0.15885, 99th_p: 0.16454, 99th_uncertainty: 0.17423 </code></pre></div>
1
<h1 dir="auto">What / Why</h1> <p dir="auto">For switching different Node.js version, we use symlink for global node_modules.</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ ls -ld /usr/local/lib/node_modules /usr/local/lib/node_modules -&gt; /var/packages/Node.js_v16/var/node_modules"><pre class="notranslate">$ ls -ld /usr/local/lib/node_modules /usr/local/lib/node_modules -<span class="pl-k">&gt;</span> /var/packages/Node.js_v16/var/node_modules</pre></div> <p dir="auto">The global module directory and npm itself is removed after installing global module.</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ npm install -g pino-pretty npm WARN reify Removing non-directory /usr/local/lib/node_modules"><pre class="notranslate">$ npm install -g pino-pretty npm WARN reify Removing non-directory /usr/local/lib/node_modules</pre></div> <p dir="auto">The behavior have been changed from <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/npm/arborist/commit/f2b0ceebfe94123f162c3652af46f9c4c473cc36/hovercard" href="https://github.com/npm/arborist/commit/f2b0ceebfe94123f162c3652af46f9c4c473cc36">npm/arborist@<tt>f2b0cee</tt></a>.</p> <h2 dir="auto">How</h2> <h3 dir="auto">Current Behavior</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ npm install -g pino-pretty npm WARN reify Removing non-directory /usr/local/lib/node_modules"><pre class="notranslate">$ npm install -g pino-pretty npm WARN reify Removing non-directory /usr/local/lib/node_modules</pre></div> <h3 dir="auto">Steps to Reproduce</h3> <ol dir="auto"> <li>Make global node_modules be symlink.</li> <li>Run <code class="notranslate">npm install -g &lt;any module&gt;</code></li> <li>The global node_modules is removed.</li> </ol> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">Allow global node_modules be symlink.</p>
<h3 dir="auto">Is there an existing issue for this?</h3> <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 existing issues</li> </ul> <h3 dir="auto">This issue exists in the latest npm version</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I am using the latest npm</li> </ul> <h3 dir="auto">Current Behavior</h3> <p dir="auto">If I have a symlink called <code class="notranslate">node_modules</code> to a different directory, then npm will remove this symlink and create a real folder. This has been introduced in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/npm/arborist/commit/f2b0ceebfe94123f162c3652af46f9c4c473cc36/hovercard" href="https://github.com/npm/arborist/commit/f2b0ceebfe94123f162c3652af46f9c4c473cc36">npm/arborist@<tt>f2b0cee</tt></a> as a safety feature, but as it doesn't disable it as specified when using <code class="notranslate">--force</code> option.</p> <p dir="auto">Other people have similar problems too:</p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="975555398" data-permission-text="Title is private" data-url="https://github.com/npm/cli/issues/3669" data-hovercard-type="issue" data-hovercard-url="/npm/cli/issues/3669/hovercard" href="https://github.com/npm/cli/issues/3669">#3669</a></li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1109143965" data-permission-text="Title is private" data-url="https://github.com/npm/cli/issues/4274" data-hovercard-type="issue" data-hovercard-url="/npm/cli/issues/4274/hovercard" href="https://github.com/npm/cli/issues/4274">#4274</a></li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">It should work as intended in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/npm/arborist/commit/f2b0ceebfe94123f162c3652af46f9c4c473cc36/hovercard" href="https://github.com/npm/arborist/commit/f2b0ceebfe94123f162c3652af46f9c4c473cc36">npm/arborist@<tt>f2b0cee</tt></a> (don't remove symlink if <code class="notranslate">--force</code>).</p> <p dir="auto">I really needed this thing to work, so I had to downgrade npm to an older version.</p> <h3 dir="auto">Steps To Reproduce</h3> <ol dir="auto"> <li>Create an empty folder</li> <li>Create a second folder inside the first one</li> <li>Run <code class="notranslate">npm init -y</code></li> <li>Run <code class="notranslate">ln -s your_folder_name node_modules</code></li> <li>Run <code class="notranslate">npm install --force &lt;any package name&gt;</code></li> <li><code class="notranslate">node_modules</code> no longer points to <code class="notranslate">your_folder_name</code></li> </ol> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>npm: v8.3.1</li> <li>Node.js: v17.4.0</li> <li>OS Name: MacOS Catalina</li> <li>System Model Name: iMac</li> <li>npm config:</li> </ul> <div class="highlight highlight-source-ini notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="; this only showed comments and registry auth token &quot;(protected)&quot;"><pre class="notranslate"><span class="pl-c"><span class="pl-c">;</span> this only showed comments and registry auth token "(protected)"</span></pre></div>
1
<p dir="auto">I am trying to build a zip file only containing the code I need for production deployment. Smaller builds benefit nearly all production users: cheaper to store indefinitely, quicker to roll out after build finish, faster to load cold start in serverless, and for large projects it is easy to go over serverless dist limits without optimized distribution. I believe rollout is the best option for getting an optimized build.</p> <p dir="auto">The good news, running rollup turns my 60m dist file into 6m. I believe this concept will be a huge win for people who want their next.js app to start as quick as possible.</p> <p dir="auto">Bad news: When I try to run rollup on my next.js build, I get a circular dependency issue that I believe stops the result from running:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(!) Circular dependency: node_modules\next\dist\lib\router\index.js -&gt; node_modules\next\dist\lib\router\router.js -&gt; node_modules\next\dist\lib\router\index.js (!) Circular dependency: node_modules\next\dist\lib\router\index.js -&gt; node_modules\next\dist\lib\router\router.js -&gt; commonjs-proxy:&lt;FULL_PATH_TO_HERE&gt;\node_modules\next\dist\lib\router\index.js -&gt; node_modules\next\dist\lib\router\index.js"><pre class="notranslate"><code class="notranslate">(!) Circular dependency: node_modules\next\dist\lib\router\index.js -&gt; node_modules\next\dist\lib\router\router.js -&gt; node_modules\next\dist\lib\router\index.js (!) Circular dependency: node_modules\next\dist\lib\router\index.js -&gt; node_modules\next\dist\lib\router\router.js -&gt; commonjs-proxy:&lt;FULL_PATH_TO_HERE&gt;\node_modules\next\dist\lib\router\index.js -&gt; node_modules\next\dist\lib\router\index.js </code></pre></div> <p dir="auto">Would it be possible to not have a circular dependency between index.js and routes.js?</p> <p dir="auto">Here are the files I am using for testing this, hopefully this might help someone more experienced carry on from where I am stuck:</p> <p dir="auto">rollup.config.js</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import babel from &quot;rollup-plugin-babel&quot;; import commonjs from &quot;rollup-plugin-commonjs&quot;; import resolve from &quot;rollup-plugin-node-resolve&quot;; import replace from &quot;rollup-plugin-replace&quot;; import json from 'rollup-plugin-json'; const NODE_ENV = process.env.NODE_ENV || &quot;development&quot;; const outputFile = NODE_ENV === &quot;production&quot; ? &quot;./lib/prod.js&quot; : &quot;./lib/dev.js&quot;; export default { input: &quot;./server.js&quot;, output: { file: outputFile, format: &quot;cjs&quot; }, plugins: [ replace({ &quot;process.env.NODE_ENV&quot;: JSON.stringify(NODE_ENV) }), json(), babel({ exclude: [&quot;node_modules/**&quot;] }), resolve({ preferBuiltins: true }), commonjs() ], external: [&quot;webpack&quot;, &quot;readable-stream&quot;, &quot;glob&quot;, &quot;source-list-map&quot;, &quot;through2&quot; ] };"><pre class="notranslate"><code class="notranslate">import babel from "rollup-plugin-babel"; import commonjs from "rollup-plugin-commonjs"; import resolve from "rollup-plugin-node-resolve"; import replace from "rollup-plugin-replace"; import json from 'rollup-plugin-json'; const NODE_ENV = process.env.NODE_ENV || "development"; const outputFile = NODE_ENV === "production" ? "./lib/prod.js" : "./lib/dev.js"; export default { input: "./server.js", output: { file: outputFile, format: "cjs" }, plugins: [ replace({ "process.env.NODE_ENV": JSON.stringify(NODE_ENV) }), json(), babel({ exclude: ["node_modules/**"] }), resolve({ preferBuiltins: true }), commonjs() ], external: ["webpack", "readable-stream", "glob", "source-list-map", "through2" ] }; </code></pre></div> <p dir="auto">(external has a few exclusions due to circular dependencies that need to be taken up with those package owners.)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;devDependencies&quot;: { ... &quot;rollup&quot;: &quot;^0.66.4&quot;, &quot;rollup-plugin-babel&quot;: &quot;^4.0.3&quot;, &quot;rollup-plugin-commonjs&quot;: &quot;^9.1.8&quot;, &quot;rollup-plugin-json&quot;: &quot;^3.1.0&quot;, &quot;rollup-plugin-node-resolve&quot;: &quot;^3.4.0&quot;, &quot;rollup-plugin-replace&quot;: &quot;^2.1.0&quot; }"><pre class="notranslate"><code class="notranslate">"devDependencies": { ... "rollup": "^0.66.4", "rollup-plugin-babel": "^4.0.3", "rollup-plugin-commonjs": "^9.1.8", "rollup-plugin-json": "^3.1.0", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-replace": "^2.1.0" } </code></pre></div> <p dir="auto">create rollup (note circular dependency issue)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="NODE_ENV=production rollup -c"><pre class="notranslate"><code class="notranslate">NODE_ENV=production rollup -c </code></pre></div> <p dir="auto">to run</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="node lib/prod.js"><pre class="notranslate"><code class="notranslate">node lib/prod.js </code></pre></div> <p dir="auto">error I get but I suspect it is because of circular dependency</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="C:\Users\Adam\code\gell\gell-client-west\lib\prod.js:135129 const childModule = commonjsRequire.resolve('./child/index'); ^ TypeError: commonjsRequire.resolve is not a function at Object.&lt;anonymous&gt; (lib\prod.js:135129:38) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) at startup (internal/bootstrap/node.js:279:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:752:3) "><pre class="notranslate"><code class="notranslate">C:\Users\Adam\code\gell\gell-client-west\lib\prod.js:135129 const childModule = commonjsRequire.resolve('./child/index'); ^ TypeError: commonjsRequire.resolve is not a function at Object.&lt;anonymous&gt; (lib\prod.js:135129:38) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) at startup (internal/bootstrap/node.js:279:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:752:3) </code></pre></div> <p dir="auto">Can anyone weigh in on:</p> <ul dir="auto"> <li>how hard it would be to rewrite next\dist\lib\router\index.js -&gt; next\dist\lib\router\router.js without circular dependency? Could the router.js code just be included directly into index.js?</li> <li>Is "commonjsRequire.resolve is not a function" error due to the circular dependency or something else?</li> </ul>
<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">When I was reading source codes of next.js, I found an interesting place, <a href="https://github.com/zeit/next.js/blob/canary/lib/router/router.js#L138">https://github.com/zeit/next.js/blob/canary/lib/router/router.js#L138</a>.</p> <p dir="auto">We'd better to return <code class="notranslate">true</code> there? Those codes were introduced by <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="209571735" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/1250" data-hovercard-type="pull_request" data-hovercard-url="/vercel/next.js/pull/1250/hovercard" href="https://github.com/vercel/next.js/pull/1250">#1250</a>.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Return without explicit boolean value.</p>
0
<p dir="auto">It'd be nice if there was an upgrade function for the plugin binary to save having to uninstall and then install when a new version of a plugin is released.</p> <p dir="auto">Even if it was just a download and overwrite to begin with, it could be expanded from there.</p>
<p dir="auto">To update a plugin, we need to remove it first otherwise, elasticsearch will complain that it's already installed:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sudo bin/plugin -install mobz/elasticsearch-head -&gt; Installing mobz/elasticsearch-head... Failed to install mobz/elasticsearch-head, reason: plugin directory /usr/share/elasticsearch/plugins/head already exists. To update the plugin, uninstall it first using -remove mobz/elasticsearch-head command"><pre class="notranslate"><code class="notranslate">sudo bin/plugin -install mobz/elasticsearch-head -&gt; Installing mobz/elasticsearch-head... Failed to install mobz/elasticsearch-head, reason: plugin directory /usr/share/elasticsearch/plugins/head already exists. To update the plugin, uninstall it first using -remove mobz/elasticsearch-head command </code></pre></div> <p dir="auto">I propose that we provide an <code class="notranslate">update</code> switch:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sudo bin/plugin -update mobz/elasticsearch-head"><pre class="notranslate"><code class="notranslate">sudo bin/plugin -update mobz/elasticsearch-head </code></pre></div> <p dir="auto">This should be some sugar that runs the following:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sudo bin/plugin -remove mobz/elasticsearch-head sudo bin/plugin -install mobz/elasticsearch-head"><pre class="notranslate"><code class="notranslate">sudo bin/plugin -remove mobz/elasticsearch-head sudo bin/plugin -install mobz/elasticsearch-head </code></pre></div>
1
<pre class="notranslate">gotype $GOROOT/src/pkg/net leads to several error messages due to unresolvable 'import "C"'. go/types could be more tolerant with invalid operands and types to avoid follow-up errors. (For instance, conversions of the form T(x) could always succeed even if x is invalid. Other operations should not report an error if an operand is already invalid.)</pre>
<p dir="auto">by <strong>skinner.david</strong>:</p> <pre class="notranslate">Before filing a bug, please check whether it has been fixed since the latest release. Search the issue tracker and check that you're running the latest version of Go: Run "go version" and compare against <a href="http://golang.org/doc/devel/release.html" rel="nofollow">http://golang.org/doc/devel/release.html</a> If a newer version of Go exists, install it and retry what you did to reproduce the problem. Thanks. What does 'go version' print? go version go1.2 linux/amd64 What steps reproduce the problem? If possible, include a link to a program on play.golang.org. 1. <a href="http://play.golang.org/p/ylDzrxpUTC" rel="nofollow">http://play.golang.org/p/ylDzrxpUTC</a> What happened? signal: segmentation fault before 'main.main' What should have happened instead? no errors. Please provide any additional information below. requires you to go get azul3d.org/v0 play is not duplicating the error.</pre>
0
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 3.4.3</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">the bindings generator seems not to respect the <code class="notranslate">HAVE_OPENCV_*</code> defines.</p> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">in cmake set:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="BUILD_LIST=features2d,python3"><pre class="notranslate"><code class="notranslate">BUILD_LIST=features2d,python3 </code></pre></div> <p dir="auto">you will get a compile error like</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:710:46: error: ‘FlannBasedMatcher’ is not a member of ‘cv’ template&lt;&gt; PyObject* pyopencv_from(const Ptr&lt;cv::FlannBasedMatcher&gt;&amp; r)"><pre class="notranslate"><code class="notranslate">opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:710:46: error: ‘FlannBasedMatcher’ is not a member of ‘cv’ template&lt;&gt; PyObject* pyopencv_from(const Ptr&lt;cv::FlannBasedMatcher&gt;&amp; r) </code></pre></div> <p dir="auto">as the generator still picks up code guarded by</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#if defined(HAVE_OPENCV_FLANN)"><pre class="notranslate"><code class="notranslate">#if defined(HAVE_OPENCV_FLANN) </code></pre></div>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 3.3.1</li> <li>Operating System / Platform =&gt; Ubuntu 16.04</li> <li>Compiler =&gt; /usr/bin/c++ (ver 5.4.0)</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto"><a href="https://github.com/opencv/opencv/blob/master/modules/features2d/include/opencv2/features2d.hpp#L1115">FlannBasedMatcher</a> has two methods, constructor <code class="notranslate">FlannBasedMatcher</code> and <code class="notranslate">create()</code> that can't be wrapped without optional flann module but <code class="notranslate">CV_WRAP</code> ignores <code class="notranslate">#ifdef HAVE_OPENCV_FLANN</code>.</p> <h5 dir="auto">Steps to reproduce</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cmake -DBUILD_LIST=features2d,python2 .. &amp;&amp; make -j8"><pre class="notranslate"><code class="notranslate">cmake -DBUILD_LIST=features2d,python2 .. &amp;&amp; make -j8 </code></pre></div>
1
<p dir="auto">The compiler should allow shebangs to pass through.</p> <p dir="auto"><a href="http://stackoverflow.com/questions/23298295/how-to-make-a-shell-executable-node-file-using-typescript" rel="nofollow">http://stackoverflow.com/questions/23298295/how-to-make-a-shell-executable-node-file-using-typescript</a></p>
<p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">1.7.5 / 1.8.0-beta / nightly (1.9.0-dev.20160217)</p> <p dir="auto"><strong>Code</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// A self-contained demonstration of the problem follows... "><pre class="notranslate"><span class="pl-c">// A self-contained demonstration of the problem follows...</span></pre></div> <p dir="auto"><strong>Expected behavior:</strong></p> <p dir="auto"><strong>Actual behavior:</strong></p>
0
<p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/waypoint-use-responsive-design-with-bootstrap-fluid-containers" rel="nofollow">http://freecodecamp.com/challenges/waypoint-use-responsive-design-with-bootstrap-fluid-containers</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p> <p dir="auto">When instructed to wrap all html elements in div this Waypoint gives you credit prematurely (by simply creating a div) not necessarily wrapping all the elements.</p> <p dir="auto">It logical for me since I am very familiar with HTML but maybe for new html user it would not be obvious that you have to move closing tag to below all other tags since exercise validates without that action...</p>
<p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/waypoint-use-responsive-design-with-bootstrap-fluid-containers" rel="nofollow">http://freecodecamp.com/challenges/waypoint-use-responsive-design-with-bootstrap-fluid-containers</a> has an issue.</p> <p dir="auto">We need to put all of our html codes in a div with a class container-fluid, but it doesn't matter where you put your code ...div class="container-fluid"&gt;&lt;/div... challange accept it everytime.</p> <p dir="auto">For example : <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6990688/9321048/01bba660-456a-11e5-9497-d2d0075a9c68.png"><img src="https://cloud.githubusercontent.com/assets/6990688/9321048/01bba660-456a-11e5-9497-d2d0075a9c68.png" alt="bug" style="max-width: 100%;"></a></p>
1
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [v1.30]</li> <li>Operating System: [ Jenkins CI, Docker, Ubuntu 20]</li> <li>Browser: [Chromium]</li> <li>Other info:</li> </ul> <h3 dir="auto">Source code</h3> <p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p> <p dir="auto"><a href="https://github.com/kLjubomir/playwright_reproducible">https://github.com/kLjubomir/playwright_reproducible</a></p> <p dir="auto">Additional information on Jenkins and Dockerization:<br> <strong>dockerfile content</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# # Dockerfile Description # FROM ubuntu MAINTAINER Paul Brown RUN apt-get update -y &amp;&amp; apt-get install -y \ curl RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - RUN apt-get -y install nodejs RUN npm install -g playwright "><pre class="notranslate"><code class="notranslate"># # Dockerfile Description # FROM ubuntu MAINTAINER Paul Brown RUN apt-get update -y &amp;&amp; apt-get install -y \ curl RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - RUN apt-get -y install nodejs RUN npm install -g playwright </code></pre></div> <p dir="auto"><strong>Playwright Setup - Jenkins</strong></p> <p dir="auto">A Jenkinsfile is used, with this stage to run the tests inside a docker container and not the Jenkins host.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="stage('Running Tests') { agent { docker { image “url to docker image” (dockerfile to generate is attached) registryUrl “docker registry url” registryCredentialsId XXXXXXXXXXX args &quot;-u root --shm-size=4gb -v $WORKSPACE/$tests_Dir:/tmp/tests&quot; reuseNode true } } steps { script { String testsDir = &quot;/tmp/tests&quot; RunBrowserTests(friendlyAppName, Target_URL, Test_Specs_GLOB, NPM_Script, testsDir, &quot;&quot;, Target_Environment, Secret_Data_Path, Technology_Stack, &quot;&quot;, &quot;&quot;, Extra_Switches, &quot;&quot;, &quot;$WORKSPACE&quot;, CheckBooleanParam(Use_Script), Script_Config) } } } "><pre class="notranslate"><code class="notranslate">stage('Running Tests') { agent { docker { image “url to docker image” (dockerfile to generate is attached) registryUrl “docker registry url” registryCredentialsId XXXXXXXXXXX args "-u root --shm-size=4gb -v $WORKSPACE/$tests_Dir:/tmp/tests" reuseNode true } } steps { script { String testsDir = "/tmp/tests" RunBrowserTests(friendlyAppName, Target_URL, Test_Specs_GLOB, NPM_Script, testsDir, "", Target_Environment, Secret_Data_Path, Technology_Stack, "", "", Extra_Switches, "", "$WORKSPACE", CheckBooleanParam(Use_Script), Script_Config) } } } </code></pre></div> <p dir="auto">RunBrowserTests does the following….</p> <p dir="auto">Runs the bash script here : <a href="https://bitbucket.org/eurotaxglass1/av-automatron/src/master/runtests.sh" rel="nofollow">https://bitbucket.org/eurotaxglass1/av-automatron/src/master/runtests.sh</a><br> E.g : bash /tmp/tests/runtests.sh staging Regression true true</p> <p dir="auto"><strong>Steps</strong><br> Run the tests over Jenkins repeatedly.</p> <p dir="auto"><strong>Expected</strong><br> Tests are initiated concurrently, one param "de" runs with a project and grep of "de" and the other param "uk" runs with project and grep "uk", each run produces its own report, one in the "DE" and one in the "UK" folder of the playwright-report folder.</p> <p dir="auto"><strong>Actual</strong><br> If running these tests on repeat, there will eventually within 10-20 runs be an error on Jenkins CI containing the Pirates dependency description, and when that occurs one of the concurrent runs will not execute or produce results, while the other concurrent run will. This happens with production code a lot more (every 2-4 runs) than with the boilerplate obscured code I have provided in the issue.</p>
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [v1.34.3]</li> <li>Operating System: [Ubuntu 20]</li> <li>Browser: [All]</li> <li>Other info:</li> </ul> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li> </ul> <p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p> <p dir="auto">[https://github.com/your_profile/playwright_issue_title]</p> <p dir="auto">or</p> <p dir="auto"><strong>Config file</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import dotenv from 'dotenv'; require('./sentry') dotenv.config(); export default defineConfig({ globalSetup: require.resolve('./global-setup'), testDir: './tests', timeout: 70000, forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 0, workers: process.env.CI ? 2 : undefined, reporter: [['html', { open: 'never' }], ['list']], expect: { timeout: 20000, }, use: { headless: !!process.env.NLAB_APP_TESTS_HEADLESS, actionTimeout: process.env.NLAB_APP_TESTS_ACTIONTIMEOUT ? +process.env.NLAB_APP_TESTS_ACTIONTIMEOUT : 5000, baseURL: process.env.NLAB_APP_TESTS_CONTOUR, ignoreHTTPSErrors: !!process.env.NLAB_APP_TESTS_IGNOREHTTPSERRORS, screenshot: process.env.NLAB_APP_TESTS_SCREENSHOT as 'only-on-failure' || 'only-on-failure', video: process.env.NLAB_APP_TESTS_VIDEO as 'retain-on-failure' || 'retain-on-failure', storageState: 'state.json', trace: process.env.NLAB_APP_TESTS_TRACE as TraceMode || 'retain-on-failure', }, projects: [ process.env.NLAB_APP_TESTS_BROWSER === 'webkit' ? { name: 'webkit', use: { ...devices['Desktop Safari'], viewport: { width: 1800, height: 900 }, }, } : process.env.NLAB_APP_TESTS_BROWSER === 'firefox' ? { name: 'firefox', use: { ...devices['Desktop Firefox'], viewport: { width: 1800, height: 900 }, }, } : { name: 'chromium', use: { ...devices['Desktop Chrome'], contextOptions: { permissions: ['clipboard-read', 'clipboard-write'], }, viewport: { width: 1800, height: 900 }, }, }, ], }); [playwright-report.zip](https://github.com/microsoft/playwright/files/11601331/playwright-report.zip) "><pre lang="import" class="notranslate"><code class="notranslate">import dotenv from 'dotenv'; require('./sentry') dotenv.config(); export default defineConfig({ globalSetup: require.resolve('./global-setup'), testDir: './tests', timeout: 70000, forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 0, workers: process.env.CI ? 2 : undefined, reporter: [['html', { open: 'never' }], ['list']], expect: { timeout: 20000, }, use: { headless: !!process.env.NLAB_APP_TESTS_HEADLESS, actionTimeout: process.env.NLAB_APP_TESTS_ACTIONTIMEOUT ? +process.env.NLAB_APP_TESTS_ACTIONTIMEOUT : 5000, baseURL: process.env.NLAB_APP_TESTS_CONTOUR, ignoreHTTPSErrors: !!process.env.NLAB_APP_TESTS_IGNOREHTTPSERRORS, screenshot: process.env.NLAB_APP_TESTS_SCREENSHOT as 'only-on-failure' || 'only-on-failure', video: process.env.NLAB_APP_TESTS_VIDEO as 'retain-on-failure' || 'retain-on-failure', storageState: 'state.json', trace: process.env.NLAB_APP_TESTS_TRACE as TraceMode || 'retain-on-failure', }, projects: [ process.env.NLAB_APP_TESTS_BROWSER === 'webkit' ? { name: 'webkit', use: { ...devices['Desktop Safari'], viewport: { width: 1800, height: 900 }, }, } : process.env.NLAB_APP_TESTS_BROWSER === 'firefox' ? { name: 'firefox', use: { ...devices['Desktop Firefox'], viewport: { width: 1800, height: 900 }, }, } : { name: 'chromium', use: { ...devices['Desktop Chrome'], contextOptions: { permissions: ['clipboard-read', 'clipboard-write'], }, viewport: { width: 1800, height: 900 }, }, }, ], }); [playwright-report.zip](https://github.com/microsoft/playwright/files/11601331/playwright-report.zip) </code></pre></div> <p dir="auto"><strong>Test file (self-contained)</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="it('should check the box using setChecked', async ({ page }) =&gt; { await page.setContent(`&lt;input id='checkbox' type='checkbox'&gt;&lt;/input&gt;`); await page.getByRole('checkbox').check(); await expect(page.getByRole('checkbox')).toBeChecked(); });"><pre class="notranslate"><span class="pl-en">it</span><span class="pl-kos">(</span><span class="pl-s">'should check the box using setChecked'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">setContent</span><span class="pl-kos">(</span><span class="pl-s">`&lt;input id='checkbox' type='checkbox'&gt;&lt;/input&gt;`</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getByRole</span><span class="pl-kos">(</span><span class="pl-s">'checkbox'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">check</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getByRole</span><span class="pl-kos">(</span><span class="pl-s">'checkbox'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toBeChecked</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>[Run the test]</li> <li>[...]</li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">[Describe expected behavior]</p> <p dir="auto"><strong>Actual</strong></p> <p dir="auto">[Describe actual behavior]</p>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=dpedowitz" rel="nofollow">David Pedowitz</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-4770?redirect=false" rel="nofollow">SPR-4770</a></strong> and commented</p> <p dir="auto">Introduce <code class="notranslate">@HandlerInterceptor</code> to create a more symmetrical relationship between <code class="notranslate">@Controller</code>, <code class="notranslate">@ModelAttribute</code> and <code class="notranslate">@RequestParam</code>.</p> <p dir="auto">This came out of some questions and brainstorming in a Spring training session in LA, 5/1/08 with Chris Beams, Tchavdar Ivanov (FIM) and myself.</p> <p dir="auto">In Spring 2.5 the implementation of HandlerInterceptor has not changed leaving you to either implement the interface or extend HandlerInterceptorAdapter as before. If you use <code class="notranslate">@Controller</code> and component scan you still must define a DefaultAnnotationHandlerMapping to configure a single list of HandlerInterceptors for all Controllers.</p> <p dir="auto">It'd be nice if you could define a class as a <code class="notranslate">@HandlerInterceptor</code> and annotate methods as <code class="notranslate">@AfterCompletion</code>, <code class="notranslate">@PreHandle</code> and <code class="notranslate">@PostHandle</code>. The default behavior could automagically intercept all <code class="notranslate">@Controllers</code> scanned and fire according to the same contract as the original HandlerInterceptor. Also interaction could be similar to <code class="notranslate">@Controller</code> with the methods allowing use of <code class="notranslate">@ModelAttribute</code> and <code class="notranslate">@RequestParam</code>.</p> <p dir="auto">Example provided by Chris Beams:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// @HandlerInterceptors are @Components, thus eligible for component scanning. // If no class args are supplied, the interceptor applies globally to all // registered @Controllers. Naturally, specifying one or more classes narrows // its scope. @HandlerInterceptor({AccountController.class, CustomerController.class}) public class ExceptionLoggingHandlerInterceptor { @AfterCompletion public void logException(Object handler, Throwable ex) { logger.error(...); } // Or to be more explicit, do it @AspectJ-style, using // attributes to bind by name @AfterCompletion(handler=&quot;handler&quot;, exception=&quot;ex&quot;) public void logException(Object handler, Throwable ex) { logger.error(...); } // In keeping with @Controller methods, the user could // request the request, response, model, etc. @AfterCompletion(handler=&quot;handler&quot;, exception=&quot;ex&quot;) public void logException(HttpServletRequest req, Object handler, Throwable ex) { logger.error(...); } // Could even have handler methods return @ModelAttributes! @PreHandle public @ModelAttribute(&quot;currentDate&quot;) Date currentDate(/* no params needed, none requested */) { return new Date(); } }"><pre class="notranslate"><span class="pl-c">// @HandlerInterceptors are @Components, thus eligible for component scanning.</span> <span class="pl-c">// If no class args are supplied, the interceptor applies globally to all </span> <span class="pl-c">// registered @Controllers. Naturally, specifying one or more classes narrows </span> <span class="pl-c">// its scope.</span> <span class="pl-c1">@</span><span class="pl-c1">HandlerInterceptor</span>({<span class="pl-smi">AccountController</span>.<span class="pl-k">class</span>, <span class="pl-smi">CustomerController</span>.<span class="pl-k">class</span>}) <span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">ExceptionLoggingHandlerInterceptor</span> { <span class="pl-c1">@</span><span class="pl-c1">AfterCompletion</span> <span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-en">logException</span>(<span class="pl-smi">Object</span> <span class="pl-s1">handler</span>, <span class="pl-smi">Throwable</span> <span class="pl-s1">ex</span>) { <span class="pl-s1">logger</span>.<span class="pl-en">error</span>(...); } <span class="pl-c">// Or to be more explicit, do it @AspectJ-style, using</span> <span class="pl-c">// attributes to bind by name</span> <span class="pl-c1">@</span><span class="pl-c1">AfterCompletion</span>(<span class="pl-s1">handler</span>=<span class="pl-s">"handler"</span>, <span class="pl-s1">exception</span>=<span class="pl-s">"ex"</span>) <span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-en">logException</span>(<span class="pl-smi">Object</span> <span class="pl-s1">handler</span>, <span class="pl-smi">Throwable</span> <span class="pl-s1">ex</span>) { <span class="pl-s1">logger</span>.<span class="pl-en">error</span>(...); } <span class="pl-c">// In keeping with @Controller methods, the user could</span> <span class="pl-c">// request the request, response, model, etc.</span> <span class="pl-c1">@</span><span class="pl-c1">AfterCompletion</span>(<span class="pl-s1">handler</span>=<span class="pl-s">"handler"</span>, <span class="pl-s1">exception</span>=<span class="pl-s">"ex"</span>) <span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-en">logException</span>(<span class="pl-smi">HttpServletRequest</span> <span class="pl-s1">req</span>, <span class="pl-smi">Object</span> <span class="pl-s1">handler</span>, <span class="pl-smi">Throwable</span> <span class="pl-s1">ex</span>) { <span class="pl-s1">logger</span>.<span class="pl-en">error</span>(...); } <span class="pl-c">// Could even have handler methods return @ModelAttributes!</span> <span class="pl-c1">@</span><span class="pl-c1">PreHandle</span> <span class="pl-k">public</span> <span class="pl-c1">@</span><span class="pl-c1">ModelAttribute</span>(<span class="pl-s">"currentDate"</span>) <span class="pl-smi">Date</span> <span class="pl-en">currentDate</span>(<span class="pl-c">/* no params needed, none requested */</span>) { <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-smi">Date</span>(); } }</pre></div> <p dir="auto">Obviously there's a lot to be worked out. Some questions we have are:</p> <ul dir="auto"> <li>How do you express the order of the interceptors, something that comes naturally in the &lt;list&gt; configuratin. <code class="notranslate">@Order</code>?</li> <li>Is it more natural to express the Controller classes the HandlerInterceptor applies to <strong>in</strong> the <code class="notranslate">@HandlerInterceptor</code> (above) or would something like <code class="notranslate">@Controller</code>(interceptors=(<code class="notranslate">@HandlerInterceptors</code>{class, class, ...})) be more expressive? which is more flexible? <ul dir="auto"> <li>The later does express the list naturally but you would have to repeat the list in multiple controllers to achieve the same behavior.</li> <li>Maybe an XML annotation hybrid? &lt;handlerInterceptorList id="authInterceptors"&gt;...&lt;/handlerInterceptorList&gt; and <code class="notranslate">@Controller</code>(interceptor="authInterceptors")</li> </ul> </li> <li>Could tooling help visualize how an <code class="notranslate">@Controller</code> relates to it <code class="notranslate">@HandlerInterceptors</code> (add bonus for sure!)</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="398183197" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/17959" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/17959/hovercard" href="https://github.com/spring-projects/spring-framework/issues/17959">#17959</a> Apply Filter or Interceptor to Controller class via annotations (<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="398081964" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8695" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8695/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8695">#8695</a> Ability to restrict HandlerInterceptors to specific controller paths</li> </ul> <p dir="auto">14 votes, 16 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=harloshmark" rel="nofollow">Mark Davies</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8471?redirect=false" rel="nofollow">SPR-8471</a></strong> and commented</p> <p dir="auto">A less significant version of this problem has already been raised under <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398092384" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10033" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10033/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10033">#10033</a> - a performance bottleneck affecting Wicket. However, the same issue causes a serious thread deadlock in our application, occasionally preventing application startup.</p> <p dir="auto">The basic issue seems to be that DefaultSingletonBeanRegistry takes a global synchronization lock when creating a singleton bean. Here is the code in that class:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public Object getSingleton(String beanName, ObjectFactory singletonFactory) { Assert.notNull(beanName, &quot;'beanName' must not be null&quot;); synchronized (this.singletonObjects) { Object singletonObject = this.singletonObjects.get(beanName); if (singletonObject == null) { ... stuff ... singletonObject = singletonFactory.getObject(); ... stuff ... }"><pre class="notranslate"><code class="notranslate">public Object getSingleton(String beanName, ObjectFactory singletonFactory) { Assert.notNull(beanName, "'beanName' must not be null"); synchronized (this.singletonObjects) { Object singletonObject = this.singletonObjects.get(beanName); if (singletonObject == null) { ... stuff ... singletonObject = singletonFactory.getObject(); ... stuff ... } </code></pre></div> <p dir="auto">The synchronized block (the same this.singletonObjects reference is used by all threads entering the method) means that Spring can only create singleton beans one at a time, regardless of their type (beanName). This clearly introduces a performance penalty if an application has a large number of singleton beans to construct, e.g. at startup.</p> <p dir="auto">That is not the issue affecting our code, though. We see a deadlock, caused by the following two sets of behaviour:</p> <ol dir="auto"> <li> <p dir="auto">We have Spring-managed singleton beans which perform database access in their constructor (basically loading and caching configuration sets from the database). In order to do this they obtain database connections, which are pooled, with relatively small pool sizes. If a pooled connection is not available, the calling thread blocks and waits until one becomes free. This is usually not a problem since queries are small and rapid, so pool wait times are low, and the maximum pool size is sufficient to work the databasea at full capacity anyway.</p> </li> <li> <p dir="auto">We also have non-Spring code doing database access. Such code obtains a database connection from the same pool, purely for the lifetime of running a query and processing a result set, so again very quick for almost cases in our system. But sometimes, whilst processing the result set, we need to use a Spring-managed bean, which may have singleton scope.</p> </li> </ol> <p dir="auto">You now have a deadlock - thread number one is trying to get a Spring-managed singleton bean, which is waiting for a JDBC connection in its constructor; thread number two is running database code which has the JDBC connection and is waiting to create a Spring-managed singleton of a completely different type. Both thread own the resource needed by the other, so will wait forever. (OK, if the database pool size is two or higher you need two or more threads in the second state, but this has happened to us in customer environments, in production).</p> <p dir="auto">Obviously our application code is almost certainly less than ideal in how we use Spring, but it seems to me that we ought to be able to use Spring-managed beans which do database access in the manner I've described, without encountering unpleasant deadlocks such as this. Note that the problem is actually much more general than this particular example of database connections: if your singleton beans require any kind of global monitor, which is also used outside of the context of Spring, you have a deadlock condition.</p> <p dir="auto">Both the originally-reported performance problem, and this deadlock, could be solved by a simple improvement to DefaultSingletonBeanRegistry. The getSingleton() method should not synchronize on a global monitor, but instead a monitor specific to the beanName you are instantiating. This is the correct level at which to lock - what you are trying to do is prevent a bean of a certain type being created more than once, but allowing two beans of different types to construct at the same time is perfectly reasonable. Of course you have to synchronize access to the underlying collections with a global lock, but the construction of the singleton bean does not need to be protected with the same global monitor. For instance I believe this kind of thing would do it:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public Object getSingleton(String beanName, ObjectFactory singletonFactory) { Object bean; Object perBeanMonitor; synchronized (GLOBAL_MONITOR) { perBeanMonitor = getPerBeanMonitor(beanName); } synchronized (perBeanMonitor) { synchronized (GLOBAL_MONITOR) { bean = getBeanFromRegistry(beanName); } if (bean==null) { Object bean = doConstructBean(beanName, singletonFactory); synchronized (GLOBAL_MONITOR) { addToRegistry(beanName, bean); } } } return bean; }"><pre class="notranslate"><code class="notranslate">public Object getSingleton(String beanName, ObjectFactory singletonFactory) { Object bean; Object perBeanMonitor; synchronized (GLOBAL_MONITOR) { perBeanMonitor = getPerBeanMonitor(beanName); } synchronized (perBeanMonitor) { synchronized (GLOBAL_MONITOR) { bean = getBeanFromRegistry(beanName); } if (bean==null) { Object bean = doConstructBean(beanName, singletonFactory); synchronized (GLOBAL_MONITOR) { addToRegistry(beanName, bean); } } } return bean; } </code></pre></div> <p dir="auto">It would be extremely helpful if this approach could be implemented in this core part of the Spring framework. We rely on singleton construction to be performant and thread-safe; the fact that DefaultSingletonBeanRegistry behaves as it currently does is causing us serious production problems at client sites, and, whilst we can modify our application code to work around the issue, I do see this as a fundamental flaw in Spring - would be nice to get a quick fix please.</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.5.6</p> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/19616/test-case.zip" rel="nofollow">test-case.zip</a> (<em>3.09 kB</em>)</li> </ul> <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="398115131" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13428" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13428/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13428">#13428</a> Deadlock during application context creation (<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="398153704" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14470" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14470/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14470">#14470</a> A Java Thread deadlock has occured (<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="398117774" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13837" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13837/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13837">#13837</a> Deadlock on the beanDefinitionMap and singletonObjects (<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="398108538" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12374" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12374/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12374">#12374</a> Deadlock between DefaultListableBeanFactory and DefaultSingletonBeanRegistry, perhaps due to lazily-instantiated aspect</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398153593" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14452" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14452/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14452">#14452</a> Non-singleton beans performance issue</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398155048" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14654" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14654/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14654">#14654</a> Deadlock in DefaultListableBeanFactory/DefaultSingletonBeanRegistry</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398157745" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14985" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14985/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14985">#14985</a> AbstractApplicationEventMulticaster#getApplicationListeners() should have double check for 'this.retrieverCache.get(cacheKey)' within synchronized block</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/dd68fecbf2509faa189234807f30bbf364a691f1/hovercard" href="https://github.com/spring-projects/spring-framework/commit/dd68fecbf2509faa189234807f30bbf364a691f1"><tt>dd68fec</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/52124fa31b17fee7b6ffdfc92ec9fe14ad9a0561/hovercard" href="https://github.com/spring-projects/spring-framework/commit/52124fa31b17fee7b6ffdfc92ec9fe14ad9a0561"><tt>52124fa</tt></a></p> <p dir="auto">19 votes, 26 watchers</p>
0
<p dir="auto">Lately I have been playing with fonts with ligatures like PragmataPro, Fira Code, Hasklig, etc...</p> <p dir="auto">The only way I have found to make Atom to actually render any ligature is by adding <code class="notranslate">text-rendering: optimizeLegibility</code> to my style config. Anyways, this completely breaks pretty much the entire editor. Cursor position stops working correctly (a single ligature requires 2 or 3 left/right arrow clicks for the cursor to move back/forwards), the delete key acts really funny, etc...</p> <p dir="auto">Even more, after commenting <code class="notranslate">text-rendering: optimizeLegibility</code>, Atom keeps doing funny stuff until I restart it.</p> <p dir="auto">Those type of fonts are getting more and more common; it would be really nice if Atom could handle them correctly.</p> <p dir="auto">Btw, PragmataPro works just fine in Chrome, test it here: <a href="http://typecast.com/preview/myfonts/113975" rel="nofollow">http://typecast.com/preview/myfonts/113975</a> (be sure to add <code class="notranslate">text-rendering: optimizeLegibility</code> to the textbox you'll be testing.</p>
<p dir="auto">I'm using the Atom for Windows Alpha from the Atom website (not Chocolatey), version 0.136.0 (as viewed in the Help menu and with <code class="notranslate">--version</code> in the command line, the <code class="notranslate">version</code> file in the Atom folder says v0.17.1; it was downloaded around 12:30AM US Eastern on October 14, 2014 if that helps) on Windows 8.1. I set <code class="notranslate">text-rendering: optimizeLegibility;</code> for <code class="notranslate">.editor</code> in <code class="notranslate">styles.less</code> (because otherwise the ligatures aren't in effect and I get each individual character). This happens regardless of whether hardware acceleration is enabled. It also happens in <code class="notranslate">--safe</code> mode, and the developer tools console shows no errors.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4254261/4624455/bad18f5a-5364-11e4-9a0f-8c59596bcd59.png"><img src="https://cloud.githubusercontent.com/assets/4254261/4624455/bad18f5a-5364-11e4-9a0f-8c59596bcd59.png" alt="temp" style="max-width: 100%;"></a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(&lt;*&gt;)::Functor f=&gt;(a-&gt;b)-&gt;(f a-&gt;f b) fmap::Functor f=&gt;(a-&gt;b)-&gt;(f a-&gt;f b)"><pre class="notranslate"><code class="notranslate">(&lt;*&gt;)::Functor f=&gt;(a-&gt;b)-&gt;(f a-&gt;f b) fmap::Functor f=&gt;(a-&gt;b)-&gt;(f a-&gt;f b) </code></pre></div> <p dir="auto">in <a href="https://github.com/i-tu/Hasklig">Hasklig</a>, which has ligatures for <code class="notranslate">&lt;*&gt;</code>, <code class="notranslate">::</code>, <code class="notranslate">=&gt;</code>, and <code class="notranslate">-&gt;</code>.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4254261/4624502/6b794cee-5365-11e4-8d85-a129dee8ae1d.png"><img src="https://cloud.githubusercontent.com/assets/4254261/4624502/6b794cee-5365-11e4-8d85-a129dee8ae1d.png" alt="temp" style="max-width: 100%;"></a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fifififififififififi"><pre class="notranslate"><code class="notranslate">fifififififififififi </code></pre></div> <p dir="auto">in Calibri, using the ligature for <code class="notranslate">fi</code>. The cursor is at the end of the line, and the misspell underline only leads up to that point as well. The ligature for <code class="notranslate">ff</code> in Calibri has the opposite effect; the cursor and underline extend farther than text on the screen if you put enough f's on a line.</p> <p dir="auto">I can provide more details if you need them.</p>
1
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/bonfire-return-largest-numbers-in-arrays" rel="nofollow">http://www.freecodecamp.com/challenges/bonfire-return-largest-numbers-in-arrays</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p> <p dir="auto">It doesn't matter what code you write, your get the same error:<br> Cannot read property 'eql' of undefined</p> <p dir="auto">Even chopping the function call to a straight text string gives the same error.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3133884/9568090/f786ab18-4f37-11e5-8bcb-8c4db2c39af5.png"><img src="https://cloud.githubusercontent.com/assets/3133884/9568090/f786ab18-4f37-11e5-8bcb-8c4db2c39af5.png" alt="screenshot 2015-08-30 16 52 24" style="max-width: 100%;"></a></p>
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/build-a-tic-tac-toe-game" rel="nofollow">Build a Tic Tac Toe Game</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <p dir="auto">If you select 'x', let the game place an 'o' in spot [2,2]. Then place an 'x' in [2,1]. The game then places an 'o' in [2,0]. If you place an 'x' in [1,0], the game will freeze. I did this several times.</p>
0
<p dir="auto">From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/basictheprogram/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/basictheprogram">@basictheprogram</a> on 2016-10-20T21:26:19Z</p> <h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">script module</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible --version ansible 2.3.0 (devel 05aed6e52e) last updated 2016/10/18 22:32:33 (GMT -500) lib/ansible/modules/core: (detached HEAD b59b5d36e0) last updated 2016/10/18 22:32:33 (GMT -500) lib/ansible/modules/extras: (detached HEAD 3f77bb6857) last updated 2016/10/18 22:32:33 (GMT -500) config file = /Users/tanner/projects/ansible.git/playbooks.git/ansible.cfg configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">$ ansible --version ansible 2.3.0 (devel 05aed6e52e) last updated 2016/10/18 22:32:33 (GMT -500) lib/ansible/modules/core: (detached HEAD b59b5d36e0) last updated 2016/10/18 22:32:33 (GMT -500) lib/ansible/modules/extras: (detached HEAD 3f77bb6857) last updated 2016/10/18 22:32:33 (GMT -500) config file = /Users/tanner/projects/ansible.git/playbooks.git/ansible.cfg configured module search path = Default w/o overrides </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">Standard configuration for git pull of the devel branch</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Management host 10.12<br> Managed host Windows 10</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Attempting to use a script to install chocolatey and getting and error about unable to uncompress the file.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: install chocolatey script: 'InstallChocolatey.ps1' register: choco failed_when: choco.rc != 0 changed_when: False tags: chocolatey"><pre class="notranslate"><code class="notranslate">- name: install chocolatey script: 'InstallChocolatey.ps1' register: choco failed_when: choco.rc != 0 changed_when: False tags: chocolatey </code></pre></div> <p dir="auto">The InstallChocolatey.ps1 script</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if ($PSVersionTable.psversion.Major -ge 3) { Write-Verbose &quot;Powershell 3+&quot; iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex } else { Write-Verbose &quot;Powershell 3 or lower&quot; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) }"><pre class="notranslate"><code class="notranslate">if ($PSVersionTable.psversion.Major -ge 3) { Write-Verbose "Powershell 3+" iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex } else { Write-Verbose "Powershell 3 or lower" iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) } </code></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">The latest version of Chocolatey would be installed.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal: [PC147.local]: FAILED! =&gt; { &quot;changed&quot;: false, &quot;failed&quot;: true, &quot;failed_when_result&quot;: true, &quot;invocation&quot;: { &quot;module_args&quot;: { &quot;_raw_params&quot;: &quot;InstallChocolatey.ps1&quot; }, &quot;module_name&quot;: &quot;script&quot; }, &quot;rc&quot;: 1, &quot;stderr&quot;: &quot;Exception calling \&quot;DownloadFile\&quot; with \&quot;2\&quot; argument(s): \&quot;The remote server returned an error: (503) Server Unavailable.\&quot;\r\nAt line:149 char:3\r\n+ $downloader.DownloadFile($url, $file)\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException\r\n+ FullyQualifiedErrorId : WebException\r\n\r\nUnable to unzip package using built-in compression. Set $env:chocolateyUseWindowsCompression = 'false' and call \r\ninstall again to use 7zip to unzip. Error: \r\nYou cannot call a method on a null-valued expression.\r\nAt line:185 char:5\r\n+ throw \&quot;Unable to unzip package using built-in compression. Set `$ ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n+ CategoryInfo : OperationStopped: (Unable to unzip...ued expression.:String) [], RuntimeException\r\n+ FullyQualifiedErrorId : Unable to unzip package using built-in compression. Set $env:chocolateyUseWindowsCompres \r\nsion = 'false' and call install again to use 7zip to unzip. Error: \r\nYou cannot call a method on a null-valued expression.\r\n&quot;, &quot;stdout&quot;: &quot;Getting latest version of the Chocolatey package for download.\r\nDownloading https://chocolatey.org/api/v2/package/chocolatey/0.10.3 to C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\chocolatey\\chocInstall\\chocolatey.zip\r\nExtracting C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\chocolatey\\chocInstall\\chocolatey.zip to C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\chocolatey\\chocInstall...\r\n&quot;, &quot;stdout_lines&quot;: [ &quot;Getting latest version of the Chocolatey package for download.&quot;, &quot;Downloading https://chocolatey.org/api/v2/package/chocolatey/0.10.3 to C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\chocolatey\\chocInstall\\chocolatey.zip&quot;, &quot;Extracting C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\chocolatey\\chocInstall\\chocolatey.zip to C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\chocolatey\\chocInstall...&quot; ] }"><pre class="notranslate"><code class="notranslate">fatal: [PC147.local]: FAILED! =&gt; { "changed": false, "failed": true, "failed_when_result": true, "invocation": { "module_args": { "_raw_params": "InstallChocolatey.ps1" }, "module_name": "script" }, "rc": 1, "stderr": "Exception calling \"DownloadFile\" with \"2\" argument(s): \"The remote server returned an error: (503) Server Unavailable.\"\r\nAt line:149 char:3\r\n+ $downloader.DownloadFile($url, $file)\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException\r\n+ FullyQualifiedErrorId : WebException\r\n\r\nUnable to unzip package using built-in compression. Set $env:chocolateyUseWindowsCompression = 'false' and call \r\ninstall again to use 7zip to unzip. Error: \r\nYou cannot call a method on a null-valued expression.\r\nAt line:185 char:5\r\n+ throw \"Unable to unzip package using built-in compression. Set `$ ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n+ CategoryInfo : OperationStopped: (Unable to unzip...ued expression.:String) [], RuntimeException\r\n+ FullyQualifiedErrorId : Unable to unzip package using built-in compression. Set $env:chocolateyUseWindowsCompres \r\nsion = 'false' and call install again to use 7zip to unzip. Error: \r\nYou cannot call a method on a null-valued expression.\r\n", "stdout": "Getting latest version of the Chocolatey package for download.\r\nDownloading https://chocolatey.org/api/v2/package/chocolatey/0.10.3 to C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\chocolatey\\chocInstall\\chocolatey.zip\r\nExtracting C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\chocolatey\\chocInstall\\chocolatey.zip to C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\chocolatey\\chocInstall...\r\n", "stdout_lines": [ "Getting latest version of the Chocolatey package for download.", "Downloading https://chocolatey.org/api/v2/package/chocolatey/0.10.3 to C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\chocolatey\\chocInstall\\chocolatey.zip", "Extracting C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\chocolatey\\chocInstall\\chocolatey.zip to C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\chocolatey\\chocInstall..." ] } </code></pre></div> <p dir="auto">Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="184344896" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/5340" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible-modules-core/issues/5340/hovercard" href="https://github.com/ansible/ansible-modules-core/issues/5340">ansible/ansible-modules-core#5340</a></p>
<h5 dir="auto">Issue Type:</h5> <p dir="auto">Bug Report</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">ansible 1.5.5</p> <h5 dir="auto">Environment:</h5> <p dir="auto">Running from NixOs, managing GCE (small instance) Debian 7.4 without backports.</p> <h5 dir="auto">Summary:</h5> <p dir="auto">The problem is that the file and unarchive (possibly others) freeze when using sudo user option on a task. This basically breaks the deploy process.</p> <h5 dir="auto">Steps To Reproduce:</h5> <p dir="auto">The bug can be reproduced with this playbook:<br> <a href="https://gist.github.com/brodul/11395154">https://gist.github.com/brodul/11395154</a></p> <p dir="auto">One liner also freezes (after the user is created):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible -i tmp_inventory all -m file -a 'path=/srv/pikapika/engine/current/ state=directory' --sudo-user=pikapika --sudo"><pre class="notranslate"><code class="notranslate">ansible -i tmp_inventory all -m file -a 'path=/srv/pikapika/engine/current/ state=directory' --sudo-user=pikapika --sudo </code></pre></div> <h5 dir="auto">Expected Results:</h5> <p dir="auto">There should be a failure, not a freeze. Or even better a directory called <code class="notranslate">/srv/pikapika/engine/current/</code> owned by 'pikapika'</p> <h5 dir="auto">Actual Results:</h5> <p dir="auto">The whole thing freezes</p> <p dir="auto"><a href="https://gist.github.com/brodul/11395399">https://gist.github.com/brodul/11395399</a></p> <p dir="auto">Notice there are some anomalies in the gist above:<br> I changed the project user from 'nomnom' to 'pikapika'. But the 'nomnom' still persist.</p> <p dir="auto">Tnx for reading this. If you need additional info don't hasitate to ask.<br> Here is a llama: <a href="https://flic.kr/p/9ybQmk" rel="nofollow">https://flic.kr/p/9ybQmk</a></p>
0
<p dir="auto">I just stumbled across this in <a href="http://twitter.github.com/bootstrap/1.3.0/bootstrap.min.css">the minified version of Bootstrap 1.3.0</a>. On line 4 we have:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ol,ul{list-style:none;}"><pre class="notranslate"><code class="notranslate">ol,ul{list-style:none;} </code></pre></div> <p dir="auto">and on line 88 we have:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ul,ol{margin:0 0 18px 25px;}"><pre class="notranslate"><code class="notranslate">ul,ol{margin:0 0 18px 25px;} </code></pre></div> <p dir="auto">. Obviously they could be written as one rule:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ul,ol{margin:0 0 18px 25px;list-style:none;}"><pre class="notranslate"><code class="notranslate">ul,ol{margin:0 0 18px 25px;list-style:none;} </code></pre></div> <p dir="auto">I'm not sure this is bug in less or wherever, but I guess you could save some bandwidth fixing this minor bug!</p>
<p dir="auto">I've noticed that Bootstrap doesn't change it font sizes between layouts. Why is that? For example, the H1 font size is 36px. This seems fine on a desktop but is WAY too big on a mobile layout. What was the reasoning behind not making the font sizes responsive?</p> <p dir="auto">And if I wanted to make them responsive, is that easy to do without modifying the Bootstrap source? It seems like I would have to rewrite a lot of code in my main.scss in my own media queries in order to do this. A related part of the problem is that, for example, the H1, H2, H3, etc font sizes are defined as calculated pixels:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$font-size-h1: floor(($font-size-base * 2.6)) !default; // ~36px $font-size-h2: floor(($font-size-base * 2.15)) !default; // ~30px $font-size-h3: ceil(($font-size-base * 1.7)) !default; // ~24px $font-size-h4: ceil(($font-size-base * 1.25)) !default; // ~18px $font-size-h5: $font-size-base !default; $font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px"><pre class="notranslate"><code class="notranslate">$font-size-h1: floor(($font-size-base * 2.6)) !default; // ~36px $font-size-h2: floor(($font-size-base * 2.15)) !default; // ~30px $font-size-h3: ceil(($font-size-base * 1.7)) !default; // ~24px $font-size-h4: ceil(($font-size-base * 1.25)) !default; // ~18px $font-size-h5: $font-size-base !default; $font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px </code></pre></div> <p dir="auto">If Bootstrap was using <code class="notranslate">rem</code>s then you could simply change the base font size in each media query and all headers (in this example) would automatically change size accordingly.</p> <p dir="auto">Anyways, just trying to figure out the best approach here and also am wondering why in the world font sizes would not be setup to be responsive...</p>
0