text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<p dir="auto">Leap Day Edition <g-emoji class="g-emoji" alias="tada" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f389.png">🎉</g-emoji></p>
<ul dir="auto">
<li>Typing Work
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="134923063" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/7156" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/7156/hovercard" href="https://github.com/microsoft/TypeScript/issues/7156">#7156</a> Library include directives</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="134444635" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/7125" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/7125/hovercard" href="https://github.com/microsoft/TypeScript/issues/7125">#7125</a> UMD module definitions</li>
</ul>
</li>
<li>Salsa-supporting work
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="132607945" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6992" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6992/hovercard" href="https://github.com/microsoft/TypeScript/issues/6992">#6992</a> Use smarter type fallbacks in error cases</li>
</ul>
</li>
<li>Suggestions
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="136998431" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/7279" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/7279/hovercard" href="https://github.com/microsoft/TypeScript/issues/7279">#7279</a> Trailing commas in argument lists</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="135988708" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/7209" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/7209/hovercard" href="https://github.com/microsoft/TypeScript/issues/7209">#7209</a> Add a "force strict mode" option</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="133517467" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/7077" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/7077/hovercard" href="https://github.com/microsoft/TypeScript/issues/7077">#7077</a> Duplicate identifiers in namespace emit</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="132840401" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/7011" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/7011/hovercard" href="https://github.com/microsoft/TypeScript/issues/7011">#7011</a> Apply interface types to implicit-any-declared class properties</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="130895835" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6864" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6864/hovercard" href="https://github.com/microsoft/TypeScript/issues/6864">#6864</a> Disallow implicitly duplicated <code class="notranslate">enum</code> values</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="38371438" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/185" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/185/hovercard" href="https://github.com/microsoft/TypeScript/issues/185">#185</a> Non-nullable: confirm that this is committed?</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="40483812" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/471" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/471/hovercard" href="https://github.com/microsoft/TypeScript/issues/471">#471</a> Permit an implementing class to ignore private methods of the implementee class</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="94344571" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/3812" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/3812/hovercard" href="https://github.com/microsoft/TypeScript/issues/3812">#3812</a> Type guards on property access</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="130023716" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6758" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6758/hovercard" href="https://github.com/microsoft/TypeScript/issues/6758">#6758</a> Allow <code class="notranslate">--name=value</code> commandline switch format</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="136670372" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/7256" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/7256/hovercard" href="https://github.com/microsoft/TypeScript/issues/7256">#7256</a> Disallow <code class="notranslate">void</code> in truthyness positions</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="133407645" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/7071" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/7071/hovercard" href="https://github.com/microsoft/TypeScript/issues/7071">#7071</a> <code class="notranslate">require</code> of <code class="notranslate">.json</code> file</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="130527896" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6808" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6808/hovercard" href="https://github.com/microsoft/TypeScript/issues/6808">#6808</a> Start a deprecation path for <code class="notranslate">module</code></li>
</ul>
</li>
</ul> | <p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/prencher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/prencher">@prencher</a> on April 21, 2016 22:28</em></p>
<ul dir="auto">
<li>VSCode Version: 1.0</li>
<li>OS Version: Any</li>
</ul>
<p dir="auto">When formatting a TSX document, <code class="notranslate"><span onClick={this.test()}></code> gets formatted as <code class="notranslate"><span onClick={this.test() }></code>.</p>
<p dir="auto">It appears isolated to <code class="notranslate">)</code>, for example <code class="notranslate"><span onClick={this.test}></code> is unaffected, as is every other case I could think of to test.</p>
<p dir="auto">I would assume this is supposed to not have spaces, or respect the non-empty bracket setting added in 1.0.</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="150209035" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/5630" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/5630/hovercard" href="https://github.com/microsoft/vscode/issues/5630">microsoft/vscode#5630</a></em></p> | 0 |
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/sum-all-odd-fibonacci-numbers#?solution=function%20sumFibs%28num%29%20%7B%0A%20%20var%20prevNum%20%3D%201%3B%0A%20%20var%20curNum%20%3D%201%3B%0A%20%20var%20result%20%3D%202%3B%0A%0A%20%20do%20%7B%0A%20%20%20%20var%20newNum%20%3D%20prevNum%20%2B%20curNum%3B%0A%0A%20%20%20%20if%20%28newNum%20%25%202%20!%3D%3D%200%20%26%26%20newNum%20%3C%3D%20num%29%20%7B%0A%20%20%20%20%20%20result%20%2B%3D%20newNum%3B%0A%20%20%20%20%7D%0A%20%20%20%20prevNum%20%3D%20curNum%3B%0A%20%20%20%20curNum%20%3D%20newNum%3B%0A%20%20%7D%20while%20%28curNum%20%3C%20num%29%3B%0A%0A%20%20console.log%28result%29%3B%0A%20%20return%20result%3B%0A%7D%0A%0AsumFibs%281000%29%3B" rel="nofollow">Sum All Odd Fibonacci Numbers</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">The issue I am having is with receiving a "SyntaxError: Unexpected token ;" syntax error. This issue has to do with the semicolon at the end of the do while, which is syntactically correct. This prevents the code from running. While there is a work around, I just wanted to shed some light.</p>
<p dir="auto">Thanks</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function sumFibs(num) {
var prevNum = 1;
var curNum = 1;
var result = 2;
do {
var newNum = prevNum + curNum;
if (newNum % 2 !== 0 && newNum <= num) {
result += newNum;
}
prevNum = curNum;
curNum = newNum;
} while (curNum < num);
console.log(result);
return result;
}
sumFibs(1000);"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">sumFibs</span><span class="pl-kos">(</span><span class="pl-s1">num</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">prevNum</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">curNum</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-c1">2</span><span class="pl-kos">;</span>
<span class="pl-k">do</span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">newNum</span> <span class="pl-c1">=</span> <span class="pl-s1">prevNum</span> <span class="pl-c1">+</span> <span class="pl-s1">curNum</span><span class="pl-kos">;</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">newNum</span> <span class="pl-c1">%</span> <span class="pl-c1">2</span> <span class="pl-c1">!==</span> <span class="pl-c1">0</span> <span class="pl-c1">&&</span> <span class="pl-s1">newNum</span> <span class="pl-c1"><=</span> <span class="pl-s1">num</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">result</span> <span class="pl-c1">+=</span> <span class="pl-s1">newNum</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-s1">prevNum</span> <span class="pl-c1">=</span> <span class="pl-s1">curNum</span><span class="pl-kos">;</span>
<span class="pl-s1">curNum</span> <span class="pl-c1">=</span> <span class="pl-s1">newNum</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span> <span class="pl-k">while</span> <span class="pl-kos">(</span><span class="pl-s1">curNum</span> <span class="pl-c1"><</span> <span class="pl-s1">num</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">result</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-s1">result</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">sumFibs</span><span class="pl-kos">(</span><span class="pl-c1">1000</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | <h2 dir="auto">my comment</h2>
<p dir="auto">the code runs with node, e.g.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="node test.js"><pre class="notranslate"><code class="notranslate">node test.js
</code></pre></div>
<p dir="auto">in FCC it doesn't work.<br>
I'm using two while loops (outer and inner) what might be the cause.</p>
<h2 dir="auto">auto generated text</h2>
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/sorted-union#?solution=%0Afunction%20mergeArrays(x)%20%7B%0A%20%20%2F%2F%20empty%20array%20as%20initial%20value.%20Combine%20two%20arrays%20several%20times.%0A%20%20return%20x.reduce(function(a%2Cb)%7Breturn%20a.concat(b)%3B%7D%2C%5B%5D)%3B%0A%7D%0A%0Afunction%20uniteUnique()%7B%0A%20%20%2F%2F%20convert%20JSON%20(the%20arguments%20variable)%20to%20an%20Array%0A%20%20var%20arr%20%3D%20%5B%5D.slice.call(arguments)%3B%20%2F%2Fconsole.log(arr)%3B%0A%20%20%2F%2F%20merge%20initially%0A%20%20arr%20%3D%20mergeArrays(arr)%3B%0A%20%20%2F%2F%20start%20outer%20while%20loop%0A%20%20var%20flag%20%3D%20true%3B%0A%20%20while(flag)%7B%0A%20%20%20%20%2F%2F%20check%20if%20one%20element%20is%20an%20array%0A%20%20%20%20var%20stopped%3Dfalse%3B%0A%20%20%20%20var%20i%3D0%3B%0A%20%20%20%20while(i%3Carr.length%20%26%26%20!stopped)%7B%0A%20%20%20%20%20%20%2F%2F%20stop%20if%20one%20element%20is%20an%20Array%0A%20%20%20%20%20%20if(Array.isArray(arr%5Bi%5D))%7Bstopped%3Dtrue%3B%7D%0A%20%20%20%20%20%20i%2B%2B%3B%0A%20%20%20%20%7D%0A%20%20%20%20if(stopped)%7B%0A%20%20%20%20%20%20%2F%2F%20merge%20elements%20that%20are%20numbers%2Fstrings%20and%20Arrays.%0A%20%20%20%20%20%20arr%20%3D%20mergeArrays(arr)%3B%0A%20%20%20%20%7Delse%7B%0A%20%20%20%20%20%20%2F%2F%20abort%20outer%20while%20loop%0A%20%20%20%20%20%20flag%20%3D%20false%3B%0A%20%20%20%20%7D%0A%20%20%20%20%2F%2Fconsole.log(arr)%3B%0A%20%20%7D%0A%20%20return%20arr%3B%0A%7D%0A%0A%0Aconsole.log(uniteUnique(%5B1%2C%203%2C%202%5D%2C%20%5B5%2C%202%2C%201%2C%204%5D%2C%20%5B2%2C%201%5D))%3B%0Aconsole.log(uniteUnique(%5B1%2C%203%2C%202%5D%2C%20%5B1%2C%20%5B5%5D%5D%2C%20%5B2%2C%20%5B4%5D%5D))%3B%0Aconsole.log(uniteUnique(%5B1%2C%202%2C%203%5D%2C%20%5B5%2C%202%2C%201%5D))%3B%0Aconsole.log(uniteUnique(%5B1%2C%202%2C%203%5D%2C%20%5B5%2C%202%2C%201%2C%204%5D%2C%20%5B2%2C%201%5D%2C%20%5B6%2C%207%2C%208%5D))%3B%0Aconsole.log(uniteUnique(%5B1%2C%203%2C%202%5D%2C%20%5B3%2C%20%5B1%2C%20%5B5%5D%5D%5D%2C%20%5B2%2C%20%5B4%5D%5D))%3B%0A" rel="nofollow">Sorted Union</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0.1 Safari/602.2.14</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
function mergeArrays(x) {
// empty array as initial value. Combine two arrays several times.
return x.reduce(function(a,b){return a.concat(b);},[]);
}
function uniteUnique(){
// convert JSON (the arguments variable) to an Array
var arr = [].slice.call(arguments); //console.log(arr);
// merge initially
arr = mergeArrays(arr);
// start outer while loop
var flag = true;
while(flag){
// check if one element is an array
var stopped=false;
var i=0;
while(i<arr.length && !stopped){
// stop if one element is an Array
if(Array.isArray(arr[i])){stopped=true;}
i++;
}
if(stopped){
// merge elements that are numbers/strings and Arrays.
arr = mergeArrays(arr);
}else{
// abort outer while loop
flag = false;
}
//console.log(arr);
}
return arr;
}
console.log(uniteUnique([1, 3, 2], [5, 2, 1, 4], [2, 1]));
console.log(uniteUnique([1, 3, 2], [1, [5]], [2, [4]]));
console.log(uniteUnique([1, 2, 3], [5, 2, 1]));
console.log(uniteUnique([1, 2, 3], [5, 2, 1, 4], [2, 1], [6, 7, 8]));
console.log(uniteUnique([1, 3, 2], [3, [1, [5]]], [2, [4]]));
"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">mergeArrays</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-c">// empty array as initial value. Combine two arrays several times.</span>
<span class="pl-k">return</span> <span class="pl-s1">x</span><span class="pl-kos">.</span><span class="pl-en">reduce</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span><span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">{</span><span class="pl-k">return</span> <span class="pl-s1">a</span><span class="pl-kos">.</span><span class="pl-en">concat</span><span class="pl-kos">(</span><span class="pl-s1">b</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-k">function</span> <span class="pl-en">uniteUnique</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-c">// convert JSON (the arguments variable) to an Array</span>
<span class="pl-k">var</span> <span class="pl-s1">arr</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-c1">slice</span><span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span><span class="pl-smi">arguments</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">//console.log(arr);</span>
<span class="pl-c">// merge initially</span>
<span class="pl-s1">arr</span> <span class="pl-c1">=</span> <span class="pl-en">mergeArrays</span><span class="pl-kos">(</span><span class="pl-s1">arr</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// start outer while loop</span>
<span class="pl-k">var</span> <span class="pl-s1">flag</span> <span class="pl-c1">=</span> <span class="pl-c1">true</span><span class="pl-kos">;</span>
<span class="pl-k">while</span><span class="pl-kos">(</span><span class="pl-s1">flag</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-c">// check if one element is an array</span>
<span class="pl-k">var</span> <span class="pl-s1">stopped</span><span class="pl-c1">=</span><span class="pl-c1">false</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">i</span><span class="pl-c1">=</span><span class="pl-c1">0</span><span class="pl-kos">;</span>
<span class="pl-k">while</span><span class="pl-kos">(</span><span class="pl-s1">i</span><span class="pl-c1"><</span><span class="pl-s1">arr</span><span class="pl-kos">.</span><span class="pl-c1">length</span> <span class="pl-c1">&&</span> <span class="pl-c1">!</span><span class="pl-s1">stopped</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-c">// stop if one element is an Array</span>
<span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">isArray</span><span class="pl-kos">(</span><span class="pl-s1">arr</span><span class="pl-kos">[</span><span class="pl-s1">i</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">{</span><span class="pl-s1">stopped</span><span class="pl-c1">=</span><span class="pl-c1">true</span><span class="pl-kos">;</span><span class="pl-kos">}</span>
<span class="pl-s1">i</span><span class="pl-c1">++</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-s1">stopped</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-c">// merge elements that are numbers/strings and Arrays.</span>
<span class="pl-s1">arr</span> <span class="pl-c1">=</span> <span class="pl-en">mergeArrays</span><span class="pl-kos">(</span><span class="pl-s1">arr</span><span class="pl-kos">)</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">// abort outer while loop</span>
<span class="pl-s1">flag</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-c">//console.log(arr);</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-s1">arr</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-en">uniteUnique</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-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-en">uniteUnique</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">5</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">2</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">4</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><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-en">uniteUnique</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-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-en">uniteUnique</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">6</span><span class="pl-kos">,</span> <span class="pl-c1">7</span><span class="pl-kos">,</span> <span class="pl-c1">8</span><span class="pl-kos">]</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-en">uniteUnique</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">5</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">2</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">4</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | 0 |
<p dir="auto">Summary.<br>
If a http page redirects via 301 to a non-http location, eg a magnet link, requests raises exception and the redirect link is not available except in the error text</p>
<h2 dir="auto">Expected Result</h2>
<p dir="auto">Would be better if it returned status_code=301 and content=redirect link</p>
<h2 dir="auto">Actual Result</h2>
<p dir="auto">exception No connection adapters were found for 'magnet:?xt=urn:btih...</p> | <p dir="auto">I'm currently mocking an API that is consumed by an Android application.<br>
One of the API responses contains a redirect to a custom URL schema <code class="notranslate">app://</code> in the <code class="notranslate">Location</code> header</p>
<p dir="auto">Since I am not interested in my mocked API client in following the redirect (which would raise an InvalidSchema exception anyway), I have set <code class="notranslate">allow_redirects = False</code> on my session object. Although the redirect is not fired, it is still being resolved, causing an exception due to the missing url adapter.</p>
<h2 dir="auto">Expected Result</h2>
<p dir="auto">Since I'm not interested in the redirects being followed, it would make sense to not resolve the redirected request in the first place.</p>
<h2 dir="auto">How to reproduce</h2>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import requests
S = requests.session()
S.allow_redirects = False
destination = https://somesite.example # URL with a redirect to a non-standard protocol
S.get(url=destination)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">requests</span>
<span class="pl-v">S</span> <span class="pl-c1">=</span> <span class="pl-s1">requests</span>.<span class="pl-en">session</span>()
<span class="pl-v">S</span>.<span class="pl-s1">allow_redirects</span> <span class="pl-c1">=</span> <span class="pl-c1">False</span>
<span class="pl-s1">destination</span> <span class="pl-c1">=</span> <span class="pl-s1">https</span>:<span class="pl-c1">//</span><span class="pl-s1">somesite</span>.<span class="pl-s1">example</span> <span class="pl-c"># URL with a redirect to a non-standard protocol</span>
<span class="pl-v">S</span>.<span class="pl-en">get</span>(<span class="pl-s1">url</span><span class="pl-c1">=</span><span class="pl-s1">destination</span>)</pre></div>
<p dir="auto">Response headers (example):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="HTTP/1.1 302 Found
Server: Apache-Coyote
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
Location: app://api-test.somesite.example?q=example
Content-Language: en
Content-Length: 0
Date: Tue, 31 Oct 2017 12:39:17 GMT
Connection: close"><pre class="notranslate"><code class="notranslate">HTTP/1.1 302 Found
Server: Apache-Coyote
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
Location: app://api-test.somesite.example?q=example
Content-Language: en
Content-Length: 0
Date: Tue, 31 Oct 2017 12:39:17 GMT
Connection: close
</code></pre></div>
<p dir="auto">Exception thrown by code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "example.py", line 6, in <module>
S.get(url=destination)
in get
return self.request('GET', url, **kwargs)
File ~/.local/lib/python2.7/site-packages/requests/sessions.py", line 518, in request
resp = self.send(prep, **send_kwargs)
File "~/.local/lib/python2.7/site-packages/requests/sessions.py", line 661, in send
history = [resp for resp in gen] if allow_redirects else []
File "~/.local/lib/python2.7/site-packages/requests/sessions.py", line 214, in resolve_redirects
**adapter_kwargs
File "~/.local/lib/python2.7/site-packages/requests/sessions.py", line 633, in send
adapter = self.get_adapter(url=request.url)
File "~/.local/lib/python2.7/site-packages/requests/sessions.py", line 717, in get_adapter
raise InvalidSchema("No connection adapters were found for '%s'" % url)
requests.exceptions.InvalidSchema: No connection adapters were found for 'app://api-test.somesite.com?q=example'
"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "example.py", line 6, in <module>
S.get(url=destination)
in get
return self.request('GET', url, **kwargs)
File ~/.local/lib/python2.7/site-packages/requests/sessions.py", line 518, in request
resp = self.send(prep, **send_kwargs)
File "~/.local/lib/python2.7/site-packages/requests/sessions.py", line 661, in send
history = [resp for resp in gen] if allow_redirects else []
File "~/.local/lib/python2.7/site-packages/requests/sessions.py", line 214, in resolve_redirects
**adapter_kwargs
File "~/.local/lib/python2.7/site-packages/requests/sessions.py", line 633, in send
adapter = self.get_adapter(url=request.url)
File "~/.local/lib/python2.7/site-packages/requests/sessions.py", line 717, in get_adapter
raise InvalidSchema("No connection adapters were found for '%s'" % url)
requests.exceptions.InvalidSchema: No connection adapters were found for 'app://api-test.somesite.com?q=example'
</code></pre></div>
<h2 dir="auto">Actual Result</h2>
<p dir="auto">InvalidSchema exception</p> | 1 |
<h4 dir="auto">Challenge Name</h4>
<p dir="auto">All challenges are affected.</p>
<h4 dir="auto">Issue Description</h4>
<p dir="auto">When you finish a level and then start a new one and click a position in the editor, often the cursor will appear to be in the correct position but actually will be one line below when one types a character.</p>
<p dir="auto">Arrow key navigation also is not working as expected until said character is typed, as the cursor jumps to and from the next line at positions that do not match the natural line breaks of the text. This behavior can be seen by holding the left or right arrow keys after the above first click.</p>
<h4 dir="auto">Browser Information</h4>
<ul dir="auto">
<li>Browser Name: Firefox, Version: 47.0.1</li>
<li>Operating System: Windows 10</li>
<li>Desktop</li>
</ul> | <p dir="auto">In all the exercises, we the users are forced to press the enter key before writing any code.</p>
<hr>
<h4 dir="auto">Update:</h4>
<p dir="auto">We have locked the conversation temporarily on this thread to collaborators only, this has been resolved in staging, and will be live soon.</p>
<p dir="auto">The fix can be confirmed on the beta website.</p>
<p dir="auto">The workaround currently on production website is:<br>
Press the <kbd>Enter</kbd> key on the challenge editor and then proceed with the challenge.</p>
<p dir="auto">Apologies for the inconvenience meanwhile.</p>
<p dir="auto">Reach us in the chat room if you need any assistance.</p> | 1 |
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">What I am trying to do is to let the user pick an image or take one with the camera. After that I want him to see it in a new screen and let him write a description or something. However, the screen seems a bit off after the image_picker screen is closing, and the new one is pushing in from the bottom.</p>
<p dir="auto">My hypothesis is that flutter tries to calculate the top position for new pushed screen based on the free space it has on screen. When the image_picker screen is closing, it might be barely visible and when the new screen is coming in, it still takes the closing image_picker screen into account and sets the top position wrong.</p>
<p dir="auto">This is what it looks like:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://github.com/btastic/image_picker_repro/blob/master/2018-01-25_20h23_22.png?raw=true"><img src="https://github.com/btastic/image_picker_repro/blob/master/2018-01-25_20h23_22.png?raw=true" alt="alt text" title="Logo Title Text 1" style="max-width: 100%;"></a></p>
<p dir="auto">Feel free to clone this repro repository: <a href="https://github.com/btastic/image_picker_repro">https://github.com/btastic/image_picker_repro</a></p>
<p dir="auto">If you need anything else, please let me know.</p>
<h2 dir="auto">Logs</h2>
<p dir="auto"><code class="notranslate">Flutter debug run:</code> to the point where the issue happened.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
Built build\app\outputs\apk\debug\app-debug.apk (26.1MB).
I/FlutterActivityDelegate( 6225): onResume setting current activity to this
Syncing files to device Android SDK built for x86 64...
W/art ( 6225): Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
W/ResourceType( 6225): Invalid package identifier when getting bag for resource number 0x00000000
I/ViewConfigCompat( 6225): Could not find method getScaledScrollFactor() on ViewConfiguration
D/EGL_emulation( 6225): eglMakeCurrent: 0x7c5d95864320: ver 2 0 (tinfo 0x7c5d95824ac0)
W/Glide ( 6225): Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored
D/skia ( 6225): --- SkAndroidCodec::NewFromStream returned null
D/skia ( 6225): --- SkAndroidCodec::NewFromStream returned null
D/skia ( 6225): --- SkAndroidCodec::NewFromStream returned null
D/skia ( 6225): --- SkAndroidCodec::NewFromStream returned null
W/Glide ( 6225): Load failed for /storage/emulated/0/Pictures/Camera/IMG_20180124_2303541608499527.jpg with size [477x477]
W/Glide ( 6225): class com.bumptech.glide.load.engine.GlideException: Failed to load resource
W/Glide ( 6225): Cause (1 of 2): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{FileInputStream->Object->Drawable}, LOCAL
W/Glide ( 6225): Cause (1 of 3): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->GifDrawable->Drawable}
W/Glide ( 6225): Cause (2 of 3): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->Bitmap->Drawable}
W/Glide ( 6225): Cause (3 of 3): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->BitmapDrawable->Drawable}
W/Glide ( 6225): Cause (2 of 2): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{ParcelFileDescriptor->Object->Drawable}, LOCAL
W/Glide ( 6225): Cause (1 of 2): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{ParcelFileDescriptor->Bitmap->Drawable}
W/Glide ( 6225): Cause (2 of 2): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{ParcelFileDescriptor->BitmapDrawable->Drawable}
E/Glide ( 6225): class com.bumptech.glide.load.engine.GlideException: Failed to load resource
I/FlutterActivityDelegate( 6225): onResume setting current activity to this
I/flutter ( 6225): /storage/emulated/0/Pictures/Camera/IMG_20180124_2232171354909223.jpg
D/EGL_emulation( 6225): eglCreateContext: 0x7c5d91074280: maj 2 min 0 rcv 2
D/EGL_emulation( 6225): eglMakeCurrent: 0x7c5d91074280: ver 2 0 (tinfo 0x7c5d9cc6fe80)
D/EGL_emulation( 6225): eglMakeCurrent: 0x7c5d91074280: ver 2 0 (tinfo 0x7c5d9cc6ff60)
D/EGL_emulation( 6225): eglMakeCurrent: 0x7c5d95864320: ver 2 0 (tinfo 0x7c5d95824ac0)
D/EGL_emulation( 6225): eglMakeCurrent: 0x7c5d95864320: ver 2 0 (tinfo 0x7c5d95824ac0)
D/EGL_emulation( 6225): eglMakeCurrent: 0x7c5d95864320: ver 2 0 (tinfo 0x7c5d95824ac0)
D/OpenGLRenderer( 6225): endAllActiveAnimators on 0x7c5d7b963800 (RippleDrawable) with handle 0x7c5d7e1be680
Application finished."><pre lang="Launching" class="notranslate"><code class="notranslate">Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
Built build\app\outputs\apk\debug\app-debug.apk (26.1MB).
I/FlutterActivityDelegate( 6225): onResume setting current activity to this
Syncing files to device Android SDK built for x86 64...
W/art ( 6225): Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
W/ResourceType( 6225): Invalid package identifier when getting bag for resource number 0x00000000
I/ViewConfigCompat( 6225): Could not find method getScaledScrollFactor() on ViewConfiguration
D/EGL_emulation( 6225): eglMakeCurrent: 0x7c5d95864320: ver 2 0 (tinfo 0x7c5d95824ac0)
W/Glide ( 6225): Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored
D/skia ( 6225): --- SkAndroidCodec::NewFromStream returned null
D/skia ( 6225): --- SkAndroidCodec::NewFromStream returned null
D/skia ( 6225): --- SkAndroidCodec::NewFromStream returned null
D/skia ( 6225): --- SkAndroidCodec::NewFromStream returned null
W/Glide ( 6225): Load failed for /storage/emulated/0/Pictures/Camera/IMG_20180124_2303541608499527.jpg with size [477x477]
W/Glide ( 6225): class com.bumptech.glide.load.engine.GlideException: Failed to load resource
W/Glide ( 6225): Cause (1 of 2): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{FileInputStream->Object->Drawable}, LOCAL
W/Glide ( 6225): Cause (1 of 3): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->GifDrawable->Drawable}
W/Glide ( 6225): Cause (2 of 3): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->Bitmap->Drawable}
W/Glide ( 6225): Cause (3 of 3): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->BitmapDrawable->Drawable}
W/Glide ( 6225): Cause (2 of 2): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{ParcelFileDescriptor->Object->Drawable}, LOCAL
W/Glide ( 6225): Cause (1 of 2): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{ParcelFileDescriptor->Bitmap->Drawable}
W/Glide ( 6225): Cause (2 of 2): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{ParcelFileDescriptor->BitmapDrawable->Drawable}
E/Glide ( 6225): class com.bumptech.glide.load.engine.GlideException: Failed to load resource
I/FlutterActivityDelegate( 6225): onResume setting current activity to this
I/flutter ( 6225): /storage/emulated/0/Pictures/Camera/IMG_20180124_2232171354909223.jpg
D/EGL_emulation( 6225): eglCreateContext: 0x7c5d91074280: maj 2 min 0 rcv 2
D/EGL_emulation( 6225): eglMakeCurrent: 0x7c5d91074280: ver 2 0 (tinfo 0x7c5d9cc6fe80)
D/EGL_emulation( 6225): eglMakeCurrent: 0x7c5d91074280: ver 2 0 (tinfo 0x7c5d9cc6ff60)
D/EGL_emulation( 6225): eglMakeCurrent: 0x7c5d95864320: ver 2 0 (tinfo 0x7c5d95824ac0)
D/EGL_emulation( 6225): eglMakeCurrent: 0x7c5d95864320: ver 2 0 (tinfo 0x7c5d95824ac0)
D/EGL_emulation( 6225): eglMakeCurrent: 0x7c5d95864320: ver 2 0 (tinfo 0x7c5d95824ac0)
D/OpenGLRenderer( 6225): endAllActiveAnimators on 0x7c5d7b963800 (RippleDrawable) with handle 0x7c5d7e1be680
Application finished.
</code></pre></div>
<p dir="auto"><code class="notranslate">flutter analyze</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Analyzing C:\Users\bkons\AndroidStudioProjects\image_picker_repro...
No issues found!
Ran in 9.5s"><pre lang="C:\Users\bkons\AndroidStudioProjects\image_picker_repro>flutter" class="notranslate"><code class="notranslate">Analyzing C:\Users\bkons\AndroidStudioProjects\image_picker_repro...
No issues found!
Ran in 9.5s
</code></pre></div>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[√] Flutter (on Microsoft Windows [Version 10.0.16299.192], locale de-DE, channel master)
• Flutter version 0.0.21-pre.295 at C:\Users\bkons\Source\Repos\meddlr\flutter
• Framework revision 5ae770345a (2 days ago), 2018-01-23 13:46:14 -0800
• Engine revision 171d032f86
• Tools Dart version 2.0.0-dev.16.0
• Engine Dart version 2.0.0-edge.93d8c9fe2a2c22dc95ec85866af108cfab71ad06
[√] Android toolchain - develop for Android devices (Android SDK 27.0.1)
• Android SDK at C:\Users\bkons\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.1
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[√] Android Studio (version 3.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[√] Connected devices
• Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 7.1.1 (API 25) (emulator)"><pre lang="C:\Users\bkons\AndroidStudioProjects\image_picker_repro>flutter" class="notranslate"><code class="notranslate">[√] Flutter (on Microsoft Windows [Version 10.0.16299.192], locale de-DE, channel master)
• Flutter version 0.0.21-pre.295 at C:\Users\bkons\Source\Repos\meddlr\flutter
• Framework revision 5ae770345a (2 days ago), 2018-01-23 13:46:14 -0800
• Engine revision 171d032f86
• Tools Dart version 2.0.0-dev.16.0
• Engine Dart version 2.0.0-edge.93d8c9fe2a2c22dc95ec85866af108cfab71ad06
[√] Android toolchain - develop for Android devices (Android SDK 27.0.1)
• Android SDK at C:\Users\bkons\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.1
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[√] Android Studio (version 3.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[√] Connected devices
• Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 7.1.1 (API 25) (emulator)
</code></pre></div> | <p dir="auto">Right now I’m only using <code class="notranslate">Navigator.push(context, new MaterialPageRoute(...</code> I know there are some other options like the <code class="notranslate">routes</code> named parameter to <code class="notranslate">MaterialApp</code> constructor. What are the pros/cons to each approach? Which do you think we should take?</p> | 0 |
<ol dir="auto">
<li>Windows 10</li>
<li>Anaconda 5.1.0 (Python 3.6.4)</li>
<li><strong>NO GPU version</strong> (my laptop doesn't have GPU... Poor )</li>
<li><strong>MSVCP140.DLL</strong> already installed and setted in PATH , it's everywhere</li>
</ol>
<blockquote>
<blockquote>
<blockquote>
<p dir="auto">import tensorflow as tf<br>
Traceback (most recent call last):<br>
File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 14, in swig_import_helper<br>
return importlib.import_module(mname)<br>
File "C:\Anaconda3\envs\tensorflow\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: 动态链接库(DLL)初始化例程失败。</p>
</blockquote>
</blockquote>
</blockquote>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Anaconda3\envs\tensorflow\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:\Anaconda3\envs\tensorflow\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:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow_<em>init</em>_.py", line 24, in <br>
from tensorflow.python import * # pylint: disable=redefined-builtin<br>
File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python_<em>init</em>_.py", line 49, in <br>
from tensorflow.python import pywrap_tensorflow<br>
File "C:\Anaconda3\envs\tensorflow\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:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 14, in swig_import_helper<br>
return importlib.import_module(mname)<br>
File "C:\Anaconda3\envs\tensorflow\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: 动态链接库(DLL)初始化例程失败。</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:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Anaconda3\envs\tensorflow\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:\Anaconda3\envs\tensorflow\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">clone.app doesnt work Kindly check<br>
url:<a href="http://www.freecodecamp.com/challenges/waypoint-clone-an-element-using-jquery?solution=fccss%0A%20%20%24(document).ready(function()%20%7B%0A%20%20%20%20%24(%22%23target1%22).css(%22color%22%2C%20%22red%22)%3B%0A%20%20%20%20%24(%22%23target1%22).prop(%22disabled%22%2C%20true)%3B%0A%20%20%20%20%24(%22%23target4%22).remove()%3B%0A%20%20%20%20%24(%22%23target2%22).appendTo(%22%23right-well%22)%3B%0A%20%20%20%20%24(%22%23target5%22).clone().appendTo(%22%23left-well%22)%3B%0A%20%20%20%20%0A%20%20%7D)%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">http://www.freecodecamp.com/challenges/waypoint-clone-an-element-using-jquery?solution=fccss%0A%20%20%24(document).ready(function()%20%7B%0A%20%20%20%20%24(%22%23target1%22).css(%22color%22%2C%20%22red%22)%3B%0A%20%20%20%20%24(%22%23target1%22).prop(%22disabled%22%2C%20true)%3B%0A%20%20%20%20%24(%22%23target4%22).remove()%3B%0A%20%20%20%20%24(%22%23target2%22).appendTo(%22%23right-well%22)%3B%0A%20%20%20%20%24(%22%23target5%22).clone().appendTo(%22%23left-well%22)%3B%0A%20%20%20%20%0A%20%20%7D)%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</a></p> | <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">Environment</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18363.900]
PowerToys version: v19.1
PowerToy module for which you are reporting the bug (if applicable): FancyZones"><pre class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18363.900]
PowerToys version: v19.1
PowerToy module for which you are reporting the bug (if applicable): FancyZones
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Move the taskbar to the top of the screen screen and set up FancyZones.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">An option in fancyzones to select the taskbar location</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">FancyZones is not accounting for the fact that i have my taskbar at the top of my screen. In v18 this was not an issue but since i updated to v19 (and then to v19.1) all my windows are moved up to account for the taskbar to be at the bottom whereas mine is at the top</p>
<h1 dir="auto">Screenshots</h1>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/68052098/87013627-d8014700-c1c2-11ea-8426-47c83183ece2.png"><img src="https://user-images.githubusercontent.com/68052098/87013627-d8014700-c1c2-11ea-8426-47c83183ece2.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">(Very new to programming so sorry if there isn't as much detail as need but hope you see my issue)</p> | <h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18363.900
PowerToys version: 0.19.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones
Monitor(s): 2 side-by-side 4K monitors (one set to display scaling 100% and the other to 125%)"><pre class="notranslate"><code class="notranslate">Windows build number: 10.0.18363.900
PowerToys version: 0.19.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones
Monitor(s): 2 side-by-side 4K monitors (one set to display scaling 100% and the other to 125%)
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ul dir="auto">
<li>Set Windows taskbar location to <em>Top</em></li>
<li>Snap a window to a FancyZone (2 priority grid zones in my case)</li>
</ul>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">The window should snap to the <em>full-height</em> of the FancyZone <em>below</em> the task bar</p>
<h1 dir="auto">Actual behavior</h1>
<ul dir="auto">
<li>The window snaps <em>behind</em> the task bar (as shown with the green arrows)</li>
<li>The window leaves a <em>gap</em> underneath each window (as shown with the red arrows), which exposes the desktop background underneath</li>
</ul>
<h1 dir="auto">Screenshots</h1>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/25905330/86352863-c110a100-bc66-11ea-95ff-f5a876357ef6.png"><img src="https://user-images.githubusercontent.com/25905330/86352863-c110a100-bc66-11ea-95ff-f5a876357ef6.png" alt="image" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">Currently, the example 'with-typescript' is using an ugly 'concurrently' to run asynchronously with next.js.<br>
I tried to modify the webpack loaders but no hope, next.js required files be in filesystem/.next folder, not memory. Now I can't use my lovely CoffeeScript for API construction<g-emoji class="g-emoji" alias="confounded" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f616.png">😖</g-emoji>. I have to launch external project for that.</p> | <p dir="auto">As mentioned in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="202752614" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/867" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/867/hovercard?comment_id=277801396&comment_type=issue_comment" href="https://github.com/vercel/next.js/issues/867#issuecomment-277801396">#867 (comment)</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="198372953" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/627" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/627/hovercard?comment_id=271184919&comment_type=issue_comment" href="https://github.com/vercel/next.js/issues/627#issuecomment-271184919">#627 (comment)</a>, it sounds possible to use Webpack universally. There's e.g the <a href="https://github.com/halt-hammerzeit/universal-webpack"><code class="notranslate">universal-webpack</code></a> package which might help, and this <a href="http://jlongster.com/Backend-Apps-with-Webpack--Part-I" rel="nofollow">article</a> gives some tips and an example.</p>
<p dir="auto">If it can be done efficiently, having a universal Webpack sounds like a great way to reduce the complexity of the Next.js codebase and would allow users to load any Webpack plugin they need?</p>
<p dir="auto">What's Next.js' team's opinion on this, does it make sense and should it be investigated?</p> | 1 |
<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>no</td>
</tr>
<tr>
<td>Feature request?</td>
<td>yes</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>yes</td>
</tr>
<tr>
<td>Symfony version</td>
<td>4.1</td>
</tr>
</tbody>
</table>
<p dir="auto">Still being on 3.3, my first preparation in my application is to change everything to autowiring. Now that we have autoconfigure and resource loading, it's a lot easier to get things started with ~1900 services in my app.</p>
<p dir="auto">However, there are some obstacles I'm hitting that still require me to define a lot of services in my config. While we can currently already use <a href="https://symfony.com/blog/new-in-symfony-3-4-simpler-injection-of-tagged-services" rel="nofollow"><code class="notranslate">!tagged</code></a> to avoid using compiler passes in 3.4, I'm still required to configure a priority when this is needed. In some cases, I have ~20 service definitions that I need to sort and inject into another.</p>
<p dir="auto">Now my autowire.yml looks something like this:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="services:
#...
App\Option\One:
tags:
- { name: app.option, priority: 10 }
- { name: features.tag, tag: some_feature_name }
App\Option\Two: { tags: [{name: app.option, priority: 15}] }
App\Option\Three: { tags: [{name: app.option, priority: 100}] }
App\Option\Four: { tags: [{name: app.option, priority: -10}] }
App\Feature\EnvironmentResolver:
tags: [{ name: features.resolver, config-key: environment }]
#... "><pre class="notranslate"><span class="pl-ent">services</span>:
<span class="pl-c"><span class="pl-c">#</span>...</span>
<span class="pl-ent">App\Option\One</span>:
<span class="pl-ent">tags</span>:
- <span class="pl-s">{ name: app.option, priority: 10 }</span>
- <span class="pl-s">{ name: features.tag, tag: some_feature_name }</span>
<span class="pl-ent">App\Option\Two</span>: <span class="pl-s">{ tags: [{name: app.option, priority: 15}] }</span>
<span class="pl-ent">App\Option\Three</span>: <span class="pl-s">{ tags: [{name: app.option, priority: 100}] }</span>
<span class="pl-ent">App\Option\Four</span>: <span class="pl-s">{ tags: [{name: app.option, priority: -10}] }</span>
<span class="pl-ent">App\Feature\EnvironmentResolver</span>:
<span class="pl-ent">tags</span>: <span class="pl-s">[{ name: features.resolver, config-key: environment }]</span>
<span class="pl-c"><span class="pl-c">#</span>... </span></pre></div>
<p dir="auto">Ideally I'd <em>only</em> define the service definition that collects these options, so I've been wondering if a tag subscriber would be the solution. Similar to event listeners vs event subscribers, this would allow a class to subscribe to specific tags, which can be picked up by autoconfigure:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface TagSubscriberInterface
{
public static function getTags(): array;
}
final class One implements OptionInterface, TagSubscriberInterface
{
// ...
public static function getTags()
{
// multiple tags
return [
['name' => 'app.option', 'priority' => 10],
['name' => 'features.tag', 'tag' => 'some_feature_name'],
];
// different style in case of single tag
return ['name' => 'app.option', 'priority' => 10];
}
}
final class EnvironmentResolver implements FeatureResolverInterface, TagSubscriberInterface
{
// ...
public static function getTags()
{
return ['name' => 'features.resolver', 'config-key' => 'environment'];
}
}"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-v">TagSubscriberInterface</span>
{
<span class="pl-k">public</span> <span class="pl-k">static</span> <span class="pl-k">function</span> <span class="pl-en">getTags</span>(): <span class="pl-smi">array</span>;
}
<span class="pl-k">final</span> <span class="pl-k">class</span> <span class="pl-v">One</span> <span class="pl-k">implements</span> <span class="pl-v">OptionInterface</span>, <span class="pl-v">TagSubscriberInterface</span>
{
<span class="pl-c">// ...</span>
<span class="pl-k">public</span> <span class="pl-k">static</span> <span class="pl-k">function</span> <span class="pl-en">getTags</span>()
{
<span class="pl-c">// multiple tags</span>
<span class="pl-k">return</span> [
[<span class="pl-s">'name'</span> => <span class="pl-s">'app.option'</span>, <span class="pl-s">'priority'</span> => <span class="pl-c1">10</span>],
[<span class="pl-s">'name'</span> => <span class="pl-s">'features.tag'</span>, <span class="pl-s">'tag'</span> => <span class="pl-s">'some_feature_name'</span>],
];
<span class="pl-c">// different style in case of single tag</span>
<span class="pl-k">return</span> [<span class="pl-s">'name'</span> => <span class="pl-s">'app.option'</span>, <span class="pl-s">'priority'</span> => <span class="pl-c1">10</span>];
}
}
<span class="pl-k">final</span> <span class="pl-k">class</span> <span class="pl-v">EnvironmentResolver</span> <span class="pl-k">implements</span> <span class="pl-v">FeatureResolverInterface</span>, <span class="pl-v">TagSubscriberInterface</span>
{
<span class="pl-c">// ...</span>
<span class="pl-k">public</span> <span class="pl-k">static</span> <span class="pl-k">function</span> <span class="pl-en">getTags</span>()
{
<span class="pl-k">return</span> [<span class="pl-s">'name'</span> => <span class="pl-s">'features.resolver'</span>, <span class="pl-s">'config-key'</span> => <span class="pl-s">'environment'</span>];
}
}</pre></div>
<p dir="auto">WDYT?</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Simperfit/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Simperfit">@Simperfit</a> <g-emoji class="g-emoji" alias="smile" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png">😄</g-emoji><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1754678/33596935-fb843a80-d99d-11e7-84d4-564609be1054.jpg"><img src="https://user-images.githubusercontent.com/1754678/33596935-fb843a80-d99d-11e7-84d4-564609be1054.jpg" alt="img_20171205_091405" style="max-width: 100%;"></a></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>yes</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.1.8</td>
</tr>
</tbody>
</table>
<p dir="auto">On our application we're using in some places the twig namespace syntax (<code class="notranslate">@namespace/folder1/template.html.twig</code>) and in templates that uses <code class="notranslate">embed</code> twig uses the SF <a href="https://github.com/symfony/symfony/blob/ae37418e617a6e063482d931d22b1f67b23785f9/src/Symfony/Bundle/FrameworkBundle/Templating/TemplateReference.php#L55"><code class="notranslate">TemplateReference</code></a> to get the logical name which leads to the SF syntax (<code class="notranslate">Bundle:folder1:template.html.twig</code>).</p>
<p dir="auto">What happens is that twig loader loads <code class="notranslate">@namespace/folder1/template.html.twig</code> but fails on <code class="notranslate">Bundle:folder1:template.html.twig</code> then SF filesystem loader is used as fallback. The problem is that twig loader uses <code class="notranslate">realpath()</code> since <code class="notranslate">v1.27</code> and SF loader doesn't.</p>
<p dir="auto">I've solved that on our application by overriding SF loader and using <code class="notranslate">realpath()</code> as well but although it works fine I'm not 100% sure if that's the way to go (that's why I didn't send a PR):</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="use Symfony\Bundle\TwigBundle\Loader\FilesystemLoader;
final class TemplateLoader extends FilesystemLoader
{
protected function findTemplate($template, $throw = true)
{
$file = parent::findTemplate($template, $throw);
if ($absolutePath = realpath($file)) {
$file = $absolutePath;
}
return $this->cache[(string) $template] = $file;
}
}"><pre class="notranslate"><span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Bundle</span>\<span class="pl-v">TwigBundle</span>\<span class="pl-v">Loader</span>\<span class="pl-v">FilesystemLoader</span>;
<span class="pl-k">final</span> <span class="pl-k">class</span> <span class="pl-v">TemplateLoader</span> <span class="pl-k">extends</span> <span class="pl-v">FilesystemLoader</span>
{
<span class="pl-k">protected</span> <span class="pl-k">function</span> <span class="pl-en">findTemplate</span>(<span class="pl-s1"><span class="pl-c1">$</span>template</span>, <span class="pl-s1"><span class="pl-c1">$</span>throw</span> = <span class="pl-c1">true</span>)
{
<span class="pl-s1"><span class="pl-c1">$</span>file</span> = <span class="pl-smi">parent</span>::<span class="pl-en">findTemplate</span>(<span class="pl-s1"><span class="pl-c1">$</span>template</span>, <span class="pl-s1"><span class="pl-c1">$</span>throw</span>);
<span class="pl-k">if</span> (<span class="pl-s1"><span class="pl-c1">$</span>absolutePath</span> = realpath(<span class="pl-s1"><span class="pl-c1">$</span>file</span>)) {
<span class="pl-s1"><span class="pl-c1">$</span>file</span> = <span class="pl-s1"><span class="pl-c1">$</span>absolutePath</span>;
}
<span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">cache</span>[(<span class="pl-smi">string</span>) <span class="pl-s1"><span class="pl-c1">$</span>template</span>] = <span class="pl-s1"><span class="pl-c1">$</span>file</span>;
}
}</pre></div> | 0 |
<p dir="auto">For the query refactoring we started testing equals()/hashCode() contracts for the query builders in a central abstract <a href="https://github.com/elastic/elasticsearch/blob/master/test/framework/src/main/java/org/elasticsearch/test/AbstractQueryTestCase.java#L725">base test</a>, assuming the test can use some helper methods to e.g. make deep copies of objects via serialization. We have similar tests e.g. in <code class="notranslate">BaseAggregationTestCase</code> and for several other parts of the search request (e.g. the SuggestBuilderTests via the abstract WritableTestCase, AbstractShapeBuilderTestCase). We also started doing those kind of tests in a helper class now in the rank_eval module, which triggered the <a href="https://github.com/elastic/elasticsearch/pull/20497#discussion_r79830341" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/20497/hovercard">discussion</a> if we should make an effort to centralize this.</p>
<p dir="auto">While putting this kind of basic equals/hashCode tests into abstract superclasses works for test of similar classes (e.g. all queries), it is a bit tricky to generalize this easily and makes the test inheritance structure hard and tests sometimes difficult to read. On the other hand, having this kind of tests clearly documented in some central test utility class would make reusing it more straight forward and avoid the duplication we have today. I'm leaning towards not inheriting this kind of testing code but rather have some utility function somewhere that e.g. takes the original object, some function that returns a deep copy and a function that returns a mutation (an instance different in only one aspect) as arguments and does all the assertions necessary. This way it can be used by different tests without the burden of having to inherit various levels of abstract base test classes.</p> | <p dir="auto">Please, see <a href="https://discuss.elastic.co/t/phrase-highlighting-works-incorrectly-on-es-2-1-1-and-2-2-0/39971" rel="nofollow">https://discuss.elastic.co/t/phrase-highlighting-works-incorrectly-on-es-2-1-1-and-2-2-0/39971</a></p> | 0 |
<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></td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.3.5</td>
</tr>
</tbody>
</table>
<p dir="auto">For the admin interface of eZ Platform 2.0, we are developing an application where the navigation happens with AJAX request. After an AJAX request corresponding to the navigation, the following is code is run:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Sfjs.load(
document.querySelector('.sf-toolbar').id,
`/_wdt/${debugTokenFromHttpHeader}`
);"><pre class="notranslate"><span class="pl-v">Sfjs</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">(</span>
<span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">querySelector</span><span class="pl-kos">(</span><span class="pl-s">'.sf-toolbar'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">id</span><span class="pl-kos">,</span>
<span class="pl-s">`/_wdt/<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">debugTokenFromHttpHeader</span><span class="pl-kos">}</span></span>`</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">so that the toolbar is updated as if the full page was generated (implementation of this feature request <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="99156809" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/15456" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/15456/hovercard" href="https://github.com/symfony/symfony/issues/15456">#15456</a>)</p>
<p dir="auto">Somehow, this is working (the toolbar is updated for instance the Route name, the timing or the memory usage are updated) but after calling <code class="notranslate">load</code> the toolbar is buggy in the following ways:</p>
<ol dir="auto">
<li>if it's was minimized, it becomes maximized</li>
<li>it's impossible to minimized it again, clicking on <em>Close Toolbar</em> link has no effect</li>
<li>if the page does others AJAX requests, the AJAX requests counter is correctly updated, but it keeps on blinking even after the end of those requests</li>
</ol> | <p dir="auto">If, for example, a project consists of the following commands:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="my-website:admin:do-something
my-website:admin:do-something-else
my-website:data:blah
my-website:data:blah-blah"><pre class="notranslate"><code class="notranslate">my-website:admin:do-something
my-website:admin:do-something-else
my-website:data:blah
my-website:data:blah-blah
</code></pre></div>
<p dir="auto">calling <code class="notranslate">app/console list my-website</code> causes an exception:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" The namespace "my-website" is ambiguous (my-website:admin, my-website:data)."><pre class="notranslate"><code class="notranslate"> The namespace "my-website" is ambiguous (my-website:admin, my-website:data).
</code></pre></div>
<p dir="auto">This does not look like what would be expected. Adding a command into <code class="notranslate">my-website</code> namespace directly (e.g. <code class="notranslate">my-website:test</code>) helps to avoid the issue – command listing starts working fine.</p>
<p dir="auto">Perhaps, the problem is in <a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Console/Application.php#L473">Symfony\Component\Console\Application::getNamespaces()</a> – this method registers only one namespace per command, so parent namespaces remain unknown unless they contain any commands directly.</p> | 0 |
<p dir="auto">Hello,</p>
<p dir="auto">I am trying to use the tooltips on all my links, including the navbar. But as the navbar is fixed on top, I had to use the bottom position for the first rank links.</p>
<p dir="auto">The problem is that the tooltip-arrow was not above the tooltip but a bit below, almost behind for the first links and way below for the links of the dropdown list. I put the tooltip back to top for the dropdownlists but I can get the arrow at the right position for the first links.</p>
<p dir="auto">I found out that the .tooltip-arrow div got some css style="top:XXXpx;" (XXX depending of the link ranking)<br>
Just now, I managed to force the css back to "top:0px" using the 'shown.bs.tooltip' event (nothing happened with the 'show.bs.tooltip' event) so that the arrow shows at the wrong position a few moments before going back in place... you can see the result here : <a href="http://www.theblacksmithshouse.be" rel="nofollow">www.theblacksmithshouse.be</a></p>
<p dir="auto">Two questions :</p>
<ul dir="auto">
<li>why does nothing happen with the 'show.bs.tooltip' ?</li>
<li>who's messing with that 'top' position ??</li>
</ul>
<p dir="auto">Thanks for your help</p>
<p dir="auto">OC</p> | <p dir="auto">When a tooltip/popover would appear slightly offscreen to the right or left, it's correctly shifted slightly however the arrow ends up appearing in the middle of the popover, rather than at the edge of it like it should.</p>
<p dir="auto">In this case, <code class="notranslate">getViewportAdjustedDelta</code> always returns <code class="notranslate">{top: 0, left: 0}</code> because <code class="notranslate">getCalculatedOffset</code> already made the correction to fit the tip on the page, however there are subsequent "delta.left" tests in <code class="notranslate">applyPlacement</code> to deduce left/right vs top/bottom positioning that will break in top/bottom mode.</p>
<p dir="auto">A fix would be to change the "delta.left" tests with a <code class="notranslate">horizShift</code> test, where <code class="notranslate">horizShift</code> is defined as:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var horizShift = !/right|left/.test(placement);"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">horizShift</span> <span class="pl-c1">=</span> <span class="pl-c1">!</span><span class="pl-pds"><span class="pl-c1">/</span>right<span class="pl-c1">|</span>left<span class="pl-c1">/</span></span><span class="pl-kos">.</span><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s1">placement</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">e.g.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var arrowPosition = horizShift ? 'left' : 'top'"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">arrowPosition</span> <span class="pl-c1">=</span> <span class="pl-s1">horizShift</span> ? <span class="pl-s">'left'</span> : <span class="pl-s">'top'</span></pre></div> | 1 |
<h4 dir="auto">Describe the workflow you want to enable</h4>
<p dir="auto">I have been searching around for a Scikit-learn package which calculates the specificity score for multiclass problems but I can't seem to find one.</p>
<p dir="auto">Would be helpful to have a package which calculates the specificity score, in particular for multiclass problems.</p>
<p dir="auto">Would be helpful to also have a scorer call for the specificity score so that the scorer call could be used in other functions like <code class="notranslate">cross_val_score()</code> or <code class="notranslate">GridSearchCV()</code>. See here: <a href="https://scikit-learn.org/stable/modules/model_evaluation.html" rel="nofollow">https://scikit-learn.org/stable/modules/model_evaluation.html</a></p>
<h4 dir="auto">Additional context</h4>
<p dir="auto">If Scikit-learn decided not to have a package to calculate the specificity score for multiclass problems, is there a reason why this was omitted?</p>
<p dir="auto">Alternatively, if I really need to calculate the specificity score for multiclass problems at this point in time, what is the best way in doing so, in particular calculating the specificity score (for multiclass problems) together using <code class="notranslate">GridSearchCV()</code>.</p> | <p dir="auto">It would be nice if these rates would be included in the metrics module:</p>
<ul dir="auto">
<li>False positive rate (Fall-out)</li>
<li>False negative rate (Miss rate)</li>
<li>True negative rate (specificity)</li>
</ul> | 1 |
<p dir="auto">The ec2.py script now creates host groups based on instance tags, but I think there might be two issues.</p>
<ol dir="auto">
<li>The order of your inventory file needs to go:</li>
</ol>
<p dir="auto">non-tag groups<br>
tag groups</p>
<p dir="auto">for the tag groups to work. For example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[local]
127.0.0.1
[eh_web]
x.x.x.x
[tag_Class_web]
x.x.x.x"><pre class="notranslate"><code class="notranslate">[local]
127.0.0.1
[eh_web]
x.x.x.x
[tag_Class_web]
x.x.x.x
</code></pre></div>
<p dir="auto">Is valid where x.x.x.x is a static IP. But:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[local]
127.0.0.1
[tag_Class_web]
x.x.x.x
[eh_web]
x.x.x.x"><pre class="notranslate"><code class="notranslate">[local]
127.0.0.1
[tag_Class_web]
x.x.x.x
[eh_web]
x.x.x.x
</code></pre></div>
<p dir="auto">Only runs plays on x.x.x.x if you use the tag_Class_web group.</p>
<ol dir="auto">
<li>I'm not sure this is a bug, but I would imagine the hostgroup should be allowed to be empty in the inventory file. Should this not work? Neither this format nor leaving the host group out entirely causes the EC2.py script to run.</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[local]
127.0.0.1
[tag_Class_web]
[eh_web]
x.x.x.x"><pre class="notranslate"><code class="notranslate">[local]
127.0.0.1
[tag_Class_web]
[eh_web]
x.x.x.x
</code></pre></div> | <p dir="auto">Since 1.4 ansible does not deduplicate hosts coming from multiple sources, which causes tasks to run multiple times on the same host in a single play.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ tail test/* simple.yml
==> test/hosts1 <==
[group1]
localhost
==> test/hosts2 <==
[group2]
localhost
==> simple.yml <==
- hosts: localhost
gather_facts: no
$ (cd ~/opt/ansible ; git checkout v1.3.4)
Previous HEAD position was 2a58c2b... Update files for 1.4 release
HEAD is now at 8e3ba1f... Version bump for 1.3.4
$ ansible --version ; ansible-playbook -i test simple.yml --list-host
ansible 1.3.4
playbook: simple.yml
play #1 (localhost): host count=1
localhost
$ (cd ~/opt/ansible ; git checkout v1.4.0)
Previous HEAD position was 8e3ba1f... Version bump for 1.3.4
HEAD is now at 2a58c2b... Update files for 1.4 release
$ ansible --version ; ansible-playbook -i test simple.yml --list-host
ansible 1.4
playbook: simple.yml
play #1 (localhost): host count=2
localhost
localhost"><pre class="notranslate"><code class="notranslate">$ tail test/* simple.yml
==> test/hosts1 <==
[group1]
localhost
==> test/hosts2 <==
[group2]
localhost
==> simple.yml <==
- hosts: localhost
gather_facts: no
$ (cd ~/opt/ansible ; git checkout v1.3.4)
Previous HEAD position was 2a58c2b... Update files for 1.4 release
HEAD is now at 8e3ba1f... Version bump for 1.3.4
$ ansible --version ; ansible-playbook -i test simple.yml --list-host
ansible 1.3.4
playbook: simple.yml
play #1 (localhost): host count=1
localhost
$ (cd ~/opt/ansible ; git checkout v1.4.0)
Previous HEAD position was 8e3ba1f... Version bump for 1.3.4
HEAD is now at 2a58c2b... Update files for 1.4 release
$ ansible --version ; ansible-playbook -i test simple.yml --list-host
ansible 1.4
playbook: simple.yml
play #1 (localhost): host count=2
localhost
localhost
</code></pre></div> | 1 |
<p dir="auto"><strong>Apache Airflow version</strong>: 1.10.12<br>
<strong>Kubernetes version</strong>: 1.18.6</p>
<p dir="auto"><strong>What happened</strong>:<br>
Airflow is running within a k8s with <strong>KubernetesExecutor</strong><br>
When trying to run task on demand within a DAG (f.e. "Ignore all deps") receiving following banner</p>
<blockquote>
<p dir="auto">Only works with the Celery or Kubernetes executors, sorry</p>
</blockquote>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
Task should be executed</p>
<p dir="auto"><strong>How to reproduce it</strong>:<br>
see above</p> | <p dir="auto"><strong>Apache Airflow version</strong>: 1.10.12</p>
<p dir="auto"><strong>Kubernetes version</strong> (if you are using kubernetes) (use kubectl version): v1.16.13-gke.401</p>
<p dir="auto"><strong>Environment</strong>: AWS EKS</p>
<ul dir="auto">
<li>Cloud provider or hardware configuration:</li>
<li>OS (e.g. from /etc/os-release):</li>
<li>Kernel (e.g. uname -a):</li>
<li>Install tools:</li>
<li>Others:**</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">Hi Airflow community <g-emoji class="g-emoji" alias="hand" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/270b.png">✋</g-emoji> I have detected bug on Airflow webserver. I have deployed Airflow cluster that uses Kubernetes executor, runs on production AWS EKS cluster. All configurations are correct and runs successfully tasks on DAGs. But when I want to run specific task on DAG, that throws error like that:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5066703/99072345-e7572d80-25c4-11eb-994c-d0081d79c715.png"><img src="https://user-images.githubusercontent.com/5066703/99072345-e7572d80-25c4-11eb-994c-d0081d79c715.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">But, I have checked my KubernetesExecutor configurations all of them are correct. So, I have digged error on source code of Airflow webserver at tag 1.10.12 which I have deployed version of Airflow. And found that some import errors are ignored for KubernetesExecutor on file <a href="https://github.com/apache/airflow/blob/1.10.12/airflow/www/views.py">https://github.com/apache/airflow/blob/1.10.12/airflow/www/views.py</a> at line 1152</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="executor = ExecutorLoader.get_default_executor()
valid_celery_config = False
valid_kubernetes_config = False
try:
from airflow.executors.celery_executor import CeleryExecutor # noqa
valid_celery_config = isinstance(executor, CeleryExecutor)
except ImportError:
pass
try:
from airflow.contrib.executors.kubernetes_executor import KubernetesExecutor # noqa
valid_kubernetes_config = isinstance(executor, KubernetesExecutor)
except ImportError:
pass
if not valid_celery_config and not valid_kubernetes_config:
flash("Only works with the Celery or Kubernetes executors, sorry", "error")
return redirect(origin)"><pre class="notranslate"><span class="pl-s1">executor</span> <span class="pl-c1">=</span> <span class="pl-v">ExecutorLoader</span>.<span class="pl-en">get_default_executor</span>()
<span class="pl-s1">valid_celery_config</span> <span class="pl-c1">=</span> <span class="pl-c1">False</span>
<span class="pl-s1">valid_kubernetes_config</span> <span class="pl-c1">=</span> <span class="pl-c1">False</span>
<span class="pl-k">try</span>:
<span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">executors</span>.<span class="pl-s1">celery_executor</span> <span class="pl-k">import</span> <span class="pl-v">CeleryExecutor</span> <span class="pl-c"># noqa</span>
<span class="pl-s1">valid_celery_config</span> <span class="pl-c1">=</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">executor</span>, <span class="pl-v">CeleryExecutor</span>)
<span class="pl-k">except</span> <span class="pl-v">ImportError</span>:
<span class="pl-k">pass</span>
<span class="pl-k">try</span>:
<span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">contrib</span>.<span class="pl-s1">executors</span>.<span class="pl-s1">kubernetes_executor</span> <span class="pl-k">import</span> <span class="pl-v">KubernetesExecutor</span> <span class="pl-c"># noqa</span>
<span class="pl-s1">valid_kubernetes_config</span> <span class="pl-c1">=</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">executor</span>, <span class="pl-v">KubernetesExecutor</span>)
<span class="pl-k">except</span> <span class="pl-v">ImportError</span>:
<span class="pl-k">pass</span>
<span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-s1">valid_celery_config</span> <span class="pl-c1">and</span> <span class="pl-c1">not</span> <span class="pl-s1">valid_kubernetes_config</span>:
<span class="pl-en">flash</span>(<span class="pl-s">"Only works with the Celery or Kubernetes executors, sorry"</span>, <span class="pl-s">"error"</span>)
<span class="pl-k">return</span> <span class="pl-en">redirect</span>(<span class="pl-s1">origin</span>)</pre></div>
<p dir="auto">In there, bug in this code snippet</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="try:
from airflow.contrib.executors.kubernetes_executor import KubernetesExecutor # BUG IS HERE !!!
valid_kubernetes_config = isinstance(executor, KubernetesExecutor)
except ImportError:
pass"><pre class="notranslate"><span class="pl-k">try</span>:
<span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">contrib</span>.<span class="pl-s1">executors</span>.<span class="pl-s1">kubernetes_executor</span> <span class="pl-k">import</span> <span class="pl-v">KubernetesExecutor</span> <span class="pl-c"># BUG IS HERE !!!</span>
<span class="pl-s1">valid_kubernetes_config</span> <span class="pl-c1">=</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">executor</span>, <span class="pl-v">KubernetesExecutor</span>)
<span class="pl-k">except</span> <span class="pl-v">ImportError</span>:
<span class="pl-k">pass</span></pre></div>
<p dir="auto">Import statement raises error KubernetesExecutor not found in this module because when you look that module at tag 1.10.12 <a href="https://github.com/apache/airflow/blob/1.10.12/airflow/contrib/executors/kubernetes_executor.py">https://github.com/apache/airflow/blob/1.10.12/airflow/contrib/executors/kubernetes_executor.py</a>, there is no KubernetesExecutor class, only includes kubernetes_executor module which it is KubernetesExecutor's location. But when you use that you need to change the code like that:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="try:
from airflow.contrib.executors.kubernetes_executor import kubernetes_executor
valid_kubernetes_config = isinstance(executor, kubernetes_executor.KubernetesExecutor)
except ImportError:
pass"><pre class="notranslate"><span class="pl-k">try</span>:
<span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">contrib</span>.<span class="pl-s1">executors</span>.<span class="pl-s1">kubernetes_executor</span> <span class="pl-k">import</span> <span class="pl-s1">kubernetes_executor</span>
<span class="pl-s1">valid_kubernetes_config</span> <span class="pl-c1">=</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">executor</span>, <span class="pl-s1">kubernetes_executor</span>.<span class="pl-v">KubernetesExecutor</span>)
<span class="pl-k">except</span> <span class="pl-v">ImportError</span>:
<span class="pl-k">pass</span></pre></div>
<p dir="auto">or:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="try:
from airflow.executors.kubernetes_executor import KubernetesExecutor
valid_kubernetes_config = isinstance(executor, KubernetesExecutor)
except ImportError:
pass"><pre class="notranslate"><span class="pl-k">try</span>:
<span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">executors</span>.<span class="pl-s1">kubernetes_executor</span> <span class="pl-k">import</span> <span class="pl-v">KubernetesExecutor</span>
<span class="pl-s1">valid_kubernetes_config</span> <span class="pl-c1">=</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">executor</span>, <span class="pl-v">KubernetesExecutor</span>)
<span class="pl-k">except</span> <span class="pl-v">ImportError</span>:
<span class="pl-k">pass</span></pre></div>
<p dir="auto"><strong>What you expected:</strong></p>
<p dir="auto">Runs successfully single task with KubernetesExecutor. This error block user to run single task with KubernetesExecutor without run whole DAG.</p>
<p dir="auto">Thanks, have a nice day <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji> <g-emoji class="g-emoji" alias="smile" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png">😄</g-emoji></p> | 1 |
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br>
Bug</p>
<p dir="auto"><strong>What is the current behavior?</strong><br>
Disabled radio button (and checkbox) fires onChange event from double click in IE11</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via <a href="https://jsfiddle.net" rel="nofollow">https://jsfiddle.net</a> or similar.</strong><br>
<a href="http://jsfiddle.net/gttafz9t/2/" rel="nofollow">http://jsfiddle.net/gttafz9t/2/</a></p>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
Disabled radio button (and checkbox) doesn't fire onChange event from double click in IE11</p>
<p dir="auto"><strong>Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?</strong><br>
React 15.4.2, IE11 / Windows 8.1</p>
<p dir="auto">Duplicate of:<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="96451652" data-permission-text="Title is private" data-url="https://github.com/facebook/react/issues/4457" data-hovercard-type="issue" data-hovercard-url="/facebook/react/issues/4457/hovercard" href="https://github.com/facebook/react/issues/4457">#4457</a></p> | <p dir="auto">React version: Latest</p>
<h2 dir="auto">Steps To Reproduce</h2>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import * as hooks from "bundle-o-hooks";
function MyComponent({x}) {
if (x > 1) {
const something = hooks.useAHook(); // not flagged
}
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">hooks</span> <span class="pl-k">from</span> <span class="pl-s">"bundle-o-hooks"</span><span class="pl-kos">;</span>
<span class="pl-k">function</span> <span class="pl-v">MyComponent</span><span class="pl-kos">(</span><span class="pl-kos">{</span>x<span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">x</span> <span class="pl-c1">></span> <span class="pl-c1">1</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">something</span> <span class="pl-c1">=</span> <span class="pl-s1">hooks</span><span class="pl-kos">.</span><span class="pl-en">useAHook</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// not flagged</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<h2 dir="auto">The current behavior</h2>
<p dir="auto">The current hook-matching rules only counts bare identifiers or member expressions where the target object is in Pascal case</p>
<p dir="auto"><a href="https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/src/RulesOfHooks.js#L25-L44">https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/src/RulesOfHooks.js#L25-L44</a></p>
<h2 dir="auto">The expected behavior</h2>
<p dir="auto">I'd like the pascal case restriction to be removed, or at least have the docs updated, as neither the existing docs nor the beta docs mention this additional rule for what gets considered a hook by the linter.</p> | 0 |
<p dir="auto">Hi there,</p>
<p dir="auto">Please see this example: <a href="http://jsbin.com/ulopaj/4" rel="nofollow">http://jsbin.com/ulopaj/4</a></p>
<p dir="auto">There is a link with a tooltip applied in the modal.</p>
<p dir="auto">I set a 'shown' event handler function to the modal, it works when the modal is popped up, then try to hover the link inside the modal, the 'shown' event handler will be invoked again.</p>
<p dir="auto">You can see the source code of this example here: <a href="http://jsbin.com/ulopaj/4/edit" rel="nofollow">http://jsbin.com/ulopaj/4/edit</a></p>
<p dir="auto">Any help will be appreciated, thank you very much.</p> | <p dir="auto">The triggered show and hide event bubbles to the modal dialog when using tooltips in modal dialog. So, the show and hide of the modal dialog will also be triggered.</p>
<p dir="auto">Following should work as workaround:<br>
$('[rel="tooltip"','.modal').tooltip().on('show', function(e) {e.stopPropagation();}).on('hide', function(e) {e.stopPropagation();});</p>
<p dir="auto">Possible fix:<br>
Namespacing the triggered event to 'show.tooltip', to prevent bubbling to 'show.modal'.</p> | 1 |
<p dir="auto">Error happens when there's some queues already added before worker started and max task per child is 1</p>
<h2 dir="auto">Checklist</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
software -> celery:4.1.0 (latentcall) kombu:4.1.0 py:2.7.12<br>
billiard:3.5.0.3 py-amqp:2.2.2<br>
platform -> system:Linux arch:64bit, ELF imp:CPython<br>
loader -> celery.loaders.app.AppLoader<br>
settings -> transport:amqp results:disabled</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
</ul>
<h2 dir="auto">Steps to reproduce</h2>
<ol dir="auto">
<li>create instance of QApplication when main worker started</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@celeryd_after_setup.connect
from PyQt4.QtGui import QApplication
def init_worker(sender, **k):
QApplication([])"><pre class="notranslate"><code class="notranslate">@celeryd_after_setup.connect
from PyQt4.QtGui import QApplication
def init_worker(sender, **k):
QApplication([])
</code></pre></div>
<ol start="2" dir="auto">
<li>create task</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@app.task
def job():
print 'hello'"><pre class="notranslate"><code class="notranslate">@app.task
def job():
print 'hello'
</code></pre></div>
<ol start="3" dir="auto">
<li>
<p dir="auto">add some queues (2 - 3 per thread. so if there's 4 worker child then there's 8 or more queues)</p>
</li>
<li>
<p dir="auto">start worker with max task per child 1</p>
</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="celery worker -A proj --loglevel=INFO --max-tasks-per-child=1"><pre class="notranslate"><code class="notranslate">celery worker -A proj --loglevel=INFO --max-tasks-per-child=1
</code></pre></div>
<h2 dir="auto">Expected behavior</h2>
<ul dir="auto">
<li>run queues successfuly</li>
</ul>
<h2 dir="auto">Actual behavior</h2>
<p dir="auto">Celery Crash after 1 queue per child</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2017-12-07 10:20:19,594: INFO/MainProcess] Received task: proj.tasks.job[c6413dc2-ad62-4033-a69b-39556276f789]
[2017-12-07 10:20:19,595: INFO/MainProcess] Received task: proj.tasks.job[f1c10b1c-03ae-4220-9c7f-2cdf4afc61e3]
[2017-12-07 10:20:19,596: INFO/MainProcess] Received task: proj.tasks.job[d54f4554-4517-470f-8e14-adedcb93a46e]
[2017-12-07 10:20:19,596: INFO/MainProcess] Received task: proj.tasks.job[6255e5e6-d4c8-4d87-8075-642bca9e6a6d]
[2017-12-07 10:20:19,700: INFO/ForkPoolWorker-1] Task proj.tasks.job[ca856d5c-f3cc-45d4-9fbc-665753f5d1d2] succeeded in 0.00115608799388s: None
[2017-12-07 10:20:19,701: INFO/ForkPoolWorker-4] Task proj.tasks.job[9ae27611-e8e5-4e08-9815-1e56e2ad1565] succeeded in 0.00130111300678s: None
[2017-12-07 10:20:19,701: INFO/ForkPoolWorker-3] Task proj.tasks.job[f5aa7c6a-4142-4a38-8814-c60424196826] succeeded in 0.00129756200477s: None
[2017-12-07 10:20:19,702: INFO/ForkPoolWorker-2] Task proj.tasks.job[eb13b5c5-8865-4992-8b9e-6672c909fd59] succeeded in 0.00100053900678s: None
[2017-12-07 10:20:19,710: INFO/MainProcess] Received task: proj.tasks.job[01700061-c69c-4f4c-abf2-e6ba200772bd]
[2017-12-07 10:20:19,711: INFO/MainProcess] Received task: proj.tasks.job[a27d7a7b-2c58-4689-8b98-2c0a4ceaea9f]
[2017-12-07 10:20:19,713: INFO/MainProcess] Received task: proj.tasks.job[4c4a5685-23d5-4178-89cc-9ce4ad5a3509]
[2017-12-07 10:20:19,714: INFO/MainProcess] Received task: proj.tasks.job[44a079a3-aacf-48c5-a76b-a061bdced1d6]
[2017-12-07 01:41:03,591: CRITICAL/MainProcess] Unrecoverable error: AttributeError("'error' object has no attribute 'errno'",)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/celery/worker/worker.py", line 203, in start
self.blueprint.start(self)
File "/usr/local/lib/python2.7/dist-packages/celery/bootsteps.py", line 119, in start
step.start(parent)
File "/usr/local/lib/python2.7/dist-packages/celery/bootsteps.py", line 370, in start
return self.obj.start()
File "/usr/local/lib/python2.7/dist-packages/celery/worker/consumer/consumer.py", line 320, in start
blueprint.start(self)
File "/usr/local/lib/python2.7/dist-packages/celery/bootsteps.py", line 119, in start
step.start(parent)
File "/usr/local/lib/python2.7/dist-packages/celery/worker/consumer/consumer.py", line 596, in start
c.loop(*c.loop_args())
File "/usr/local/lib/python2.7/dist-packages/celery/worker/loops.py", line 88, in asynloop
next(loop)
File "/usr/local/lib/python2.7/dist-packages/kombu/async/hub.py", line 354, in create_loop
cb(*cbargs)
File "/usr/local/lib/python2.7/dist-packages/celery/concurrency/asynpool.py", line 444, in _event_process_exit
self.maintain_pool()
File "/usr/local/lib/python2.7/dist-packages/billiard/pool.py", line 1307, in maintain_pool
self._maintain_pool()
File "/usr/local/lib/python2.7/dist-packages/billiard/pool.py", line 1298, in _maintain_pool
joined = self._join_exited_workers()
File "/usr/local/lib/python2.7/dist-packages/billiard/pool.py", line 1165, in _join_exited_workers
self.process_flush_queues(worker)
File "/usr/local/lib/python2.7/dist-packages/celery/concurrency/asynpool.py", line 1175, in process_flush_queues
readable, _, _ = _select(fds, None, fds, timeout=0.01)
File "/usr/local/lib/python2.7/dist-packages/celery/concurrency/asynpool.py", line 183, in _select
if exc.errno == errno.EINTR:
AttributeError: 'error' object has no attribute 'errno'"><pre class="notranslate"><code class="notranslate">2017-12-07 10:20:19,594: INFO/MainProcess] Received task: proj.tasks.job[c6413dc2-ad62-4033-a69b-39556276f789]
[2017-12-07 10:20:19,595: INFO/MainProcess] Received task: proj.tasks.job[f1c10b1c-03ae-4220-9c7f-2cdf4afc61e3]
[2017-12-07 10:20:19,596: INFO/MainProcess] Received task: proj.tasks.job[d54f4554-4517-470f-8e14-adedcb93a46e]
[2017-12-07 10:20:19,596: INFO/MainProcess] Received task: proj.tasks.job[6255e5e6-d4c8-4d87-8075-642bca9e6a6d]
[2017-12-07 10:20:19,700: INFO/ForkPoolWorker-1] Task proj.tasks.job[ca856d5c-f3cc-45d4-9fbc-665753f5d1d2] succeeded in 0.00115608799388s: None
[2017-12-07 10:20:19,701: INFO/ForkPoolWorker-4] Task proj.tasks.job[9ae27611-e8e5-4e08-9815-1e56e2ad1565] succeeded in 0.00130111300678s: None
[2017-12-07 10:20:19,701: INFO/ForkPoolWorker-3] Task proj.tasks.job[f5aa7c6a-4142-4a38-8814-c60424196826] succeeded in 0.00129756200477s: None
[2017-12-07 10:20:19,702: INFO/ForkPoolWorker-2] Task proj.tasks.job[eb13b5c5-8865-4992-8b9e-6672c909fd59] succeeded in 0.00100053900678s: None
[2017-12-07 10:20:19,710: INFO/MainProcess] Received task: proj.tasks.job[01700061-c69c-4f4c-abf2-e6ba200772bd]
[2017-12-07 10:20:19,711: INFO/MainProcess] Received task: proj.tasks.job[a27d7a7b-2c58-4689-8b98-2c0a4ceaea9f]
[2017-12-07 10:20:19,713: INFO/MainProcess] Received task: proj.tasks.job[4c4a5685-23d5-4178-89cc-9ce4ad5a3509]
[2017-12-07 10:20:19,714: INFO/MainProcess] Received task: proj.tasks.job[44a079a3-aacf-48c5-a76b-a061bdced1d6]
[2017-12-07 01:41:03,591: CRITICAL/MainProcess] Unrecoverable error: AttributeError("'error' object has no attribute 'errno'",)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/celery/worker/worker.py", line 203, in start
self.blueprint.start(self)
File "/usr/local/lib/python2.7/dist-packages/celery/bootsteps.py", line 119, in start
step.start(parent)
File "/usr/local/lib/python2.7/dist-packages/celery/bootsteps.py", line 370, in start
return self.obj.start()
File "/usr/local/lib/python2.7/dist-packages/celery/worker/consumer/consumer.py", line 320, in start
blueprint.start(self)
File "/usr/local/lib/python2.7/dist-packages/celery/bootsteps.py", line 119, in start
step.start(parent)
File "/usr/local/lib/python2.7/dist-packages/celery/worker/consumer/consumer.py", line 596, in start
c.loop(*c.loop_args())
File "/usr/local/lib/python2.7/dist-packages/celery/worker/loops.py", line 88, in asynloop
next(loop)
File "/usr/local/lib/python2.7/dist-packages/kombu/async/hub.py", line 354, in create_loop
cb(*cbargs)
File "/usr/local/lib/python2.7/dist-packages/celery/concurrency/asynpool.py", line 444, in _event_process_exit
self.maintain_pool()
File "/usr/local/lib/python2.7/dist-packages/billiard/pool.py", line 1307, in maintain_pool
self._maintain_pool()
File "/usr/local/lib/python2.7/dist-packages/billiard/pool.py", line 1298, in _maintain_pool
joined = self._join_exited_workers()
File "/usr/local/lib/python2.7/dist-packages/billiard/pool.py", line 1165, in _join_exited_workers
self.process_flush_queues(worker)
File "/usr/local/lib/python2.7/dist-packages/celery/concurrency/asynpool.py", line 1175, in process_flush_queues
readable, _, _ = _select(fds, None, fds, timeout=0.01)
File "/usr/local/lib/python2.7/dist-packages/celery/concurrency/asynpool.py", line 183, in _select
if exc.errno == errno.EINTR:
AttributeError: 'error' object has no attribute 'errno'
</code></pre></div> | <p dir="auto">We are seeing the above mentioned error.<br>
Coming from:<br>
<a href="https://github.com/celery/celery/blob/master/celery/concurrency/asynpool.py#L182">https://github.com/celery/celery/blob/master/celery/concurrency/asynpool.py#L182</a></p>
<p dir="auto">A quick test on this test in the REPL reproduces this error:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Python 2.7.13 (default, Apr 4 2017, 08:46:44)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import select
>>> select.error
<class 'select.error'>
>>> moshe = select.error()
>>> moshe.errorno
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'error' object has no attribute 'errorno'"><pre class="notranslate"><span class="pl-v">Python</span> <span class="pl-c1">2.7</span><span class="pl-c1">.13</span> (<span class="pl-s1">default</span>, <span class="pl-v">Apr</span> <span class="pl-c1">4</span> <span class="pl-c1">2017</span>, <span class="pl-c1">08</span>:<span class="pl-c1">46</span>:<span class="pl-c1">44</span>)
[<span class="pl-v">GCC</span> <span class="pl-c1">4.2</span><span class="pl-c1">.1</span> <span class="pl-v">Compatible</span> <span class="pl-v">Apple</span> <span class="pl-v">LLVM</span> <span class="pl-c1">8.0</span><span class="pl-c1">.0</span> (<span class="pl-s1">clang</span><span class="pl-c1">-</span><span class="pl-c1">800.0</span>.<span class="pl-c1">42.1</span>)] <span class="pl-s1">on</span> <span class="pl-s1">darwin</span>
<span class="pl-v">Type</span> <span class="pl-s">"help"</span>, <span class="pl-s">"copyright"</span>, <span class="pl-s">"credits"</span> <span class="pl-c1">or</span> <span class="pl-s">"license"</span> <span class="pl-k">for</span> <span class="pl-s1">more</span> <span class="pl-s1">information</span>.
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-k">import</span> <span class="pl-s1">select</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">select</span>.<span class="pl-s1">error</span>
<span class="pl-c1"><</span><span class="pl-k">class</span> <span class="pl-s">'select.error'</span><span class="pl-c1">></span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">moshe</span> <span class="pl-c1">=</span> <span class="pl-s1">select</span>.<span class="pl-en">error</span>()
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">moshe</span>.<span class="pl-s1">errorno</span>
<span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>):
<span class="pl-v">File</span> <span class="pl-s">"<stdin>"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1</span>, <span class="pl-c1">in</span> <span class="pl-c1"><</span><span class="pl-s1">module</span><span class="pl-c1">></span>
<span class="pl-v">AttributeError</span>: <span class="pl-s">'error'</span> <span class="pl-s1">object</span> <span class="pl-s1">has</span> <span class="pl-s1">no</span> <span class="pl-s1">attribute</span> <span class="pl-s">'errorno'</span></pre></div>
<p dir="auto">With the <em>socket</em> class however, this works just fine:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> import socket
>>> socket.error
<class 'socket.error'>
>>> moshe = socket.error()
>>> moshe.errno"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-k">import</span> <span class="pl-s1">socket</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">socket</span>.<span class="pl-s1">error</span>
<span class="pl-c1"><</span><span class="pl-k">class</span> <span class="pl-s">'socket.error'</span><span class="pl-c1">></span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">moshe</span> <span class="pl-c1">=</span> <span class="pl-s1">socket</span>.<span class="pl-en">error</span>()
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">moshe</span>.<span class="pl-s1">errno</span></pre></div>
<p dir="auto">Given that this code is in place since 2013, maybe I am doing something wrong here?</p> | 1 |
<p dir="auto">e.g. <a href="https://build.julialang.org/#/builders/65/builds/743/steps/5/logs/stdio" rel="nofollow">https://build.julialang.org/#/builders/65/builds/743/steps/5/logs/stdio</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error in testset mpfr:
Test Failed at C:\buildbot\worker-tabularasa\tester_win64\build\share\julia\test\mpfr.jl:609
Expression: log2(x) == log2(42)
Evaluated: 5.3923174227787607 == 5.39231742277876"><pre class="notranslate"><code class="notranslate">Error in testset mpfr:
Test Failed at C:\buildbot\worker-tabularasa\tester_win64\build\share\julia\test\mpfr.jl:609
Expression: log2(x) == log2(42)
Evaluated: 5.3923174227787607 == 5.39231742277876
</code></pre></div> | <p dir="auto">From <a href="https://build.julialang.org/#/builders/65/builds/674/steps/5/logs/stdio" rel="nofollow">https://build.julialang.org/#/builders/65/builds/674/steps/5/logs/stdio</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error in testset mpfr:
Test Failed at C:\buildbot\worker-tabularasa\tester_win64\build\share\julia\test\mpfr.jl:609
Expression: log2(x) == log2(42)
Evaluated: 5.3923174227787607 == 5.39231742277876"><pre class="notranslate"><code class="notranslate">Error in testset mpfr:
Test Failed at C:\buildbot\worker-tabularasa\tester_win64\build\share\julia\test\mpfr.jl:609
Expression: log2(x) == log2(42)
Evaluated: 5.3923174227787607 == 5.39231742277876
</code></pre></div> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=johnemmanuel" rel="nofollow">John Emmanuel</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6632?redirect=false" rel="nofollow">SPR-6632</a></strong> and commented</p>
<p dir="auto">The first code snippet in section 3.11.1 of the spring documentation is as follows:</p>
<p dir="auto"><code class="notranslate">@Configuration</code><br>
public class AppConfig {<br>
<code class="notranslate">@Bean</code><br>
public void MyService myService() {<br>
return new MyServiceImpl();<br>
}<br>
}</p>
<p dir="auto">The method signature of the myService is incorrect. It should be</p>
<p dir="auto">public MyService myService()...</p>
<p dir="auto">Note: I did not check the forums to see if this issue has already been<br>
resolved. If already resolved I am sorry for creating this issue.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0 GA</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398101491" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11303" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11303/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11303">#11303</a> Error in JavaConfig sample code (<em><strong>"duplicates"</strong></em>)</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=sunlxy" rel="nofollow">Sean</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-4249?redirect=false" rel="nofollow">SPR-4249</a></strong> and commented</p>
<p dir="auto">Please see the following example:</p>
<p dir="auto"><code class="notranslate">@Service</code><br>
<code class="notranslate">@Transactional</code><br>
public class AccountService {</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Autowired
private AccountDao accountDao;
public void updateLoginInfo(Account account) {
accountDao.updateLoginInfo(account);
someOtherStatementsMightThrowException();
}"><pre class="notranslate"><code class="notranslate">@Autowired
private AccountDao accountDao;
public void updateLoginInfo(Account account) {
accountDao.updateLoginInfo(account);
someOtherStatementsMightThrowException();
}
</code></pre></div>
<p dir="auto">}</p>
<p dir="auto">And everything supports the annotation is configurated:</p>
<p dir="auto"><context:annotation-config /><br>
<context:component-scan base-package="com.xyz" /><br>
<tx:annotation-driven transaction-manager="transactionManager" /></p>
<p dir="auto">We use <code class="notranslate">@Service</code> annotation on service bean, that is, it could be autowired to any bean depends on it.</p>
<p dir="auto">But the <code class="notranslate">@Transactional</code> annotation doesn't work, until I remove <code class="notranslate">@Service</code> annotation and explicit define the bean in context configuration xml:</p>
<p dir="auto"><bean id="accountService" class="com.xyz.service.AccountService" /><br>
I'm wondering if there is any step I missed, or it supposes to work like that? Thanks.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.5 final</p> | 0 |
<p dir="auto">Hi,<br>
I come from a java background and I love using flask. But there is some itch with flask GET/POST API (production code and test code) I would like to discuss about.</p>
<p dir="auto">In a java servlet, it doesn't matter what http method you're using (GET, POST, PUT), you always do this to get a parameter from input :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="String username = request.getParameter("username");
String password = request.getParameter("password");"><pre class="notranslate"><code class="notranslate">String username = request.getParameter("username");
String password = request.getParameter("password");
</code></pre></div>
<p dir="auto">In flask, this is inconsistent :<br>
for a POST, flasks "assumes" data come from a form (wich is not mandatory, you can submit data without a form) :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="username = request.form['username']"><pre class="notranslate"><code class="notranslate">username = request.form['username']
</code></pre></div>
<p dir="auto">To me, in terms of API, form is wrong. But worse, if you do a GET, you can't use form, you'll have to user args :<br>
GET :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="username = request.args['username']"><pre class="notranslate"><code class="notranslate">username = request.args['username']
</code></pre></div>
<p dir="auto">I would prefer to see, in POST/GET/PUT/whatever (I'm using parameter, as in java HttpServlet API) :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="username = request.parameter['username']"><pre class="notranslate"><code class="notranslate">username = request.parameter['username']
</code></pre></div>
<p dir="auto">As Im doing TDD, I observed the same inconsiancy in writing unit tests :<br>
to test a POST, you can submit a dict (which is great and very pythonic) :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="app.test_client().post('/login', data=dict(
username=username,
password=))"><pre class="notranslate"><code class="notranslate">app.test_client().post('/login', data=dict(
username=username,
password=))
</code></pre></div>
<p dir="auto">to test a GET, you can't pass a dict, you have to reconstruct the URL (which I don't find very pythonic) :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="app.test_client().get('/agent/login?username=%s&password=%s' % (username, password))"><pre class="notranslate"><code class="notranslate">app.test_client().get('/agent/login?username=%s&password=%s' % (username, password))
</code></pre></div>
<p dir="auto">I would love to be able to write this for a GET too :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="app.test_client().get('/login', data=dict(
username=username,
password=))"><pre class="notranslate"><code class="notranslate">app.test_client().get('/login', data=dict(
username=username,
password=))
</code></pre></div>
<p dir="auto">Anyway, what do you think ?<br>
Thanks for your feedback.</p> | <p dir="auto">Flask started to ship with a default, hardcoded logging handler. Unfortunately this setup makes it harder to install custom logging setups, because then you'll have to undo all the things Flask did to the app logger, or replace the <code class="notranslate">app.logger</code> entirely. A symptom of this is <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="173206740" data-permission-text="Title is private" data-url="https://github.com/pallets/flask/issues/1993" data-hovercard-type="pull_request" data-hovercard-url="/pallets/flask/pull/1993/hovercard" href="https://github.com/pallets/flask/pull/1993">#1993</a>, where Flask's own logger had to be tweaked yet again such that messages didn't get logged twice (once via Flask's setup, once via the custom one).</p>
<p dir="auto">My question is: <strong>Do we even want Flask to do any logging setup?</strong> It appears that this sort of default logging is only useful during development, so maybe it makes sense to set up a default logging handler in the new Flask CLI instead of from within the application.</p> | 0 |
<p dir="auto">Hi, Currently I found the step to JAX on multi-host TPU Cloud, but I do not find the step to Run JAX on multi-host GPU platforms. Does anyone can help?</p> | <p dir="auto">I don't have a node with 8 gpus. I have two nodes each with 4 gpus. So is it possible to train a model on multiple nodes?</p> | 1 |
<p dir="auto">As far I know, <a href="https://vuejs.org/v2/guide/events.html#Event-Modifiers" rel="nofollow">.once</a> would fire only one time.<br>
However, .once would <strong>fire multiple times</strong>, when the DOM is "<strong>not</strong>" the last binding DOM in template.</p>
<p dir="auto">For example,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<button @click.once='doThis'>btn#1</button> <!-- BUG: fire multiuple times!! -->
<button @click='doThis'>btn#2</button>"><pre class="notranslate"><code class="notranslate"><button @click.once='doThis'>btn#1</button> <!-- BUG: fire multiuple times!! -->
<button @click='doThis'>btn#2</button>
</code></pre></div>
<p dir="auto">while if I change the order of the two buttons, i.e.,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<button @click='doThis'>btn#1</button>
<button @click.once='doThis'>btn#2</button> <!-- fire only one time -->"><pre class="notranslate"><code class="notranslate"><button @click='doThis'>btn#1</button>
<button @click.once='doThis'>btn#2</button> <!-- fire only one time -->
</code></pre></div>
<p dir="auto">.once would has the expected behavior.</p>
<p dir="auto">For the same issue, I can't assign multiple .once listeners for multiple DOMs.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<button @click.once='doThis'>btn#1</button> <!-- BUG: fire multiuple times!! -->
<button @click.once='doThat'>btn#2</button> <!-- BUG: fire multiuple times!! -->
<button @click.once='doThis'>btn#3</button> <!-- fire only one time -->"><pre class="notranslate"><code class="notranslate"><button @click.once='doThis'>btn#1</button> <!-- BUG: fire multiuple times!! -->
<button @click.once='doThat'>btn#2</button> <!-- BUG: fire multiuple times!! -->
<button @click.once='doThis'>btn#3</button> <!-- fire only one time -->
</code></pre></div>
<p dir="auto">I was wondering this is a feature or bug.<br>
Thank you.</p>
<h3 dir="auto">Vue.js version</h3>
<p dir="auto">2.1.8 (latest)<br>
MAC OS 10.11 + Chrome 55</p>
<h3 dir="auto">Reproduction Link</h3>
<ol dir="auto">
<li>
<p dir="auto">order cause .once fail<br>
<a href="https://jsfiddle.net/ignoreswing/q90uox65/" rel="nofollow">https://jsfiddle.net/ignoreswing/q90uox65/</a></p>
</li>
<li>
<p dir="auto">Can't use multiple .once<br>
<a href="https://jsfiddle.net/ignoreswing/t4y6nmzq/" rel="nofollow">https://jsfiddle.net/ignoreswing/t4y6nmzq/</a></p>
</li>
</ol>
<h3 dir="auto">What is Expected?</h3>
<ol dir="auto">
<li>btn#1 should fire only one time</li>
<li>If hitting the buttons, fire alert only "once" for all of the three buttons!</li>
</ol>
<h3 dir="auto">What is actually happening?</h3>
<ol dir="auto">
<li>btn#1 fire multiple time</li>
<li>btn#1 and btn#2 fire multiple times.</li>
</ol> | <h3 dir="auto">Vue.js version</h3>
<p dir="auto">2.1.8</p>
<h3 dir="auto">Reproduction Link</h3>
<p dir="auto"><a href="https://jsfiddle.net/bacft9s7/" rel="nofollow">https://jsfiddle.net/bacft9s7/</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Clicks on the element more than once.</p>
<h3 dir="auto">What is Expected?</h3>
<p dir="auto">The event handler should be removed after the first click.</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">The event handler except for the last one with .once modifier is not removed.</p> | 1 |
<p dir="auto">We are seeing exceptions when transferring a TorchScripted Module via RPC. Can we add support for it?</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/suo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/suo">@suo</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pietern/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pietern">@pietern</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrshenli/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrshenli">@mrshenli</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pritamdamania87/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pritamdamania87">@pritamdamania87</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zhaojuanmao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zhaojuanmao">@zhaojuanmao</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/satgera/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/satgera">@satgera</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gqchen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gqchen">@gqchen</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aazzolini/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aazzolini">@aazzolini</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rohan-varma/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rohan-varma">@rohan-varma</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/xush6528/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/xush6528">@xush6528</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jjlilley/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jjlilley">@jjlilley</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/osalpekar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/osalpekar">@osalpekar</a></p> | <p dir="auto">Right now there is no way to pass script module object over wrie in rpc layer.</p>
<ol dir="auto">
<li>
<p dir="auto">When calling python myScriptModule constructor as follows, myScriptModule will be serialized by python pickler, but python pickler does not support scriptModule object serialization<br>
ret = rpc_sync(work1, myScriptModule, args=())<br>
or rref = remote(work1, myScriptModule, args=()), rref.to_here()</p>
</li>
<li>
<p dir="auto">When calling torchscript function to construct myScriptModule as follows, myScriptModule will be serialized by JIT pickler internally when we wrap the data to Message, but JIT pickler complained scriptModule is not supported type</p>
</li>
</ol>
<p dir="auto">@torch.jit.script<br>
def construct_my_script_module():<br>
myScriptModule()</p>
<p dir="auto">ret = rpc_sync(work1, construct_my_script_module, args=())<br>
or rref = remote(work1, construct_my_script_module, args=()), rref.to_here()</p>
<p dir="auto"><strong>Solution</strong><br>
We need to do special handling for script module object by calling torch.save() and torch.load() before dumping it to Message and pass it over wire</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pietern/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pietern">@pietern</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrshenli/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrshenli">@mrshenli</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pritamdamania87/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pritamdamania87">@pritamdamania87</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zhaojuanmao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zhaojuanmao">@zhaojuanmao</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/satgera/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/satgera">@satgera</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gqchen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gqchen">@gqchen</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aazzolini/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aazzolini">@aazzolini</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rohan-varma/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rohan-varma">@rohan-varma</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jjlilley/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jjlilley">@jjlilley</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/osalpekar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/osalpekar">@osalpekar</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jiayisuse/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jiayisuse">@jiayisuse</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrzzd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrzzd">@mrzzd</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gmagogsfm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gmagogsfm">@gmagogsfm</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/suo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/suo">@suo</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/xush6528/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/xush6528">@xush6528</a></p> | 1 |
<p dir="auto">Superset is not starting up properly after docker-compose build & up</p>
<h3 dir="auto">Expected results</h3>
<p dir="auto">Get a working Superset.</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">Empty screen.</p>
<h4 dir="auto">Screenshots</h4>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/20079/74241505-7359c300-4cdc-11ea-8e26-48ebe018ee5e.png"><img width="552" alt="Screenshot 2020-02-11 at 14 37 44" src="https://user-images.githubusercontent.com/20079/74241505-7359c300-4cdc-11ea-8e26-48ebe018ee5e.png" style="max-width: 100%;"></a></p>
<h4 dir="auto">How to reproduce the bug</h4>
<ol dir="auto">
<li>docker-compose build</li>
<li>docker-compose up</li>
<li>See error</li>
</ol>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>superset version: latest in from source</li>
<li>python version: Python 3.6.9</li>
</ul>
<h3 dir="auto">Checklist</h3>
<p dir="auto">Make sure these boxes are checked before submitting your issue - thank you!</p>
<ul dir="auto">
<li>[x ] I have checked the superset logs for python stacktraces and included it here as text if there are any.</li>
<li>[ x] I have reproduced the issue with at least the latest released version of superset.</li>
<li>[ x] I have checked the issue tracker for the same issue and I haven't found one similar.</li>
</ul>
<h3 dir="auto">Additional context</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /logout/ HTTP/1.1" 302 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:23] "GET / HTTP/1.1" 302 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:23] "GET / HTTP/1.1" 302 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /superset/welcome HTTP/1.1" 302 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /superset/welcome HTTP/1.1" 302 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /login/ HTTP/1.1" 200 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /login/ HTTP/1.1" 200 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /static/assets/images/[email protected] HTTP/1.1" 404 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /static/assets/images/[email protected] HTTP/1.1" 404 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /static/assets/images/[email protected] HTTP/1.1" 404 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /static/assets/images/[email protected] HTTP/1.1" 404 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:27] "POST /login/ HTTP/1.1" 302 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:27] "POST /login/ HTTP/1.1" 302 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:27] "GET / HTTP/1.1" 302 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:27] "GET / HTTP/1.1" 302 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:27] "GET /superset/welcome HTTP/1.1" 200 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:27] "GET /superset/welcome HTTP/1.1" 200 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:27] "GET /static/assets/images/loading.gif HTTP/1.1" 404 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:27] "GET /static/assets/images/loading.gif HTTP/1.1" 404 -
superset_1 | 127.0.0.1 - - [11/Feb/2020 13:37:36] "GET /health HTTP/1.1" 200 -
superset_1 | INFO:werkzeug:127.0.0.1 - - [11/Feb/2020 13:37:36] "GET /health HTTP/1.1" 200 -
superset_1 | 127.0.0.1 - - [11/Feb/2020 13:38:06] "GET /health HTTP/1.1" 200 -
superset_1 | INFO:werkzeug:127.0.0.1 - - [11/Feb/2020 13:38:06] "GET /health HTTP/1.1" 200 -"><pre class="notranslate"><code class="notranslate">superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /logout/ HTTP/1.1" 302 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:23] "GET / HTTP/1.1" 302 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:23] "GET / HTTP/1.1" 302 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /superset/welcome HTTP/1.1" 302 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /superset/welcome HTTP/1.1" 302 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /login/ HTTP/1.1" 200 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /login/ HTTP/1.1" 200 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /static/assets/images/[email protected] HTTP/1.1" 404 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /static/assets/images/[email protected] HTTP/1.1" 404 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /static/assets/images/[email protected] HTTP/1.1" 404 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:23] "GET /static/assets/images/[email protected] HTTP/1.1" 404 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:27] "POST /login/ HTTP/1.1" 302 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:27] "POST /login/ HTTP/1.1" 302 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:27] "GET / HTTP/1.1" 302 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:27] "GET / HTTP/1.1" 302 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:27] "GET /superset/welcome HTTP/1.1" 200 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:27] "GET /superset/welcome HTTP/1.1" 200 -
superset_1 | 172.18.0.1 - - [11/Feb/2020 13:37:27] "GET /static/assets/images/loading.gif HTTP/1.1" 404 -
superset_1 | INFO:werkzeug:172.18.0.1 - - [11/Feb/2020 13:37:27] "GET /static/assets/images/loading.gif HTTP/1.1" 404 -
superset_1 | 127.0.0.1 - - [11/Feb/2020 13:37:36] "GET /health HTTP/1.1" 200 -
superset_1 | INFO:werkzeug:127.0.0.1 - - [11/Feb/2020 13:37:36] "GET /health HTTP/1.1" 200 -
superset_1 | 127.0.0.1 - - [11/Feb/2020 13:38:06] "GET /health HTTP/1.1" 200 -
superset_1 | INFO:werkzeug:127.0.0.1 - - [11/Feb/2020 13:38:06] "GET /health HTTP/1.1" 200 -
</code></pre></div> | <p dir="auto">I am using the docker image to use Apache superset, I followed the instructions.<br>
I cloned the git repository then a docker-compose up</p>
<h3 dir="auto">Expected results</h3>
<p dir="auto">The UI to load</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">The UI won't load, here is a screenshot<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/20522687/74169284-5c0ecd00-4c2b-11ea-997c-8e13d9b4996b.png"><img src="https://user-images.githubusercontent.com/20522687/74169284-5c0ecd00-4c2b-11ea-997c-8e13d9b4996b.png" alt="Screenshot from 2020-02-10 17-32-07" style="max-width: 100%;"></a></p>
<h4 dir="auto">How to reproduce the bug</h4>
<p dir="auto">I followed the instructions to use the docker image.</p>
<h3 dir="auto">Checklist</h3>
<p dir="auto">Make sure these boxes are checked before submitting your issue - thank you!</p>
<ul dir="auto">
<li>[* ] I have checked the superset logs for python stacktraces and included it here as text if there are any.</li>
<li>[ *] I have reproduced the issue with at least the latest released version of superset.</li>
<li>[* ] I have checked the issue tracker for the same issue and I haven't found one similar.</li>
</ul>
<h3 dir="auto">Additional context</h3>
<p dir="auto">the docker logs show that incubator-superset_superset-node_1 fails to cd into /app/superset-frontend/, I am getting the following error message:<br>
<code class="notranslate">superset-node_1 | bash: line 0: cd: /app/superset-frontend/: No such file or directory</code></p>
<p dir="auto">The problematic instruction lies in the docker-compose.yml file; line 69:</p>
<p dir="auto"><code class="notranslate"> command: ["bash", "-c", "ls /app/ && cd /app/superset-frontend/ && npm install && npm run dev"]</code></p> | 1 |
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/show-relationships-with-a-force-directed-graph" rel="nofollow">Show Relationships with a Force Directed Graph</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p> | <p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/style-text-inputs-as-form-controls" rel="nofollow">Style Text Inputs as Form Controls</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.<br>
I am not able to navigate to the button tag of submit to add class there<br>
It doesn't work when browser is initially loaded, and one try to navigate to the bottom. but if you delete any thing it can navigate to anywhere in the code. Even during this where ever the cursor is show when we type anything it gets typed at bottom.</p>
<p dir="auto">The same problem is faced in next challenge too<br>
My code:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
h2 {
font-family: Lobster, Monospace;
}
.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}
</style>
<div class="container-fluid">
<div class="row">
<div class="col-xs-8">
<h2 class="text-primary text-center">CatPhotoApp</h2>
</div>
<div class="col-xs-4">
<a href="#"><img class="img-responsive thick-green-border" src="https://bit.ly/fcc-relaxing-cat"></a>
</div>
</div>
<img src="https://bit.ly/fcc-running-cats" class="img-responsive">
<div class="row">
<div class="col-xs-4">
<button class="btn btn-block btn-primary"><i class="fa fa-thumbs-up"></i> Like</button>
</div>
<div class="col-xs-4">
<button class="btn btn-block btn-info"><i class="fa fa-info-circle"></i> Info</button>
</div>
<div class="col-xs-4">
<button class="btn btn-block btn-danger"><i class="fa fa-trash"></i> Delete</button>
</div>
</div>
<p>Things cats <span class="text-danger">love:</span></p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<div class="row">
<div class="col-xs-6">
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
</div>
<div class="col-xs-6">
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
</div>
</div>
<div class="row">
<div class="col-xs-4">
<label><input type="checkbox" name="personality"> Loving</label>
</div>
<div class="col-xs-4">
<label><input type="checkbox" name="personality"> Lazy</label>
</div>
<div class="col-xs-4">
<label><input type="checkbox" name="personality"> Crazy</label>
</div>
</div>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">link</span> <span class="pl-c1">href</span>="<span class="pl-s">https://fonts.googleapis.com/css?family=Lobster</span>" <span class="pl-c1">rel</span>="<span class="pl-s">stylesheet</span>" <span class="pl-c1">type</span>="<span class="pl-s">text/css</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">style</span><span class="pl-kos">></span>
<span class="pl-ent">h2</span> {
<span class="pl-c1">font-family</span><span class="pl-kos">:</span> Lobster<span class="pl-kos">,</span> Monospace;
}
.<span class="pl-c1">thick-green-border</span> {
<span class="pl-c1">border-color</span><span class="pl-kos">:</span> green;
<span class="pl-c1">border-width</span><span class="pl-kos">:</span> <span class="pl-c1">10<span class="pl-smi">px</span></span>;
<span class="pl-c1">border-style</span><span class="pl-kos">:</span> solid;
<span class="pl-c1">border-radius</span><span class="pl-kos">:</span> <span class="pl-c1">50<span class="pl-smi">%</span></span>;
}
<span class="pl-kos"></</span><span class="pl-ent">style</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-8</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h2</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">></span>CatPhotoApp<span class="pl-kos"></</span><span class="pl-ent">h2</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-4</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">img</span> <span class="pl-c1">class</span>="<span class="pl-s">img-responsive thick-green-border</span>" <span class="pl-c1">src</span>="<span class="pl-s">https://bit.ly/fcc-relaxing-cat</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">a</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">img</span> <span class="pl-c1">src</span>="<span class="pl-s">https://bit.ly/fcc-running-cats</span>" <span class="pl-c1">class</span>="<span class="pl-s">img-responsive</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-4</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-block btn-primary</span>"<span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">i</span> <span class="pl-c1">class</span>="<span class="pl-s">fa fa-thumbs-up</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">i</span><span class="pl-kos">></span> Like<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-4</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-block btn-info</span>"<span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">i</span> <span class="pl-c1">class</span>="<span class="pl-s">fa fa-info-circle</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">i</span><span class="pl-kos">></span> Info<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-4</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-block btn-danger</span>"<span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">i</span> <span class="pl-c1">class</span>="<span class="pl-s">fa fa-trash</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">i</span><span class="pl-kos">></span> Delete<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span><span class="pl-kos">></span>Things cats <span class="pl-kos"><</span><span class="pl-ent">span</span> <span class="pl-c1">class</span>="<span class="pl-s">text-danger</span>"<span class="pl-kos">></span>love:<span class="pl-kos"></</span><span class="pl-ent">span</span><span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">ul</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>cat nip<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>laser pointers<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>lasagna<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">ul</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span><span class="pl-kos">></span>Top 3 things cats hate:<span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">ol</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>flea treatment<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>thunder<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>other cats<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">ol</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">form</span> <span class="pl-c1">action</span>="<span class="pl-s">/submit-cat-photo</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">radio</span>" <span class="pl-c1">name</span>="<span class="pl-s">indoor-outdoor</span>"<span class="pl-kos">></span> Indoor<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">radio</span>" <span class="pl-c1">name</span>="<span class="pl-s">indoor-outdoor</span>"<span class="pl-kos">></span> Outdoor<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-4</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">checkbox</span>" <span class="pl-c1">name</span>="<span class="pl-s">personality</span>"<span class="pl-kos">></span> Loving<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-4</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">checkbox</span>" <span class="pl-c1">name</span>="<span class="pl-s">personality</span>"<span class="pl-kos">></span> Lazy<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-4</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">checkbox</span>" <span class="pl-c1">name</span>="<span class="pl-s">personality</span>"<span class="pl-kos">></span> Crazy<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">text</span>" <span class="pl-c1">placeholder</span>="<span class="pl-s">cat photo URL</span>" <span class="pl-c1">required</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">type</span>="<span class="pl-s">submit</span>"<span class="pl-kos">></span>Submit<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">form</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div> | 0 |
<p dir="auto">Doing something like</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let object: HashMap<serde_v8::Value, serde_v8::Value> = serde_v8::from_v8(value).unwrap();"><pre class="notranslate"><span class="pl-k">let</span> object<span class="pl-kos">:</span> <span class="pl-smi">HashMap</span><span class="pl-kos"><</span>serde_v8<span class="pl-kos">::</span><span class="pl-smi">Value</span><span class="pl-kos">,</span> serde_v8<span class="pl-kos">::</span><span class="pl-smi">Value</span><span class="pl-kos">></span> = serde_v8<span class="pl-kos">::</span><span class="pl-en">from_v8</span><span class="pl-kos">(</span>value<span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">unwrap</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">gives two compile time errors.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/93856041/157227939-4befc2f6-fafa-4b8a-abf7-66712c41d76e.png"><img src="https://user-images.githubusercontent.com/93856041/157227939-4befc2f6-fafa-4b8a-abf7-66712c41d76e.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/93856041/157227960-42b89c51-661c-4bc8-851b-4c197044ce91.png"><img src="https://user-images.githubusercontent.com/93856041/157227960-42b89c51-661c-4bc8-851b-4c197044ce91.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Expected behavior</strong><br>
<code class="notranslate">serde_v8::Value</code> should implement Hash and Eq so this can be performed.</p> | <p dir="auto">When I make <a href="https://github.com/KSXGitHub/yaml-wasm">yaml-wasm</a>, I must open a web server to test it. If <code class="notranslate">fetch</code> can load local file, then a web server is no longer necessary, making automated testing much easier.</p>
<p dir="auto">This would also help a static website development as well.</p> | 0 |
<h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Synchroning configurations with the Microsoft/Github account.</h2>
<p dir="auto">With this feature, you could save and use your onetime PowerToys configuration within multiple desktops, just synchronizing your Microsoft account.</p>
<p dir="auto">This prevents the necessity of reconfiguring all your replaced shortcuts between workspaces.</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> | <p dir="auto">Hello,</p>
<p dir="auto">I just remapped Win+V to Ctrl+V using Keyboard Manager in PowerToys.<br>
When I invoke clipboard with new shortcut (Ctrl + V), I can see it, but after picking one of the items from clipboard list, it doesn't paste it.<br>
This happens only when I map to Ctrl+V; when I tried with - for example - Ctrl+Shift+V, everything worked fine.</p> | 0 |
<p dir="auto">There're some duplicate declarations, for instance:</p>
<ul dir="auto">
<li><code class="notranslate">isValidDirective</code> (both in <code class="notranslate">directive_resolver.ts</code> and <code class="notranslate">runtime-metadata.ts</code>, in case <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="109990638" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/4548" data-hovercard-type="pull_request" data-hovercard-url="/angular/angular/pull/4548/hovercard" href="https://github.com/angular/angular/pull/4548">#4548</a> gets merged)</li>
<li><code class="notranslate">flattenList</code> (both in <code class="notranslate">runtime-metadata.ts</code> and <code class="notranslate">proto_view_factory.ts</code>)</li>
</ul>
<p dir="auto">It'll be nice if we extract them to separate file and include them wherever they are required.</p>
<p dir="auto">If it makes sense I can take this one.</p> | <p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> bug report => search github for a similar issue or PR before submitting</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> feature request</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> support request => Please do not submit support request here, instead see <a href="https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question">https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question</a></li>
</ul>
<p dir="auto"><strong>Current behavior</strong><br>
Doesn't seem possible to do it in an easy way without not use framework core stuff</p>
<p dir="auto"><strong>Expected behavior</strong><br>
To be able to determine by an asynchronous condition (a condition that will be resolved later) which component to load in a route.</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
I'd say the following is a very common behavior expected on any medium size app:</p>
<p dir="auto">Let's say you have a dashboard (just after you login). You wanna keep 2 different components UserDashboard and AdminDashboard (for not filling your template code with *ngIf), but that condition cannot be resolved immediately because the role comes from an API, so then you cannot "right away" conditionally pass one component or another to a specific route.</p>
<p dir="auto">This doesn't seem to have an answer that implies not to compile and load a component by yourself.<br>
Please, check out <a href="http://stackoverflow.com/questions/39688929/angular-2-how-to-conditionally-load-a-component-in-a-route-asynchronously" rel="nofollow">http://stackoverflow.com/questions/39688929/angular-2-how-to-conditionally-load-a-component-in-a-route-asynchronously</a></p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.1</li>
</ul> | 0 |
<p dir="auto">The following code produces an "Illegal instruction (core dumped)" when run (on linux/x86_64, both in debug and release mode):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fn main() {
let x = T {f: Box::new([None])};
}
struct T {
f: Box<[Option<T>; 1]>
}"><pre class="notranslate"><code class="notranslate">fn main() {
let x = T {f: Box::new([None])};
}
struct T {
f: Box<[Option<T>; 1]>
}
</code></pre></div> | <p dir="auto">Example program:</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="use std::mem;
struct AlignmentStruct {
ptr: *mut [AlignmentStruct, ..1]
}
fn main() {
println!("{}", ::std::mem::align_of::<AlignmentStruct>());
}"><pre class="notranslate"><span class="pl-k">use</span> std<span class="pl-kos">::</span>mem<span class="pl-kos">;</span>
<span class="pl-k">struct</span> <span class="pl-smi">AlignmentStruct</span> <span class="pl-kos">{</span>
<span class="pl-c1">ptr</span><span class="pl-kos">:</span> <span class="pl-c1">*</span><span class="pl-k">mut</span> <span class="pl-kos">[</span><span class="pl-smi">AlignmentStruct</span><span class="pl-kos">,</span> ..<span class="pl-c1">1</span><span class="pl-kos">]</span>
<span class="pl-kos">}</span>
<span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">println</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{}"</span>, ::std::mem::align_of::<<span class="pl-v">AlignmentStruct</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">Error message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rustc: /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/llvm/lib/IR/DataLayout.cpp:636: unsigned int llvm::DataLayout::getAlignment(llvm::Type*, bool) const: Assertion `Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"' failed."><pre class="notranslate"><code class="notranslate">rustc: /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/llvm/lib/IR/DataLayout.cpp:636: unsigned int llvm::DataLayout::getAlignment(llvm::Type*, bool) const: Assertion `Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"' failed.
</code></pre></div> | 1 |
<p dir="auto">Hi community,</p>
<p dir="auto">I am glad to announce that ShardingSphere will provide an independent SQL parser engine for parsing SQLs!<br>
I believe you will have some of the scenarios or use the SQL parser engine to get a parsed AST. From now on, you will have another option for your cases. Here are some of the advantages for ShardingSphere parser engine.</p>
<h3 dir="auto">Advantages</h3>
<ul dir="auto">
<li>Mostly perfect SQL statements supported for MySQL database</li>
<li>Mostly perfect SQL statements supported for PostgreSQL database</li>
<li>Basically SQL statements supported for SQLServer database</li>
<li>Basically SQL statements supported for Oracle database</li>
<li>Basically SQL statements supported for SQL92</li>
<li>SQL parsed result cache for the parsing performance</li>
<li>AST parsed result and SQLStatement parsed result are provided meanwhile</li>
<li>Simple extension approach for SQLStatement visitors</li>
<li>Simple supplement approach and for SQL definition</li>
<li>Continuous improvement for the much better feature in the future.</li>
</ul>
<p dir="auto">5.x release will include this one, please wait for our good news! <g-emoji class="g-emoji" alias="wink" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f609.png">😉</g-emoji></p> | <h2 dir="auto">Bug Report</h2>
<p dir="auto">Scene: 2 libraries, two tables<br>
Yesterday I did a test, I opened 4 threads, each thread inserts 1 million pieces of data, about 1 hour and a half of insertion, check the data, the data in the library has no problem, the id is not repeated, but in There is a problem when querying, please see the code.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3363025/49778184-d8afce00-fd3e-11e8-9f3e-8a0c9a883617.png"><img src="https://user-images.githubusercontent.com/3363025/49778184-d8afce00-fd3e-11e8-9f3e-8a0c9a883617.png" alt="image" style="max-width: 100%;"></a><br>
Query password 0 has a record, a total of 12, this is because I started three times when testing, so there will be 12 records, id is not repeated, please see the database record:<br>
Database 0: user_info_0<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3363025/49778190-e2d1cc80-fd3e-11e8-96eb-767ce6784c3d.png"><img src="https://user-images.githubusercontent.com/3363025/49778190-e2d1cc80-fd3e-11e8-96eb-767ce6784c3d.png" alt="image" style="max-width: 100%;"></a><br>
user_info_1:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3363025/49778199-ea917100-fd3e-11e8-95e7-a2539f597743.png"><img src="https://user-images.githubusercontent.com/3363025/49778199-ea917100-fd3e-11e8-95e7-a2539f597743.png" alt="image" style="max-width: 100%;"></a><br>
Database 1: user_info_0:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3363025/49778207-f54c0600-fd3e-11e8-9b7b-6833e17e106f.png"><img src="https://user-images.githubusercontent.com/3363025/49778207-f54c0600-fd3e-11e8-9b7b-6833e17e106f.png" alt="image" style="max-width: 100%;"></a><br>
user_info_1:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3363025/49778214-fda44100-fd3e-11e8-9c02-92bcdec8b8aa.png"><img src="https://user-images.githubusercontent.com/3363025/49778214-fda44100-fd3e-11e8-9c02-92bcdec8b8aa.png" alt="image" style="max-width: 100%;"></a><br>
Just 12 records, so once again stressed that there is no problem with the warehousing data, now look at the query results:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3363025/49778223-072da900-fd3f-11e8-9dea-a79df00a3705.png"><img src="https://user-images.githubusercontent.com/3363025/49778223-072da900-fd3f-11e8-9dea-a79df00a3705.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">The sharding key is user_id, but with time query, sql statement prints out, check four tables, sql statement is no problem.</p>
<p dir="auto">And the following four data appear user_id: 279023793651843070, this id is not a record in the database</p>
<p dir="auto">The result is that the user_id is duplicated, using the mybatis framework, please take the time to reply as soon as possible, thank you.</p> | 0 |
<h4 dir="auto">Description</h4>
<p dir="auto"><code class="notranslate">sklearn.neighbors.NearestNeighbor</code> throws exceptions at me when I use <code class="notranslate">metric='seuclidean'</code>. This seems to come down to a problem within <code class="notranslate">BallTree</code>, as it works normally if I set <code class="notranslate">algorithm='brute'</code>.</p>
<h4 dir="auto">Steps/Code to Reproduce</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
from sklearn.neighbors import NearestNeighbors
X = np.random.randn(5000, 4)
KNN = NearestNeighbors(metric='seuclidean', algorithm='auto')
KNN.fit(X)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">neighbors</span> <span class="pl-k">import</span> <span class="pl-v">NearestNeighbors</span>
<span class="pl-v">X</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randn</span>(<span class="pl-c1">5000</span>, <span class="pl-c1">4</span>)
<span class="pl-v">KNN</span> <span class="pl-c1">=</span> <span class="pl-v">NearestNeighbors</span>(<span class="pl-s1">metric</span><span class="pl-c1">=</span><span class="pl-s">'seuclidean'</span>, <span class="pl-s1">algorithm</span><span class="pl-c1">=</span><span class="pl-s">'auto'</span>)
<span class="pl-v">KNN</span>.<span class="pl-en">fit</span>(<span class="pl-v">X</span>)</pre></div>
<h4 dir="auto">Expected Results</h4>
<p dir="auto">It should work.</p>
<h4 dir="auto">Actual Results</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-11-998055d5726c> in <module>()
----> 1 KNN.fit(X)
/home/bmcfee/miniconda/envs/py35/lib/python3.5/site-packages/sklearn/neighbors/base.py in fit(self, X, y)
814 or [n_samples, n_samples] if metric='precomputed'.
815 """
--> 816 return self._fit(X)
/home/bmcfee/miniconda/envs/py35/lib/python3.5/site-packages/sklearn/neighbors/base.py in _fit(self, X)
256 self._tree = BallTree(X, self.leaf_size,
257 metric=self.effective_metric_,
--> 258 **self.effective_metric_params_)
259 elif self._fit_method == 'kd_tree':
260 self._tree = KDTree(X, self.leaf_size,
sklearn/neighbors/binary_tree.pxi in sklearn.neighbors.ball_tree.BinaryTree.__init__ (sklearn/neighbors/ball_tree.c:8381)()
sklearn/neighbors/dist_metrics.pyx in sklearn.neighbors.dist_metrics.DistanceMetric.get_metric (sklearn/neighbors/dist_metrics.c:4330)()
sklearn/neighbors/dist_metrics.pyx in sklearn.neighbors.dist_metrics.SEuclideanDistance.__init__ (sklearn/neighbors/dist_metrics.c:5888)()
TypeError: __init__() takes exactly 1 positional argument (0 given)"><pre class="notranslate"><code class="notranslate">---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-11-998055d5726c> in <module>()
----> 1 KNN.fit(X)
/home/bmcfee/miniconda/envs/py35/lib/python3.5/site-packages/sklearn/neighbors/base.py in fit(self, X, y)
814 or [n_samples, n_samples] if metric='precomputed'.
815 """
--> 816 return self._fit(X)
/home/bmcfee/miniconda/envs/py35/lib/python3.5/site-packages/sklearn/neighbors/base.py in _fit(self, X)
256 self._tree = BallTree(X, self.leaf_size,
257 metric=self.effective_metric_,
--> 258 **self.effective_metric_params_)
259 elif self._fit_method == 'kd_tree':
260 self._tree = KDTree(X, self.leaf_size,
sklearn/neighbors/binary_tree.pxi in sklearn.neighbors.ball_tree.BinaryTree.__init__ (sklearn/neighbors/ball_tree.c:8381)()
sklearn/neighbors/dist_metrics.pyx in sklearn.neighbors.dist_metrics.DistanceMetric.get_metric (sklearn/neighbors/dist_metrics.c:4330)()
sklearn/neighbors/dist_metrics.pyx in sklearn.neighbors.dist_metrics.SEuclideanDistance.__init__ (sklearn/neighbors/dist_metrics.c:5888)()
TypeError: __init__() takes exactly 1 positional argument (0 given)
</code></pre></div>
<h4 dir="auto">Versions</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Linux-3.16.0-44-generic-x86_64-with-debian-jessie-sid
Python 3.5.1 |Continuum Analytics, Inc.| (default, Dec 7 2015, 11:16:01)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]
NumPy 1.10.2
SciPy 0.16.1
Scikit-Learn 0.17"><pre class="notranslate"><code class="notranslate">Linux-3.16.0-44-generic-x86_64-with-debian-jessie-sid
Python 3.5.1 |Continuum Analytics, Inc.| (default, Dec 7 2015, 11:16:01)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]
NumPy 1.10.2
SciPy 0.16.1
Scikit-Learn 0.17
</code></pre></div> | <p dir="auto">Here is a quick example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dist = 'seuclidean'
D = pairwise_distances(X[:400,:], metric = dist )
D = np.nan_to_num(D)
eps = np.percentile(D, 0.6)
print eps
dscan = DBSCAN(eps=eps, min_samples=5, metric = dist)
y = dscan.fit_predict(X)"><pre class="notranslate"><code class="notranslate">dist = 'seuclidean'
D = pairwise_distances(X[:400,:], metric = dist )
D = np.nan_to_num(D)
eps = np.percentile(D, 0.6)
print eps
dscan = DBSCAN(eps=eps, min_samples=5, metric = dist)
y = dscan.fit_predict(X)
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" File "cluster.py", line 91, in cluster
y = dscan.fit_predict(X)
File "/usr/local/lib/python2.7/dist-packages/sklearn/base.py", line 345, in fit_predict
self.fit(X)
File "/usr/local/lib/python2.7/dist-packages/sklearn/cluster/dbscan_.py", line 248, in fit
clust = dbscan(X, **self.get_params())
File "/usr/local/lib/python2.7/dist-packages/sklearn/cluster/dbscan_.py", line 101, in dbscan
neighbors_model.fit(X)
File "/usr/local/lib/python2.7/dist-packages/sklearn/neighbors/base.py", line 661, in fit
return self._fit(X)
File "/usr/local/lib/python2.7/dist-packages/sklearn/neighbors/base.py", line 234, in _fit
**self.effective_metric_params_)
File "binary_tree.pxi", line 1062, in sklearn.neighbors.ball_tree.BinaryTree.__init__ (sklearn/neighbors/ball_tree.c:8037)
File "dist_metrics.pyx", line 280, in sklearn.neighbors.dist_metrics.DistanceMetric.get_metric (sklearn/neighbors/dist_metrics.c:4066)
File "dist_metrics.pyx", line 435, in sklearn.neighbors.dist_metrics.SEuclideanDistance.__init__ (sklearn/neighbors/dist_metrics.c:5414)
TypeError: __init__() takes exactly 1 positional argument (0 given)"><pre class="notranslate"><code class="notranslate"> File "cluster.py", line 91, in cluster
y = dscan.fit_predict(X)
File "/usr/local/lib/python2.7/dist-packages/sklearn/base.py", line 345, in fit_predict
self.fit(X)
File "/usr/local/lib/python2.7/dist-packages/sklearn/cluster/dbscan_.py", line 248, in fit
clust = dbscan(X, **self.get_params())
File "/usr/local/lib/python2.7/dist-packages/sklearn/cluster/dbscan_.py", line 101, in dbscan
neighbors_model.fit(X)
File "/usr/local/lib/python2.7/dist-packages/sklearn/neighbors/base.py", line 661, in fit
return self._fit(X)
File "/usr/local/lib/python2.7/dist-packages/sklearn/neighbors/base.py", line 234, in _fit
**self.effective_metric_params_)
File "binary_tree.pxi", line 1062, in sklearn.neighbors.ball_tree.BinaryTree.__init__ (sklearn/neighbors/ball_tree.c:8037)
File "dist_metrics.pyx", line 280, in sklearn.neighbors.dist_metrics.DistanceMetric.get_metric (sklearn/neighbors/dist_metrics.c:4066)
File "dist_metrics.pyx", line 435, in sklearn.neighbors.dist_metrics.SEuclideanDistance.__init__ (sklearn/neighbors/dist_metrics.c:5414)
TypeError: __init__() takes exactly 1 positional argument (0 given)
</code></pre></div>
<p dir="auto">If I calculate distance matrix with it, the everything is just fine, but I want to use kd_tree or something to speed things up.</p> | 1 |
<p dir="auto">Just a couple of (seeming) bugs I ran into doing some Arbitrary-precision range stuff on rosettacode:<br>
System: Windows 8<br>
Julia: Latest Windows Binary v1.2 from March 8</p>
<ul dir="auto">
<li>Int128 issues: related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5186772" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/959" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/959/hovercard" href="https://github.com/JuliaLang/julia/issues/959">#959</a> ?</li>
</ul>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> typemax(Int128)
00000000004294967295
julia> [int128(2)^i-1 for i = Base.PRIMES[2:20]]
19-element Int128 Array:
7
31
127
2047
8191
131071
524287
8388607
536870911
2147483647
004294967295
0004294967295
0004294967295
000004294967295
0000004294967295
000000004294967295
0000000004294967295
00000000004294967295
00000000004294967295"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">typemax</span>(Int128)
<span class="pl-c1">00000000004294967295</span>
julia<span class="pl-k">></span> [<span class="pl-c1">int128</span>(<span class="pl-c1">2</span>)<span class="pl-k">^</span>i<span class="pl-k">-</span><span class="pl-c1">1</span> <span class="pl-k">for</span> i <span class="pl-k">=</span> Base<span class="pl-k">.</span>PRIMES[<span class="pl-c1">2</span><span class="pl-k">:</span><span class="pl-c1">20</span>]]
<span class="pl-c1">19</span><span class="pl-k">-</span>element Int128 Array<span class="pl-k">:</span>
<span class="pl-c1">7</span>
<span class="pl-c1">31</span>
<span class="pl-c1">127</span>
<span class="pl-c1">2047</span>
<span class="pl-c1">8191</span>
<span class="pl-c1">131071</span>
<span class="pl-c1">524287</span>
<span class="pl-c1">8388607</span>
<span class="pl-c1">536870911</span>
<span class="pl-c1">2147483647</span>
<span class="pl-c1">004294967295</span>
<span class="pl-c1">0004294967295</span>
<span class="pl-c1">0004294967295</span>
<span class="pl-c1">000004294967295</span>
<span class="pl-c1">0000004294967295</span>
<span class="pl-c1">000000004294967295</span>
<span class="pl-c1">0000000004294967295</span>
<span class="pl-c1">00000000004294967295</span>
<span class="pl-c1">00000000004294967295</span></pre></div>
<p dir="auto">Is 4294967295 the actual typemax? The leading zeros are at least weird.</p> | <p dir="auto">I get the following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> int128(1)
UNREACHABLE executed!
Stack dump:
0. Running pass 'X86 DAG->DAG Instruction Selection' on function '@dec'
Aborted"><pre class="notranslate"><code class="notranslate">julia> int128(1)
UNREACHABLE executed!
Stack dump:
0. Running pass 'X86 DAG->DAG Instruction Selection' on function '@dec'
Aborted
</code></pre></div>
<p dir="auto">Might be an issue in LLVM, or we might be doing something wrong. <code class="notranslate">Complex128</code> works, so wide integer arithmetic is the problem.</p> | 1 |
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/scipy/ticket/777" rel="nofollow">http://projects.scipy.org/scipy/ticket/777</a> on 2008-11-04 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pv">@pv</a>, assigned to unknown.</em></p>
<p dir="auto">The Lapack tests in Scipy <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/scipy/scipy/commit/6f2abaea5195b39651d33922ab0e66367aa334bd/hovercard" href="https://github.com/scipy/scipy/commit/6f2abaea5195b39651d33922ab0e66367aa334bd"><tt>6f2abae</tt></a> produce two failures on 32-bit Ubuntu intrepid, atlas3-sse.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="======================================================================
FAIL: test_lapack.test_all_lapack
----------------------------------------------------------------------
Traceback (most recent call last):
File ".../nose/case.py", line 182, in runTest
self.test(*self.arg)
File ".../scipy/lib/lapack/tests/esv_tests.py", line 41, in check_syevr
assert_array_almost_equal(w,exact_w)
File ".../numpy/testing/utils.py", line 311, in assert_array_almo
st_equal
header='Arrays are not almost equal')
File ".../numpy/testing/utils.py", line 296, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal
(mismatch 33.3333333333%)
x: array([-0.66992444, 0.48769444, 9.18222618], dtype=float32)
y: array([-0.66992434, 0.48769389, 9.18223045])
======================================================================
FAIL: test_lapack.test_all_lapack
----------------------------------------------------------------------
Traceback (most recent call last):
File ".../nose/case.py", line 182, in runTest
self.test(*self.arg)
File ".../scipy/lib/lapack/tests/esv_tests.py", line 66, in check_syevr_irange
assert_array_almost_equal(w,exact_w[rslice])
File ".../numpy/testing/utils.py", line 311, in assert_array_almost_equal
header='Arrays are not almost equal')
File ".../testing/utils.py", line 296, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal
(mismatch 33.3333333333%)
x: array([-0.66992444, 0.48769444, 9.18222618], dtype=float32)
y: array([-0.66992434, 0.48769389, 9.18223045])
----------------------------------------------------------------------"><pre class="notranslate"><code class="notranslate">======================================================================
FAIL: test_lapack.test_all_lapack
----------------------------------------------------------------------
Traceback (most recent call last):
File ".../nose/case.py", line 182, in runTest
self.test(*self.arg)
File ".../scipy/lib/lapack/tests/esv_tests.py", line 41, in check_syevr
assert_array_almost_equal(w,exact_w)
File ".../numpy/testing/utils.py", line 311, in assert_array_almo
st_equal
header='Arrays are not almost equal')
File ".../numpy/testing/utils.py", line 296, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal
(mismatch 33.3333333333%)
x: array([-0.66992444, 0.48769444, 9.18222618], dtype=float32)
y: array([-0.66992434, 0.48769389, 9.18223045])
======================================================================
FAIL: test_lapack.test_all_lapack
----------------------------------------------------------------------
Traceback (most recent call last):
File ".../nose/case.py", line 182, in runTest
self.test(*self.arg)
File ".../scipy/lib/lapack/tests/esv_tests.py", line 66, in check_syevr_irange
assert_array_almost_equal(w,exact_w[rslice])
File ".../numpy/testing/utils.py", line 311, in assert_array_almost_equal
header='Arrays are not almost equal')
File ".../testing/utils.py", line 296, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal
(mismatch 33.3333333333%)
x: array([-0.66992444, 0.48769444, 9.18222618], dtype=float32)
y: array([-0.66992434, 0.48769389, 9.18223045])
----------------------------------------------------------------------
</code></pre></div>
<p dir="auto">I wonder why are the results in float32...</p> | <p dir="auto">I have found that <code class="notranslate">lstsq</code> is sometimes unexpectedly throwing an exception; this is causing major problems because it's used in things like sklearn's <code class="notranslate">LinearRegression</code> class. I've included below a particular very simplified repro, but there appear to be an unpredictable but somewhat widespread set of circumstances that can trigger this bug.</p>
<h4 dir="auto">Reproducing code example:</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt
import numpy as np
from scipy.linalg import lstsq
n = 9 # doesn't repro for n<=8
# Generate covariates and outcomes
X = np.arange(n).reshape(-1,1)
Y = X
# plot anything with dashed lines (doesn't repro with default line style!)
plt.plot([1,2], [3,4], '--')
lstsq(X,Y)"><pre class="notranslate"><code class="notranslate">import matplotlib.pyplot as plt
import numpy as np
from scipy.linalg import lstsq
n = 9 # doesn't repro for n<=8
# Generate covariates and outcomes
X = np.arange(n).reshape(-1,1)
Y = X
# plot anything with dashed lines (doesn't repro with default line style!)
plt.plot([1,2], [3,4], '--')
lstsq(X,Y)
</code></pre></div>
<h4 dir="auto">Error message</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
in
12 plt.plot([1,2], [3,4], '--')
13
---> 14 lstsq(X,Y)
c:\Users\kebatt\source\repos\ProjectAliceCore\automl_venv\lib\site-packages\scipy\linalg\basic.py in lstsq(a, b, cond, overwrite_a, overwrite_b, check_finite, lapack_driver)
1222 if info < 0:
1223 raise ValueError('illegal value in %d-th argument of internal %s'
-> 1224 % (-info, lapack_driver))
1225 resids = np.asarray([], dtype=x.dtype)
1226 if m > n:
ValueError: illegal value in 4-th argument of internal None"><pre class="notranslate"><code class="notranslate">---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
in
12 plt.plot([1,2], [3,4], '--')
13
---> 14 lstsq(X,Y)
c:\Users\kebatt\source\repos\ProjectAliceCore\automl_venv\lib\site-packages\scipy\linalg\basic.py in lstsq(a, b, cond, overwrite_a, overwrite_b, check_finite, lapack_driver)
1222 if info < 0:
1223 raise ValueError('illegal value in %d-th argument of internal %s'
-> 1224 % (-info, lapack_driver))
1225 resids = np.asarray([], dtype=x.dtype)
1226 if m > n:
ValueError: illegal value in 4-th argument of internal None
</code></pre></div>
<h4 dir="auto">Scipy/Numpy/Python version information:</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1.5.2 1.19.2 sys.version_info(major=3, minor=6, micro=6, releaselevel='final', serial=0)"><pre class="notranslate"><code class="notranslate">1.5.2 1.19.2 sys.version_info(major=3, minor=6, micro=6, releaselevel='final', serial=0)
</code></pre></div>
<p dir="auto">I am running Windows 10 version 2004, so I assume this is at least somewhat related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="650672204" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/16744" data-hovercard-type="issue" data-hovercard-url="/numpy/numpy/issues/16744/hovercard" href="https://github.com/numpy/numpy/issues/16744">numpy/numpy#16744</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="682444304" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/12747" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/12747/hovercard" href="https://github.com/scipy/scipy/issues/12747">#12747</a>, etc., but the manifestation is different.</p> | 0 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number:
Platform ServicePack Version VersionString
-------- ----------- ------- -------------
Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable):
Version: 0.5.2681.0
Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number:
Platform ServicePack Version VersionString
-------- ----------- ------- -------------
Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable):
Version: 0.5.2681.0
Any other software?
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">first, open the windows terminal and then open the azure cloud shell tab, you will see someting like this:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/30102054/66203330-b5de1400-e6da-11e9-9732-257659c3f667.png"><img src="https://user-images.githubusercontent.com/30102054/66203330-b5de1400-e6da-11e9-9732-257659c3f667.png" alt="图片" style="max-width: 100%;"></a><br>
exactly, some words are missing after the word "enter"<br>
then, when I maximize the window and reopen that tab, the correct sentence will show:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/30102054/66203642-6ea45300-e6db-11e9-92b3-5bf6e49b9d9a.png"><img src="https://user-images.githubusercontent.com/30102054/66203642-6ea45300-e6db-11e9-92b3-5bf6e49b9d9a.png" alt="图片" style="max-width: 100%;"></a></p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">see the full sentence</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">some words disappeared</p> | <h1 dir="auto">Description of the new feature/enhancement</h1>
<p dir="auto">My windows version is 1803, but I want to try this cool terminal. So how soon can it come into reality?</p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1> | 0 |
<p dir="auto">I am not asking for a new feature in the APIs but for a new release type: CUDA+Linux ARM64.<br>
At the moment there are only x86_64 wheels at <a href="https://storage.googleapis.com/jax-releases/jax_cuda_releases.html" rel="nofollow">https://storage.googleapis.com/jax-releases/jax_cuda_releases.html</a>.<br>
I'd like to request for <code class="notranslate">aarch64</code> ones too!</p>
<p dir="auto">Thank you!</p> | <p dir="auto">Potentially related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="916640295" data-permission-text="Title is private" data-url="https://github.com/google/jax/issues/6932" data-hovercard-type="issue" data-hovercard-url="/google/jax/issues/6932/hovercard" href="https://github.com/google/jax/issues/6932">#6932</a> or <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="927516918" data-permission-text="Title is private" data-url="https://github.com/google/jax/issues/7052" data-hovercard-type="issue" data-hovercard-url="/google/jax/issues/7052/hovercard" href="https://github.com/google/jax/issues/7052">#7052</a>.</p>
<p dir="auto">I am using a heterogeneous cluster with various different compute options. I got Jax and Flax installed fine on the CPU system. Then I tried using a GPU node (specifically dual socket Cavium ThunderX2 99xx 32-core processors with two NVIDIA Tesla V100 GPUs), but am unable to install jaxlib:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ pip install --upgrade jax jaxlib==0.1.68+cuda111 -f https://storage.googleapis.com/jax-releases/jax_releases.html
Looking in links: https://storage.googleapis.com/jax-releases/jax_releases.html
Requirement already satisfied: jax in /home/southworth/.conda/envs/jax_arch/lib/python3.7/site-packages (0.2.16)
ERROR: Could not find a version that satisfies the requirement jaxlib==0.1.68+cuda111 (from versions: none)
ERROR: No matching distribution found for jaxlib==0.1.68+cuda111"><pre class="notranslate"><code class="notranslate">$ pip install --upgrade jax jaxlib==0.1.68+cuda111 -f https://storage.googleapis.com/jax-releases/jax_releases.html
Looking in links: https://storage.googleapis.com/jax-releases/jax_releases.html
Requirement already satisfied: jax in /home/southworth/.conda/envs/jax_arch/lib/python3.7/site-packages (0.2.16)
ERROR: Could not find a version that satisfies the requirement jaxlib==0.1.68+cuda111 (from versions: none)
ERROR: No matching distribution found for jaxlib==0.1.68+cuda111
</code></pre></div>
<p dir="auto">or even</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pip install jaxlib
ERROR: Could not find a version that satisfies the requirement jaxlib (from versions: none)
ERROR: No matching distribution found for jaxlib"><pre class="notranslate"><code class="notranslate">pip install jaxlib
ERROR: Could not find a version that satisfies the requirement jaxlib (from versions: none)
ERROR: No matching distribution found for jaxlib
</code></pre></div>
<p dir="auto">Below is my pip version, which is up to date. Pip also installs other libraries fine (numpy, scipy, etc.)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ pip --version
pip 21.1.2 from /home/southworth/.conda/envs/jax_arch/lib/python3.7/site-packages/pip (python 3.7)"><pre class="notranslate"><code class="notranslate">$ pip --version
pip 21.1.2 from /home/southworth/.conda/envs/jax_arch/lib/python3.7/site-packages/pip (python 3.7)
</code></pre></div> | 1 |
<ul dir="auto">
<li>Version: 2.0.0-beta.7</li>
</ul>
<p dir="auto">I'm trying to create a project that uses ES6 style components with Webpack and Babel.</p>
<p dir="auto"><strong>.babelrc</strong><br>
<code class="notranslate">{ "presets": ["es2015"], "plugins": [ "angular2-annotations", "transform-flow-strip-types" ] }</code></p>
<p dir="auto">This works fine if I only reference components that are defined somewhere within my project's main directory or a sub-directory. For instance, I've successfully created an <strong>App</strong> and <strong>MyButton</strong> component, and <strong>App</strong> can import and use <strong>MyButton</strong> just fine. However, if I create a duplicate project, transpile it's src with the same Babel configuration, and attempt to import the duplicate <strong>Mybutton</strong> into the original project's <strong>App</strong> component, I get obscure errors. I've also tried to import the duplicate <strong>MyButton</strong> component without transpiling via Babel. This should work, as it is identical, but I still get errors...</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5278555/13408763/1cec0234-def5-11e5-8707-9fe92d779a72.png"><img src="https://cloud.githubusercontent.com/assets/5278555/13408763/1cec0234-def5-11e5-8707-9fe92d779a72.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">I'm using webpack-dev-server to serve a basic bundle, and I've brought in what I believe to be the minimum necessary Angular2 dependencies in my index file.</p>
<p dir="auto"><strong>index.js</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import 'angular2/bundles/angular2-polyfills';
import 'rxjs';
import { bootstrap } from 'angular2/platform/browser';
import App from './components/App/App';
bootstrap(App);"><pre class="notranslate"><code class="notranslate">import 'angular2/bundles/angular2-polyfills';
import 'rxjs';
import { bootstrap } from 'angular2/platform/browser';
import App from './components/App/App';
bootstrap(App);
</code></pre></div>
<p dir="auto"><strong>MyButton.js</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import { Component } from 'angular2/core';
class MyButton {
}
export default Component({
selector: 'my-button',
template: `
<div
class="my-button"
(click)="onClick()">
{{label}}
</div>
`,
inputs: ['label', 'onClick'],
})(MyButton);"><pre class="notranslate"><code class="notranslate">import { Component } from 'angular2/core';
class MyButton {
}
export default Component({
selector: 'my-button',
template: `
<div
class="my-button"
(click)="onClick()">
{{label}}
</div>
`,
inputs: ['label', 'onClick'],
})(MyButton);
</code></pre></div>
<p dir="auto"><strong>App.js</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// This import works
import MyButton from '../MyButton/MyButton';
// This import doesn't work
// import { MyButton } from '../../../../uxt/lib/components/MyButton/MyButton';
import MyList from '../MyList/MyList';
import { Component } from 'angular2/core';
import { HTTP_PROVIDERS, Http } from 'angular2/http';
export class App {
constructor(http: Http) {
this.loadData = this.loadData.bind(this);
this.clearData = this.clearData.bind(this);
this.http = http;
this.items = [];
}
setItems() {
this.http.get('http://jsonplaceholder.typicode.com/posts').subscribe(res => {
this.items = res.json();
});
}
loadData() {
this.setItems();
}
clearData() {
this.items = [];
}
}
export default Component({
directives: [MyButton, MyList],
providers: [HTTP_PROVIDERS],
selector: 'my-app',
template: `
<my-button
label="Load Data"
[onClick]="loadData">
</my-button>
<my-button
label="Clear Data"
[onClick]="clearData">
</my-button>
<my-list
[items]="items">
</my-list>
`,
})(App);"><pre class="notranslate"><code class="notranslate">// This import works
import MyButton from '../MyButton/MyButton';
// This import doesn't work
// import { MyButton } from '../../../../uxt/lib/components/MyButton/MyButton';
import MyList from '../MyList/MyList';
import { Component } from 'angular2/core';
import { HTTP_PROVIDERS, Http } from 'angular2/http';
export class App {
constructor(http: Http) {
this.loadData = this.loadData.bind(this);
this.clearData = this.clearData.bind(this);
this.http = http;
this.items = [];
}
setItems() {
this.http.get('http://jsonplaceholder.typicode.com/posts').subscribe(res => {
this.items = res.json();
});
}
loadData() {
this.setItems();
}
clearData() {
this.items = [];
}
}
export default Component({
directives: [MyButton, MyList],
providers: [HTTP_PROVIDERS],
selector: 'my-app',
template: `
<my-button
label="Load Data"
[onClick]="loadData">
</my-button>
<my-button
label="Clear Data"
[onClick]="clearData">
</my-button>
<my-list
[items]="items">
</my-list>
`,
})(App);
</code></pre></div> | <p dir="auto">As of 1.14-dev.7.0 Dart SDK ships a way to suppress dartdocs for chosen parts of the code via a special <code class="notranslate"><nodoc></code> comment. We should use it to suppress docs for duplicates caused by reexporting.</p> | 0 |
<h3 dir="auto">Environment info</h3>
<p dir="auto">Operating System:<br>
Linux Mint 17.3 3.19.0-32-generic<br>
Tensorflow Version 0.12.0-rc0 (<a href="https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-0.12.0rc0-cp34-cp34m-linux_x86_64.whl" rel="nofollow">https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-0.12.0rc0-cp34-cp34m-linux_x86_64.whl</a>)</p>
<h3 dir="auto">If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)</h3>
<p dir="auto"><code class="notranslate">tf.split_v(tf.placeholder(tf.float32, shape=[10, 32, 32, 3]), [3,7], 0)</code><br>
The result is of shape (?, ?, ?, ?).</p>
<p dir="auto">However, when using split for equal length splits it shows the resulting shape:<br>
<code class="notranslate">tf.split(0, 2, tf.placeholder(tf.float32, shape=[10, 32, 32, 3]))</code></p> | <p dir="auto">The new split_v function introduced in 0.12rc0 does not correctly predict the shapes of the resulting tensors when the original tensor has an unknown dimension, resulting on the split dimension being of unknown size. For instance:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tensor = tf.placeholder(tf.float32, [None, 12])
parts = tf.split_v(tensor, [6, 4, 2], split_dim=1)"><pre class="notranslate"><code class="notranslate">tensor = tf.placeholder(tf.float32, [None, 12])
parts = tf.split_v(tensor, [6, 4, 2], split_dim=1)
</code></pre></div>
<p dir="auto">This results in three tensors, all with shapes [?, ?], instead of the expected [?, 6], [?, 4] and [?, 2]. While at runtime the resulting tensors are of the right size, this makes it more difficult to debug the code during graph definition.</p>
<p dir="auto">EDIT: This also creates problems when combined with scan. Because scan expects fn to return tensors of the same shape as the initializers, it forces the use of a reshape just to clear the 'unknown' dimension.</p> | 1 |
<p dir="auto">The <a href="https://material-ui-next.com/style/typography/" rel="nofollow">Typography demo page</a> is not in the menu under the component demos tab, even though the page exists. I've found it from the typography api page.<br>
Adding it to the menu will make this content available for people!</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul> | <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>
<p dir="auto">Hi <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/oliviertassinari/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/oliviertassinari">@oliviertassinari</a>,</p>
<p dir="auto">Thank you for writing this library! It's definitely one of my favorite sources for learning how to write React components.</p>
<p dir="auto">Minor question - I'm reading the <a href="https://material-ui-next.com/customization/css-in-js/#api" rel="nofollow">CSS-in-JS section of the v1 docs</a>, and correct me if I'm wrong, I think I see 2 definitions of "higher-order component"...</p>
<p dir="auto"><strong>Definition 1</strong></p>
<blockquote>
<p dir="auto">We use the <code class="notranslate">withStyles</code> higher-order component to inject an array of styles...</p>
</blockquote>
<p dir="auto"><strong>Definition 2</strong></p>
<blockquote>
<p dir="auto">API<br>
<code class="notranslate">withStyles(styles, [options]) => Higher-order Component</code></p>
</blockquote>
<p dir="auto">If I understood this correctly, the docs are saying that <code class="notranslate">withStyles</code> is a HOC that returns a HOC?</p>
<p dir="auto">I think the <a href="https://reactjs.org/docs/higher-order-components.html" rel="nofollow">React docs on HOCs</a> seem to prefer the 1st definition; preferring instead to call the returned object an <code class="notranslate">EnhancedComponent</code>.</p>
<p dir="auto">I'm not too worried about this personally, but I think this part of the docs may be confusing for those unfamiliar with the HOC term.</p>
<p dir="auto"><aside>I don't personally resonate with the React official definition... I think it's confusing that <strong>React</strong> Components can be rendered but <strong>Higher-order</strong> Components can't; but this definition seems to be standard now so I've gotten used to it.</aside></p>
<p dir="auto">Thoughts?</p> | 0 |
<p dir="auto">I'm having issues building the <a href="https://github.com/cssivision/qrcode-react"><code class="notranslate">qrcode-react</code></a> library with <code class="notranslate">next build</code>. I get the following error:</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">The project should build.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">The project does not build. Run <code class="notranslate">npm run dev</code> and it will run in development. Run <code class="notranslate">npm run build</code> and it fails to build for production with the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ Error: commons.js from UglifyJs
Unexpected token: name (QRCode) [commons.js:9424,6]
at /Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/next/dist/server/build/index.js:183:21
at emitRecords.err (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/webpack/lib/Compiler.js:269:13)
at Compiler.emitRecords (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/webpack/lib/Compiler.js:375:38)
at emitAssets.err (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/webpack/lib/Compiler.js:262:10)
at applyPluginsAsyncSeries1.err (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/webpack/lib/Compiler.js:368:12)
at next (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/tapable/lib/Tapable.js:218:11)
at Compiler.compiler.plugin (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/webpack/lib/performance/SizeLimitsPlugin.js:99:4)
at Compiler.applyPluginsAsyncSeries1 (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/tapable/lib/Tapable.js:222:13)
at Compiler.afterEmit (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/webpack/lib/Compiler.js:365:9)
at require.forEach.err (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/webpack/lib/Compiler.js:354:15)
errors:
[ 'commons.js from UglifyJs\nUnexpected token: name (QRCode) [commons.js:9424,6]' ],
warnings: [] }"><pre class="notranslate"><code class="notranslate">{ Error: commons.js from UglifyJs
Unexpected token: name (QRCode) [commons.js:9424,6]
at /Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/next/dist/server/build/index.js:183:21
at emitRecords.err (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/webpack/lib/Compiler.js:269:13)
at Compiler.emitRecords (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/webpack/lib/Compiler.js:375:38)
at emitAssets.err (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/webpack/lib/Compiler.js:262:10)
at applyPluginsAsyncSeries1.err (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/webpack/lib/Compiler.js:368:12)
at next (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/tapable/lib/Tapable.js:218:11)
at Compiler.compiler.plugin (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/webpack/lib/performance/SizeLimitsPlugin.js:99:4)
at Compiler.applyPluginsAsyncSeries1 (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/tapable/lib/Tapable.js:222:13)
at Compiler.afterEmit (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/webpack/lib/Compiler.js:365:9)
at require.forEach.err (/Users/joncursi/Sites/joncursi/next-uglify-error/node_modules/webpack/lib/Compiler.js:354:15)
errors:
[ 'commons.js from UglifyJs\nUnexpected token: name (QRCode) [commons.js:9424,6]' ],
warnings: [] }
</code></pre></div>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Clone the reproduction repo: <a href="https://github.com/joncursi/next-uglify-error">https://github.com/joncursi/next-uglify-error</a></li>
<li><code class="notranslate">npm install</code></li>
<li><code class="notranslate">npm run build</code></li>
<li>You'll see the error.</li>
</ol>
<p dir="auto"><code class="notranslate">[email protected]</code></p> | 0 |
|
<p dir="auto">by <strong>arnold.angerer</strong>:</p>
<pre class="notranslate">Running all.bash on fails on Mac.
%%%% making prof %%%%
make -C prof install
quietgcc -I"/Users/zeroc8/go/include" -ggdb -O2 -c
"/Users/zeroc8/go/src/cmd/prof/main.c"
quietgcc -o gopack -L"/Users/zeroc8/go"/lib ar.o -lmach -lbio -l9 -lm
cp gopack "/Users/zeroc8/go/bin"/gopack
cp gopprof "/Users/zeroc8/go/bin"/gopprof
quietgcc -o 6l -L"/Users/zeroc8/go"/lib asm.o data.o dwarf.o elf.o enam.o go.o
ldelf.o ldmacho.o ldpe.o lib.o list.o macho.o obj.o optab.o pass.o pe.o prof.o span.o
symtab.o -lmach -lbio -l9 -lm
ld: duplicate symbol _elfstrsize in symtab.o and obj.o for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [6l] Error 1
make: *** [6l.install] Error 2
Which operating system are you using?
Mac OS X 10.6.8 (10K540) (64bit)
Kernel-Version: Darwin 10.8.0
Which revision are you using? (hg identify)
443be59de1ba tip
Please provide any additional information below.
XCode 4 installed
GoIDE installed (works)</pre> | <p dir="auto">by <strong>paulo.jpinto</strong>:</p>
<pre class="notranslate">What steps will reproduce the problem?
1. import path
2. make use of path.DirSeps
What is the expected output?
I am expecting the following condition to hold, path.DirSeps = '\\'
What do you see instead?
I get path.DirSeps = '\/'
Which compiler are you using (5g, 6g, 8g, gccgo)?
8g
Which operating system are you using?
Windows XP SP3
Which revision are you using? (hg identify)
The gowin32_2011-01-12 release.
Please provide any additional information below.
Although the internal Win32 API supports forward (/) and backward slashes (\) as
pathname separators, by convention backward slashes are used and are expected by the
majority of Windows developers.</pre> | 0 |
<p dir="auto">This issue has been bouncing around a bit; basically, on my modal dialogs, I see a bit of "flicker" (the content rapidly appearing/disappearing) when hiding or unhiding the dialog.</p>
<p dir="auto">I was able to capture some of it in a screen capture:</p>
<p dir="auto"><a href="https://vimeo.com/73808307" rel="nofollow">https://vimeo.com/73808307</a></p>
<p dir="auto">It is most visible when closing the dialog.</p>
<p dir="auto">This is on Mac 10.7.5 and Chrome 29.0.1547.65.</p> | <p dir="auto">Maybe it would be better if the reference was to the entire width and would not be underlined when the mouse?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a.accordion-toggle {
display: block;
}
a.accordion-toggle:hover {
text-decoration: none;
}"><pre class="notranslate"><code class="notranslate">a.accordion-toggle {
display: block;
}
a.accordion-toggle:hover {
text-decoration: none;
}
</code></pre></div> | 0 |
<h3 dir="auto">Version</h3>
<p dir="auto">2.6.10</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://github.com/wxkcoder/bugs_demo">https://github.com/wxkcoder/bugs_demo</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">在ios10.3.3 浏览器safiri环境下运行 vue版本2.6.10 vue-router版本3.0.6<br>
1.页面a通过this.$router.push 的方式跳转到页面b<br>
2.页面b引用的一个自定义组件c<br>
页面b代码</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<style scoped>
.content{
height: 2rem;
background: #cccccc;
font-size: 0.4rem;
}
</style>
<template>
<bug1com>
<div class="content">我是slot部分 无法触发父级的touchstart事件</div>
</bug1com>
</template>
<script>
import bug1com from '../../components/bug1com'
export default {
data () {
return {
}
},
components: {
bug1com
}
}
</script>
"><pre class="notranslate"><code class="notranslate"><style scoped>
.content{
height: 2rem;
background: #cccccc;
font-size: 0.4rem;
}
</style>
<template>
<bug1com>
<div class="content">我是slot部分 无法触发父级的touchstart事件</div>
</bug1com>
</template>
<script>
import bug1com from '../../components/bug1com'
export default {
data () {
return {
}
},
components: {
bug1com
}
}
</script>
</code></pre></div>
<p dir="auto">自定义组件c代码</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<style>
.box{
padding: 0.2rem 0.2rem 2rem;
background: #42b983;
font-size: 0.4rem;
}
</style>
<template>
<div class="box" @touchstart="onTouchStart">
我是组件盒子部分 绑定了touchstart事件 触发时间:{{txt}}
<slot></slot>
</div>
</template>
<script>
export default {
data () {
return {
txt: ''
}
},
methods: {
onTouchStart (e) {
this.txt = new Date().getTime()
}
}
}
</script>
"><pre class="notranslate"><code class="notranslate"><style>
.box{
padding: 0.2rem 0.2rem 2rem;
background: #42b983;
font-size: 0.4rem;
}
</style>
<template>
<div class="box" @touchstart="onTouchStart">
我是组件盒子部分 绑定了touchstart事件 触发时间:{{txt}}
<slot></slot>
</div>
</template>
<script>
export default {
data () {
return {
txt: ''
}
},
methods: {
onTouchStart (e) {
this.txt = new Date().getTime()
}
}
}
</script>
</code></pre></div>
<p dir="auto">点击 slot的内容 无法触发 外层盒子的touchstart事件</p>
<p dir="auto">但是 直接访问该页面的话 可以触发</p>
<p dir="auto">然后将vue版本 切到2.5.22后 无此问题</p>
<p dir="auto">注:只在ios10.3.3版本 发现有这个问题 其他手机型号暂未发现</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">点击 slot的内容可以触发 外层容器的touchstart事件</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">不触发</p>
<hr>
<p dir="auto">ios 10.3.3版本</p> | <h3 dir="auto">Version</h3>
<p dir="auto">2.6.0-beta.1</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://codepen.io/frlinw/pen/OreZMz" rel="nofollow">https://codepen.io/frlinw/pen/OreZMz</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Click on "Click me"</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">demo with v2.5.22 show the expected behavior: <a href="https://codepen.io/frlinw/pen/XoLYMR" rel="nofollow">https://codepen.io/frlinw/pen/XoLYMR</a></p>
<p dir="auto">the "Dropdown" component should not be able to handle a click event which is supposed to create it</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">the Dropdown is automatically closed because it handles the click event</p> | 1 |
<p dir="auto">This is a fork from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="326198872" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/17874" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/17874/hovercard" href="https://github.com/flutter/flutter/issues/17874">#17874</a> because the use cases for transparent view is a bit different:</p>
<ul dir="auto">
<li>When using a FlutterView which intrinsic sizing, the resize operation causes the contents to be re-rendered. This "flash" is quite visible if the background of the view is black. The flash itself is being tracked here: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="339646988" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/19189" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/19189/hovercard" href="https://github.com/flutter/flutter/issues/19189">#19189</a></li>
<li>Customer dream wants to show background set in a native container through the flutter view. For instance, you can imagine a text box being laid on top of a "wallpaper". Setting this wallpaper in native container + in Flutter view would lead to hard to control artifacts such as mismatched seams.</li>
<li>Certain widgets such as card have implicit margins. This causes a black border to be visible around the card.</li>
</ul> | <p dir="auto"><a href="https://github.com/flutter/engine/blob/1c07ea530f2c78b7e303c96b19994ff897498c2a/shell/gpu/gpu_rasterizer.cc#L136">In engine, the screen is filled with SK_ColorBLACK.</a> This makes it impossible to use FlutterView as a transparent overlay, since canvas clearing is in the hands of the engine instead of the flutter application.</p>
<p dir="auto">I've solved this temporarily by punching a hole in the Skia canvas by drawing a rectangle with the paint <code class="notranslate">new Paint()..blendMode = BlendMode.clear;</code> using a BoxDecoration and a BoxPainter, but this isn't very intuitive.</p>
<p dir="auto">I've also hit some Android specific snags. It would be great if FlutterView had a method named <code class="notranslate">useAsOverlay</code> that calls <code class="notranslate">setZOrderOnTop(true)</code> and <code class="notranslate">getHolder().setFormat(PixelFormat.TRANSLUCENT)</code>. Right now my Android code depends on FlutterView being a SurfaceView, but I'm not entirely confident that it'll remain that way.</p> | 1 |
<p dir="auto">There is now a bug in the Javascript highlighter when extending a string over multiple lines using backslash at the end.</p>
<p dir="auto">var moo =<br>
'finefine<br>
notfinenotfine';</p> | <p dir="auto"><em>From @KevinSCreative on December 30, 2015 18:13</em></p>
<p dir="auto">After the first line, multi-line strings in JavaScript don't get string color. In the following example, only "Hello World" has the string color, and the obj variable declaration is all one color. In the default theme, 'var' is supposed to be blue. I would also expect the rest of the string to be orange in the default theme, not just the first line.</p>
<p dir="auto">I am running VSC 0.10.6 and I have no extensions installed.</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var test = 'Hello World!\
<div>\
<p>Testing</p>\
</div>\
';
var obj = $(test);
"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">test</span> <span class="pl-c1">=</span> <span class="pl-s">'Hello World!\</span>
<span class="pl-s"><div>\</span>
<span class="pl-s"><p>Testing</p>\</span>
<span class="pl-s"></div>\</span>
<span class="pl-s"> '</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">obj</span> <span class="pl-c1">=</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s1">test</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><em>Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="124381843" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/1716" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/1716/hovercard" href="https://github.com/microsoft/vscode/issues/1716">microsoft/vscode#1716</a></em></p> | 1 |
<p dir="auto">A common pattern is converting keyword arguments into a <code class="notranslate">Dict</code> for easier manipulation. On master this currently throws an error:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> f(;kw...) = Dict(kw...)
f (generic function with 1 method)
julia> f(a=1)
ERROR: ArgumentError: Dict(kv): kv needs to be an iterator of tuples or pairs
Stacktrace:
[1] Dict(::Int64) at ./dict.jl:147
[2] #f#1 at ./REPL[1]:1 [inlined]
[3] (::getfield(, Symbol("#kw##f")))(::NamedTuple{(:a,),Tuple{Int64}}, ::typeof(f)) at ./<missing>:0
[4] top-level scope"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-en">f</span>(;kw<span class="pl-k">...</span>) <span class="pl-k">=</span> <span class="pl-c1">Dict</span>(kw<span class="pl-k">...</span>)
f (generic <span class="pl-k">function</span> with <span class="pl-c1">1</span> method)
julia<span class="pl-k">></span> <span class="pl-c1">f</span>(a<span class="pl-k">=</span><span class="pl-c1">1</span>)
ERROR<span class="pl-k">:</span> ArgumentError<span class="pl-k">:</span> <span class="pl-c1">Dict</span>(kv)<span class="pl-k">:</span> kv needs to be an iterator of tuples or pairs
Stacktrace<span class="pl-k">:</span>
[<span class="pl-c1">1</span>] <span class="pl-c1">Dict</span>(<span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">./</span>dict<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">147</span>
[<span class="pl-c1">2</span>] <span class="pl-c"><span class="pl-c">#</span>f#1 at ./REPL[1]:1 [inlined]</span>
[<span class="pl-c1">3</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>#kw##f<span class="pl-pds">"</span></span>)))(<span class="pl-k">::</span><span class="pl-c1">NamedTuple{(:a,),Tuple{Int64}}</span>, <span class="pl-k">::</span><span class="pl-c1">typeof</span>(f)) at <span class="pl-k">./</span><span class="pl-k"><</span><span class="pl-c1">missing</span><span class="pl-k">>:</span><span class="pl-c1">0</span>
[<span class="pl-c1">4</span>] top<span class="pl-k">-</span>level scope</pre></div>
<p dir="auto">I think a <code class="notranslate">depwarn</code> would be better. Especially for code that needs to work on <code class="notranslate">v0.6</code> and master.</p> | <p dir="auto">This seems to be a consequence of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="276847030" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/24795" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/24795/hovercard" href="https://github.com/JuliaLang/julia/pull/24795">#24795</a></p>
<p dir="auto">In previous Julia versions, we could iterate through vararg keywords as key-value tuples:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> function foo(;kw...)
for (k, v) in kw
@show (k, v)
end
end
foo (generic function with 1 method)
julia> foo(x=1, y=2)
(k, v) = (:x, 1)
(k, v) = (:y, 2)"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-k">function</span> <span class="pl-en">foo</span>(;kw<span class="pl-k">...</span>)
<span class="pl-k">for</span> (k, v) <span class="pl-k">in</span> kw
<span class="pl-c1">@show</span> (k, v)
<span class="pl-k">end</span>
<span class="pl-k">end</span>
foo (generic <span class="pl-k">function</span> with <span class="pl-c1">1</span> method)
julia<span class="pl-k">></span> <span class="pl-c1">foo</span>(x<span class="pl-k">=</span><span class="pl-c1">1</span>, y<span class="pl-k">=</span><span class="pl-c1">2</span>)
(k, v) <span class="pl-k">=</span> (<span class="pl-c1">:x</span>, <span class="pl-c1">1</span>)
(k, v) <span class="pl-k">=</span> (<span class="pl-c1">:y</span>, <span class="pl-c1">2</span>)</pre></div>
<p dir="auto">but after <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="276847030" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/24795" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/24795/hovercard" href="https://github.com/JuliaLang/julia/pull/24795">#24795</a>, iterating through vararg keywords only gives the values:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> function foo(;kw...)
for (k, v) in kw
@show (k, v)
end
end
foo (generic function with 1 method)
julia> foo(x=1, y=2)
ERROR: BoundsError: attempt to access 1
at index [2]
Stacktrace:
[1] indexed_next at ./tuple.jl:60 [inlined]
[2] #foo#2(::NamedTuple{(:x, :y),Tuple{Int64,Int64}}, ::Function) at ./REPL[3]:2
[3] (::getfield(, Symbol("#kw##foo")))(::NamedTuple{(:x, :y),Tuple{Int64,Int64}}, ::typeof(foo)) at ./<missing>:0
[4] top-level scope"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-k">function</span> <span class="pl-en">foo</span>(;kw<span class="pl-k">...</span>)
<span class="pl-k">for</span> (k, v) <span class="pl-k">in</span> kw
<span class="pl-c1">@show</span> (k, v)
<span class="pl-k">end</span>
<span class="pl-k">end</span>
foo (generic <span class="pl-k">function</span> with <span class="pl-c1">1</span> method)
julia<span class="pl-k">></span> <span class="pl-c1">foo</span>(x<span class="pl-k">=</span><span class="pl-c1">1</span>, y<span class="pl-k">=</span><span class="pl-c1">2</span>)
ERROR<span class="pl-k">:</span> BoundsError<span class="pl-k">:</span> attempt to access <span class="pl-c1">1</span>
at index [<span class="pl-c1">2</span>]
Stacktrace<span class="pl-k">:</span>
[<span class="pl-c1">1</span>] indexed_next at <span class="pl-k">./</span>tuple<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">60</span> [inlined]
[<span class="pl-c1">2</span>] <span class="pl-c"><span class="pl-c">#</span>foo#2(::NamedTuple{(:x, :y),Tuple{Int64,Int64}}, ::Function) at ./REPL[3]:2</span>
[<span class="pl-c1">3</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>#kw##foo<span class="pl-pds">"</span></span>)))(<span class="pl-k">::</span><span class="pl-c1">NamedTuple{(:x, :y),Tuple{Int64,Int64}}</span>, <span class="pl-k">::</span><span class="pl-c1">typeof</span>(foo)) at <span class="pl-k">./</span><span class="pl-k"><</span><span class="pl-c1">missing</span><span class="pl-k">>:</span><span class="pl-c1">0</span>
[<span class="pl-c1">4</span>] top<span class="pl-k">-</span>level scope</pre></div>
<p dir="auto">If this is an intended change, then it should probably at least be mentioned in NEWS.md. I realize that the changelog mentions that "name-value pairs can be iterated using pairs(kw)" but I think it's important to clarify that this is a breaking change.</p> | 1 |
<h4 dir="auto">Description</h4>
<p dir="auto">There are a lot of warnings launched during the test process.<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/TomDLT/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/TomDLT">@TomDLT</a> have cleaned those messages a long time ago but there are a some new warnings.<br>
It's not an easy task but it could be cool to clean all those warnings.</p> | <p dir="auto">With recent improvements and additions, I have come to realize that the codebase starts accumulating several implementations or occurrences of kernels, most of which are not directly interoperable or do not share a common and simple interface.</p>
<p dir="auto">So far, we have kernels (or usages of) in</p>
<ul dir="auto">
<li><code class="notranslate">gaussian_process.kernels</code></li>
<li><code class="notranslate">metrics.pairwise</code></li>
<li><code class="notranslate">svm</code></li>
<li><code class="notranslate">neighbors.KernelDensity</code></li>
<li><code class="notranslate">kernel_approximation</code></li>
<li><code class="notranslate">decomposition.KernelPCA</code></li>
<li>somewhere else?</li>
</ul>
<p dir="auto">I dont know all these parts of the codebase well enough, but I think quite a lot could be factored out if we had some kind unified kernel interface. Benefits would include shorter and common code, consistency of usage for users and potential global optimizations (improving kernel implementations would benefit to all parts of the code using kernels). Also, note that there already exist some bridges, e.g. the GP module defines a special pairwise kernel to use kernels from <code class="notranslate">metrics.pairwise</code>.</p>
<p dir="auto">So far I have nothing to propose to improve things, but still, I wanted to make this remark and gather your opinions. Am I just wrong because I dont know these parts well enough, or do you also sense room for improvements?</p>
<p dir="auto">CC: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amueller/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/amueller">@amueller</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mblondel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mblondel">@mblondel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jmetzen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jmetzen">@jmetzen</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/agramfort/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/agramfort">@agramfort</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/GaelVaroquaux/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/GaelVaroquaux">@GaelVaroquaux</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ogrisel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ogrisel">@ogrisel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jakevdp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jakevdp">@jakevdp</a></p> | 0 |
<h3 dir="auto">Description</h3>
<p dir="auto">A config that lets the scheduler choose tasks with the latest/oldest execution_date to run first. Or perhaps a way to dynamically assign pool slots based on the execution_date could also work.</p>
<h3 dir="auto">Use case/motivation</h3>
<p dir="auto">Sometimes the same task can have multiple task instances from different dag runs queued and occupying pool slots. The task instance from the most recent dag run could have a higher priority than the older ones. Currently there is no way to prioritize that.</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> | <p dir="auto"><strong>Description of the problem</strong></p>
<p dir="auto">A common workflow we have is running daily DAGs not dependent of past runs. When deployed, It need to catch up for many years before the runs are up to date and can be used by analysts.</p>
<p dir="auto">The problem is that most of times, recent runs are more used/valuable than performing ETL of execution time 20 years ago. In practice we deploy the DAG two times, one for filling recent data and one for filling since inception.</p>
<p dir="auto"><strong>Feature requested</strong></p>
<p dir="auto">A flag (<code class="notranslate">back_run=False</code>) on DAG class. If this flag is set to <code class="notranslate">True</code>, DAG runs are scheduled in reverse order.</p>
<p dir="auto">E.g. consider we're on day <code class="notranslate">10</code> and in the middle of the process a new run for day <code class="notranslate">11</code> happens:<br>
the DAG runs would be scheduled like <code class="notranslate">10 -> 9 -> 8 -> 11 -> 7 -> 6 -> 5</code> (assuming the run for <code class="notranslate">11</code> happened after running for day <code class="notranslate">8</code>). This flag can only be used if <code class="notranslate">depends_on_past=False</code></p> | 1 |
<p dir="auto">Hello,</p>
<p dir="auto">I'm testing PairGrid using <a href="http://stanford.edu/~mwaskom/software/seaborn/tutorial/axis_grids.html" rel="nofollow">http://stanford.edu/~mwaskom/software/seaborn/tutorial/axis_grids.html</a></p>
<p dir="auto">but this code</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
movie_user_preferences={'Jill': {'Avenger: Age of Ultron': 7.0,
'Django Unchained': 6.5,
'Gone Girl': 9.0,
'Kill the Messenger': 8.0},
'Julia': {'Avenger: Age of Ultron': 10.0,
'Django Unchained': 6.0,
'Gone Girl': 6.5,
'Kill the Messenger': 6.0,
'Zoolander': 6.5},
'Max': {'Avenger: Age of Ultron': 7.0,
'Django Unchained': 7.0,
'Gone Girl': 10.0,
'Horrible Bosses 2': 6.0,
'Kill the Messenger': 5.0,
'Zoolander': 10.0},
'Robert': {'Avenger: Age of Ultron': 8.0,
'Django Unchained': 7.0,
'Horrible Bosses 2': 5.0,
'Kill the Messenger': 9.0,
'Zoolander': 9.0},
'Sam': {'Avenger: Age of Ultron': 10.0,
'Django Unchained': 7.5,
'Gone Girl': 6.0,
'Horrible Bosses 2': 3.0,
'Kill the Messenger': 5.5,
'Zoolander': 7.0},
'Toby': {'Avenger: Age of Ultron': 8.5,
'Django Unchained': 9.0,
'Zoolander': 2.0},
'William': {'Avenger: Age of Ultron': 6.0,
'Django Unchained': 8.0,
'Gone Girl': 7.0,
'Horrible Bosses 2': 4.0,
'Kill the Messenger': 6.5,
'Zoolander': 4.0}}
df_movie_user_preferences = pd.DataFrame(movie_user_preferences)
df_movie_user_preferences.index.name = "Movie"
df_movie_user_preferences.columns.name = "User"
print df_movie_user_preferences
df_ratings = df_movie_user_preferences.transpose().reset_index()
df_ratings.columns.name = None
g = sns.PairGrid(df_ratings, hue="User")
g.map_diag(plt.hist)
g.map_offdiag(plt.scatter)
g.add_legend()
plt.show()"><pre class="notranslate"><code class="notranslate">import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
movie_user_preferences={'Jill': {'Avenger: Age of Ultron': 7.0,
'Django Unchained': 6.5,
'Gone Girl': 9.0,
'Kill the Messenger': 8.0},
'Julia': {'Avenger: Age of Ultron': 10.0,
'Django Unchained': 6.0,
'Gone Girl': 6.5,
'Kill the Messenger': 6.0,
'Zoolander': 6.5},
'Max': {'Avenger: Age of Ultron': 7.0,
'Django Unchained': 7.0,
'Gone Girl': 10.0,
'Horrible Bosses 2': 6.0,
'Kill the Messenger': 5.0,
'Zoolander': 10.0},
'Robert': {'Avenger: Age of Ultron': 8.0,
'Django Unchained': 7.0,
'Horrible Bosses 2': 5.0,
'Kill the Messenger': 9.0,
'Zoolander': 9.0},
'Sam': {'Avenger: Age of Ultron': 10.0,
'Django Unchained': 7.5,
'Gone Girl': 6.0,
'Horrible Bosses 2': 3.0,
'Kill the Messenger': 5.5,
'Zoolander': 7.0},
'Toby': {'Avenger: Age of Ultron': 8.5,
'Django Unchained': 9.0,
'Zoolander': 2.0},
'William': {'Avenger: Age of Ultron': 6.0,
'Django Unchained': 8.0,
'Gone Girl': 7.0,
'Horrible Bosses 2': 4.0,
'Kill the Messenger': 6.5,
'Zoolander': 4.0}}
df_movie_user_preferences = pd.DataFrame(movie_user_preferences)
df_movie_user_preferences.index.name = "Movie"
df_movie_user_preferences.columns.name = "User"
print df_movie_user_preferences
df_ratings = df_movie_user_preferences.transpose().reset_index()
df_ratings.columns.name = None
g = sns.PairGrid(df_ratings, hue="User")
g.map_diag(plt.hist)
g.map_offdiag(plt.scatter)
g.add_legend()
plt.show()
</code></pre></div>
<p dir="auto">prints</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" User Avenger: Age of Ultron Django Unchained Gone Girl \
0 Jill 7.0 6.5 9.0
1 Julia 10.0 6.0 6.5
2 Max 7.0 7.0 10.0
3 Robert 8.0 7.0 NaN
4 Sam 10.0 7.5 6.0
5 Toby 8.5 9.0 NaN
6 William 6.0 8.0 7.0
Horrible Bosses 2 Kill the Messenger Zoolander
0 NaN 8.0 NaN
1 NaN 6.0 6.5
2 6 5.0 10.0
3 5 9.0 9.0
4 3 5.5 7.0
5 NaN NaN 2.0
6 4 6.5 4.0"><pre class="notranslate"><code class="notranslate"> User Avenger: Age of Ultron Django Unchained Gone Girl \
0 Jill 7.0 6.5 9.0
1 Julia 10.0 6.0 6.5
2 Max 7.0 7.0 10.0
3 Robert 8.0 7.0 NaN
4 Sam 10.0 7.5 6.0
5 Toby 8.5 9.0 NaN
6 William 6.0 8.0 7.0
Horrible Bosses 2 Kill the Messenger Zoolander
0 NaN 8.0 NaN
1 NaN 6.0 6.5
2 6 5.0 10.0
3 5 9.0 9.0
4 3 5.5 7.0
5 NaN NaN 2.0
6 4 6.5 4.0
</code></pre></div>
<p dir="auto">raises <code class="notranslate">max() arg is an empty sequence</code></p>
<p dir="auto">so I can't see legend</p>
<p dir="auto">Any idea ?</p>
<p dir="auto">Kind regards</p> | <p dir="auto">Python env:</p>
<ul dir="auto">
<li>Python: 3.6.8 x64</li>
<li>OS: Mac OSX / Linux</li>
<li>seaborn: 0.9.0</li>
<li>matplotlib: 3.1.1</li>
</ul>
<p dir="auto">The code below is not working as expected.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import seaborn as sns
outcome_labels = ["Test A", "Test B"]
sns.heatmap(
confusion_matrix(y_test, clf_predict),
annot=True,
fmt="d",
xticklabels=outcome_labels,
yticklabels=outcome_labels,
)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">seaborn</span> <span class="pl-k">as</span> <span class="pl-s1">sns</span>
<span class="pl-s1">outcome_labels</span> <span class="pl-c1">=</span> [<span class="pl-s">"Test A"</span>, <span class="pl-s">"Test B"</span>]
<span class="pl-s1">sns</span>.<span class="pl-en">heatmap</span>(
<span class="pl-en">confusion_matrix</span>(<span class="pl-s1">y_test</span>, <span class="pl-s1">clf_predict</span>),
<span class="pl-s1">annot</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,
<span class="pl-s1">fmt</span><span class="pl-c1">=</span><span class="pl-s">"d"</span>,
<span class="pl-s1">xticklabels</span><span class="pl-c1">=</span><span class="pl-s1">outcome_labels</span>,
<span class="pl-s1">yticklabels</span><span class="pl-c1">=</span><span class="pl-s1">outcome_labels</span>,
)</pre></div>
<p dir="auto"><code class="notranslate">confusion_matrix</code> returns:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="array([[107, 3],
[ 3, 61]])"><pre class="notranslate"><span class="pl-en">array</span>([[<span class="pl-c1">107</span>, <span class="pl-c1">3</span>],
[ <span class="pl-c1">3</span>, <span class="pl-c1">61</span>]])</pre></div>
<p dir="auto">It generate confusion matrix plot but annotations positions are out of boxes. By default they were centered in Vertical/Horizontal in the past but sth changed after last package update.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/228280/62290834-886ab500-b462-11e9-88d7-0e0caa18b550.png"><img src="https://user-images.githubusercontent.com/228280/62290834-886ab500-b462-11e9-88d7-0e0caa18b550.png" alt="heatmap" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto">Hello,</p>
<p dir="auto">I have generated a fiddle here <a href="http://jsfiddle.net/coderslay/fyDkD/6/show/" rel="nofollow">http://jsfiddle.net/coderslay/fyDkD/6/show/</a></p>
<p dir="auto">In this i see that when we drag and drop the pegman anywhere on the google map then we get the streetview. The street view is not proper only in Firefox browser. Also i have seen that if the difference between width and height is considerably large then we can see the issue very easily. The img of street view is not showing properly. This happens only if we use bootstrap along with google maps. Else it workd fine. Can you provide a fix or a solution for this.</p> | <p dir="auto">First of all thanks for your fantastic work. It does SAVE me a lot of time.</p>
<p dir="auto">When I put Google Maps into Bootstrap layout, img tag in Google Maps breaks because Bootstrap set <strong>img max-width to 100%</strong>. When I comment max-width, it's working find but I'm not sure whether it'll break something else in Bootstrap or not.</p>
<p dir="auto">Bootstrap and Google Maps<br>
<a href="http://jsfiddle.net/jhnRD/1/" rel="nofollow">http://jsfiddle.net/jhnRD/1/</a></p>
<p dir="auto">Google Maps without Bootstrap<br>
<a href="http://jsfiddle.net/aVx8L/" rel="nofollow">http://jsfiddle.net/aVx8L/</a></p>
<p dir="auto">Cheers,</p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=lhaemmerle" rel="nofollow">Lukas Hämmerle</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7919?redirect=false" rel="nofollow">SPR-7919</a></strong> and commented</p>
<p dir="auto">I have defined the following request mapping:<br>
<code class="notranslate">@RequestMapping</code>(value = "/services/{serviceKey}/vos", method = RequestMethod.GET)</p>
<p dir="auto">There is a problem if the value of {serviceKey} contains a "/", for example if {serviceKey}=<a href="http://example.com/foo" rel="nofollow">http://example.com/foo</a><br>
This makes sense of course since the requestmapping cannot easily know that the / is part of a PathVariable.</p>
<p dir="auto">However, I would have assumed that if the URL is URL-encoded as "http%3A%2F%2Fexample.com%2Ffoo" this should not be a problem. But apparently this values for some reason cannot mapped properly because it reports:</p>
<p dir="auto">"org.springframework.web.servlet.DispatcherServlet - DispatcherServlet with name 'dispatcher' processing GET request for [/core/services/http://example.com/foo/vos]"</p>
<p dir="auto">If the already URL-encoded values is URL-encoded again to "http%253A%252F%252Fexample.com%252Ffoo", the mapping works:</p>
<p dir="auto">"org.springframework.web.servlet.DispatcherServlet - DispatcherServlet with name 'dispatcher' processing GET request for [/core/services/http%3A%2F%2Fexample.com%2Ffoo/vos]"</p>
<p dir="auto">So, my question is whether there is a way how to make Spring accept the URL encoded value "http%3A%2F%2Fexample.com%2Ffoo" as PathVariable or whether this is a bug.</p>
<p dir="auto">I tested this on Tomcat 6 and Jetty 7.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.3</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398162940" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/15727" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/15727/hovercard" href="https://github.com/spring-projects/spring-framework/issues/15727">#15727</a> URLs containing %2F (forward slash) are not mapped correctly to <code class="notranslate">@RequestMapping</code> methods</li>
</ul>
<p dir="auto">1 votes, 3 watchers</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=rodion" rel="nofollow">Rodion</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-11101?redirect=false" rel="nofollow">SPR-11101</a></strong> and commented</p>
<p dir="auto">Controller method:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@RequestMapping(value = "/test_url_decoding/{param1}")
public String[] testUrlDecoding(@PathVariable("param1") String p1)"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">RequestMapping</span>(<span class="pl-s1">value</span> = <span class="pl-s">"/test_url_decoding/{param1}"</span>)
<span class="pl-k">public</span> <span class="pl-smi">String</span>[] <span class="pl-s1">testUrlDecoding</span>(<span class="pl-c1">@</span><span class="pl-c1">PathVariable</span>(<span class="pl-s">"param1"</span>) <span class="pl-smi">String</span> <span class="pl-s1">p1</span>)</pre></div>
<p dir="auto">Call:<br>
/test_url_decoding/a%2Fb</p>
<p dir="auto">Expecting result: parameter p1 is set to "a/b".<br>
Current result: 404 Not found.</p>
<p dir="auto">Simular problem:<br>
<a href="http://stackoverflow.com/questions/13482020/encoded-slash-2f-with-spring-requestmapping-path-param-gives-http-400" rel="nofollow">http://stackoverflow.com/questions/13482020/encoded-slash-2f-with-spring-requestmapping-path-param-gives-http-400</a></p>
<p dir="auto">The problem was already discussed in <a href="https://jira.springsource.org/browse/SPR-7919" rel="nofollow">https://jira.springsource.org/browse/SPR-7919</a></p>
<p dir="auto">Suggested solution (setting decodeUrl of the HandlerMapping to false) does not work. The UrlPathHelper uses HttpServletRequest.getServletPath() method internally, which decodes the path.</p>
<p dir="auto">Suggested implementation for non-decoding helper:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public class UrlPathHelperNonDecoding extends UrlPathHelper {
public UrlPathHelperFixed() {
super.setUrlDecode(false);
}
@Override
public void setUrlDecode(boolean urlDecode) {
if (urlDecode) {
throw new IllegalArgumentException("Handler does not support URL decoding.");
}
}
@Override
public String getServletPath(HttpServletRequest request) {
String servletPath = getOriginatingServletPath(request);
return servletPath;
}
@Override
public String getOriginatingServletPath(HttpServletRequest request) {
String servletPath = request.getRequestURI().substring(request.getContextPath().length());
return servletPath;
}
}"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">UrlPathHelperNonDecoding</span> <span class="pl-k">extends</span> <span class="pl-smi">UrlPathHelper</span> {
<span class="pl-k">public</span> <span class="pl-smi">UrlPathHelperFixed</span>() {
<span class="pl-en">super</span>.<span class="pl-en">setUrlDecode</span>(<span class="pl-c1">false</span>);
}
<span class="pl-c1">@</span><span class="pl-c1">Override</span>
<span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-en">setUrlDecode</span>(<span class="pl-smi">boolean</span> <span class="pl-s1">urlDecode</span>) {
<span class="pl-k">if</span> (<span class="pl-s1">urlDecode</span>) {
<span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-smi">IllegalArgumentException</span>(<span class="pl-s">"Handler does not support URL decoding."</span>);
}
}
<span class="pl-c1">@</span><span class="pl-c1">Override</span>
<span class="pl-k">public</span> <span class="pl-smi">String</span> <span class="pl-en">getServletPath</span>(<span class="pl-smi">HttpServletRequest</span> <span class="pl-s1">request</span>) {
<span class="pl-smi">String</span> <span class="pl-s1">servletPath</span> = <span class="pl-en">getOriginatingServletPath</span>(<span class="pl-s1">request</span>);
<span class="pl-k">return</span> <span class="pl-s1">servletPath</span>;
}
<span class="pl-c1">@</span><span class="pl-c1">Override</span>
<span class="pl-k">public</span> <span class="pl-smi">String</span> <span class="pl-en">getOriginatingServletPath</span>(<span class="pl-smi">HttpServletRequest</span> <span class="pl-s1">request</span>) {
<span class="pl-smi">String</span> <span class="pl-s1">servletPath</span> = <span class="pl-s1">request</span>.<span class="pl-en">getRequestURI</span>().<span class="pl-en">substring</span>(<span class="pl-s1">request</span>.<span class="pl-en">getContextPath</span>().<span class="pl-en">length</span>());
<span class="pl-k">return</span> <span class="pl-s1">servletPath</span>;
}
}</pre></div>
<p dir="auto">context.xml</p>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping">
<property name="order" value="-1"></property>
<property name="urlPathHelper">
<bean class="com.yoochoose.frontend.spring.UrlPathHelperFixed"/>
</property>
</bean>"><pre class="notranslate"><<span class="pl-ent">bean</span> <span class="pl-e">class</span>=<span class="pl-s"><span class="pl-pds">"</span>org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping<span class="pl-pds">"</span></span>>
<<span class="pl-ent">property</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>order<span class="pl-pds">"</span></span> <span class="pl-e">value</span>=<span class="pl-s"><span class="pl-pds">"</span>-1<span class="pl-pds">"</span></span>></<span class="pl-ent">property</span>>
<<span class="pl-ent">property</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>urlPathHelper<span class="pl-pds">"</span></span>>
<<span class="pl-ent">bean</span> <span class="pl-e">class</span>=<span class="pl-s"><span class="pl-pds">"</span>com.yoochoose.frontend.spring.UrlPathHelperFixed<span class="pl-pds">"</span></span>/>
</<span class="pl-ent">property</span>>
</<span class="pl-ent">bean</span>></pre></div>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.2.5</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398109888" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12574" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12574/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12574">#12574</a> Request mapping using <code class="notranslate">@PathVariable</code> doesn't work with URL-encoded values</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398210584" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/20202" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/20202/hovercard" href="https://github.com/spring-projects/spring-framework/issues/20202">#20202</a> [doc] Document urlDecode=false implies alwaysUseFullPath=true</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/12598f85811c61dbe2a205826274ec4dd6a85961/hovercard" href="https://github.com/spring-projects/spring-framework/commit/12598f85811c61dbe2a205826274ec4dd6a85961"><tt>12598f8</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/d55a173e2e829baaa727daffc839fa93c1663ab5/hovercard" href="https://github.com/spring-projects/spring-framework/commit/d55a173e2e829baaa727daffc839fa93c1663ab5"><tt>d55a173</tt></a></p>
<p dir="auto"><strong>Backported to:</strong> <a href="https://github.com/spring-projects/spring-framework/milestone/96?closed=1">3.2.8</a></p>
<p dir="auto">3 votes, 10 watchers</p> | 1 |
<p dir="auto">Hi,</p>
<p dir="auto">Pairplot with diag_kind = "kde" used to work with version 0.9.0 but it fais with version 0.10.0.</p>
<p dir="auto">Error message: RuntimeError: Selected KDE bandwidth is 0. Cannot estiamte density.</p>
<p dir="auto">Current version: seaborn 0.10.0 , matplotlib 3.1.3</p>
<p dir="auto">Dataset: Publicly available data of Wisconsin breast cancer<br>
Dataset is attached.<br>
<a href="https://github.com/mwaskom/seaborn/files/4518978/breast-cancer-wisconsin.data.zip">breast-cancer-wisconsin.data.zip</a></p>
<p dir="auto">Link to dataset: <a href="http://archive.ics.uci.edu/ml/datasets/Breast+Cancer+Wisconsin+(Original)" rel="nofollow">http://archive.ics.uci.edu/ml/datasets/Breast+Cancer+Wisconsin+(Original)</a></p>
<p dir="auto">Code Script:<br>
import numpy as np<br>
import pandas as pd<br>
import matplotlib.pyplot as plt<br>
col_names = ['id', 'Clump Thickness', 'Uniformity of Cell Size',<br>
'Uniformity of Cell Shape', 'Marginal Adhesion',<br>
'Single Epithelial Cell Size', 'Bare Nuclei', 'Bland Chromatin',<br>
'Normal Nucleoli', 'Mitoses', 'Class']<br>
df = pd.read_csv("breast-cancer-wisconsin.data.csv", names=col_names,<br>
header=None)<br>
df['Bare Nuclei'].replace("?", np.NAN, inplace=True)<br>
df = df.dropna()<br>
import seaborn as sns<br>
sns.pairplot(df , diag_kind = "kde", hue="Class")</p>
<p dir="auto">Comment: The dataset contains discrete values with very less variation in values (but variation is not zero, the values vary from 1 to 10 though majority have repeating value hence Variance is low). Low variation is probably causing the error in KDE.</p> | <h3 dir="auto">Description</h3>
<p dir="auto">Hey Everybody,<br>
I have encountered unexpected behavior when I tried to create a seaborn distplot from an array with many zeros. I know that this is probably a weird corner case that doesn't seem very urgent but I think there is some value reporting it. I could not manage to create suitable synthetic data but I have included my original data to reproduce it, I hope that's ok.<br>
Keep on the good work with seaborn, its a pleasure using it!</p>
<p dir="auto">Best,<br>
Henry</p>
<h3 dir="auto">Versions:</h3>
<p dir="auto">Seaborn='0.10.0'<br>
Matplotlib='3.1.3'</p>
<h3 dir="auto">Error Message:</h3>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="C:\Users\...\.conda\envs\...\python.exe C:/Users/henry/.PyCharmCE2019.3/config/scratches/scratch.py
Traceback (most recent call last):
File "C:\Users\...\.conda\envs\...\lib\site-packages\statsmodels\nonparametric\kde.py", line 451, in kdensityfft
bw = float(bw)
ValueError: could not convert string to float: 'scott'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/.../.PyCharmCE2019.3/config/scratches/scratch.py", line 555, in <module>
ax = sns.distplot(a, rug=True, hist=False, label='UW')
File "C:\Users\...\.conda\envs\...\lib\site-packages\seaborn\distributions.py", line 233, in distplot
kdeplot(a, vertical=vertical, ax=ax, color=kde_color, **kde_kws)
File "C:\Users\...\.conda\envs\...\lib\site-packages\seaborn\distributions.py", line 705, in kdeplot
cumulative=cumulative, **kwargs)
File "C:\Users\...\.conda\envs\...\lib\site-packages\seaborn\distributions.py", line 295, in _univariate_kdeplot
cumulative=cumulative)
File "C:\Users\...\.conda\envs\...\lib\site-packages\seaborn\distributions.py", line 367, in _statsmodels_univariate_kde
kde.fit(kernel, bw, fft, gridsize=gridsize, cut=cut, clip=clip)
File "C:\Users\...\.conda\envs\...\lib\site-packages\statsmodels\nonparametric\kde.py", line 140, in fit
clip=clip, cut=cut)
File "C:\Users\...\.conda\envs\....\lib\site-packages\statsmodels\nonparametric\kde.py", line 453, in kdensityfft
bw = bandwidths.select_bandwidth(X, bw, kern) # will cross-val fit this pattern?
File "C:\Users\....\.conda\envs\....\lib\site-packages\statsmodels\nonparametric\bandwidths.py", line 174, in select_bandwidth
raise RuntimeError(err)
RuntimeError: Selected KDE bandwidth is 0. Cannot estiamte density.
Process finished with exit code 1"><pre class="notranslate"><span class="pl-c1">C:\Users\...\.conda\envs\...\python.exe C:/Users/henry/.PyCharmCE2019.3/config/scratches/scratch.py</span>
<span class="pl-c1">Traceback (most recent call last):</span>
<span class="pl-c1"> File "C:\Users\...\.conda\envs\...\lib\site-packages\statsmodels\nonparametric\kde.py", line 451, in kdensityfft</span>
<span class="pl-c1"> bw = float(bw)</span>
<span class="pl-c1">ValueError: could not convert string to float: 'scott'</span>
<span class="pl-c1">During handling of the above exception, another exception occurred:</span>
<span class="pl-c1">Traceback (most recent call last):</span>
<span class="pl-c1"> File "C:/Users/.../.PyCharmCE2019.3/config/scratches/scratch.py", line 555, in <module></span>
<span class="pl-c1"> ax = sns.distplot(a, rug=True, hist=False, label='UW')</span>
<span class="pl-c1"> File "C:\Users\...\.conda\envs\...\lib\site-packages\seaborn\distributions.py", line 233, in distplot</span>
<span class="pl-c1"> kdeplot(a, vertical=vertical, ax=ax, color=kde_color, **kde_kws)</span>
<span class="pl-c1"> File "C:\Users\...\.conda\envs\...\lib\site-packages\seaborn\distributions.py", line 705, in kdeplot</span>
<span class="pl-c1"> cumulative=cumulative, **kwargs)</span>
<span class="pl-c1"> File "C:\Users\...\.conda\envs\...\lib\site-packages\seaborn\distributions.py", line 295, in _univariate_kdeplot</span>
<span class="pl-c1"> cumulative=cumulative)</span>
<span class="pl-c1"> File "C:\Users\...\.conda\envs\...\lib\site-packages\seaborn\distributions.py", line 367, in _statsmodels_univariate_kde</span>
<span class="pl-c1"> kde.fit(kernel, bw, fft, gridsize=gridsize, cut=cut, clip=clip)</span>
<span class="pl-c1"> File "C:\Users\...\.conda\envs\...\lib\site-packages\statsmodels\nonparametric\kde.py", line 140, in fit</span>
<span class="pl-c1"> clip=clip, cut=cut)</span>
<span class="pl-c1"> File "C:\Users\...\.conda\envs\....\lib\site-packages\statsmodels\nonparametric\kde.py", line 453, in kdensityfft</span>
<span class="pl-c1"> bw = bandwidths.select_bandwidth(X, bw, kern) # will cross-val fit this pattern?</span>
<span class="pl-c1"> File "C:\Users\....\.conda\envs\....\lib\site-packages\statsmodels\nonparametric\bandwidths.py", line 174, in select_bandwidth</span>
<span class="pl-c1"> raise RuntimeError(err)</span>
<span class="pl-c1">RuntimeError: Selected KDE bandwidth is 0. Cannot estiamte density.</span>
<span class="pl-c1">Process finished with exit code 1</span></pre></div>
<h3 dir="auto">Example code</h3>
<details><summary>very long example code</summary>
<p dir="auto">
</p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import seaborn as sns
a = [ 6.44158112e+00, 2.22931748e+00, 1.90461774e+00, 1.62838104e+00,
1.44450213e+00, 1.32120694e+00, -1.37449727e+00, -1.34068670e+00,
-1.22437811e+00, 1.08203506e+00, 1.00687963e+00, -1.08464463e+00,
-9.92682231e-01, 8.77397031e-01, -8.18224584e-01, -7.88574259e-01,
-7.39802046e-01, 7.26716930e-01, 7.20018861e-01, 7.05212335e-01,
-6.44688312e-01, 6.36198782e-01, -5.76895770e-01, 6.03964108e-01,
5.76204893e-01, 5.69689909e-01, 5.52118112e-01, 5.25401516e-01,
-4.18012528e-01, 4.59933207e-01, 4.43555421e-01, 4.41596376e-01,
4.39098156e-01, 4.28526102e-01, 4.20569936e-01, 4.15588319e-01,
3.98167467e-01, 3.79937382e-01, 3.69704675e-01, 3.48799274e-01,
3.15384843e-01, 3.15267651e-01, 3.12962586e-01, 2.89400742e-01,
2.95672458e-01, -2.66440651e-01, 2.53409343e-01, 2.45168039e-01,
2.33842507e-01, 2.18591293e-01, 2.17178734e-01, 2.14425229e-01,
2.11277792e-01, 2.10006902e-01, 1.97309425e-01, 1.82623551e-01,
1.78820952e-01, 1.75251894e-01, 1.69346510e-01, -2.23685152e-01,
-2.23374659e-01, -2.17195278e-01, -2.20288950e-01, 1.63397981e-01,
1.55450837e-01, 1.55034695e-01, 1.50501798e-01, 1.42519918e-01,
1.31807907e-01, 1.38860666e-01, 1.35390009e-01, 1.37646864e-01,
1.37242513e-01, 1.21238699e-01, 1.19726271e-01, 1.13726245e-01,
1.11266238e-01, 1.10557847e-01, 1.08976907e-01, -2.14119343e-01,
1.05026061e-01, 1.05515901e-01, 9.95445982e-02, 9.10744981e-02,
-2.09274377e-01, -2.03248740e-01, -2.01819404e-01, -2.01263355e-01,
-2.00151327e-01, -1.99609002e-01, -1.99324882e-01, -1.99020335e-01,
-1.98850700e-01, -1.97380528e-01, -1.95276893e-01, -1.92891803e-01,
-1.89409380e-01, -1.89497128e-01, -1.89755567e-01, -1.90709324e-01,
-1.91072552e-01, -1.91251750e-01, -1.91612635e-01, -1.91484739e-01,
-1.91446185e-01, -1.87141562e-01, -1.86916499e-01, -1.85361033e-01,
-1.78510889e-01, -1.79920662e-01, -1.82477178e-01, -1.83361572e-01,
-1.84418528e-01, -1.84353793e-01, -1.84203884e-01, -1.63041863e-01,
-1.79187162e-01, -1.76616619e-01, -1.76058466e-01, -1.81513868e-01,
-1.74516815e-01, -1.75429097e-01, -1.64305490e-01, -1.73209698e-01,
-1.81287911e-01, -1.72931546e-01, -1.81305962e-01, -1.67938028e-01,
-1.68547032e-01, -1.70654936e-01, -1.71224488e-01, -1.70046221e-01,
-1.69553459e-01, -1.67849033e-01, -1.68964827e-01, -1.68950514e-01,
-1.69532848e-01, 8.37116094e-02, 8.23125124e-02, 8.15529990e-02,
8.11596805e-02, 8.08502063e-02, 7.72547025e-02, 7.65640185e-02,
7.01004415e-02, 6.62348263e-02, 6.59924193e-02, 6.46424494e-02,
5.83199746e-02, -1.61669672e-01, -1.61406270e-01, -1.61529541e-01,
-1.60591827e-01, -1.60479389e-01, -1.59761896e-01, -1.59576433e-01,
-1.56387956e-01, -1.55819170e-01, -1.57978147e-01, -1.36274966e-01,
-1.43409731e-01, -1.43110906e-01, -1.58415985e-01, -1.53305601e-01,
-1.46081258e-01, -1.58444168e-01, -1.52835757e-01, -1.38571159e-01,
-1.52311674e-01, -1.38007676e-01, -1.50877098e-01, -1.50393344e-01,
-1.47580092e-01, -1.48095339e-01, -1.49929040e-01, -1.50207709e-01,
-1.47717919e-01, 5.67238171e-02, 5.56471282e-02, 5.40983928e-02,
5.38816730e-02, 5.43976521e-02, 4.58309306e-02, 5.05709835e-02,
4.96411935e-02, 4.94740307e-02, -1.29477913e-01, -1.31885780e-01,
-1.32769128e-01, -1.35228537e-01, -1.38915251e-01, -1.33084403e-01,
-1.27640698e-01, -1.35115744e-01, -1.48678080e-01, -1.49160991e-01,
-1.49138897e-01, -1.24029421e-01, -1.49157217e-01, -1.22302996e-01,
-1.21170579e-01, -9.81788195e-02, -1.18786846e-01, -1.20252946e-01,
-1.20895307e-01, -1.19927552e-01, -1.15299137e-01, -1.16483578e-01,
-1.00593212e-01, -9.98744104e-02, -1.00191733e-01, -1.15729095e-01,
-1.13453486e-01, -1.11293466e-01, -1.09606570e-01, -1.11860069e-01,
-1.04643493e-01, -1.13444140e-01, -1.05704060e-01, -1.07932356e-01,
-1.07308795e-01, -1.07061131e-01, -1.06332775e-01, -1.05680215e-01,
-1.05556510e-01, -1.06531647e-01, -1.06546074e-01, 4.46522709e-02,
4.26326376e-02, 4.18579030e-02, 3.95789224e-02, 3.67029722e-02,
-9.07252905e-02, -9.31991170e-02, -9.48009629e-02, -9.37511452e-02,
3.77194782e-02, 3.63218933e-02, 3.64345478e-02, 3.50365062e-02,
3.47210397e-02, 3.22271144e-02, 3.27813039e-02, 3.01730225e-02,
2.75490276e-02, -8.58690329e-02, -8.38566794e-02, 2.55098638e-02,
2.63265642e-02, 2.69203628e-02, -8.25406187e-02, -7.89080276e-02,
-8.18018371e-02, -8.08433316e-02, -8.27116088e-02, 2.80862357e-02,
2.26070834e-02, 2.11098929e-02, 1.94462773e-02, 1.87655915e-02,
1.79644481e-02, 1.61079425e-02, 1.67037111e-02, 1.74944810e-02,
-7.88106740e-02, -8.07984234e-02, -8.07135524e-02, 1.07818841e-02,
1.20588749e-02, 1.37124959e-02, -7.70532180e-02, -7.62938575e-02,
-7.78147109e-02, -7.59550947e-02, -7.57975654e-02, -7.35855022e-02,
1.40408613e-02, -6.76752283e-02, -6.87429319e-02, -6.94180556e-02,
-7.14036197e-02, -7.11021845e-02, -6.99441693e-02, 1.18585177e-02,
-6.16563322e-02, -7.46773776e-02, -6.82789447e-02, -6.11811485e-02,
-5.89809954e-02, -5.66514754e-02, -5.58221355e-02, -5.51303038e-02,
-5.39643569e-02, -5.33207840e-02, -5.27445706e-02, -5.21709381e-02,
-4.61021790e-02, -4.42446168e-02, -4.41405884e-02, -4.45180547e-02,
-5.04652409e-02, -4.80008972e-02, -4.40915878e-02, -4.74504462e-02,
-4.73400376e-02, -4.78504585e-02, -4.85186333e-02, -5.04339005e-02,
-5.02457771e-02, -5.03974339e-02, 1.33749380e-02, 1.10408305e-02,
9.01743685e-03, 8.43389771e-03, -3.87831428e-02, -4.28769616e-02,
-4.14306446e-02, -4.10137655e-02, -4.39109163e-02, -4.38856318e-02,
6.11191333e-03, 5.97722565e-03, 5.49410749e-03, 4.09716218e-03,
2.72398131e-03, 2.27430876e-03, 2.01532595e-03, 1.52393434e-03,
6.78264082e-04, 2.86254191e-04, 1.72368287e-04, -3.90050641e-02,
-3.60705360e-04, -3.84656223e-02, -3.85343367e-02, -3.81052277e-02,
-3.80782952e-02, -3.71953838e-02, -3.69504859e-02, -3.67808849e-02,
-3.66022877e-02, -3.59646413e-02, -3.52132050e-02, -3.36462876e-02,
-3.40490035e-02, -3.18415071e-02, -3.27403419e-02, -3.43256771e-02,
-3.43204148e-02, -3.24156593e-02, -3.05766265e-02, -3.30033619e-02,
-2.98220002e-02, -3.01131585e-02, -3.03290421e-02, -2.99423896e-02,
-2.88595658e-02, -2.87151243e-02, -2.80879787e-02, -2.74451726e-02,
-2.71362640e-02, -2.69734837e-02, -2.66375744e-02, -7.54322044e-04,
-1.23093022e-03, -1.38938584e-03, -1.40447606e-03, -2.55350500e-02,
-2.53044848e-02, -2.52834725e-02, -2.50011349e-02, -2.41489003e-02,
-2.45273573e-02, -1.70504288e-03, -1.78253366e-03, -2.03871152e-03,
-2.49232162e-03, -2.10988084e-03, -2.26496525e-03, -2.69011455e-03,
-2.43301779e-02, -2.43109116e-02, -5.61679141e-03, -4.75819585e-03,
-4.57157121e-03, -2.30341475e-03, -7.26984792e-03, -3.52972031e-03,
-6.32520347e-03, -7.49145245e-03, -3.94233363e-03, -3.96198695e-03,
-8.13305576e-03, -6.71888881e-03, -7.55099622e-03, -6.52408512e-03,
-3.74535407e-03, -3.95916921e-03, -3.63936469e-03, -3.82913567e-03,
-6.54316719e-03, -2.39414903e-02, -2.39133181e-02, -2.37050536e-02,
-2.36659159e-02, -2.32695605e-02, -2.31764590e-02, -8.54702157e-03,
-8.99214600e-03, -8.86464018e-03, -2.30837945e-02, -2.30769429e-02,
-1.60867691e-02, -9.28590513e-03, -9.87791006e-03, -9.83266794e-03,
-2.27264161e-02, -2.28972009e-02, -2.28894535e-02, -2.28506962e-02,
-2.28652122e-02, -1.14488089e-02, -1.26773164e-02, -1.40918099e-02,
-1.34593134e-02, -1.33454488e-02, -1.01530025e-02, -1.34095187e-02,
-1.46555593e-02, -1.12614537e-02, -1.29164302e-02, -1.49605177e-02,
-1.08296044e-02, -1.07256005e-02, -2.15098885e-02, -1.22558325e-02,
-1.48544055e-02, -1.05348111e-02, -1.05276558e-02, -1.48605454e-02,
-2.17955599e-02, -2.21009741e-02, -2.20810729e-02, -2.20625219e-02,
-2.20169857e-02, -2.16666111e-02, -2.16598543e-02, -2.16819682e-02,
-1.22342029e-02, -1.10130980e-02, -1.02922707e-02, -1.65756767e-02,
-2.07313924e-02, -1.44611227e-02, -1.54267371e-02, -1.41747379e-02,
-2.11662878e-02, -1.52330202e-02, -2.11738629e-02, -2.10542458e-02,
-1.56997291e-02, -1.50555111e-02, -1.64983511e-02, -1.70710367e-02,
-1.77221893e-02, -1.78515526e-02, -2.08755995e-02, -1.87110205e-02,
-1.89590547e-02, -1.69000058e-02, -1.73204121e-02, -1.93520404e-02,
-2.03202500e-02, -2.06333452e-02, -1.92398459e-02, -2.01127992e-02,
-2.07540415e-02, -1.94179367e-02, -2.01220855e-02, -2.07082950e-02,
-2.05509375e-02, -2.04702399e-02, -1.70837884e-02, -1.72166447e-02,
-1.75795969e-02, -1.79566412e-02, -1.98717610e-02, -1.77591278e-02,
-1.97493766e-02, -1.80378840e-02, -1.94786238e-02, -1.99131232e-02,
-1.98986727e-02, -1.82544655e-02, -1.83911627e-02, -1.84204920e-02,
-1.84059917e-02, -1.86930325e-02, -1.95818499e-02, -1.95779855e-02,
-1.96101750e-02, -2.02479476e-02, -1.78562265e-02, -1.81803334e-02,
-1.81768789e-02, -1.76010627e-02, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00]
ax = sns.distplot(a, rug=True, hist=False, label='UW')
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">seaborn</span> <span class="pl-k">as</span> <span class="pl-s1">sns</span>
<span class="pl-s1">a</span> <span class="pl-c1">=</span> [ <span class="pl-c1">6.44158112e+00</span>, <span class="pl-c1">2.22931748e+00</span>, <span class="pl-c1">1.90461774e+00</span>, <span class="pl-c1">1.62838104e+00</span>,
<span class="pl-c1">1.44450213e+00</span>, <span class="pl-c1">1.32120694e+00</span>, <span class="pl-c1">-</span><span class="pl-c1">1.37449727e+00</span>, <span class="pl-c1">-</span><span class="pl-c1">1.34068670e+00</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.22437811e+00</span>, <span class="pl-c1">1.08203506e+00</span>, <span class="pl-c1">1.00687963e+00</span>, <span class="pl-c1">-</span><span class="pl-c1">1.08464463e+00</span>,
<span class="pl-c1">-</span><span class="pl-c1">9.92682231e-01</span>, <span class="pl-c1">8.77397031e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">8.18224584e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">7.88574259e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">7.39802046e-01</span>, <span class="pl-c1">7.26716930e-01</span>, <span class="pl-c1">7.20018861e-01</span>, <span class="pl-c1">7.05212335e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">6.44688312e-01</span>, <span class="pl-c1">6.36198782e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">5.76895770e-01</span>, <span class="pl-c1">6.03964108e-01</span>,
<span class="pl-c1">5.76204893e-01</span>, <span class="pl-c1">5.69689909e-01</span>, <span class="pl-c1">5.52118112e-01</span>, <span class="pl-c1">5.25401516e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">4.18012528e-01</span>, <span class="pl-c1">4.59933207e-01</span>, <span class="pl-c1">4.43555421e-01</span>, <span class="pl-c1">4.41596376e-01</span>,
<span class="pl-c1">4.39098156e-01</span>, <span class="pl-c1">4.28526102e-01</span>, <span class="pl-c1">4.20569936e-01</span>, <span class="pl-c1">4.15588319e-01</span>,
<span class="pl-c1">3.98167467e-01</span>, <span class="pl-c1">3.79937382e-01</span>, <span class="pl-c1">3.69704675e-01</span>, <span class="pl-c1">3.48799274e-01</span>,
<span class="pl-c1">3.15384843e-01</span>, <span class="pl-c1">3.15267651e-01</span>, <span class="pl-c1">3.12962586e-01</span>, <span class="pl-c1">2.89400742e-01</span>,
<span class="pl-c1">2.95672458e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">2.66440651e-01</span>, <span class="pl-c1">2.53409343e-01</span>, <span class="pl-c1">2.45168039e-01</span>,
<span class="pl-c1">2.33842507e-01</span>, <span class="pl-c1">2.18591293e-01</span>, <span class="pl-c1">2.17178734e-01</span>, <span class="pl-c1">2.14425229e-01</span>,
<span class="pl-c1">2.11277792e-01</span>, <span class="pl-c1">2.10006902e-01</span>, <span class="pl-c1">1.97309425e-01</span>, <span class="pl-c1">1.82623551e-01</span>,
<span class="pl-c1">1.78820952e-01</span>, <span class="pl-c1">1.75251894e-01</span>, <span class="pl-c1">1.69346510e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">2.23685152e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.23374659e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">2.17195278e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">2.20288950e-01</span>, <span class="pl-c1">1.63397981e-01</span>,
<span class="pl-c1">1.55450837e-01</span>, <span class="pl-c1">1.55034695e-01</span>, <span class="pl-c1">1.50501798e-01</span>, <span class="pl-c1">1.42519918e-01</span>,
<span class="pl-c1">1.31807907e-01</span>, <span class="pl-c1">1.38860666e-01</span>, <span class="pl-c1">1.35390009e-01</span>, <span class="pl-c1">1.37646864e-01</span>,
<span class="pl-c1">1.37242513e-01</span>, <span class="pl-c1">1.21238699e-01</span>, <span class="pl-c1">1.19726271e-01</span>, <span class="pl-c1">1.13726245e-01</span>,
<span class="pl-c1">1.11266238e-01</span>, <span class="pl-c1">1.10557847e-01</span>, <span class="pl-c1">1.08976907e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">2.14119343e-01</span>,
<span class="pl-c1">1.05026061e-01</span>, <span class="pl-c1">1.05515901e-01</span>, <span class="pl-c1">9.95445982e-02</span>, <span class="pl-c1">9.10744981e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.09274377e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">2.03248740e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">2.01819404e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">2.01263355e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.00151327e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.99609002e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.99324882e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.99020335e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.98850700e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.97380528e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.95276893e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.92891803e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.89409380e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.89497128e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.89755567e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.90709324e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.91072552e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.91251750e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.91612635e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.91484739e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.91446185e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.87141562e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.86916499e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.85361033e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.78510889e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.79920662e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.82477178e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.83361572e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.84418528e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.84353793e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.84203884e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.63041863e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.79187162e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.76616619e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.76058466e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.81513868e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.74516815e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.75429097e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.64305490e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.73209698e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.81287911e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.72931546e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.81305962e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.67938028e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.68547032e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.70654936e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.71224488e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.70046221e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.69553459e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.67849033e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.68964827e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.68950514e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.69532848e-01</span>, <span class="pl-c1">8.37116094e-02</span>, <span class="pl-c1">8.23125124e-02</span>, <span class="pl-c1">8.15529990e-02</span>,
<span class="pl-c1">8.11596805e-02</span>, <span class="pl-c1">8.08502063e-02</span>, <span class="pl-c1">7.72547025e-02</span>, <span class="pl-c1">7.65640185e-02</span>,
<span class="pl-c1">7.01004415e-02</span>, <span class="pl-c1">6.62348263e-02</span>, <span class="pl-c1">6.59924193e-02</span>, <span class="pl-c1">6.46424494e-02</span>,
<span class="pl-c1">5.83199746e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.61669672e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.61406270e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.61529541e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.60591827e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.60479389e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.59761896e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.59576433e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.56387956e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.55819170e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.57978147e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.36274966e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.43409731e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.43110906e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.58415985e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.53305601e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.46081258e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.58444168e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.52835757e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.38571159e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.52311674e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.38007676e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.50877098e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.50393344e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.47580092e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.48095339e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.49929040e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.50207709e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.47717919e-01</span>, <span class="pl-c1">5.67238171e-02</span>, <span class="pl-c1">5.56471282e-02</span>, <span class="pl-c1">5.40983928e-02</span>,
<span class="pl-c1">5.38816730e-02</span>, <span class="pl-c1">5.43976521e-02</span>, <span class="pl-c1">4.58309306e-02</span>, <span class="pl-c1">5.05709835e-02</span>,
<span class="pl-c1">4.96411935e-02</span>, <span class="pl-c1">4.94740307e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.29477913e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.31885780e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.32769128e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.35228537e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.38915251e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.33084403e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.27640698e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.35115744e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.48678080e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.49160991e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.49138897e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.24029421e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.49157217e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.22302996e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.21170579e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">9.81788195e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.18786846e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.20252946e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.20895307e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.19927552e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.15299137e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.16483578e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.00593212e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">9.98744104e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.00191733e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.15729095e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.13453486e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.11293466e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.09606570e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.11860069e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.04643493e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.13444140e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.05704060e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.07932356e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.07308795e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.07061131e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.06332775e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.05680215e-01</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.05556510e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.06531647e-01</span>, <span class="pl-c1">-</span><span class="pl-c1">1.06546074e-01</span>, <span class="pl-c1">4.46522709e-02</span>,
<span class="pl-c1">4.26326376e-02</span>, <span class="pl-c1">4.18579030e-02</span>, <span class="pl-c1">3.95789224e-02</span>, <span class="pl-c1">3.67029722e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">9.07252905e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">9.31991170e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">9.48009629e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">9.37511452e-02</span>,
<span class="pl-c1">3.77194782e-02</span>, <span class="pl-c1">3.63218933e-02</span>, <span class="pl-c1">3.64345478e-02</span>, <span class="pl-c1">3.50365062e-02</span>,
<span class="pl-c1">3.47210397e-02</span>, <span class="pl-c1">3.22271144e-02</span>, <span class="pl-c1">3.27813039e-02</span>, <span class="pl-c1">3.01730225e-02</span>,
<span class="pl-c1">2.75490276e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">8.58690329e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">8.38566794e-02</span>, <span class="pl-c1">2.55098638e-02</span>,
<span class="pl-c1">2.63265642e-02</span>, <span class="pl-c1">2.69203628e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">8.25406187e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">7.89080276e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">8.18018371e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">8.08433316e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">8.27116088e-02</span>, <span class="pl-c1">2.80862357e-02</span>,
<span class="pl-c1">2.26070834e-02</span>, <span class="pl-c1">2.11098929e-02</span>, <span class="pl-c1">1.94462773e-02</span>, <span class="pl-c1">1.87655915e-02</span>,
<span class="pl-c1">1.79644481e-02</span>, <span class="pl-c1">1.61079425e-02</span>, <span class="pl-c1">1.67037111e-02</span>, <span class="pl-c1">1.74944810e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">7.88106740e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">8.07984234e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">8.07135524e-02</span>, <span class="pl-c1">1.07818841e-02</span>,
<span class="pl-c1">1.20588749e-02</span>, <span class="pl-c1">1.37124959e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">7.70532180e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">7.62938575e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">7.78147109e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">7.59550947e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">7.57975654e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">7.35855022e-02</span>,
<span class="pl-c1">1.40408613e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">6.76752283e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">6.87429319e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">6.94180556e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">7.14036197e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">7.11021845e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">6.99441693e-02</span>, <span class="pl-c1">1.18585177e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">6.16563322e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">7.46773776e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">6.82789447e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">6.11811485e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">5.89809954e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">5.66514754e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">5.58221355e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">5.51303038e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">5.39643569e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">5.33207840e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">5.27445706e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">5.21709381e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">4.61021790e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">4.42446168e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">4.41405884e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">4.45180547e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">5.04652409e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">4.80008972e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">4.40915878e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">4.74504462e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">4.73400376e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">4.78504585e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">4.85186333e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">5.04339005e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">5.02457771e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">5.03974339e-02</span>, <span class="pl-c1">1.33749380e-02</span>, <span class="pl-c1">1.10408305e-02</span>,
<span class="pl-c1">9.01743685e-03</span>, <span class="pl-c1">8.43389771e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">3.87831428e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">4.28769616e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">4.14306446e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">4.10137655e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">4.39109163e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">4.38856318e-02</span>,
<span class="pl-c1">6.11191333e-03</span>, <span class="pl-c1">5.97722565e-03</span>, <span class="pl-c1">5.49410749e-03</span>, <span class="pl-c1">4.09716218e-03</span>,
<span class="pl-c1">2.72398131e-03</span>, <span class="pl-c1">2.27430876e-03</span>, <span class="pl-c1">2.01532595e-03</span>, <span class="pl-c1">1.52393434e-03</span>,
<span class="pl-c1">6.78264082e-04</span>, <span class="pl-c1">2.86254191e-04</span>, <span class="pl-c1">1.72368287e-04</span>, <span class="pl-c1">-</span><span class="pl-c1">3.90050641e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">3.60705360e-04</span>, <span class="pl-c1">-</span><span class="pl-c1">3.84656223e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.85343367e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.81052277e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">3.80782952e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.71953838e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.69504859e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.67808849e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">3.66022877e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.59646413e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.52132050e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.36462876e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">3.40490035e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.18415071e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.27403419e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.43256771e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">3.43204148e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.24156593e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.05766265e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.30033619e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.98220002e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.01131585e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">3.03290421e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.99423896e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.88595658e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.87151243e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.80879787e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.74451726e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.71362640e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.69734837e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.66375744e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">7.54322044e-04</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.23093022e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">1.38938584e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">1.40447606e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">2.55350500e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.53044848e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.52834725e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.50011349e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.41489003e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.45273573e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.70504288e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">1.78253366e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">2.03871152e-03</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.49232162e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">2.10988084e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">2.26496525e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">2.69011455e-03</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.43301779e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.43109116e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">5.61679141e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">4.75819585e-03</span>,
<span class="pl-c1">-</span><span class="pl-c1">4.57157121e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">2.30341475e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">7.26984792e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">3.52972031e-03</span>,
<span class="pl-c1">-</span><span class="pl-c1">6.32520347e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">7.49145245e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">3.94233363e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">3.96198695e-03</span>,
<span class="pl-c1">-</span><span class="pl-c1">8.13305576e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">6.71888881e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">7.55099622e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">6.52408512e-03</span>,
<span class="pl-c1">-</span><span class="pl-c1">3.74535407e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">3.95916921e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">3.63936469e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">3.82913567e-03</span>,
<span class="pl-c1">-</span><span class="pl-c1">6.54316719e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">2.39414903e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.39133181e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.37050536e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.36659159e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.32695605e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.31764590e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">8.54702157e-03</span>,
<span class="pl-c1">-</span><span class="pl-c1">8.99214600e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">8.86464018e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">2.30837945e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.30769429e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.60867691e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">9.28590513e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">9.87791006e-03</span>, <span class="pl-c1">-</span><span class="pl-c1">9.83266794e-03</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.27264161e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.28972009e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.28894535e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.28506962e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.28652122e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.14488089e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.26773164e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.40918099e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.34593134e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.33454488e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.01530025e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.34095187e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.46555593e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.12614537e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.29164302e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.49605177e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.08296044e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.07256005e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.15098885e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.22558325e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.48544055e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.05348111e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.05276558e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.48605454e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.17955599e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.21009741e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.20810729e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.20625219e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.20169857e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.16666111e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.16598543e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.16819682e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.22342029e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.10130980e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.02922707e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.65756767e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.07313924e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.44611227e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.54267371e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.41747379e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.11662878e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.52330202e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.11738629e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.10542458e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.56997291e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.50555111e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.64983511e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.70710367e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.77221893e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.78515526e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.08755995e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.87110205e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.89590547e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.69000058e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.73204121e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.93520404e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.03202500e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.06333452e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.92398459e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.01127992e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.07540415e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.94179367e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.01220855e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.07082950e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">2.05509375e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.04702399e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.70837884e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.72166447e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.75795969e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.79566412e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.98717610e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.77591278e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.97493766e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.80378840e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.94786238e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.99131232e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.98986727e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.82544655e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.83911627e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.84204920e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.84059917e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.86930325e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.95818499e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.95779855e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.96101750e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">2.02479476e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.78562265e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.81803334e-02</span>,
<span class="pl-c1">-</span><span class="pl-c1">1.81768789e-02</span>, <span class="pl-c1">-</span><span class="pl-c1">1.76010627e-02</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>,
<span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>, <span class="pl-c1">0.00000000e+00</span>]
<span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">sns</span>.<span class="pl-en">distplot</span>(<span class="pl-s1">a</span>, <span class="pl-s1">rug</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">hist</span><span class="pl-c1">=</span><span class="pl-c1">False</span>, <span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">'UW'</span>)</pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Plot of example data</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/31069329/76546976-b5695680-648c-11ea-92bd-b7c76a09670f.png"><img src="https://user-images.githubusercontent.com/31069329/76546976-b5695680-648c-11ea-92bd-b7c76a09670f.png" alt="grafik" style="max-width: 100%;"></a></p> | 1 |
<h4 dir="auto">Description</h4>
<p dir="auto">I just tried running <code class="notranslate">GridSearchCV</code> on <code class="notranslate">HistGradientBoostingClassifier</code> but it crashed with a division by zero error. I was running with verbose logging. The last report from GridSearchCV indicated the following status:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[CV] learning_rate=1, max_iter=500, max_leaf_nodes=None, tol=1e-08, total=16.8min
[CV] learning_rate=1, max_iter=500, max_leaf_nodes=31, tol=1e-06 .....
Binning 0.015 GB of data: 0.089 s
Fitting gradient boosted rounds:
[1/500] 1 tree, 31 leaves, max depth = 8, in 0.042s
[2/500] 1 tree, 31 leaves, max depth = 9, in 0.058s
...
[489/500] 1 tree, 2 leaves, max depth = 1, in 0.016s
[490/500]
<crash>"><pre class="notranslate"><code class="notranslate">[CV] learning_rate=1, max_iter=500, max_leaf_nodes=None, tol=1e-08, total=16.8min
[CV] learning_rate=1, max_iter=500, max_leaf_nodes=31, tol=1e-06 .....
Binning 0.015 GB of data: 0.089 s
Fitting gradient boosted rounds:
[1/500] 1 tree, 31 leaves, max depth = 8, in 0.042s
[2/500] 1 tree, 31 leaves, max depth = 9, in 0.058s
...
[489/500] 1 tree, 2 leaves, max depth = 1, in 0.016s
[490/500]
<crash>
</code></pre></div>
<h4 dir="auto">Steps/Code to Reproduce</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sklearn.experimental import enable_hist_gradient_boosting
from sklearn.ensemble import HistGradientBoostingClassifier
parameters={
'learning_rate':(1,0.1,0.01),
'max_iter':(100,500,1000),
'max_leaf_nodes':(None,31,50),
'tol':(1e-6,1e-7,1e-8)}
hgb = HistGradientBoostingClassifier(loss='binary_crossentropy',verbose=2)
clf=GridSearchCV(hgb, parameters, cv=5, verbose=2)
clf.fit(x,y)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">experimental</span> <span class="pl-k">import</span> <span class="pl-s1">enable_hist_gradient_boosting</span>
<span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">ensemble</span> <span class="pl-k">import</span> <span class="pl-v">HistGradientBoostingClassifier</span>
<span class="pl-s1">parameters</span><span class="pl-c1">=</span>{
<span class="pl-s">'learning_rate'</span>:(<span class="pl-c1">1</span>,<span class="pl-c1">0.1</span>,<span class="pl-c1">0.01</span>),
<span class="pl-s">'max_iter'</span>:(<span class="pl-c1">100</span>,<span class="pl-c1">500</span>,<span class="pl-c1">1000</span>),
<span class="pl-s">'max_leaf_nodes'</span>:(<span class="pl-c1">None</span>,<span class="pl-c1">31</span>,<span class="pl-c1">50</span>),
<span class="pl-s">'tol'</span>:(<span class="pl-c1">1e-6</span>,<span class="pl-c1">1e-7</span>,<span class="pl-c1">1e-8</span>)}
<span class="pl-s1">hgb</span> <span class="pl-c1">=</span> <span class="pl-v">HistGradientBoostingClassifier</span>(<span class="pl-s1">loss</span><span class="pl-c1">=</span><span class="pl-s">'binary_crossentropy'</span>,<span class="pl-s1">verbose</span><span class="pl-c1">=</span><span class="pl-c1">2</span>)
<span class="pl-s1">clf</span><span class="pl-c1">=</span><span class="pl-v">GridSearchCV</span>(<span class="pl-s1">hgb</span>, <span class="pl-s1">parameters</span>, <span class="pl-s1">cv</span><span class="pl-c1">=</span><span class="pl-c1">5</span>, <span class="pl-s1">verbose</span><span class="pl-c1">=</span><span class="pl-c1">2</span>)
<span class="pl-s1">clf</span>.<span class="pl-en">fit</span>(<span class="pl-s1">x</span>,<span class="pl-s1">y</span>)</pre></div>
<h4 dir="auto">Expected Results</h4>
<p dir="auto">Not to crash.</p>
<h4 dir="auto">Actual Results</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="ZeroDivisionError Traceback (most recent call last)
<ipython-input-486-22ccf9e7ea94> in <module>
7 clf=GridSearchCV(hgb,parameters,cv=5,verbose=2)
8 # Order:
----> 9 clf.fit(x,y)
10 clf.best_estimator_
d:\programming\python\3.7.2\lib\site-packages\sklearn\model_selection\_search.py in fit(self, X, y, groups, **fit_params)
685 return results
686
--> 687 self._run_search(evaluate_candidates)
688
689 # For multi-metric evaluation, store the best_index_, best_params_ and
d:\programming\python\3.7.2\lib\site-packages\sklearn\model_selection\_search.py in _run_search(self, evaluate_candidates)
1146 def _run_search(self, evaluate_candidates):
1147 """Search all candidates in param_grid"""
-> 1148 evaluate_candidates(ParameterGrid(self.param_grid))
1149
1150
d:\programming\python\3.7.2\lib\site-packages\sklearn\model_selection\_search.py in evaluate_candidates(candidate_params)
664 for parameters, (train, test)
665 in product(candidate_params,
--> 666 cv.split(X, y, groups)))
667
668 if len(out) < 1:
d:\programming\python\3.7.2\lib\site-packages\joblib\parallel.py in __call__(self, iterable)
922 self._iterating = self._original_iterator is not None
923
--> 924 while self.dispatch_one_batch(iterator):
925 pass
926
d:\programming\python\3.7.2\lib\site-packages\joblib\parallel.py in dispatch_one_batch(self, iterator)
757 return False
758 else:
--> 759 self._dispatch(tasks)
760 return True
761
d:\programming\python\3.7.2\lib\site-packages\joblib\parallel.py in _dispatch(self, batch)
714 with self._lock:
715 job_idx = len(self._jobs)
--> 716 job = self._backend.apply_async(batch, callback=cb)
717 # A job can complete so quickly than its callback is
718 # called before we get here, causing self._jobs to
d:\programming\python\3.7.2\lib\site-packages\joblib\_parallel_backends.py in apply_async(self, func, callback)
180 def apply_async(self, func, callback=None):
181 """Schedule a func to be run"""
--> 182 result = ImmediateResult(func)
183 if callback:
184 callback(result)
d:\programming\python\3.7.2\lib\site-packages\joblib\_parallel_backends.py in __init__(self, batch)
547 # Don't delay the application, to avoid keeping the input
548 # arguments in memory
--> 549 self.results = batch()
550
551 def get(self):
d:\programming\python\3.7.2\lib\site-packages\joblib\parallel.py in __call__(self)
223 with parallel_backend(self._backend, n_jobs=self._n_jobs):
224 return [func(*args, **kwargs)
--> 225 for func, args, kwargs in self.items]
226
227 def __len__(self):
d:\programming\python\3.7.2\lib\site-packages\joblib\parallel.py in <listcomp>(.0)
223 with parallel_backend(self._backend, n_jobs=self._n_jobs):
224 return [func(*args, **kwargs)
--> 225 for func, args, kwargs in self.items]
226
227 def __len__(self):
d:\programming\python\3.7.2\lib\site-packages\sklearn\model_selection\_validation.py in _fit_and_score(estimator, X, y, scorer, train, test, verbose, parameters, fit_params, return_train_score, return_parameters, return_n_test_samples, return_times, return_estimator, error_score)
512 estimator.fit(X_train, **fit_params)
513 else:
--> 514 estimator.fit(X_train, y_train, **fit_params)
515
516 except Exception as e:
d:\programming\python\3.7.2\lib\site-packages\sklearn\ensemble\_hist_gradient_boosting\gradient_boosting.py in fit(self, X, y)
255 min_samples_leaf=self.min_samples_leaf,
256 l2_regularization=self.l2_regularization,
--> 257 shrinkage=self.learning_rate)
258 grower.grow()
259
d:\programming\python\3.7.2\lib\site-packages\sklearn\ensemble\_hist_gradient_boosting\grower.py in __init__(self, X_binned, gradients, hessians, max_leaf_nodes, max_depth, min_samples_leaf, min_gain_to_split, max_bins, actual_n_bins, l2_regularization, min_hessian_to_split, shrinkage)
194 self.total_compute_hist_time = 0. # time spent computing histograms
195 self.total_apply_split_time = 0. # time spent splitting nodes
--> 196 self._intilialize_root(gradients, hessians, hessians_are_constant)
197 self.n_nodes = 1
198
d:\programming\python\3.7.2\lib\site-packages\sklearn\ensemble\_hist_gradient_boosting\grower.py in _intilialize_root(self, gradients, hessians, hessians_are_constant)
259 return
260 if sum_hessians < self.splitter.min_hessian_to_split:
--> 261 self._finalize_leaf(self.root)
262 return
263
d:\programming\python\3.7.2\lib\site-packages\sklearn\ensemble\_hist_gradient_boosting\grower.py in _finalize_leaf(self, node)
398 """
399 node.value = -self.shrinkage * node.sum_gradients / (
--> 400 node.sum_hessians + self.splitter.l2_regularization)
401 self.finalized_leaves.append(node)
402
ZeroDivisionError: float division by zero"><pre class="notranslate"><span class="pl-v">ZeroDivisionError</span> <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>)
<span class="pl-c1"><</span><span class="pl-s1">ipython</span><span class="pl-c1">-</span><span class="pl-s1">input</span><span class="pl-c1">-</span><span class="pl-c1">486</span><span class="pl-c1">-</span><span class="pl-c1">22</span><span class="pl-s1">ccf9e7ea94</span><span class="pl-c1">></span> <span class="pl-s1">in</span> <span class="pl-c1"><</span><span class="pl-s1">module</span><span class="pl-c1">></span>
<span class="pl-c1">7</span> <span class="pl-s1">clf</span><span class="pl-c1">=</span><span class="pl-v">GridSearchCV</span>(<span class="pl-s1">hgb</span>,<span class="pl-s1">parameters</span>,<span class="pl-s1">cv</span><span class="pl-c1">=</span><span class="pl-c1">5</span>,<span class="pl-s1">verbose</span><span class="pl-c1">=</span><span class="pl-c1">2</span>)
<span class="pl-c1">8</span> <span class="pl-c"># Order:</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">9</span> <span class="pl-s1">clf</span>.<span class="pl-en">fit</span>(<span class="pl-s1">x</span>,<span class="pl-s1">y</span>)
<span class="pl-c1">10</span> <span class="pl-s1">clf</span>.<span class="pl-s1">best_estimator_</span>
<span class="pl-s1">d</span>:\p<span class="pl-s1">rogramming</span>\p<span class="pl-s1">ython</span>\3<span class="pl-c1">.7</span>.<span class="pl-c1">2</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\s<span class="pl-s1">klearn</span>\m<span class="pl-s1">odel_selection</span>\_<span class="pl-s1">search</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">fit</span>(<span class="pl-s1">self</span>, <span class="pl-v">X</span>, <span class="pl-s1">y</span>, <span class="pl-s1">groups</span>, <span class="pl-c1">**</span><span class="pl-s1">fit_params</span>)
<span class="pl-c1">685</span> <span class="pl-k">return</span> <span class="pl-s1">results</span>
<span class="pl-c1">686</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">687</span> <span class="pl-s1">self</span>.<span class="pl-en">_run_search</span>(<span class="pl-s1">evaluate_candidates</span>)
<span class="pl-c1">688</span>
<span class="pl-c1">689</span> <span class="pl-c"># For multi-metric evaluation, store the best_index_, best_params_ and</span>
<span class="pl-s1">d</span>:\p<span class="pl-s1">rogramming</span>\p<span class="pl-s1">ython</span>\3<span class="pl-c1">.7</span>.<span class="pl-c1">2</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\s<span class="pl-s1">klearn</span>\m<span class="pl-s1">odel_selection</span>\_<span class="pl-s1">search</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_run_search</span>(<span class="pl-s1">self</span>, <span class="pl-s1">evaluate_candidates</span>)
<span class="pl-c1">1146</span> <span class="pl-k">def</span> <span class="pl-en">_run_search</span>(<span class="pl-s1">self</span>, <span class="pl-s1">evaluate_candidates</span>):
<span class="pl-c1">1147</span> <span class="pl-s">"""Search all candidates in param_grid"""</span>
<span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">1148</span> <span class="pl-en">evaluate_candidates</span>(<span class="pl-v">ParameterGrid</span>(<span class="pl-s1">self</span>.<span class="pl-s1">param_grid</span>))
<span class="pl-c1">1149</span>
<span class="pl-c1">1150</span>
<span class="pl-s1">d</span>:\p<span class="pl-s1">rogramming</span>\p<span class="pl-s1">ython</span>\3<span class="pl-c1">.7</span>.<span class="pl-c1">2</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\s<span class="pl-s1">klearn</span>\m<span class="pl-s1">odel_selection</span>\_<span class="pl-s1">search</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">evaluate_candidates</span>(<span class="pl-s1">candidate_params</span>)
<span class="pl-c1">664</span> <span class="pl-k">for</span> <span class="pl-s1">parameters</span>, (<span class="pl-s1">train</span>, <span class="pl-s1">test</span>)
<span class="pl-c1">665</span> <span class="pl-c1">in</span> <span class="pl-en">product</span>(<span class="pl-s1">candidate_params</span>,
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">666</span> <span class="pl-s1">cv</span>.<span class="pl-en">split</span>(<span class="pl-v">X</span>, <span class="pl-s1">y</span>, <span class="pl-s1">groups</span>)))
<span class="pl-c1">667</span>
<span class="pl-c1">668</span> <span class="pl-k">if</span> <span class="pl-en">len</span>(<span class="pl-s1">out</span>) <span class="pl-c1"><</span> <span class="pl-c1">1</span>:
<span class="pl-s1">d</span>:\p<span class="pl-s1">rogramming</span>\p<span class="pl-s1">ython</span>\3<span class="pl-c1">.7</span>.<span class="pl-c1">2</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\j<span class="pl-s1">oblib</span>\p<span class="pl-s1">arallel</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">__call__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">iterable</span>)
<span class="pl-c1">922</span> <span class="pl-s1">self</span>.<span class="pl-s1">_iterating</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">_original_iterator</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>
<span class="pl-c1">923</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">924</span> <span class="pl-s1">while</span> <span class="pl-s1">self</span>.<span class="pl-en">dispatch_one_batch</span>(<span class="pl-s1">iterator</span>):
<span class="pl-c1">925</span> <span class="pl-s1">pass</span>
<span class="pl-c1">926</span>
<span class="pl-s1">d</span>:\p<span class="pl-s1">rogramming</span>\p<span class="pl-s1">ython</span>\3<span class="pl-c1">.7</span>.<span class="pl-c1">2</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\j<span class="pl-s1">oblib</span>\p<span class="pl-s1">arallel</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">dispatch_one_batch</span>(<span class="pl-s1">self</span>, <span class="pl-s1">iterator</span>)
<span class="pl-c1">757</span> <span class="pl-k">return</span> <span class="pl-c1">False</span>
<span class="pl-c1">758</span> <span class="pl-s1">else</span>:
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">759</span> <span class="pl-s1">self</span>.<span class="pl-en">_dispatch</span>(<span class="pl-s1">tasks</span>)
<span class="pl-c1">760</span> <span class="pl-k">return</span> <span class="pl-c1">True</span>
<span class="pl-c1">761</span>
<span class="pl-s1">d</span>:\p<span class="pl-s1">rogramming</span>\p<span class="pl-s1">ython</span>\3<span class="pl-c1">.7</span>.<span class="pl-c1">2</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\j<span class="pl-s1">oblib</span>\p<span class="pl-s1">arallel</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_dispatch</span>(<span class="pl-s1">self</span>, <span class="pl-s1">batch</span>)
<span class="pl-c1">714</span> <span class="pl-k">with</span> <span class="pl-s1">self</span>.<span class="pl-s1">_lock</span>:
<span class="pl-c1">715</span> <span class="pl-s1">job_idx</span> <span class="pl-c1">=</span> <span class="pl-en">len</span>(<span class="pl-s1">self</span>.<span class="pl-s1">_jobs</span>)
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">716</span> <span class="pl-s1">job</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">_backend</span>.<span class="pl-en">apply_async</span>(<span class="pl-s1">batch</span>, <span class="pl-s1">callback</span><span class="pl-c1">=</span><span class="pl-s1">cb</span>)
<span class="pl-c1">717</span> <span class="pl-c"># A job can complete so quickly than its callback is</span>
<span class="pl-c1">718</span> <span class="pl-c"># called before we get here, causing self._jobs to</span>
<span class="pl-s1">d</span>:\p<span class="pl-s1">rogramming</span>\p<span class="pl-s1">ython</span>\3<span class="pl-c1">.7</span>.<span class="pl-c1">2</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\j<span class="pl-s1">oblib</span>\_<span class="pl-s1">parallel_backends</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">apply_async</span>(<span class="pl-s1">self</span>, <span class="pl-s1">func</span>, <span class="pl-s1">callback</span>)
<span class="pl-c1">180</span> <span class="pl-k">def</span> <span class="pl-en">apply_async</span>(<span class="pl-s1">self</span>, <span class="pl-s1">func</span>, <span class="pl-s1">callback</span><span class="pl-c1">=</span><span class="pl-c1">None</span>):
<span class="pl-c1">181</span> <span class="pl-s">"""Schedule a func to be run"""</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">182</span> <span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-v">ImmediateResult</span>(<span class="pl-s1">func</span>)
<span class="pl-c1">183</span> <span class="pl-k">if</span> <span class="pl-s1">callback</span>:
<span class="pl-c1">184</span> <span class="pl-en">callback</span>(<span class="pl-s1">result</span>)
<span class="pl-s1">d</span>:\p<span class="pl-s1">rogramming</span>\p<span class="pl-s1">ython</span>\3<span class="pl-c1">.7</span>.<span class="pl-c1">2</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\j<span class="pl-s1">oblib</span>\_<span class="pl-s1">parallel_backends</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">batch</span>)
<span class="pl-c1">547</span> <span class="pl-c"># Don't delay the application, to avoid keeping the input</span>
<span class="pl-c1">548</span> <span class="pl-c"># arguments in memory</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">549</span> <span class="pl-s1">self</span>.<span class="pl-s1">results</span> <span class="pl-c1">=</span> <span class="pl-en">batch</span>()
<span class="pl-c1">550</span>
<span class="pl-c1">551</span> <span class="pl-s1">def</span> <span class="pl-en">get</span>(<span class="pl-s1">self</span>):
<span class="pl-s1">d</span>:\p<span class="pl-s1">rogramming</span>\p<span class="pl-s1">ython</span>\3<span class="pl-c1">.7</span>.<span class="pl-c1">2</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\j<span class="pl-s1">oblib</span>\p<span class="pl-s1">arallel</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">__call__</span>(<span class="pl-s1">self</span>)
<span class="pl-c1">223</span> <span class="pl-s1">with</span> <span class="pl-en">parallel_backend</span>(<span class="pl-s1">self</span>.<span class="pl-s1">_backend</span>, <span class="pl-s1">n_jobs</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">_n_jobs</span>):
<span class="pl-c1">224</span> <span class="pl-s1">return</span> [<span class="pl-en">func</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">225</span> <span class="pl-s1">for</span> <span class="pl-s1">func</span>, <span class="pl-s1">args</span>, <span class="pl-s1">kwargs</span> <span class="pl-c1">in</span> <span class="pl-s1">self</span>.<span class="pl-s1">items</span>]
<span class="pl-c1">226</span>
<span class="pl-c1">227</span> <span class="pl-s1">def</span> <span class="pl-en">__len__</span>(<span class="pl-s1">self</span>):
<span class="pl-s1">d</span>:\p<span class="pl-s1">rogramming</span>\p<span class="pl-s1">ython</span>\3<span class="pl-c1">.7</span>.<span class="pl-c1">2</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\j<span class="pl-s1">oblib</span>\p<span class="pl-s1">arallel</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-c1"><</span><span class="pl-s1">listcomp</span><span class="pl-c1">></span>(<span class="pl-c1">.0</span>)
<span class="pl-c1">223</span> <span class="pl-s1">with</span> <span class="pl-en">parallel_backend</span>(<span class="pl-s1">self</span>.<span class="pl-s1">_backend</span>, <span class="pl-s1">n_jobs</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">_n_jobs</span>):
<span class="pl-c1">224</span> <span class="pl-s1">return</span> [<span class="pl-en">func</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">225</span> <span class="pl-s1">for</span> <span class="pl-s1">func</span>, <span class="pl-s1">args</span>, <span class="pl-s1">kwargs</span> <span class="pl-c1">in</span> <span class="pl-s1">self</span>.<span class="pl-s1">items</span>]
<span class="pl-c1">226</span>
<span class="pl-c1">227</span> <span class="pl-s1">def</span> <span class="pl-en">__len__</span>(<span class="pl-s1">self</span>):
<span class="pl-s1">d</span>:\p<span class="pl-s1">rogramming</span>\p<span class="pl-s1">ython</span>\3<span class="pl-c1">.7</span>.<span class="pl-c1">2</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\s<span class="pl-s1">klearn</span>\m<span class="pl-s1">odel_selection</span>\_<span class="pl-s1">validation</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_fit_and_score</span>(<span class="pl-s1">estimator</span>, <span class="pl-v">X</span>, <span class="pl-s1">y</span>, <span class="pl-s1">scorer</span>, <span class="pl-s1">train</span>, <span class="pl-s1">test</span>, <span class="pl-s1">verbose</span>, <span class="pl-s1">parameters</span>, <span class="pl-s1">fit_params</span>, <span class="pl-s1">return_train_score</span>, <span class="pl-s1">return_parameters</span>, <span class="pl-s1">return_n_test_samples</span>, <span class="pl-s1">return_times</span>, <span class="pl-s1">return_estimator</span>, <span class="pl-s1">error_score</span>)
<span class="pl-c1">512</span> <span class="pl-s1">estimator</span>.<span class="pl-en">fit</span>(<span class="pl-v">X_train</span>, <span class="pl-c1">**</span><span class="pl-s1">fit_params</span>)
<span class="pl-c1">513</span> <span class="pl-k">else</span>:
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">514</span> <span class="pl-s1">estimator</span>.<span class="pl-en">fit</span>(<span class="pl-v">X_train</span>, <span class="pl-s1">y_train</span>, <span class="pl-c1">**</span><span class="pl-s1">fit_params</span>)
<span class="pl-c1">515</span>
<span class="pl-c1">516</span> <span class="pl-s1">except</span> <span class="pl-v">Exception</span> <span class="pl-k">as</span> <span class="pl-s1">e</span>:
<span class="pl-s1">d</span>:\p<span class="pl-s1">rogramming</span>\p<span class="pl-s1">ython</span>\3<span class="pl-c1">.7</span>.<span class="pl-c1">2</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\s<span class="pl-s1">klearn</span>\e<span class="pl-s1">nsemble</span>\_<span class="pl-s1">hist_gradient_boosting</span>\g<span class="pl-s1">radient_boosting</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">fit</span>(<span class="pl-s1">self</span>, <span class="pl-v">X</span>, <span class="pl-s1">y</span>)
<span class="pl-c1">255</span> <span class="pl-s1">min_samples_leaf</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">min_samples_leaf</span>,
<span class="pl-c1">256</span> <span class="pl-s1">l2_regularization</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">l2_regularization</span>,
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">257</span> <span class="pl-s1">shrinkage</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">learning_rate</span>)
<span class="pl-c1">258</span> <span class="pl-s1">grower</span>.<span class="pl-en">grow</span>()
<span class="pl-c1">259</span>
<span class="pl-s1">d</span>:\p<span class="pl-s1">rogramming</span>\p<span class="pl-s1">ython</span>\3<span class="pl-c1">.7</span>.<span class="pl-c1">2</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\s<span class="pl-s1">klearn</span>\e<span class="pl-s1">nsemble</span>\_<span class="pl-s1">hist_gradient_boosting</span>\g<span class="pl-s1">rower</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-v">X_binned</span>, <span class="pl-s1">gradients</span>, <span class="pl-s1">hessians</span>, <span class="pl-s1">max_leaf_nodes</span>, <span class="pl-s1">max_depth</span>, <span class="pl-s1">min_samples_leaf</span>, <span class="pl-s1">min_gain_to_split</span>, <span class="pl-s1">max_bins</span>, <span class="pl-s1">actual_n_bins</span>, <span class="pl-s1">l2_regularization</span>, <span class="pl-s1">min_hessian_to_split</span>, <span class="pl-s1">shrinkage</span>)
<span class="pl-c1">194</span> <span class="pl-s1">self</span>.<span class="pl-s1">total_compute_hist_time</span> <span class="pl-c1">=</span> <span class="pl-c1">0.</span> <span class="pl-c"># time spent computing histograms</span>
<span class="pl-c1">195</span> <span class="pl-s1">self</span>.<span class="pl-s1">total_apply_split_time</span> <span class="pl-c1">=</span> <span class="pl-c1">0.</span> <span class="pl-c"># time spent splitting nodes</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">196</span> <span class="pl-s1">self</span>.<span class="pl-en">_intilialize_root</span>(<span class="pl-s1">gradients</span>, <span class="pl-s1">hessians</span>, <span class="pl-s1">hessians_are_constant</span>)
<span class="pl-c1">197</span> <span class="pl-s1">self</span>.<span class="pl-s1">n_nodes</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span>
<span class="pl-c1">198</span>
<span class="pl-s1">d</span>:\p<span class="pl-s1">rogramming</span>\p<span class="pl-s1">ython</span>\3<span class="pl-c1">.7</span>.<span class="pl-c1">2</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\s<span class="pl-s1">klearn</span>\e<span class="pl-s1">nsemble</span>\_<span class="pl-s1">hist_gradient_boosting</span>\g<span class="pl-s1">rower</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_intilialize_root</span>(<span class="pl-s1">self</span>, <span class="pl-s1">gradients</span>, <span class="pl-s1">hessians</span>, <span class="pl-s1">hessians_are_constant</span>)
<span class="pl-c1">259</span> <span class="pl-k">return</span>
<span class="pl-c1">260</span> <span class="pl-k">if</span> <span class="pl-s1">sum_hessians</span> <span class="pl-c1"><</span> <span class="pl-s1">self</span>.<span class="pl-s1">splitter</span>.<span class="pl-s1">min_hessian_to_split</span>:
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">261</span> <span class="pl-s1">self</span>.<span class="pl-en">_finalize_leaf</span>(<span class="pl-s1">self</span>.<span class="pl-s1">root</span>)
<span class="pl-c1">262</span> <span class="pl-s1">return</span>
<span class="pl-c1">263</span>
<span class="pl-s1">d</span>:\p<span class="pl-s1">rogramming</span>\p<span class="pl-s1">ython</span>\3<span class="pl-c1">.7</span>.<span class="pl-c1">2</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\s<span class="pl-s1">klearn</span>\e<span class="pl-s1">nsemble</span>\_<span class="pl-s1">hist_gradient_boosting</span>\g<span class="pl-s1">rower</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_finalize_leaf</span>(<span class="pl-s1">self</span>, <span class="pl-s1">node</span>)
<span class="pl-c1">398</span> """
<span class="pl-c1">399</span> <span class="pl-s1">node</span>.<span class="pl-s1">value</span> <span class="pl-c1">=</span> <span class="pl-c1">-</span><span class="pl-s1">self</span>.<span class="pl-s1">shrinkage</span> <span class="pl-c1">*</span> <span class="pl-s1">node</span>.<span class="pl-s1">sum_gradients</span> <span class="pl-c1">/</span> (
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">400</span> <span class="pl-s1">node</span>.<span class="pl-s1">sum_hessians</span> <span class="pl-c1">+</span> <span class="pl-s1">self</span>.<span class="pl-s1">splitter</span>.<span class="pl-s1">l2_regularization</span>)
<span class="pl-c1">401</span> <span class="pl-s1">self</span>.<span class="pl-s1">finalized_leaves</span>.<span class="pl-en">append</span>(<span class="pl-s1">node</span>)
<span class="pl-c1">402</span>
<span class="pl-v">ZeroDivisionError</span>: <span class="pl-s1">float</span> <span class="pl-s1">division</span> <span class="pl-s1">by</span> <span class="pl-s1">zero</span></pre></div>
<h4 dir="auto">Versions</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="System:
python: 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)]
executable: D:\Programming\Python\3.7.2\python.exe
machine: Windows-10-10.0.17763-SP0
BLAS:
macros:
lib_dirs:
cblas_libs: cblas
Python deps:
pip: 19.1.1
setuptools: 40.8.0
sklearn: 0.21.2
numpy: 1.16.2
scipy: 1.2.1
Cython: None
pandas: 0.24.2"><pre class="notranslate"><code class="notranslate">System:
python: 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)]
executable: D:\Programming\Python\3.7.2\python.exe
machine: Windows-10-10.0.17763-SP0
BLAS:
macros:
lib_dirs:
cblas_libs: cblas
Python deps:
pip: 19.1.1
setuptools: 40.8.0
sklearn: 0.21.2
numpy: 1.16.2
scipy: 1.2.1
Cython: None
pandas: 0.24.2
</code></pre></div> | <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sklearn.datasets import fetch_openml
from sklearn.model_selection import cross_val_score
from sklearn.experimental import enable_hist_gradient_boosting
from sklearn.ensemble import HistGradientBoostingClassifier
import numpy as np
# one hundred plants - margin
bunch = fetch_openml(data_id=1491)
X = bunch.data
y = bunch.target
res = cross_val_score(HistGradientBoostingClassifier(max_iter=100, min_samples_leaf=5), X, y)
np.mean(res)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">datasets</span> <span class="pl-k">import</span> <span class="pl-s1">fetch_openml</span>
<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>
<span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">experimental</span> <span class="pl-k">import</span> <span class="pl-s1">enable_hist_gradient_boosting</span>
<span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">ensemble</span> <span class="pl-k">import</span> <span class="pl-v">HistGradientBoostingClassifier</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-c"># one hundred plants - margin</span>
<span class="pl-s1">bunch</span> <span class="pl-c1">=</span> <span class="pl-en">fetch_openml</span>(<span class="pl-s1">data_id</span><span class="pl-c1">=</span><span class="pl-c1">1491</span>)
<span class="pl-v">X</span> <span class="pl-c1">=</span> <span class="pl-s1">bunch</span>.<span class="pl-s1">data</span>
<span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">bunch</span>.<span class="pl-s1">target</span>
<span class="pl-s1">res</span> <span class="pl-c1">=</span> <span class="pl-en">cross_val_score</span>(<span class="pl-v">HistGradientBoostingClassifier</span>(<span class="pl-s1">max_iter</span><span class="pl-c1">=</span><span class="pl-c1">100</span>, <span class="pl-s1">min_samples_leaf</span><span class="pl-c1">=</span><span class="pl-c1">5</span>), <span class="pl-v">X</span>, <span class="pl-s1">y</span>)
<span class="pl-s1">np</span>.<span class="pl-en">mean</span>(<span class="pl-s1">res</span>)</pre></div>
<p dir="auto">NaN</p>
<p dir="auto">This dataset is a bit weird in that it has 100 classes with 16 samples each. The default parameter don't work very well but we should fail more gacefully.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/NicolasHug/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/NicolasHug">@NicolasHug</a></p> | 1 |
<p dir="auto">Please go to Stack Overflow for help and support:</p>
<p dir="auto"><a href="https://stackoverflow.com/questions/tagged/tensorflow" rel="nofollow">https://stackoverflow.com/questions/tagged/tensorflow</a></p>
<p dir="auto">If you open a GitHub issue, here is our policy:</p>
<ol dir="auto">
<li>It must be a bug or a feature request.</li>
<li>The form below must be filled out.</li>
<li>It shouldn't be a TensorBoard issue. Those go <a href="https://github.com/tensorflow/tensorboard/issues">here</a>.</li>
</ol>
<p dir="auto"><strong>Here's why we have that policy</strong>: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.</p>
<hr>
<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>:</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>:</li>
<li><strong>TensorFlow installed from (source or binary)</strong>:</li>
<li><strong>TensorFlow version (use command below)</strong>:</li>
<li><strong>Python version</strong>:</li>
<li><strong>Bazel version (if compiling from source)</strong>:</li>
<li><strong>CUDA/cuDNN version</strong>:</li>
<li><strong>GPU model and memory</strong>:</li>
<li><strong>Exact command to reproduce</strong>:</li>
</ul>
<p dir="auto">You can collect some of this information using our environment capture script:</p>
<p dir="auto"><a href="https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh">https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh</a></p>
<p dir="auto">You can obtain the TensorFlow version with</p>
<p dir="auto">python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"</p>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.</p>
<h3 dir="auto">Source code / logs</h3>
<p dir="auto">Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.</p> | <p dir="auto">Please go to Stack Overflow for help and support:</p>
<p dir="auto"><a href="https://stackoverflow.com/questions/tagged/tensorflow" rel="nofollow">https://stackoverflow.com/questions/tagged/tensorflow</a></p>
<p dir="auto">If you open a GitHub issue, here is our policy:</p>
<ol dir="auto">
<li>It must be a bug or a feature request.</li>
<li>The form below must be filled out.</li>
<li>It shouldn't be a TensorBoard issue. Those go <a href="https://github.com/tensorflow/tensorboard/issues">here</a>.</li>
</ol>
<p dir="auto"><strong>Here's why we have that policy</strong>: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.</p>
<hr>
<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>:</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>:</li>
<li><strong>TensorFlow installed from (source or binary)</strong>:</li>
<li><strong>TensorFlow version (use command below)</strong>:</li>
<li><strong>Python version</strong>:</li>
<li><strong>Bazel version (if compiling from source)</strong>:</li>
<li><strong>CUDA/cuDNN version</strong>:</li>
<li><strong>GPU model and memory</strong>:</li>
<li><strong>Exact command to reproduce</strong>:</li>
</ul>
<p dir="auto">You can collect some of this information using our environment capture script:</p>
<p dir="auto"><a href="https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh">https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh</a></p>
<p dir="auto">You can obtain the TensorFlow version with</p>
<p dir="auto">python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"</p>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.</p>
<h3 dir="auto">Source code / logs</h3>
<p dir="auto">Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.</p> | 1 |
<p dir="auto">In the bootstrap.css file used on the demo site, at line 97 there are selectors for body, a and a:hover. In the downloadable version accessible from <a href="http://twitter.github.com/bootstrap/download.html">http://twitter.github.com/bootstrap/download.html</a> these are missing. Currently scaffolding.less (commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/twbs/bootstrap/commit/7f32d15fbb096fdf3146997f10cc91dbbd4589fc/hovercard" href="https://github.com/twbs/bootstrap/commit/7f32d15fbb096fdf3146997f10cc91dbbd4589fc"><tt>7f32d15</tt></a>) contains these lines and nothing else. Seems like this .less file might be missing from the build generated via the Customize page.</p> | <p dir="auto">Hey guys,</p>
<p dir="auto">I download the custom bootstrap from the site with all options, but in min.css don't have the body{} element...</p> | 1 |
<p dir="auto"><strong>Neo4j version</strong>: 4.1.1 (community edition)<br>
<strong>Operating system</strong>: DEBIAN 7<br>
<strong>API/Driver</strong>: Cypher/Python API/Browser/Desktop (I get the same error everywhere)</p>
<p dir="auto"><strong>Steps to reproduce</strong>: I created several csv files to run <code class="notranslate">neo4j-admin import</code>. I can't share the files unfortunately. The import runs successfully without errors. In the graph there are: 8 different node labels, 3 relationship types, 700k nodes, 400M relationships. <strong>There's a specific relationship csv file (7 GB), containing 399M relationships out of the total ~400M, which leads to this issue. If I don't include that file, everything works fine.</strong></p>
<p dir="auto">When I operate a simple query e.g.<br>
<code class="notranslate">match path = (h)-[r]->(t) where (('Gene' in labels(h)) and ('Gene' in labels(t))) or (('Gene' in labels(h)) and ('Variant' in labels(t))) return id(h), id(t)</code></p>
<p dir="auto">I obtain the following error:</p>
<p dir="auto"><code class="notranslate">NOT PART OF CHAIN! RelationshipTraversalCursor[id=292159681, open state with: denseNode=true, next=292159681, , underlying record=Relationship[292159681,used=true,source=137047,target=271310,type=0,sPrev=292159682,sNext=292159680,tPrev=292196972,tNext=292152117,prop=295162289,!sFirst,!tFirst]]</code></p>
<p dir="auto">I also run a consistency check and obtained:<br>
<code class="notranslate">Consistency check 2020-12-06 16:35:51.426+0000 ERROR [o.n.c.ConsistencyCheckService] The next property record does not have this record as its previous record. Property[1756984,used=true,prev=-1,next=1703993, (blocks not loaded)] Inconsistent with: Property[1703993,used=true,prev=1703992,next=1703994, (blocks not loaded)] 2020-12-06 16:35:51.446+0000 ERROR [o.n.c.ConsistencyCheckService] The referenced property record is not the first in its property chain. RecordNodeCursor[id=201948, open state with: highMark=-1, next=-1, underlying record=Node[201948,used=true,created=false,group=202324,prop=1757084,labels=Inline(0x2000180001:[1, 6]),light]] Inconsistent with: Property[1757084,used=true,prev=4294902015,next=1757085, (blocks not loaded)] 2020-12-06 16:35:51.465+0000 ERROR [o.n.c.ConsistencyCheckService] The next property record does not have this record as its previous record. Property[2300852,used=true,prev=2300851,next=2300853, (blocks not loaded)] Inconsistent with: Property[2300853,used=true,prev=7092,next=-1, (blocks not loaded)] 2020-12-06 16:35:51.764+0000 ERROR [o.n.c.ConsistencyCheckService] The property chain contains multiple properties that have the same property key id, which means that the entity has at least one duplicate property. RecordNodeCursor[id=311733, open state with: highMark=-1, next=-1, underlying record=Node[311733,used=true,created=false,rel=399531100,prop=1286730,labels=Inline(0x2000100002:[2, 4]),light]] 2020-12-06 16:35:51.765+0000 ERROR [o.n.c.ConsistencyCheckService] The next property record does not have this record as its previous record. Property[1290137,used=true,prev=1290136,next=1290140, (blocks not loaded)] Inconsistent with: Property[1290140,used=true,prev=1245337,next=1290141, (blocks not loaded)] Consistency checking failed.Full consistency check did not complete</code></p>
<p dir="auto">Can someone please explain what this means? Does it imply something goes wrong in the import?<br>
If yes, I'd expect an error message in the import process.</p> | <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amirouche/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/amirouche">@amirouche</a>: 'By inheriting from <code class="notranslate">GraphDatabase</code> in the <code class="notranslate">__init__</code> (I don't like to put code in <code class="notranslate">__init__.py</code> but this is for another time), it is possible to access to raw jpype/java methods like <code class="notranslate">graph.getNodeById</code> and other Java inherited stuff which clutter the output of python autocompletion with methods that are not pep8-compliant and sometimes duplicates of pep8-methods available in the case of <code class="notranslate">graph.getNodeById</code> as <code class="notranslate">graph.nodes.get</code>.'</p> | 0 |
<p dir="auto">Are there any current plans to upgrade Electron to Chromium 57?<br>
Currently, we are already using the CSS Grid layout, introduced with Chrome 57, to build form-based dialogs and would like to deploy that as a standalone desktop application with Electron.</p>
<p dir="auto">Thanks!</p> | <p dir="auto">Will electron support deno in the future?</p>
<p dir="auto">Deno is a new alternative to node js that automatically has builtin typescript support and has just reached v1.</p> | 0 |
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">I see Row and Column widgets as a <a href="https://developer.apple.com/documentation/uikit/uistackview" rel="nofollow">UIStackView</a> and would expect spacing parameter so that we can add custom spacing between their children. Something like <a href="https://developer.apple.com/documentation/uikit/uistackview/1616225-spacing" rel="nofollow">spacing</a>.<br>
I always end up adding additional Containers in between and this is far from clean solution from my pov - something like this:</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="new Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
new Container(
height: 20.0,
child: new Image.asset('assets/images/someimage.png'),
),
new Container(
height: 8.0,
),
new Container(
height: 20.0,
child: new Image.asset('assets/images/someimage.png'),
),
)
)"><pre class="notranslate"><span class="pl-k">new</span> <span class="pl-c1">Column</span>(
crossAxisAlignment<span class="pl-k">:</span> <span class="pl-c1">CrossAxisAlignment</span>.start,
children<span class="pl-k">:</span> <span class="pl-k"><</span><span class="pl-c1">Widget</span><span class="pl-k">></span>[
<span class="pl-k">new</span> <span class="pl-c1">Container</span>(
height<span class="pl-k">:</span> <span class="pl-c1">20.0</span>,
child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Image</span>.<span class="pl-en">asset</span>(<span class="pl-s">'assets/images/someimage.png'</span>),
),
<span class="pl-k">new</span> <span class="pl-c1">Container</span>(
height<span class="pl-k">:</span> <span class="pl-c1">8.0</span>,
),
<span class="pl-k">new</span> <span class="pl-c1">Container</span>(
height<span class="pl-k">:</span> <span class="pl-c1">20.0</span>,
child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Image</span>.<span class="pl-en">asset</span>(<span class="pl-s">'assets/images/someimage.png'</span>),
),
)
)</pre></div>
<p dir="auto">I understand that there are other ways to do this but all of them induce extra logic and make code harder to read.</p> | <p dir="auto">In cases when a variable is initialized using a literal (<code class="notranslate">String</code>, <code class="notranslate">int</code>, <code class="notranslate">bool</code>, <code class="notranslate">double</code>, <code class="notranslate">List</code>, <code class="notranslate">Map</code>) or a constructor initialization type annotations do not contribute to type safety, but have net negative effect on code readability:</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="String greeting = 'Hello, World!';
double d = 4.5;
MyAwesomeWidget widget = new MyAwesomeWidget();
final Map<String, List<int>> measurements = <String, List<int>>{};"><pre class="notranslate"><span class="pl-c1">String</span> greeting <span class="pl-k">=</span> <span class="pl-s">'Hello, World!'</span>;
<span class="pl-c1">double</span> d <span class="pl-k">=</span> <span class="pl-c1">4.5</span>;
<span class="pl-c1">MyAwesomeWidget</span> widget <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">MyAwesomeWidget</span>();
<span class="pl-k">final</span> <span class="pl-c1">Map</span><<span class="pl-c1">String</span>, <span class="pl-c1">List</span><<span class="pl-c1">int</span>>> measurements <span class="pl-k">=</span> <span class="pl-k"><</span><span class="pl-c1">String</span>, <span class="pl-c1">List</span><<span class="pl-c1">int</span>><span class="pl-k">></span>{};</pre></div>
<p dir="auto">The following has as much type safety but better readability:</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var greeting = 'Hello, World!';
var d = 4.5;
var widget = new MyAwesomeWidget();
final measurements = <String, List<int>>{};"><pre class="notranslate"><span class="pl-k">var</span> greeting <span class="pl-k">=</span> <span class="pl-s">'Hello, World!'</span>;
<span class="pl-k">var</span> d <span class="pl-k">=</span> <span class="pl-c1">4.5</span>;
<span class="pl-k">var</span> widget <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">MyAwesomeWidget</span>();
<span class="pl-k">final</span> measurements <span class="pl-k">=</span> <span class="pl-k"><</span><span class="pl-c1">String</span>, <span class="pl-c1">List</span><<span class="pl-c1">int</span>><span class="pl-k">></span>{};</pre></div>
<p dir="auto">Type annotations still contribute to type safety when the initializing expression is missing (i.e. <code class="notranslate">null</code>) or is non-trivial:</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="String greeting;
String greeting = null;
String greeting = condition ? hello : goodbye;
String greeting = fetchGreeting();"><pre class="notranslate"><span class="pl-c1">String</span> greeting;
<span class="pl-c1">String</span> greeting <span class="pl-k">=</span> <span class="pl-c1">null</span>;
<span class="pl-c1">String</span> greeting <span class="pl-k">=</span> condition <span class="pl-k">?</span> hello <span class="pl-k">:</span> goodbye;
<span class="pl-c1">String</span> greeting <span class="pl-k">=</span> <span class="pl-en">fetchGreeting</span>();</pre></div> | 0 |
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.XX]</li>
<li>Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.]</li>
<li>Browser: [All, Chromium, Firefox, 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"> I provided exact source code that allows reproducing the issue locally.</li>
</ul>
<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto">[https://github.com/your_profile/playwright_issue_title]</p>
<p dir="auto">or</p>
<p dir="auto"><strong>Config file</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'], },
},
});"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">defineConfig</span><span class="pl-kos">,</span> <span class="pl-s1">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">projects</span>: <span class="pl-kos">[</span>
<span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'chromium'</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span><span class="pl-kos"></span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>fixture (self-contained)</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
import { test as base, expect } from '@playwright/test';
exports.expect = expect;
export const test = base.extend({
WebApp: async ({page}, use) => {
await page.waitForURL(baseURL);
await expect(page).toHaveTitle(/XXXXXX/);
await page.locator('input:has-text("Login")').click();
await expect(page).toHaveURL(baseURL + 'LoginOrSignUp',{ timeout: (1000 * 1000) });
//Find Tab(with css = e-tab-text) with text = Login click it
await page.locator('div[role="toolbar"] >> text=Login').click();
await page.fill("#logInEmail",userName);
await page.fill('#loginInPassword', password);
await page.locator('#loginSignIn').click();
await page.waitForURL("https://XXXXXXXX/")
await use(WebApp)
},
});"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">test</span> <span class="pl-k">as</span> <span class="pl-s1">base</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-s1">exports</span><span class="pl-kos">.</span><span class="pl-c1">expect</span> <span class="pl-c1">=</span> <span class="pl-s1">expect</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">const</span> <span class="pl-s1">test</span> <span class="pl-c1">=</span> <span class="pl-s1">base</span><span class="pl-kos">.</span><span class="pl-en">extend</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-en">WebApp</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-s1">use</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">waitForURL</span><span class="pl-kos">(</span><span class="pl-s1">baseURL</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-kos">.</span><span class="pl-en">toHaveTitle</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>XXXXXX<span class="pl-c1">/</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">locator</span><span class="pl-kos">(</span><span class="pl-s">'input:has-text("Login")'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">click</span><span class="pl-kos">(</span><span class="pl-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-kos">.</span><span class="pl-en">toHaveURL</span><span class="pl-kos">(</span><span class="pl-s1">baseURL</span> <span class="pl-c1">+</span> <span class="pl-s">'LoginOrSignUp'</span><span class="pl-kos">,</span><span class="pl-kos">{</span> <span class="pl-c1">timeout</span>: <span class="pl-kos">(</span><span class="pl-c1">1000</span> <span class="pl-c1">*</span> <span class="pl-c1">1000</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">//Find Tab(with css = e-tab-text) with text = Login click it</span>
<span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">locator</span><span class="pl-kos">(</span><span class="pl-s">'div[role="toolbar"] >> text=Login'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">click</span><span class="pl-kos">(</span><span class="pl-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">fill</span><span class="pl-kos">(</span><span class="pl-s">"#logInEmail"</span><span class="pl-kos">,</span><span class="pl-s1">userName</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">fill</span><span class="pl-kos">(</span><span class="pl-s">'#loginInPassword'</span><span class="pl-kos">,</span> <span class="pl-s1">password</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">locator</span><span class="pl-kos">(</span><span class="pl-s">'#loginSignIn'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">click</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">waitForURL</span><span class="pl-kos">(</span><span class="pl-s">"https://XXXXXXXX/"</span><span class="pl-kos">)</span>
<span class="pl-k">await</span> <span class="pl-s1">use</span><span class="pl-kos">(</span><span class="pl-v">WebApp</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">Should compile, i want to supply the value from test</p>
<p dir="auto">test.use({<br>
geolocation : {latitude:67.74959, longitude: -52.19903},<br>
permissions :['geolocation'],<br>
project: 'Mobile Chrome',<br>
userName : '<a href="mailto:[email protected]">[email protected]</a>',<br>
password : 'jgjgkjgkkj',<br>
baseURL : "XXXXXX"<br>
});</p>
<p dir="auto">what is the right way of configuring the fixture with variable that will can be overriden from test ?<br>
<strong>Actual</strong></p>
<p dir="auto">compiler error</p> | <h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.35.1]</li>
<li>Operating System: [Ubuntu 20, macOS 13.4]</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"><a href="https://github.com/cdcasey/skip-test-repro">https://github.com/cdcasey/skip-test-repro</a></p>
<p dir="auto">Currently I have 16 tests across 5 files. Each file has its own page object and fixture. Each test block uses its corresponding page fixture. The page fixture runs through the login process, so each test block includes a fresh login. I assume this makes the tests isolated from each other. Yet if any one of the tests fails, the rest are skipped.</p>
<p dir="auto">We're using one worker, but the order of the tests doesn't matter. So if the second test that's run fails, the results of the suite are<br>
passed: 1<br>
failed: 1<br>
skipped: 14</p>
<p dir="auto">Expected output:<br>
passed: 15<br>
failed: 1<br>
skipped: 0</p>
<p dir="auto">Update: some people suggested I try fullyParallel: true in the config or expect.soft for the test assertions. Neither changed the results.</p>
<p dir="auto">To be sure, I'm not sure if this is a bug or if I'm misusing fixtures.</p> | 0 |
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/make-images-mobile-responsive" rel="nofollow">Make Images Mobile Responsive</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/49.0.2623.108 Chrome/49.0.2623.108 Safari/537.36</code>.</p>
<p dir="auto">Lobster Font is not loaded correctly from this exercise through "Line Up Form Elements Responsively with "Bootstrap"</p>
<p dir="auto">The href attribute should explicitly contain https:// as Google has moved to https everywhere.</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="<link href="http://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}
h2 {
font-family: Lobster, Monospace;
}
p {
font-size: 16px;
font-family: Monospace;
}
.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}
.smaller-image {
width: 100px;
}
</style>
<div class="container-fluid">
<h2 class="red-text">CatPhotoApp</h2>
<p>Click here for <a href="#">cat photos</a>.</p>
<a href="#"><img class="smaller-image thick-green-border" src="http://bit.ly/fcc-relaxing-cat"></a>
<p>Things cats love:</p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
<label><input type="checkbox" name="personality"> Loving</label>
<label><input type="checkbox" name="personality"> Lazy</label>
<label><input type="checkbox" name="personality"> Crazy</label>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">link</span> <span class="pl-c1">href</span>="<span class="pl-s">http://fonts.googleapis.com/css?family=Lobster</span>" <span class="pl-c1">rel</span>="<span class="pl-s">stylesheet</span>" <span class="pl-c1">type</span>="<span class="pl-s">text/css</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">style</span><span class="pl-kos">></span>
.<span class="pl-c1">red-text</span> {
<span class="pl-c1">color</span><span class="pl-kos">:</span> red;
}
<span class="pl-ent">h2</span> {
<span class="pl-c1">font-family</span><span class="pl-kos">:</span> Lobster<span class="pl-kos">,</span> Monospace;
}
<span class="pl-ent">p</span> {
<span class="pl-c1">font-size</span><span class="pl-kos">:</span> <span class="pl-c1">16<span class="pl-smi">px</span></span>;
<span class="pl-c1">font-family</span><span class="pl-kos">:</span> Monospace;
}
.<span class="pl-c1">thick-green-border</span> {
<span class="pl-c1">border-color</span><span class="pl-kos">:</span> green;
<span class="pl-c1">border-width</span><span class="pl-kos">:</span> <span class="pl-c1">10<span class="pl-smi">px</span></span>;
<span class="pl-c1">border-style</span><span class="pl-kos">:</span> solid;
<span class="pl-c1">border-radius</span><span class="pl-kos">:</span> <span class="pl-c1">50<span class="pl-smi">%</span></span>;
}
.<span class="pl-c1">smaller-image</span> {
<span class="pl-c1">width</span><span class="pl-kos">:</span> <span class="pl-c1">100<span class="pl-smi">px</span></span>;
}
<span class="pl-kos"></</span><span class="pl-ent">style</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h2</span> <span class="pl-c1">class</span>="<span class="pl-s">red-text</span>"<span class="pl-kos">></span>CatPhotoApp<span class="pl-kos"></</span><span class="pl-ent">h2</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span><span class="pl-kos">></span>Click here for <span class="pl-kos"><</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">></span>cat photos<span class="pl-kos"></</span><span class="pl-ent">a</span><span class="pl-kos">></span>.<span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">img</span> <span class="pl-c1">class</span>="<span class="pl-s">smaller-image thick-green-border</span>" <span class="pl-c1">src</span>="<span class="pl-s">http://bit.ly/fcc-relaxing-cat</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">a</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span><span class="pl-kos">></span>Things cats love:<span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">ul</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>cat nip<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>laser pointers<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>lasagna<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">ul</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span><span class="pl-kos">></span>Top 3 things cats hate:<span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">ol</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>flea treatment<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>thunder<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>other cats<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">ol</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">form</span> <span class="pl-c1">action</span>="<span class="pl-s">/submit-cat-photo</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">radio</span>" <span class="pl-c1">name</span>="<span class="pl-s">indoor-outdoor</span>"<span class="pl-kos">></span> Indoor<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">radio</span>" <span class="pl-c1">name</span>="<span class="pl-s">indoor-outdoor</span>"<span class="pl-kos">></span> Outdoor<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">checkbox</span>" <span class="pl-c1">name</span>="<span class="pl-s">personality</span>"<span class="pl-kos">></span> Loving<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">checkbox</span>" <span class="pl-c1">name</span>="<span class="pl-s">personality</span>"<span class="pl-kos">></span> Lazy<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">checkbox</span>" <span class="pl-c1">name</span>="<span class="pl-s">personality</span>"<span class="pl-kos">></span> Crazy<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">text</span>" <span class="pl-c1">placeholder</span>="<span class="pl-s">cat photo URL</span>" <span class="pl-c1">required</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">type</span>="<span class="pl-s">submit</span>"<span class="pl-kos">></span>Submit<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">form</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div> | <p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/add-font-awesome-icons-to-our-buttons#?solution=%3Clink%20href%3D%22https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DLobster%22%20rel%3D%22stylesheet%22%20type%3D%22text%2Fcss%22%3E%0A%3C!--link%20href%3D%27https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DLobster%27%20rel%3D%27stylesheet%27%20type%3D%27text%2Fcss%27%20--%3E%0A%3Cstyle%3E%0A%20%20h2%20%7B%0A%20%20%20%20font-family%3A%20Lobster%2C%20Monospace%3B%0A%20%20%7D%0A%0A%20%20.thick-green-border%20%7B%0A%20%20%20%20border-color%3A%20green%3B%0A%20%20%20%20border-width%3A%2010px%3B%0A%20%20%20%20border-style%3A%20solid%3B%0A%20%20%20%20border-radius%3A%2050%25%3B%0A%20%20%7D%0A%3C%2Fstyle%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-8%22%3E%0A%20%20%20%20%20%20%3Ch2%20class%3D%22text-primary%20text-center%22%3ECatPhotoApp%3C%2Fh2%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-4%22%3E%0A%20%20%20%20%20%20%3Ca%20href%3D%22%23%22%3E%3Cimg%20class%3D%22img-responsive%20thick-green-border%22%20src%3D%22https%3A%2F%2Fbit.ly%2Ffcc-relaxing-cat%22%3E%3C%2Fa%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%20%20%3Cimg%20src%3D%22http%3A%2F%2Fbit.ly%2Ffcc-running-cats%22%20class%3D%22img-responsive%22%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-4%22%3E%0A%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-block%20btn-primary%22%3ELike%3C%2Fbutton%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-4%22%3E%0A%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-block%20btn-info%22%3EInfo%3C%2Fbutton%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-4%22%3E%0A%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-block%20btn-danger%22%3EDelete%3C%2Fbutton%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%20%20%3Cp%3EThings%20cats%20%3Cspan%20class%3D%22text-danger%22%3Elove%3A%3C%2Fspan%3E%3C%2Fp%3E%0A%20%20%3Cul%3E%0A%20%20%20%20%3Cli%3Ecat%20nip%3C%2Fli%3E%0A%20%20%20%20%3Cli%3Elaser%20pointers%3C%2Fli%3E%0A%20%20%20%20%3Cli%3Elasagna%3C%2Fli%3E%0A%20%20%3C%2Ful%3E%0A%20%20%3Cp%3ETop%203%20things%20cats%20hate%3A%3C%2Fp%3E%0A%20%20%3Col%3E%0A%20%20%20%20%3Cli%3Eflea%20treatment%3C%2Fli%3E%0A%20%20%20%20%3Cli%3Ethunder%3C%2Fli%3E%0A%20%20%20%20%3Cli%3Eother%20cats%3C%2Fli%3E%0A%20%20%3C%2Fol%3E%0A%20%20%3Cform%20fccfaa%3D%22%2Fsubmit-cat-photo%22%3E%0A%20%20%20%20%3Clabel%3E%3Cinput%20type%3D%22radio%22%20name%3D%22indoor-outdoor%22%3E%20Indoor%3C%2Flabel%3E%0A%20%20%20%20%3Clabel%3E%3Cinput%20type%3D%22radio%22%20name%3D%22indoor-outdoor%22%3E%20Outdoor%3C%2Flabel%3E%0A%20%20%20%20%3Clabel%3E%3Cinput%20type%3D%22checkbox%22%20name%3D%22personality%22%3E%20Loving%3C%2Flabel%3E%0A%20%20%20%20%3Clabel%3E%3Cinput%20type%3D%22checkbox%22%20name%3D%22personality%22%3E%20Lazy%3C%2Flabel%3E%0A%20%20%20%20%3Clabel%3E%3Cinput%20type%3D%22checkbox%22%20name%3D%22personality%22%3E%20Crazy%3C%2Flabel%3E%0A%20%20%20%20%3Cinput%20type%3D%22text%22%20placeholder%3D%22cat%20photo%20URL%22%20required%3E%0A%20%20%20%20%3Cbutton%20type%3D%22submit%22%3ESubmit%3C%2Fbutton%3E%0A%20%20%3C%2Fform%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Add Font Awesome Icons to our Buttons</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101 Firefox/45.0</code>.</p>
<p dir="auto">The default code is using http, rather than https, thus the font is not being loaded.<br>
The same issue occurs on a few of the previous pages.</p>
<p dir="auto">Screenshot: <a href="http://georgebaker.us/FCCissue_Google_font_links_need_https.jpg" rel="nofollow">http://georgebaker.us/FCCissue_Google_font_links_need_https.jpg</a></p>
<p dir="auto">Correct code:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
h2 {
font-family: Lobster, Monospace;
}
[ etc ]"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">link</span> <span class="pl-c1">href</span>="<span class="pl-s">https://fonts.googleapis.com/css?family=Lobster</span>" <span class="pl-c1">rel</span>="<span class="pl-s">stylesheet</span>" <span class="pl-c1">type</span>="<span class="pl-s">text/css</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">style</span><span class="pl-kos">></span>
h2 {
font-family: Lobster, Monospace;
}
[ etc ]</pre></div> | 1 |
<p dir="auto">There appears to ba a bug in scipy.optimize.fmin_slsqp; given a set of unsatisfyable constraints, the imode return parameter should signal this with a return value of 4, but this does not appear to happen:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import scipy.optimize
normals = np.concatenate([np.eye(2), -np.eye(2)])
depth = 1
f_ieqcons = lambda x: normals.dot(x) - depth
x, fx, its, imode, smode = scipy.optimize.fmin_slsqp(
func=lambda x: (x**2).sum(),
x0=np.zeros(2),
f_ieqcons=f_ieqcons,
full_output=True
)
print(f_ieqcons(x))
assert imode==4 # fail"><pre class="notranslate"><code class="notranslate">import scipy.optimize
normals = np.concatenate([np.eye(2), -np.eye(2)])
depth = 1
f_ieqcons = lambda x: normals.dot(x) - depth
x, fx, its, imode, smode = scipy.optimize.fmin_slsqp(
func=lambda x: (x**2).sum(),
x0=np.zeros(2),
f_ieqcons=f_ieqcons,
full_output=True
)
print(f_ieqcons(x))
assert imode==4 # fail
</code></pre></div>
<p dir="auto">that is, given anaconda scipy 0.17.1 np110py35_1</p> | <p dir="auto">From mailing list:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="x = [1,2]
optimize.minimize(
lambda x: x[0]**2+x[1]**2, x,
constraints = (
{'type':'eq','fun': lambda x: x[0]+x[1]-1},
{'type':'ineq','fun': lambda x: x[0]-2}
),
bounds = ((0,None),(0,None)),
method='SLSQP')"><pre class="notranslate"><code class="notranslate">x = [1,2]
optimize.minimize(
lambda x: x[0]**2+x[1]**2, x,
constraints = (
{'type':'eq','fun': lambda x: x[0]+x[1]-1},
{'type':'ineq','fun': lambda x: x[0]-2}
),
bounds = ((0,None),(0,None)),
method='SLSQP')
</code></pre></div>
<p dir="auto">returns (0.18.0.dev0+1eeef28)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" fun: 2.77777777777712
jac: array([ 3.33333334e+00, 2.98023224e-08, 0.00000000e+00])
message: 'Optimization terminated successfully.'
nfev: 8
nit: 6
njev: 2
status: 0
success: True
x: array([ 1.66666667e+00, 1.39888101e-14])"><pre class="notranslate"><code class="notranslate"> fun: 2.77777777777712
jac: array([ 3.33333334e+00, 2.98023224e-08, 0.00000000e+00])
message: 'Optimization terminated successfully.'
nfev: 8
nit: 6
njev: 2
status: 0
success: True
x: array([ 1.66666667e+00, 1.39888101e-14])
</code></pre></div> | 1 |
<p dir="auto">The current behavior of init containers is to run a set of init containers for every pod.</p>
<p dir="auto">It would be nice if the behavior could be extended so that we can define a set of init containers for a deployment. This would be extremely useful if we have an app that talks to a database and would need to run database migrations or perform some action or task exclusively for the whole deployment during startup. We can then run these tasks in an init container, but only in 1 container per deployment.</p> | <p dir="auto">Users often need a means to inject custom behavior into the lifecycle of a deployment process. The deployment API (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="45532851" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/1743" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/1743/hovercard" href="https://github.com/kubernetes/kubernetes/issues/1743">#1743</a>) could be expanded to support the execution user-specified Docker images which are given an opportunity to complete at various points during the recon process for a deployment.</p>
<p dir="auto">Use cases and various design approaches were discussed previously in an <a href="https://github.com/openshift/origin/blob/master/docs/proposals/post-deployment-hooks.md">OpenShift deployment hooks proposal</a>.</p>
<p dir="auto">This RFC is to capture initial thoughts on the topic and to link any existing related issues.</p> | 1 |
<p dir="auto">The <a href="https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/dockertools/docker_manager_test.go">docker_manager_test</a> needs some refactoring. A few of the problems:</p>
<ul dir="auto">
<li>Rampant code duplication (the test is over 2500 lines long)</li>
<li>Fragile tests depending on lots of internal functionality</li>
</ul>
<p dir="auto">Cleanup up the test properly may require exposing a few more interfaces from the DockerManager, or just providing better fakes.</p> | <p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):<br>
service</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):<br>
BUG REPORT</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Client Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.4", GitCommit:"dd6b458ef8dbf24aff55795baa68f83383c9b3a9", GitTreeState:"clean", BuildDate:"2016-08-01T16:45:16Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.5", GitCommit:"b0deb2eb8f4037421077f77cb163dbb4c0a2a9f5", GitTreeState:"clean", BuildDate:"2016-08-11T20:21:58Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}"><pre class="notranslate"><code class="notranslate">Client Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.4", GitCommit:"dd6b458ef8dbf24aff55795baa68f83383c9b3a9", GitTreeState:"clean", BuildDate:"2016-08-01T16:45:16Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.5", GitCommit:"b0deb2eb8f4037421077f77cb163dbb4c0a2a9f5", GitTreeState:"clean", BuildDate:"2016-08-11T20:21:58Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}
</code></pre></div>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: GCE container cluster</li>
</ul>
<p dir="auto"><strong>What happened</strong>:<br>
Tried to create a service, but the service disappeared after a minute or two. Watch doesn't tell any info about the removal. Tried both ClusterIP and NodePort, the same result. Appreciate if someone can explain the cause.</p>
<p dir="auto">Create the service:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ kubectl create -f grafana-service.yaml
You have exposed your service on an external port on all nodes in your
cluster. If you want to expose this service to the external internet, you may
need to set up firewall rules for the service port(s) (tcp:30603) to serve traffic.
See http://releases.k8s.io/release-1.3/docs/user-guide/services-firewalls.md for more details.
service "monitoring-grafana" created"><pre class="notranslate"><code class="notranslate">$ kubectl create -f grafana-service.yaml
You have exposed your service on an external port on all nodes in your
cluster. If you want to expose this service to the external internet, you may
need to set up firewall rules for the service port(s) (tcp:30603) to serve traffic.
See http://releases.k8s.io/release-1.3/docs/user-guide/services-firewalls.md for more details.
service "monitoring-grafana" created
</code></pre></div>
<p dir="auto">The service was created:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ kubectl get services --namespace kube-system
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default-http-backend 10.3.247.212 <nodes> 80/TCP 2d
heapster 10.3.247.1 <none> 80/TCP 1d
kube-dns 10.3.240.10 <none> 53/UDP,53/TCP 2d
kubernetes-dashboard 10.3.246.164 <none> 80/TCP 2d
monitoring-grafana 10.3.243.215 <nodes> 80/TCP 40s
monitoring-influxdb 10.3.250.25 <none> 8083/TCP,8086/TCP 19m"><pre class="notranslate"><code class="notranslate">$ kubectl get services --namespace kube-system
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default-http-backend 10.3.247.212 <nodes> 80/TCP 2d
heapster 10.3.247.1 <none> 80/TCP 1d
kube-dns 10.3.240.10 <none> 53/UDP,53/TCP 2d
kubernetes-dashboard 10.3.246.164 <none> 80/TCP 2d
monitoring-grafana 10.3.243.215 <nodes> 80/TCP 40s
monitoring-influxdb 10.3.250.25 <none> 8083/TCP,8086/TCP 19m
</code></pre></div>
<p dir="auto">But it disappeared later on:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ kubectl get services --namespace kube-system
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default-http-backend 10.3.247.212 <nodes> 80/TCP 2d
heapster 10.3.247.1 <none> 80/TCP 1d
kube-dns 10.3.240.10 <none> 53/UDP,53/TCP 2d
kubernetes-dashboard 10.3.246.164 <none> 80/TCP 2d
monitoring-influxdb 10.3.250.25 <none> 8083/TCP,8086/TCP 20m"><pre class="notranslate"><code class="notranslate">$ kubectl get services --namespace kube-system
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default-http-backend 10.3.247.212 <nodes> 80/TCP 2d
heapster 10.3.247.1 <none> 80/TCP 1d
kube-dns 10.3.240.10 <none> 53/UDP,53/TCP 2d
kubernetes-dashboard 10.3.246.164 <none> 80/TCP 2d
monitoring-influxdb 10.3.250.25 <none> 8083/TCP,8086/TCP 20m
</code></pre></div>
<p dir="auto">Below is what I got from watch:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="apiVersion: v1
kind: Service
metadata:
creationTimestamp: 2016-08-24T23:09:51Z
labels:
kubernetes.io/cluster-service: "true"
kubernetes.io/name: monitoring-grafana
name: monitoring-grafana
namespace: kube-system
resourceVersion: "57700"
selfLink: /api/v1/namespaces/kube-system/services/monitoring-grafana
uid: dc8a45c5-6a4f-11e6-a055-42010a8a0fc8
spec:
clusterIP: 10.3.243.215
ports:
- nodePort: 30603
port: 80
protocol: TCP
targetPort: 3000
selector:
name: influxGrafana
sessionAffinity: None
type: NodePort
status:
loadBalancer: {}
apiVersion: v1
kind: Service
metadata:
creationTimestamp: 2016-08-24T23:09:51Z
labels:
kubernetes.io/cluster-service: "true"
kubernetes.io/name: monitoring-grafana
name: monitoring-grafana
namespace: kube-system
resourceVersion: "57709"
selfLink: /api/v1/namespaces/kube-system/services/monitoring-grafana
uid: dc8a45c5-6a4f-11e6-a055-42010a8a0fc8
spec:
clusterIP: 10.3.243.215
ports:
- nodePort: 30603
port: 80
protocol: TCP
targetPort: 3000
selector:
name: influxGrafana
sessionAffinity: None
type: NodePort
status:
loadBalancer: {}"><pre class="notranslate"><code class="notranslate">apiVersion: v1
kind: Service
metadata:
creationTimestamp: 2016-08-24T23:09:51Z
labels:
kubernetes.io/cluster-service: "true"
kubernetes.io/name: monitoring-grafana
name: monitoring-grafana
namespace: kube-system
resourceVersion: "57700"
selfLink: /api/v1/namespaces/kube-system/services/monitoring-grafana
uid: dc8a45c5-6a4f-11e6-a055-42010a8a0fc8
spec:
clusterIP: 10.3.243.215
ports:
- nodePort: 30603
port: 80
protocol: TCP
targetPort: 3000
selector:
name: influxGrafana
sessionAffinity: None
type: NodePort
status:
loadBalancer: {}
apiVersion: v1
kind: Service
metadata:
creationTimestamp: 2016-08-24T23:09:51Z
labels:
kubernetes.io/cluster-service: "true"
kubernetes.io/name: monitoring-grafana
name: monitoring-grafana
namespace: kube-system
resourceVersion: "57709"
selfLink: /api/v1/namespaces/kube-system/services/monitoring-grafana
uid: dc8a45c5-6a4f-11e6-a055-42010a8a0fc8
spec:
clusterIP: 10.3.243.215
ports:
- nodePort: 30603
port: 80
protocol: TCP
targetPort: 3000
selector:
name: influxGrafana
sessionAffinity: None
type: NodePort
status:
loadBalancer: {}
</code></pre></div> | 0 |
<p dir="auto">During upgrading <code class="notranslate">0.13</code> I found it really hard to locate problems caused by duplicated using of <code class="notranslate">createFactory</code>. But it may help with component names in the warnings:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" 'Warning: Factory.type is deprecated. Access the class directly before ' +
'passing it to createFactory"><pre class="notranslate"> <span class="pl-s">'Warning: Factory.type is deprecated. Access the class directly before '</span> <span class="pl-c1">+</span>
'passing it to createFactory</pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/449224/7042993/77bcf92c-de18-11e4-9444-b1d89ead9e4a.png"><img src="https://cloud.githubusercontent.com/assets/449224/7042993/77bcf92c-de18-11e4-9444-b1d89ead9e4a.png" alt="p" style="max-width: 100%;"></a></p> | <p dir="auto">Heads up to anybody going through debugging hell.<br>
If you have your own fancy component (e.g <code class="notranslate"><AwesomeInput/></code>) and you think its smart passing a prop named <code class="notranslate">key</code> to your component, so that you can set it as the <code class="notranslate">react-key</code> (you know, the one React complains about needing if there are multiple elements on the same level), <code class="notranslate">this.props.key</code> will be undefined within your component!</p>
<p dir="auto"><strong>'key' and 'ref' are reserved words that are not allowed to be passed as props.</strong></p>
<p dir="auto">renaming the prop resolves this issue. It is too bad, that React doesn't warn you about that as it does with many other things. Would be great if this would be reflected more prominently in the docs under 'reserved names' or similar.</p> | 0 |
<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>yes</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>2.7.39</td>
</tr>
</tbody>
</table>
<p dir="auto">Behat tests started failing because of this issue (see <a href="https://travis-ci.org/Behat/Behat/jobs/324067796#L612" rel="nofollow">here</a>).</p>
<p dir="auto">The following command started displaying a help message, instead of running the test suite:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="behat --no-colors -sbig_brother -fpretty --format-settings='{\"paths\": true}' features"><pre class="notranslate"><code class="notranslate">behat --no-colors -sbig_brother -fpretty --format-settings='{\"paths\": true}' features
</code></pre></div>
<p dir="auto">The cause of the issue seems to be <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="274419790" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/24987" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/24987/hovercard" href="https://github.com/symfony/symfony/pull/24987">#24987</a> which allowed grouping short options. <code class="notranslate">-sbig_brother</code> contains the "h" letter which is treated as <code class="notranslate">-h</code> and the <code class="notranslate">Application</code> assumes it needs to display a help message:</p>
<p dir="auto"></p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/symfony/symfony/blob/7b4d519885e9a8272c8d8690933e4be352c75954/src/Symfony/Component/Console/Application.php#L164-L172">symfony/src/Symfony/Component/Console/Application.php</a>
</p>
<p class="mb-0 color-fg-muted">
Lines 164 to 172
in
<a data-pjax="true" class="commit-tease-sha" href="/symfony/symfony/commit/7b4d519885e9a8272c8d8690933e4be352c75954">7b4d519</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="L164" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="164"></td>
<td id="LC164" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1"><span class="pl-c1">$</span>name</span> = <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-en">getCommandName</span>(<span class="pl-s1"><span class="pl-c1">$</span>input</span>); </td>
</tr>
<tr class="border-0">
<td id="L165" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="165"></td>
<td id="LC165" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">if</span> (<span class="pl-c1">true</span> === <span class="pl-s1"><span class="pl-c1">$</span>input</span>-><span class="pl-en">hasParameterOption</span>(<span class="pl-en">array</span>(<span class="pl-s">'--help'</span>, <span class="pl-s">'-h'</span>))) { </td>
</tr>
<tr class="border-0">
<td id="L166" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="166"></td>
<td id="LC166" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">if</span> (!<span class="pl-s1"><span class="pl-c1">$</span>name</span>) { </td>
</tr>
<tr class="border-0">
<td id="L167" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="167"></td>
<td id="LC167" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1"><span class="pl-c1">$</span>name</span> = <span class="pl-s">'help'</span>; </td>
</tr>
<tr class="border-0">
<td id="L168" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="168"></td>
<td id="LC168" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1"><span class="pl-c1">$</span>input</span> = <span class="pl-k">new</span> <span class="pl-v">ArrayInput</span>(<span class="pl-en">array</span>(<span class="pl-s">'command'</span> => <span class="pl-s">'help'</span>)); </td>
</tr>
<tr class="border-0">
<td id="L169" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="169"></td>
<td id="LC169" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> } <span class="pl-k">else</span> { </td>
</tr>
<tr class="border-0">
<td id="L170" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="170"></td>
<td id="LC170" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">wantHelps</span> = <span class="pl-c1">true</span>; </td>
</tr>
<tr class="border-0">
<td id="L171" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="171"></td>
<td id="LC171" 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="L172" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="172"></td>
<td id="LC172" 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> | <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>yes</td>
</tr>
<tr>
<td>RFC?</td>
<td>yes</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.4.2 (and others)</td>
</tr>
</tbody>
</table>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="274419790" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/24987" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/24987/hovercard" href="https://github.com/symfony/symfony/pull/24987">#24987</a> introduced a bug in hasParameterOption. If a short option has a value, then hasParameterOption will search the value for additional short options.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="281859208" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/25487" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/25487/hovercard" href="https://github.com/symfony/symfony/pull/25487">#25487</a> submitted a fix for this bug, but the fix appears to be incorrect.</p>
<p dir="auto">The current implementation of <code class="notranslate">parseShortOption</code> is as follows:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" /**
* Parses a short option.
*
* @param string $token The current token
*/
private function parseShortOption($token)
{
$name = substr($token, 1);
if (strlen($name) > 1) {
if ($this->definition->hasShortcut($name[0]) && $this->definition->getOptionForShortcut($name[0])->acceptValue()) {
// an option with a value (with no space)
$this->addShortOption($name[0], substr($name, 1));
} else {
$this->parseShortOptionSet($name);
}
} else {
$this->addShortOption($name, null);
}
}"><pre class="notranslate"><code class="notranslate"> /**
* Parses a short option.
*
* @param string $token The current token
*/
private function parseShortOption($token)
{
$name = substr($token, 1);
if (strlen($name) > 1) {
if ($this->definition->hasShortcut($name[0]) && $this->definition->getOptionForShortcut($name[0])->acceptValue()) {
// an option with a value (with no space)
$this->addShortOption($name[0], substr($name, 1));
} else {
$this->parseShortOptionSet($name);
}
} else {
$this->addShortOption($name, null);
}
}
</code></pre></div>
<p dir="auto">In particular, note the <code class="notranslate">substr($name, 1)</code>. If there is a short option <code class="notranslate">-e</code> that takes a value, then <code class="notranslate">-etest</code> will provide the value <code class="notranslate">test</code> to the <code class="notranslate">-e</code> option. See also the implementation of <code class="notranslate">parseShortOptionSet</code>, which has similar logic. No <code class="notranslate">=</code> is assumed or accounted for.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="281859208" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/25487" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/25487/hovercard" href="https://github.com/symfony/symfony/pull/25487">#25487</a> fixed the bug of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="274419790" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/24987" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/24987/hovercard" href="https://github.com/symfony/symfony/pull/24987">#24987</a> by assuming that the value of a short option was formatted as <code class="notranslate">-e=test</code>; however, this is inconsistent with the implementation of the parsing functions.</p>
<p dir="auto">My testing seems to uphold these observations, but please LMK if I have made an error somewhere. I'm not sure if there is a better solution than reverting <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="274419790" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/24987" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/24987/hovercard" href="https://github.com/symfony/symfony/pull/24987">#24987</a>.</p> | 1 |
<p dir="auto">I would like to be able to capture (or cancel) the native file open dialog.<br>
It is possible for 'download/save' by catching the 'will-download' event. I would like the same for the file selection.</p>
<p dir="auto">Basically I need to control all native UI element (popup, dialogs, ...).<br>
Does it make sense?</p>
<p dir="auto">thanks.</p> | <ul dir="auto">
<li>Electron version: 1.1.0</li>
<li>Operating system: N/A</li>
</ul>
<p dir="auto">Currently there isn't any way to remove dialog boxes (such as ones created through <code class="notranslate">dialog.showMessageBox</code>). This can be useful in, for example, "Keep Waiting" dialogs. After the window becomes responsive again it would be great if we could programmatically close the dialog.</p> | 1 |
<h3 dir="auto"><g-emoji class="g-emoji" alias="computer" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png">💻</g-emoji></h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Would you like to work on a fix?</li>
</ul>
<h3 dir="auto">How are you using Babel?</h3>
<p dir="auto">@babel/cli</p>
<h3 dir="auto">Input code</h3>
<p dir="auto">...</p>
<h3 dir="auto">Configuration file name</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Configuration</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Current and expected behavior</h3>
<p dir="auto">After upgrading to 7.22.8 this issue is coming</p>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Babel version 7.22.8</li>
</ul>
<h3 dir="auto">Possible solution</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Additional context</h3>
<p dir="auto"><em>No response</em></p> | <blockquote>
<p dir="auto">Issue originally made by Jonathan (barroudjo)</p>
</blockquote>
<h3 dir="auto">Bug information</h3>
<ul dir="auto">
<li><strong>Node version:</strong> 0.12.7</li>
<li><strong>npm version:</strong> 2.11.3</li>
</ul>
<h3 dir="auto">Description</h3>
<p dir="auto">When using babel-plugin-transform-runtime (6.3.13), which requires the use of babel-runtime (of which I installed the latest version, 6.3.19), there is still the bug described in T6644. I get when I try to run the app thus compiled the</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: (0 , _typeof3.default) is not a function"><pre class="notranslate"><code class="notranslate">TypeError: (0 , _typeof3.default) is not a function
</code></pre></div>
<p dir="auto">failure.<br>
This is strange as this bug is supposed to have been resolved by the release of babel-runtime 6.3.19. Does anyone else have this issue ?</p> | 0 |
<p dir="auto">Input:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function foo(/* comment */) {}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-c">/* comment */</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<p dir="auto">Output:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function foo() {}
/* comment */"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-c">/* comment */</span></pre></div>
<p dir="auto">Leading and trailing comments work as expected:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function foo(arg /* comment */) {}
function foo(/* comment */ arg) {}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-s1">arg</span> <span class="pl-c">/* comment */</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-k">function</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-c">/* comment */</span> <span class="pl-s1">arg</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function foo(arg /* comment */) {}
function foo( /* comment */arg) {}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-s1">arg</span> <span class="pl-c">/* comment */</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-k">function</span> <span class="pl-en">foo</span><span class="pl-kos">(</span> <span class="pl-c">/* comment */</span><span class="pl-s1">arg</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<p dir="auto"><a href="https://babeljs.io/repl/#?experimental=true&evaluate=true&loose=true&spec=true&code=function%20foo%28%2F*%20comment%20*%2F%29%20%7B%7D%0Afunction%20foo%28arg%20%2F*%20comment%20*%2F%29%20%7B%7D%0Afunction%20foo%28%2F*%20comment%20*%2F%20arg%29%20%7B%7D" rel="nofollow">Reproducible in the online REPL</a> at the time of writing.</p> | <p dir="auto">This code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="try {
foo();
} catch(e) {
// do nothing
}"><pre class="notranslate"><span class="pl-k">try</span> <span class="pl-kos">{</span>
<span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span> <span class="pl-k">catch</span><span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// do nothing</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Compiles to this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""use strict";
try {
foo();
} catch (e) {}
// do nothing"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span>
<span class="pl-k">try</span> <span class="pl-kos">{</span>
<span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span> <span class="pl-k">catch</span> <span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-c">// do nothing</span></pre></div>
<p dir="auto">It's ok at all, except eslint. It's affecting <code class="notranslate">no-empty</code> rule.</p> | 1 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto"><a href="http://docs.ansible.com/ansible/latest/include_vars_module.html#options" rel="nofollow"><code class="notranslate">include_vars</code></a></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.4.0.0
config file = None
configured module search path = [u'/home/vagrant/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]"><pre class="notranslate"><code class="notranslate">$ ansible --version
ansible 2.4.0.0
config file = None
configured module search path = [u'/home/vagrant/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-config dump --only-changed
# nothing"><pre class="notranslate"><code class="notranslate">$ ansible-config dump --only-changed
# nothing
</code></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Centos 7 (<code class="notranslate">Vagrantfile</code> below)</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto"><code class="notranslate">include_vars: dir</code> inside a role is only searching relative to the role. <a href="http://docs.ansible.com/ansible/latest/include_vars_module.html#options" rel="nofollow">The docs</a> suggest it also searches relative to the playbook. Either it's not searching both the owning role and the playbook directory, or the docs are wrong.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">I've put everything into <a href="https://github.com/thecjharries/ansible-include_vars-issue">a repo</a>; you can clone it and duplicate the problem.</p>
<p dir="auto"><code class="notranslate">role2/tasks/main.yml</code>:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- include_vars:
dir: role1
- debug:
var: role1_var"><pre class="notranslate">- <span class="pl-ent">include_vars</span>:
<span class="pl-ent">dir</span>: <span class="pl-s">role1</span>
- <span class="pl-ent">debug</span>:
<span class="pl-ent">var</span>: <span class="pl-s">role1_var</span></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""role1_var": "This is from role 1""><pre class="notranslate"><code class="notranslate">"role1_var": "This is from role 1"
</code></pre></div>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto"><a href="https://github.com/thecjharries/ansible-include_vars-issue#results">A complete log</a> is in the repo; the specific problem is below:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""{{ playbook_dir }}/roles/role2/vars/role1 directory does not exist""><pre class="notranslate"><code class="notranslate">"{{ playbook_dir }}/roles/role2/vars/role1 directory does not exist"
</code></pre></div> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<ul dir="auto">
<li>azure_rm_virtualmachine</li>
</ul>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.4.3.0
config file = /home/admin/Code/ansible/ansible.cfg
configured module search path = [u'/home/admin/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.14 (default, Jan 5 2018, 10:41:29) [GCC 7.2.1 20171224]"><pre class="notranslate"><code class="notranslate">ansible 2.4.3.0
config file = /home/admin/Code/ansible/ansible.cfg
configured module search path = [u'/home/admin/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.14 (default, Jan 5 2018, 10:41:29) [GCC 7.2.1 20171224]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="DEFAULT_VAULT_PASSWORD_FILE(/home/admin/Code/ansible/ansible.cfg) = /home/admin/Code/ansible/.vault_pass
RETRY_FILES_ENABLED(/home/admin/Code/ansible/ansible.cfg) = False
"><pre class="notranslate"><code class="notranslate">DEFAULT_VAULT_PASSWORD_FILE(/home/admin/Code/ansible/ansible.cfg) = /home/admin/Code/ansible/.vault_pass
RETRY_FILES_ENABLED(/home/admin/Code/ansible/ansible.cfg) = False
</code></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Arch Linux</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Deserialization error against the python sdk when attempting to create a virtual machine.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" - name: Create {{vm_web_name}} virtual machine
azure_rm_virtualmachine:
client_id: "{{azure_client_id}}"
secret: "{{azure_secret}}"
tenant: "{{azure_tenant}}"
subscription_id: "{{azure_subscription}}"
resource_group: "{{resource_group_name}}"
name: "{{vm_web_name}}"
admin_username: "{{vm_web_username}}"
image:
offer: "{{vm_web_image_offer}}"
publisher: "{{vm_web_image_publisher}}"
sku: "{{vm_web_image_sku}}"
version: "{{vm_web_image_version}}"
location: "{{vm_web_location}}"
managed_disk_type: "Standard_LRS"
network_interface_names: "{{nic_web_name}}"
ssh_password_enabled: False
ssh_public_keys:
- path: "/home/{{vm_web_username}}/.ssh/authorized_keys"
key_data: "{{vm_web_ssh}}"
vm_size: "{{vm_web_size}}"
state: present
"><pre class="notranslate"> - <span class="pl-ent">name</span>: <span class="pl-s">Create {{vm_web_name}} virtual machine</span>
<span class="pl-ent">azure_rm_virtualmachine</span>:
<span class="pl-ent">client_id</span>: <span class="pl-s"><span class="pl-pds">"</span>{{azure_client_id}}<span class="pl-pds">"</span></span>
<span class="pl-ent">secret</span>: <span class="pl-s"><span class="pl-pds">"</span>{{azure_secret}}<span class="pl-pds">"</span></span>
<span class="pl-ent">tenant</span>: <span class="pl-s"><span class="pl-pds">"</span>{{azure_tenant}}<span class="pl-pds">"</span></span>
<span class="pl-ent">subscription_id</span>: <span class="pl-s"><span class="pl-pds">"</span>{{azure_subscription}}<span class="pl-pds">"</span></span>
<span class="pl-ent">resource_group</span>: <span class="pl-s"><span class="pl-pds">"</span>{{resource_group_name}}<span class="pl-pds">"</span></span>
<span class="pl-ent">name</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vm_web_name}}<span class="pl-pds">"</span></span>
<span class="pl-ent">admin_username</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vm_web_username}}<span class="pl-pds">"</span></span>
<span class="pl-ent">image</span>:
<span class="pl-ent">offer</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vm_web_image_offer}}<span class="pl-pds">"</span></span>
<span class="pl-ent">publisher</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vm_web_image_publisher}}<span class="pl-pds">"</span></span>
<span class="pl-ent">sku</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vm_web_image_sku}}<span class="pl-pds">"</span></span>
<span class="pl-ent">version</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vm_web_image_version}}<span class="pl-pds">"</span></span>
<span class="pl-ent">location</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vm_web_location}}<span class="pl-pds">"</span></span>
<span class="pl-ent">managed_disk_type</span>: <span class="pl-s"><span class="pl-pds">"</span>Standard_LRS<span class="pl-pds">"</span></span>
<span class="pl-ent">network_interface_names</span>: <span class="pl-s"><span class="pl-pds">"</span>{{nic_web_name}}<span class="pl-pds">"</span></span>
<span class="pl-ent">ssh_password_enabled</span>: <span class="pl-c1">False</span>
<span class="pl-ent">ssh_public_keys</span>:
- <span class="pl-ent">path</span>: <span class="pl-s"><span class="pl-pds">"</span>/home/{{vm_web_username}}/.ssh/authorized_keys<span class="pl-pds">"</span></span>
<span class="pl-ent">key_data</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vm_web_ssh}}<span class="pl-pds">"</span></span>
<span class="pl-ent">vm_size</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vm_web_size}}<span class="pl-pds">"</span></span>
<span class="pl-ent">state</span>: <span class="pl-s">present</span>
</pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">VM gets created</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="The full traceback is:
File "/tmp/ansible_9a4xdcrg/ansible_module_azure_rm_virtualmachine.py", line 1353, in create_or_update_vm
poller = self.compute_client.virtual_machines.create_or_update(self.resource_group, self.name, params)
File "/usr/lib/python3.6/site-packages/azure/mgmt/compute/v2017_03_30/operations/virtual_machines_operations.py", line 242, in create_or_update
**operation_config
File "/usr/lib/python3.6/site-packages/azure/mgmt/compute/v2017_03_30/operations/virtual_machines_operations.py", line 189, in _create_or_update_initial
body_content = self._serialize.body(parameters, 'VirtualMachine')
File "/usr/lib/python3.6/site-packages/msrest/serialization.py", line 452, in body
SerializationError, "Unable to build a model: "+str(err), err)
File "/usr/lib/python3.6/site-packages/msrest/exceptions.py", line 45, in raise_with_traceback
raise error.with_traceback(exc_traceback)
File "/usr/lib/python3.6/site-packages/msrest/serialization.py", line 449, in body
data = deserializer(data_type, data)
File "/usr/lib/python3.6/site-packages/msrest/serialization.py", line 973, in __call__
self(local_type, value)
File "/usr/lib/python3.6/site-packages/msrest/serialization.py", line 973, in __call__
self(local_type, value)
File "/usr/lib/python3.6/site-packages/msrest/serialization.py", line 973, in __call__
self(local_type, value)
File "/usr/lib/python3.6/site-packages/msrest/serialization.py", line 985, in __call__
return self.deserialize_enum(data, response)
File "/usr/lib/python3.6/site-packages/msrest/serialization.py", line 1296, in deserialize_enum
raise DeserializationError(error.format(data, enum_obj))
"msg": "Error creating or updating virtual machine VM-Web-PythonWeb - Unable to build a model: <DiskCreateOptionTypes.from_image: 'FromImage'> is not valid value for enum <enum 'DiskCreateOptionTypes'>, DeserializationError: <DiskCreateOptionTypes.from_image: 'FromImage'> is not valid value for enum <enum 'DiskCreateOptionTypes'>""><pre class="notranslate"><code class="notranslate">The full traceback is:
File "/tmp/ansible_9a4xdcrg/ansible_module_azure_rm_virtualmachine.py", line 1353, in create_or_update_vm
poller = self.compute_client.virtual_machines.create_or_update(self.resource_group, self.name, params)
File "/usr/lib/python3.6/site-packages/azure/mgmt/compute/v2017_03_30/operations/virtual_machines_operations.py", line 242, in create_or_update
**operation_config
File "/usr/lib/python3.6/site-packages/azure/mgmt/compute/v2017_03_30/operations/virtual_machines_operations.py", line 189, in _create_or_update_initial
body_content = self._serialize.body(parameters, 'VirtualMachine')
File "/usr/lib/python3.6/site-packages/msrest/serialization.py", line 452, in body
SerializationError, "Unable to build a model: "+str(err), err)
File "/usr/lib/python3.6/site-packages/msrest/exceptions.py", line 45, in raise_with_traceback
raise error.with_traceback(exc_traceback)
File "/usr/lib/python3.6/site-packages/msrest/serialization.py", line 449, in body
data = deserializer(data_type, data)
File "/usr/lib/python3.6/site-packages/msrest/serialization.py", line 973, in __call__
self(local_type, value)
File "/usr/lib/python3.6/site-packages/msrest/serialization.py", line 973, in __call__
self(local_type, value)
File "/usr/lib/python3.6/site-packages/msrest/serialization.py", line 973, in __call__
self(local_type, value)
File "/usr/lib/python3.6/site-packages/msrest/serialization.py", line 985, in __call__
return self.deserialize_enum(data, response)
File "/usr/lib/python3.6/site-packages/msrest/serialization.py", line 1296, in deserialize_enum
raise DeserializationError(error.format(data, enum_obj))
"msg": "Error creating or updating virtual machine VM-Web-PythonWeb - Unable to build a model: <DiskCreateOptionTypes.from_image: 'FromImage'> is not valid value for enum <enum 'DiskCreateOptionTypes'>, DeserializationError: <DiskCreateOptionTypes.from_image: 'FromImage'> is not valid value for enum <enum 'DiskCreateOptionTypes'>"
</code></pre></div>
<h4 dir="auto">Extra info</h4>
<p dir="auto">I did some debugging and got this</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{'id': None, 'name': None, 'type': None, 'location': 'westeurope', 'tags': None, 'plan': None, 'hardware_profile':
<azure.mgmt.compute.v2017_12_01.models.hardware_profile.HardwareProfile object at 0x7fad68594550>, 'storage_profile':
<azure.mgmt.compute.v2017_12_01.models.storage_profile.StorageProfile object at 0x7fad685946a0>, 'os_profile':
<azure.mgmt.compute.v2017_12_01.models.os_profile.OSProfile object at 0x7fad687efac8>, 'network_profile':
<azure.mgmt.compute.v2017_12_01.models.network_profile.NetworkProfile object at 0x7fad685945f8>, 'diagnostics_profile': None, 'availability_set': None,
'provisioning_state': None, 'instance_view': None, 'license_type': None, 'vm_id': None, 'resources': None, 'identity': None, 'zones': None}"><pre class="notranslate"><code class="notranslate">{'id': None, 'name': None, 'type': None, 'location': 'westeurope', 'tags': None, 'plan': None, 'hardware_profile':
<azure.mgmt.compute.v2017_12_01.models.hardware_profile.HardwareProfile object at 0x7fad68594550>, 'storage_profile':
<azure.mgmt.compute.v2017_12_01.models.storage_profile.StorageProfile object at 0x7fad685946a0>, 'os_profile':
<azure.mgmt.compute.v2017_12_01.models.os_profile.OSProfile object at 0x7fad687efac8>, 'network_profile':
<azure.mgmt.compute.v2017_12_01.models.network_profile.NetworkProfile object at 0x7fad685945f8>, 'diagnostics_profile': None, 'availability_set': None,
'provisioning_state': None, 'instance_view': None, 'license_type': None, 'vm_id': None, 'resources': None, 'identity': None, 'zones': None}
</code></pre></div>
<p dir="auto">which looks like its using compute client models from <code class="notranslate">v2017_12_01</code></p>
<p dir="auto">however it looks like the <code class="notranslate">compute_client</code> we are using is <code class="notranslate">v2017_03_03</code><br>
<a href="https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/azure_rm_common.py#L910">https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/azure_rm_common.py#L910</a></p>
<p dir="auto">I changed it to <code class="notranslate">2017-12-01</code> and it worked for me.</p> | 0 |
<p dir="auto">building atom from src</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cd /usr/local/src/atom
git describe --tags `git rev-list --tags --max-count=1
v0.165.0
git log | head
commit 85456ad9203e8ef390a9f51924bb1f7b0d77ef6d
Author: Kevin Sawicki <[email protected]>
Date: Fri Dec 19 18:59:46 2014 -0800
Add missing s in comspec"><pre class="notranslate"><code class="notranslate">cd /usr/local/src/atom
git describe --tags `git rev-list --tags --max-count=1
v0.165.0
git log | head
commit 85456ad9203e8ef390a9f51924bb1f7b0d77ef6d
Author: Kevin Sawicki <[email protected]>
Date: Fri Dec 19 18:59:46 2014 -0800
Add missing s in comspec
</code></pre></div>
<p dir="auto">on</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="lsb_release -rd
Description: openSUSE 13.2 (Harlequin) (x86_64)
Release: 13.2"><pre class="notranslate"><code class="notranslate">lsb_release -rd
Description: openSUSE 13.2 (Harlequin) (x86_64)
Release: 13.2
</code></pre></div>
<p dir="auto">build & install complete</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="script/clean
script/build --build-dir /usr/local/src/atom-build
...
Done, without errors.
script/grunt install
Running "install" task
which atom
/usr/local/bin/atom"><pre class="notranslate"><code class="notranslate">script/clean
script/build --build-dir /usr/local/src/atom-build
...
Done, without errors.
script/grunt install
Running "install" task
which atom
/usr/local/bin/atom
</code></pre></div>
<p dir="auto">but exec fails</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/usr/local/bin/atom
nohup: failed to run command ‘/tmp/atom-build/Atom/atom’: No such file or directory"><pre class="notranslate"><code class="notranslate">/usr/local/bin/atom
nohup: failed to run command ‘/tmp/atom-build/Atom/atom’: No such file or directory
</code></pre></div> | <p dir="auto">The content is left behind at /tmp/$USER/atom-build .</p>
<p dir="auto">Its happening since 0.145 .</p> | 1 |
<p dir="auto">(<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/celery/celery/commit/56a6246c74cd4ed51d12194cf3627b0bdf066bc5/hovercard" href="https://github.com/celery/celery/commit/56a6246c74cd4ed51d12194cf3627b0bdf066bc5"><tt>56a6246</tt></a> introduces a bug in 5.0.x, that is present in 5.0.6 but was not in 5.0.5. The line with <code class="notranslate">return detach(...</code> needs to be indented one step further, otherwise it's outside of the <code class="notranslate">if ...</code> block and <code class="notranslate">argv</code> is undefined. The issue is not present in the master branch.)</p>
<h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery. <strong>It does not, it's in 5.0.6 only</strong></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery. <strong>It does not</strong></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br>
to reproduce this bug.</li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br>
result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br>
ETA/Countdown & rate limits disabled.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue after downgrading<br>
and/or upgrading Celery and its dependencies.</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>
<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h2 dir="auto">Environment & Settings</h2>
<p dir="auto"><strong>Celery version</strong>: 5.0.6</p>
<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<ol dir="auto">
<li>Run <code class="notranslate">celery -A proj worker</code> (note: no <code class="notranslate">-D</code>)</li>
</ol>
<h2 dir="auto">Required Dependencies</h2>
<ul dir="auto">
<li><strong>Minimal Python Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Celery Version</strong>: 5.0.6</li>
<li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li>
</ul>
<h3 dir="auto">Python Packages</h3>
<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="amqp==5.0.6
asgiref==3.4.0
billiard==3.6.4.0
cairocffi==1.2.0
CairoSVG==2.5.2
canonicaljson==1.4.0
celery==5.0.6
certifi==2021.5.30
cffi==1.14.5
chardet==3.0.4
click==7.1.2
click-didyoumean==0.0.3
click-plugins==1.1.1
click-repl==0.2.0
convertdate==2.3.2
cryptography==3.4.7
cssselect2==0.4.1
deepmerge==0.2.1
defusedxml==0.7.1
Deprecated==1.2.12
Django==3.1.12
django-admirarchy==1.2.1
django-bitfield==2.0.1
django-colorfield==0.4.1
django-cors-headers==3.5.0
django-countries==6.1.3
django-cte==1.1.5
django-enumfields==2.0.0
django-filter==2.4.0
django-health-check==3.16.4
django-json-widget==1.0.1
django-localflavor==3.0.1
django-macaddress==1.7.0
django-mass-edit==3.2.0
django-modern-rpc==0.12.1
django-otp==1.0.6
django-polymorphic==3.0.0
django-prometheus==2.1.0
django-recurrence==1.10.3
django-redis==4.12.1
djangorestframework==3.11.2
docopt==0.6.2
docutils==0.16
drf-enum-field==0.9.3
dynaconf==2.2.3
elementpath==2.2.3
et-xmlfile==1.1.0
fintech==6.4.4
fpdf==1.7.2
frozendict==2.0.3
future==0.18.2
hijri-converter==2.1.3
holidays==0.11.1
html5lib==1.1
idna==2.10
kombu==5.1.0
kontocheck==6.13.2
korean-lunar-calendar==0.2.1
lxml==4.6.3
netaddr==0.8.0
num2words==0.5.10
numpy==1.21.0
openpyxl==3.0.7
paho-mqtt==1.5.1
pandas==1.1.5
pdfrw==0.4
Pillow==8.1.2
prometheus-client==0.11.0
prompt-toolkit==3.0.19
psutil==5.7.3
psycopg2-binary==2.8.6
puremagic==1.10
pwnedpasswords-offline==1.1.0
pycparser==2.20
PyMeeus==0.5.11
PyNaCl==1.4.0
PyPDF2==1.26.0
pyphen==0.11.0
python-box==3.4.6
python-dateutil==2.8.1
python-dotenv==0.18.0
python-magic==0.4.24
python-stdnum==1.16
pytz==2021.1
qrcode==6.1
redis==3.5.3
requests==2.24.0
selenium==3.141.0
sentry-sdk==1.1.0
simplejson==3.17.2
six==1.16.0
sqlparse==0.4.1
tinycss2==1.1.0
toml==0.10.2
urllib3==1.25.11
vine==5.0.0
wcwidth==0.2.5
WeasyPrint==52.5
webencodings==0.5.1
whitenoise==5.2.0
wrapt==1.12.1
xlrd==2.0.1
xlwt==1.3.0
xmlschema==1.6.4
xmltodict==0.12.0
zxcvbn==4.4.28"><pre class="notranslate"><code class="notranslate">amqp==5.0.6
asgiref==3.4.0
billiard==3.6.4.0
cairocffi==1.2.0
CairoSVG==2.5.2
canonicaljson==1.4.0
celery==5.0.6
certifi==2021.5.30
cffi==1.14.5
chardet==3.0.4
click==7.1.2
click-didyoumean==0.0.3
click-plugins==1.1.1
click-repl==0.2.0
convertdate==2.3.2
cryptography==3.4.7
cssselect2==0.4.1
deepmerge==0.2.1
defusedxml==0.7.1
Deprecated==1.2.12
Django==3.1.12
django-admirarchy==1.2.1
django-bitfield==2.0.1
django-colorfield==0.4.1
django-cors-headers==3.5.0
django-countries==6.1.3
django-cte==1.1.5
django-enumfields==2.0.0
django-filter==2.4.0
django-health-check==3.16.4
django-json-widget==1.0.1
django-localflavor==3.0.1
django-macaddress==1.7.0
django-mass-edit==3.2.0
django-modern-rpc==0.12.1
django-otp==1.0.6
django-polymorphic==3.0.0
django-prometheus==2.1.0
django-recurrence==1.10.3
django-redis==4.12.1
djangorestframework==3.11.2
docopt==0.6.2
docutils==0.16
drf-enum-field==0.9.3
dynaconf==2.2.3
elementpath==2.2.3
et-xmlfile==1.1.0
fintech==6.4.4
fpdf==1.7.2
frozendict==2.0.3
future==0.18.2
hijri-converter==2.1.3
holidays==0.11.1
html5lib==1.1
idna==2.10
kombu==5.1.0
kontocheck==6.13.2
korean-lunar-calendar==0.2.1
lxml==4.6.3
netaddr==0.8.0
num2words==0.5.10
numpy==1.21.0
openpyxl==3.0.7
paho-mqtt==1.5.1
pandas==1.1.5
pdfrw==0.4
Pillow==8.1.2
prometheus-client==0.11.0
prompt-toolkit==3.0.19
psutil==5.7.3
psycopg2-binary==2.8.6
puremagic==1.10
pwnedpasswords-offline==1.1.0
pycparser==2.20
PyMeeus==0.5.11
PyNaCl==1.4.0
PyPDF2==1.26.0
pyphen==0.11.0
python-box==3.4.6
python-dateutil==2.8.1
python-dotenv==0.18.0
python-magic==0.4.24
python-stdnum==1.16
pytz==2021.1
qrcode==6.1
redis==3.5.3
requests==2.24.0
selenium==3.141.0
sentry-sdk==1.1.0
simplejson==3.17.2
six==1.16.0
sqlparse==0.4.1
tinycss2==1.1.0
toml==0.10.2
urllib3==1.25.11
vine==5.0.0
wcwidth==0.2.5
WeasyPrint==52.5
webencodings==0.5.1
whitenoise==5.2.0
wrapt==1.12.1
xlrd==2.0.1
xlwt==1.3.0
xmlschema==1.6.4
xmltodict==0.12.0
zxcvbn==4.4.28
</code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Other Dependencies</h3>
<details>
<p dir="auto">
N/A
</p>
</details>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<details>
<p dir="auto">
</p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">The worker should run in the foreground</p>
<h1 dir="auto">Actual Behavior</h1>
<p dir="auto">Exception in celery.bin.worker</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="worker_1 | Traceback (most recent call last):
worker_1 | File "/usr/local/bin/celery", line 8, in <module>
worker_1 | sys.exit(main())
worker_1 | File "/usr/local/lib/python3.8/site-packages/celery/__main__.py", line 15, in main
worker_1 | sys.exit(_main())
worker_1 | File "/usr/local/lib/python3.8/site-packages/celery/bin/celery.py", line 213, in main
worker_1 | return celery(auto_envvar_prefix="CELERY")
worker_1 | File "/usr/local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
worker_1 | return self.main(*args, **kwargs)
worker_1 | File "/usr/local/lib/python3.8/site-packages/click/core.py", line 782, in main
worker_1 | rv = self.invoke(ctx)
worker_1 | File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
worker_1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
worker_1 | File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
worker_1 | return ctx.invoke(self.callback, **ctx.params)
worker_1 | File "/usr/local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
worker_1 | return callback(*args, **kwargs)
worker_1 | File "/usr/local/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
worker_1 | return f(get_current_context(), *args, **kwargs)
worker_1 | File "/usr/local/lib/python3.8/site-packages/celery/bin/base.py", line 132, in caller
worker_1 | return f(ctx, *args, **kwargs)
worker_1 | File "/usr/local/lib/python3.8/site-packages/celery/bin/worker.py", line 327, in worker
worker_1 | argv,
worker_1 | UnboundLocalError: local variable 'argv' referenced before assignment"><pre class="notranslate"><code class="notranslate">worker_1 | Traceback (most recent call last):
worker_1 | File "/usr/local/bin/celery", line 8, in <module>
worker_1 | sys.exit(main())
worker_1 | File "/usr/local/lib/python3.8/site-packages/celery/__main__.py", line 15, in main
worker_1 | sys.exit(_main())
worker_1 | File "/usr/local/lib/python3.8/site-packages/celery/bin/celery.py", line 213, in main
worker_1 | return celery(auto_envvar_prefix="CELERY")
worker_1 | File "/usr/local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
worker_1 | return self.main(*args, **kwargs)
worker_1 | File "/usr/local/lib/python3.8/site-packages/click/core.py", line 782, in main
worker_1 | rv = self.invoke(ctx)
worker_1 | File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
worker_1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
worker_1 | File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
worker_1 | return ctx.invoke(self.callback, **ctx.params)
worker_1 | File "/usr/local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
worker_1 | return callback(*args, **kwargs)
worker_1 | File "/usr/local/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
worker_1 | return f(get_current_context(), *args, **kwargs)
worker_1 | File "/usr/local/lib/python3.8/site-packages/celery/bin/base.py", line 132, in caller
worker_1 | return f(ctx, *args, **kwargs)
worker_1 | File "/usr/local/lib/python3.8/site-packages/celery/bin/worker.py", line 327, in worker
worker_1 | argv,
worker_1 | UnboundLocalError: local variable 'argv' referenced before assignment
</code></pre></div> | <h1 dir="auto">Checklist</h1>
<ul dir="auto">
<li>[ x] I have checked the <a href="https://github.com/celery/celery/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22Category%3A+Documentation%22+">issues list</a><br>
for similar or identical bug reports.</li>
<li>[ x] I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li>[ x] I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li>[x ] I have included all related issues and possible duplicate issues in this issue<br>
(If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>
<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h1 dir="auto">Description</h1>
<p dir="auto">I'm running celery inside a django project, from a python script. Until 5.0, I was able to run celery using worker_main() method :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from celery import Celery
app = Celery()
app.worker_main()"><pre class="notranslate"><code class="notranslate">from celery import Celery
app = Celery()
app.worker_main()
</code></pre></div>
<p dir="auto">From the <a href="https://docs.celeryproject.org/en/stable/userguide/application.html" rel="nofollow">application related documentation page</a>, nothing points out the fact that worker_main() method seems gone.</p>
<p dir="auto">I suppose I miss something somewhere, but maybe because of some lack of clarity from documentation</p> | 0 |
<h1 dir="auto">Bug report</h1>
<h2 dir="auto">Describe the bug</h2>
<p dir="auto">When using a custom document <code class="notranslate">_document.tsx</code>, styled-jsx does not SSR styled-jsx and there is a flash of unstyled content unless I duplicate the static <code class="notranslate">getInitialProps</code> method.</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto"><strong>FOUC</strong></p>
<div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import React from 'react';
import Document, { Head, Main, NextScript } from 'next/document';
import fonts from '../styles/fonts.css';
import reset from '../styles/reset.css';
export default class MyDocument extends Document {
public render() {
return (
<html lang="en">
<Head>
<style dangerouslySetInnerHTML={{ __html: reset + fonts }} />
</Head>
<body>
<Main />
<NextScript />
</body>
</html>
);
}
}
"><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">import</span> <span class="pl-smi">Document</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-smi">Head</span><span class="pl-kos">,</span> <span class="pl-smi">Main</span><span class="pl-kos">,</span> <span class="pl-smi">NextScript</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'next/document'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s1">fonts</span> <span class="pl-k">from</span> <span class="pl-s">'../styles/fonts.css'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s1">reset</span> <span class="pl-k">from</span> <span class="pl-s">'../styles/reset.css'</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">class</span> <span class="pl-smi">MyDocument</span> <span class="pl-k">extends</span> <span class="pl-smi">Document</span> <span class="pl-kos">{</span>
<span class="pl-k">public</span> <span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">html</span> <span class="pl-c1">lang</span><span class="pl-c1">=</span><span class="pl-s">"en"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-smi">Head</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">style</span> <span class="pl-c1">dangerouslySetInnerHTML</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">{</span> <span class="pl-c1">__html</span>: <span class="pl-s1">reset</span> <span class="pl-c1">+</span> <span class="pl-s1">fonts</span> <span class="pl-kos">}</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-smi">Head</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">body</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-smi">Main</span> <span class="pl-c1">/</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-smi">NextScript</span> <span class="pl-c1">/</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">body</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">html</span><span class="pl-c1">></span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>NO FOUC</strong></p>
<div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import React from 'react';
import Document, { Head, Main, NextScript } from 'next/document';
import flush from 'styled-jsx/server';
import fonts from '../styles/fonts.css';
import reset from '../styles/reset.css';
export default class MyDocument extends Document {
public static getInitialProps({ renderPage }) {
const { html, head, buildManifest } = renderPage();
const styles = flush();
return { html, head, styles, buildManifest };
}
public render() {
return (
<html lang="en">
<Head>
<style dangerouslySetInnerHTML={{ __html: reset + fonts }} />
</Head>
<body>
<Main />
<NextScript />
</body>
</html>
);
}
}
"><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">import</span> <span class="pl-smi">Document</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-smi">Head</span><span class="pl-kos">,</span> <span class="pl-smi">Main</span><span class="pl-kos">,</span> <span class="pl-smi">NextScript</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'next/document'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s1">flush</span> <span class="pl-k">from</span> <span class="pl-s">'styled-jsx/server'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s1">fonts</span> <span class="pl-k">from</span> <span class="pl-s">'../styles/fonts.css'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s1">reset</span> <span class="pl-k">from</span> <span class="pl-s">'../styles/reset.css'</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">class</span> <span class="pl-smi">MyDocument</span> <span class="pl-k">extends</span> <span class="pl-smi">Document</span> <span class="pl-kos">{</span>
<span class="pl-k">public</span> <span class="pl-k">static</span> <span class="pl-en">getInitialProps</span><span class="pl-kos">(</span><span class="pl-kos">{</span> renderPage <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-kos">{</span> html<span class="pl-kos">,</span> head<span class="pl-kos">,</span> buildManifest <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-en">renderPage</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">styles</span> <span class="pl-c1">=</span> <span class="pl-en">flush</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-kos">{</span> html<span class="pl-kos">,</span> head<span class="pl-kos">,</span> styles<span class="pl-kos">,</span> buildManifest <span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">public</span> <span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">html</span> <span class="pl-c1">lang</span><span class="pl-c1">=</span><span class="pl-s">"en"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-smi">Head</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">style</span> <span class="pl-c1">dangerouslySetInnerHTML</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">{</span> <span class="pl-c1">__html</span>: <span class="pl-s1">reset</span> <span class="pl-c1">+</span> <span class="pl-s1">fonts</span> <span class="pl-kos">}</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-smi">Head</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">body</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-smi">Main</span> <span class="pl-c1">/</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-smi">NextScript</span> <span class="pl-c1">/</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">body</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">html</span><span class="pl-c1">></span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
</pre></div>
<h2 dir="auto">System information</h2>
<ul dir="auto">
<li>OS: macOS</li>
<li>Version of Next.js: 7.0.0</li>
</ul> | <h1 dir="auto">Feature request</h1>
<h2 dir="auto">Is your feature request related to a problem? Please describe.</h2>
<p dir="auto"><code class="notranslate">readline.cursorTo</code> and <code class="notranslate">readline.clearScreenDown</code> (<a href="https://github.com/zeit/next.js/blob/78bcfa07b2b3f495d7bf4d215b9f5442802fcdf6/packages/next/build/output/store.ts#L25">here</a>) help to make the outputs clean for developing react components and pages, but it ruins the outputs when we are doing some testing because it changes the output format, prints so many blank rows and wipes out other outputs such as <code class="notranslate">console.log</code>s for debugging purpose.</p>
<p dir="auto">Besides, managing the outputs and avoiding using plain <code class="notranslate">console.log</code>s is a good practice for libraries.</p>
<h2 dir="auto">Describe the solution you'd like</h2>
<ul dir="auto">
<li>Provide an option to disable the feature.</li>
<li>wrap <code class="notranslate">unistore</code> instance into a new class which accepts the option above</li>
</ul>
<p dir="auto">Or</p>
<p dir="auto">Is it possible to allow us to change the unistore subscriber?</p>
<h2 dir="auto">Describe alternatives you've considered</h2>
<blockquote>
<p dir="auto">A clear and concise description of any alternative solutions or features you've considered.</p>
</blockquote>
<h2 dir="auto">Additional context</h2>
<blockquote>
<p dir="auto">Add any other context or screenshots about the feature request here.</p>
</blockquote> | 0 |
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto"><a href="https://gist.github.com/marius-h/3f4a8541b012ba7455a438150948d978">https://gist.github.com/marius-h/3f4a8541b012ba7455a438150948d978</a></p>
<ol dir="auto">
<li>Add a BottomNavigationBar widget to a Scaffold</li>
<li>Add two Items to it and hit hot reload</li>
<li>Add a third Item to it and hot reload</li>
<li>RangeError showing up on screen</li>
</ol>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ +39 ms] [D:\Flutter\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[ +64 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/beta
[ ] [D:\Flutter\flutter\] git rev-parse --abbrev-ref HEAD
[ +32 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] beta
[ ] [D:\Flutter\flutter\] git ls-remote --get-url origin
[ +26 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [D:\Flutter\flutter\] git log -n 1 --pretty=format:%H
[ +30 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] f9bb4289e9fd861d70ae78bcc3a042ef1b35cc9d
[ ] [D:\Flutter\flutter\] git log -n 1 --pretty=format:%ar
[ +28 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 8 weeks ago
[ +1 ms] [D:\Flutter\flutter\] git describe --match v*.*.* --first-parent --long --tags
[ +35 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v0.4.4-0-gf9bb4289e
[ +300 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb devices -l
[ +18 ms] Exit code 0 from: D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb devices -l
[ ] List of devices attached
192.168.0.101:5555 device product:gts210vewifixx model:SM_T813 device:gts210vewifi transport_id:6
[ +202 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 shell getprop
[ +298 ms] ro.hardware = qcom
[ +617 ms] Launching lib/main.dart on SM T813 in debug mode...
[ +7 ms] Initializing gradle...
[ ] Using gradle from D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\android\gradlew.bat.
[ +3 ms] D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\android\gradlew.bat -v
[ +586 ms]
------------------------------------------------------------
Gradle 4.1
------------------------------------------------------------
Build time: 2017-08-07 14:38:48 UTC
Revision: 941559e020f6c357ebb08d5c67acdb858a3defc2
Groovy: 2.4.11
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_101 (Oracle Corporation 25.101-b13)
OS: Windows 10 10.0 amd64
[ +2 ms] Resolving dependencies...
[ ] [android\] D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\android\gradlew.bat app:properties
[ +992 ms] :app:properties
------------------------------------------------------------
Project :app
------------------------------------------------------------
allprojects: [project ':app']
android: com.android.build.gradle.AppExtension_Decorated@28b4db88
androidDependencies: task ':app:androidDependencies'
ant: org.gradle.api.internal.project.DefaultAntBuilder@75b89447
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@50d0000c
archivesBaseName: app
artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@2419ee26
asDynamicObject: DynamicObject for project ':app'
assemble: task ':app:assemble'
assembleAndroidTest: task ':app:assembleAndroidTest'
assembleDebug: task ':app:assembleDebug'
assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest'
assembleDebugUnitTest: task ':app:assembleDebugUnitTest'
assembleProfile: task ':app:assembleProfile'
assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
assembleRelease: task ':app:assembleRelease'
assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@2a7f19b6
buildDependents: task ':app:buildDependents'
buildDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app
buildFile: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\android\app\build.gradle
buildNeeded: task ':app:buildNeeded'
buildOutputs: BaseVariantOutput container
buildScriptSource: org.gradle.groovy.scripts.UriScriptSource@1bd4aa12
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@4bd40904
bundleAppClassesDebug: task ':app:bundleAppClassesDebug'
bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest'
bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest'
bundleAppClassesProfile: task ':app:bundleAppClassesProfile'
bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest'
bundleAppClassesRelease: task ':app:bundleAppClassesRelease'
bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest'
check: task ':app:check'
checkDebugManifest: task ':app:checkDebugManifest'
checkProfileManifest: task ':app:checkProfileManifest'
checkReleaseManifest: task ':app:checkReleaseManifest'
childProjects: {}
class: class org.gradle.api.internal.project.DefaultProject_Decorated
classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@2057b686
cleanBuildCache: task ':app:cleanBuildCache'
compileDebugAidl: task ':app:compileDebugAidl'
compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl'
compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac'
compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk'
compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript'
compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders'
compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources'
compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac'
compileDebugNdk: task ':app:compileDebugNdk'
compileDebugRenderscript: task ':app:compileDebugRenderscript'
compileDebugShaders: task ':app:compileDebugShaders'
compileDebugSources: task ':app:compileDebugSources'
compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac'
compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources'
compileLint: task ':app:compileLint'
compileProfileAidl: task ':app:compileProfileAidl'
compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac'
compileProfileNdk: task ':app:compileProfileNdk'
compileProfileRenderscript: task ':app:compileProfileRenderscript'
compileProfileShaders: task ':app:compileProfileShaders'
compileProfileSources: task ':app:compileProfileSources'
compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac'
compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources'
compileReleaseAidl: task ':app:compileReleaseAidl'
compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac'
compileReleaseNdk: task ':app:compileReleaseNdk'
compileReleaseRenderscript: task ':app:compileReleaseRenderscript'
compileReleaseShaders: task ':app:compileReleaseShaders'
compileReleaseSources: task ':app:compileReleaseSources'
compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac'
compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources'
components: SoftwareComponentInternal set
configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@7237b993
configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@4c8d09fd
configurations: configuration container
connectedAndroidTest: task ':app:connectedAndroidTest'
connectedCheck: task ':app:connectedCheck'
connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest'
consumeConfigAttr: task ':app:consumeConfigAttr'
convention: org.gradle.api.internal.plugins.DefaultConvention@27fab541
copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests'
createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests'
createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests'
defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@3a04c4be
defaultTasks: []
deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@7530094c
dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@51d624f6
depth: 1
description: null
deviceAndroidTest: task ':app:deviceAndroidTest'
deviceCheck: task ':app:deviceCheck'
displayName: project ':app'
distsDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app\distributions
distsDirName: distributions
docsDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app\docs
docsDirName: docs
ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@23f4c330
extensions: org.gradle.api.internal.plugins.DefaultConvention@27fab541
extractProguardFiles: task ':app:extractProguardFiles'
fileOperations: org.gradle.api.internal.file.DefaultFileOperations@3f49d2c4
fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@4ac6d608
flutter: FlutterExtension_Decorated@2ad7ba32
flutterBuildDebug: task ':app:flutterBuildDebug'
flutterBuildProfile: task ':app:flutterBuildProfile'
flutterBuildRelease: task ':app:flutterBuildRelease'
flutterBuildX86Jar: task ':app:flutterBuildX86Jar'
generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets'
generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig'
generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues'
generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources'
generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources'
generateDebugAssets: task ':app:generateDebugAssets'
generateDebugBuildConfig: task ':app:generateDebugBuildConfig'
generateDebugResValues: task ':app:generateDebugResValues'
generateDebugResources: task ':app:generateDebugResources'
generateDebugSources: task ':app:generateDebugSources'
generateProfileAssets: task ':app:generateProfileAssets'
generateProfileBuildConfig: task ':app:generateProfileBuildConfig'
generateProfileResValues: task ':app:generateProfileResValues'
generateProfileResources: task ':app:generateProfileResources'
generateProfileSources: task ':app:generateProfileSources'
generateReleaseAssets: task ':app:generateReleaseAssets'
generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig'
generateReleaseResValues: task ':app:generateReleaseResValues'
generateReleaseResources: task ':app:generateReleaseResources'
generateReleaseSources: task ':app:generateReleaseSources'
gradle: build 'android'
group: android
identityPath: :app
inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@2fbf011b
installDebug: task ':app:installDebug'
installDebugAndroidTest: task ':app:installDebugAndroidTest'
installProfile: task ':app:installProfile'
installRelease: task ':app:installRelease'
javaPreCompileDebug: task ':app:javaPreCompileDebug'
javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
javaPreCompileProfile: task ':app:javaPreCompileProfile'
javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
javaPreCompileRelease: task ':app:javaPreCompileRelease'
javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
layout: org.gradle.api.internal.file.DefaultProjectLayout@5e9129da
libsDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app\libs
libsDirName: libs
lint: task ':app:lint'
lintDebug: task ':app:lintDebug'
lintProfile: task ':app:lintProfile'
lintRelease: task ':app:lintRelease'
lintVitalRelease: task ':app:lintVitalRelease'
logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@35d9fd55
logging: org.gradle.internal.logging.services.DefaultLoggingManager@229bd296
mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets'
mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders'
mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources'
mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders'
mergeDebugAssets: task ':app:mergeDebugAssets'
mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders'
mergeDebugResources: task ':app:mergeDebugResources'
mergeDebugShaders: task ':app:mergeDebugShaders'
mergeProfileAssets: task ':app:mergeProfileAssets'
mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders'
mergeProfileResources: task ':app:mergeProfileResources'
mergeProfileShaders: task ':app:mergeProfileShaders'
mergeReleaseAssets: task ':app:mergeReleaseAssets'
mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders'
mergeReleaseResources: task ':app:mergeReleaseResources'
mergeReleaseShaders: task ':app:mergeReleaseShaders'
mockableAndroidJar: task ':app:mockableAndroidJar'
modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@358aeadd
modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@1265142f
module: org.gradle.api.internal.artifacts.ProjectBackedModule@5fc05e03
name: app
normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@62ea92ae
objects: org.gradle.api.internal.model.DefaultObjectFactory@69ca5d65
org.gradle.jvmargs: -Xmx1536M
packageDebug: task ':app:packageDebug'
packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
packageProfile: task ':app:packageProfile'
packageRelease: task ':app:packageRelease'
parent: root project 'android'
parentIdentifier: root project 'android'
path: :app
platformAttrExtractor: task ':app:platformAttrExtractor'
pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@3562b8d0
plugins: [org.gradle.api.plugins.HelpTasksPlugin@78dc636d, com.android.build.gradle.api.AndroidBasePlugin@2f252fc0, org.gradle.language.base.plugins.LifecycleBasePlugin@22ef67d2, o
rg.gradle.api.plugins.BasePlugin@19e9a9ca, org.gradle.api.plugins.ReportingBasePlugin@1aba609f, org.gradle.platform.base.plugins.ComponentBasePlugin@3d35a7b3, org.gradle.language.base.plugins.Languag
eBasePlugin@74c28612, org.gradle.platform.base.plugins.BinaryBasePlugin@83fe16c, org.gradle.api.plugins.JavaBasePlugin@717b1bc9, com.android.build.gradle.internal.coverage.JacocoPlugin@5887f6f, com.a
ndroid.build.gradle.AppPlugin@35601d48, FlutterPlugin@163cf7ed]
preBuild: task ':app:preBuild'
preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
preDebugBuild: task ':app:preDebugBuild'
preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
preProfileBuild: task ':app:preProfileBuild'
preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
preReleaseBuild: task ':app:preReleaseBuild'
preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
prepareLintJar: task ':app:prepareLintJar'
processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes'
processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest'
processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
processDebugJavaRes: task ':app:processDebugJavaRes'
processDebugManifest: task ':app:processDebugManifest'
processDebugResources: task ':app:processDebugResources'
processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes'
processOperations: org.gradle.api.internal.file.DefaultFileOperations@3f49d2c4
processProfileJavaRes: task ':app:processProfileJavaRes'
processProfileManifest: task ':app:processProfileManifest'
processProfileResources: task ':app:processProfileResources'
processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes'
processReleaseJavaRes: task ':app:processReleaseJavaRes'
processReleaseManifest: task ':app:processReleaseManifest'
processReleaseResources: task ':app:processReleaseResources'
processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes'
project: project ':app'
projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@4911d388
projectDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\android\app
projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@2b2f0475
projectPath: :app
projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@1d668c5c
properties: {...}
providers: org.gradle.api.internal.provider.DefaultProviderFactory@75a53b6a
reporting: org.gradle.api.reporting.ReportingExtension_Decorated@3de20318
reportsDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app\reports
repositories: repository container
resolveConfigAttr: task ':app:resolveConfigAttr'
resources: org.gradle.api.internal.resources.DefaultResourceHandler@7aa80abf
rootDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\android
rootProject: root project 'android'
scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@2977a533
scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@dad82d
serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@2d8de1ed
services: ProjectScopeServices
signingReport: task ':app:signingReport'
sourceCompatibility: 1.8
sourceSets: SourceSet container
splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
splitsDiscoveryTaskDebugAndroidTest: task ':app:splitsDiscoveryTaskDebugAndroidTest'
splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@229bd296
state: project state 'EXECUTED'
status: integration
subprojects: []
targetCompatibility: 1.8
tasks: task set
test: task ':app:test'
testDebugUnitTest: task ':app:testDebugUnitTest'
testProfileUnitTest: task ':app:testProfileUnitTest'
testReleaseUnitTest: task ':app:testReleaseUnitTest'
testReportDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app\reports\tests
testReportDirName: tests
testResultsDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app\test-results
testResultsDirName: test-results
transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest'
transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
transformClassesWithPreDexForRelease: task ':app:transformClassesWithPreDexForRelease'
transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile'
transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
transformDexWithDexForRelease: task ':app:transformDexWithDexForRelease'
transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug'
transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile'
transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest'
transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease'
transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
uninstallAll: task ':app:uninstallAll'
uninstallDebug: task ':app:uninstallDebug'
uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
uninstallProfile: task ':app:uninstallProfile'
uninstallRelease: task ':app:uninstallRelease'
validateSigningDebug: task ':app:validateSigningDebug'
validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
validateSigningProfile: task ':app:validateSigningProfile'
validateSigningRelease: task ':app:validateSigningRelease'
version: unspecified
writeDebugApplicationId: task ':app:writeDebugApplicationId'
writeProfileApplicationId: task ':app:writeProfileApplicationId'
writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
BUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
[ +9 ms] D:\Users\Marius\AppData\Local\Android\sdk\build-tools\27.0.3\aapt dump badging build\app\outputs\apk\app.apk
[ +16 ms] Exit code 0 from: D:\Users\Marius\AppData\Local\Android\sdk\build-tools\27.0.3\aapt dump badging build\app\outputs\apk\app.apk
[ ] package: name='com.example.schuleeinfachapp' versionCode='1' versionName='1.0' platformBuildVersionName=''
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'schule_einfach_app'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='schule_einfach_app' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='com.example.schuleeinfachapp.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'arm64-v8a' 'x86' 'x86_64'
[ +7 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 logcat -v time -t 1
[ +208 ms] Exit code 0 from: D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 logcat -v time -t 1
[ ] --------- beginning of main
07-06 23:28:09.301 D/WifiStateMachine( 1237): not enough dual-band rssi, bail out...
[ +3 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 logcat -v time
[ +322 ms] DependencyChecker: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\lib\pages\home.dart is newer than 2018-07-06 23:27:32.000
[ +6 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb version
[ +17 ms] Android Debug Bridge version 1.0.39
Version 0.0.1-4500957
Installed as D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb.EXE
[ +2 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb start-server
[ +22 ms] Building APK
[ +6 ms] Running 'gradlew assembleDebug'...
[ +2 ms] [android\] D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\android\gradlew.bat -Ptarget=D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\lib/main.dart -Ppreview-dart-2=true -Ptarget-platfor
m=android-arm64 assembleDebug
[ +911 ms] :app:preBuild UP-TO-DATE
[ +17 ms] :app:preDebugBuild UP-TO-DATE
[ ] :app:compileDebugAidl UP-TO-DATE
[ +10 ms] :app:compileDebugRenderscript UP-TO-DATE
[ ] :app:flutterBuildX86Jar UP-TO-DATE
[ ] :app:checkDebugManifest UP-TO-DATE
[ +9 ms] :app:generateDebugBuildConfig UP-TO-DATE
[ ] :app:prepareLintJar UP-TO-DATE
[ +53 ms] :app:cleanMergeDebugAssets
[+3687 ms] :app:flutterBuildDebug
[ +11 ms] :app:mergeDebugShaders UP-TO-DATE
[ ] :app:compileDebugShaders UP-TO-DATE
[ ] :app:generateDebugAssets UP-TO-DATE
[ +10 ms] :app:mergeDebugAssets
[ +256 ms] :app:copyFlutterAssetsDebug
[ ] :app:generateDebugResValues UP-TO-DATE
[ ] :app:generateDebugResources UP-TO-DATE
[ +10 ms] :app:mergeDebugResources UP-TO-DATE
[ ] :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ +10 ms] :app:processDebugManifest UP-TO-DATE
[ ] :app:splitsDiscoveryTaskDebug UP-TO-DATE
[ +10 ms] :app:processDebugResources UP-TO-DATE
[ ] :app:generateDebugSources UP-TO-DATE
[ ] :app:javaPreCompileDebug UP-TO-DATE
[ +10 ms] :app:compileDebugJavaWithJavac UP-TO-DATE
[ ] :app:compileDebugNdk NO-SOURCE
[ ] :app:compileDebugSources UP-TO-DATE
[ +10 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[ +10 ms] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
[ ] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
[ ] :app:mergeDebugJniLibFolders UP-TO-DATE
[ +9 ms] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :app:processDebugJavaRes NO-SOURCE
[ +10 ms] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :app:validateSigningDebug
[+2202 ms] :app:packageDebug
[ ] :app:assembleDebug
[ ] BUILD SUCCESSFUL in 7s
[ ] 29 actionable tasks: 6 executed, 23 up-to-date
[ +464 ms] calculateSha: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app\outputs\apk/app.apk
[ +416 ms] Built build\app\outputs\apk\debug\app-debug.apk.
[ +1 ms] D:\Users\Marius\AppData\Local\Android\sdk\build-tools\27.0.3\aapt dump badging build\app\outputs\apk\app.apk
[ +13 ms] Exit code 0 from: D:\Users\Marius\AppData\Local\Android\sdk\build-tools\27.0.3\aapt dump badging build\app\outputs\apk\app.apk
[ ] package: name='com.example.schuleeinfachapp' versionCode='1' versionName='1.0' platformBuildVersionName=''
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'schule_einfach_app'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='schule_einfach_app' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='com.example.schuleeinfachapp.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'arm64-v8a' 'x86' 'x86_64'
[ ] Stopping app 'app.apk' on SM T813.
[ ] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 shell am force-stop com.example.schuleeinfachapp
[ +996 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 shell pm list packages com.example.schuleeinfachapp
[+1032 ms] package:com.example.schuleeinfachapp
[ +7 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 shell cat /data/local/tmp/sky.com.example.schuleeinfachapp.sha1
[ +52 ms] 161997c49d0c66906734d93e1d5739d8e7bdf94f
[ ] Installing APK.
[ +1 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb version
[ +14 ms] Android Debug Bridge version 1.0.39
Version 0.0.1-4500957
Installed as D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb.EXE
[ ] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb start-server
[ +15 ms] Installing build\app\outputs\apk\app.apk...
[ ] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 install -r build\app\outputs\apk\app.apk
[+10650 ms] Success
[ +2 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 shell echo -n 240e4123e0b791abb71396a2f85db9f2b947b739 > /data/local/tmp/sky.com.example.schuleeinfachapp
.sha1
[ +53 ms] SM T813 startApp
[ +2 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez en
able-dart-profiling true --ez enable-checked-mode true com.example.schuleeinfachapp/com.example.schuleeinfachapp.MainActivity
[ +756 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.schuleeinfachapp/.MainActivity launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) }
[ ] Waiting for observatory port to be available...
[ +903 ms] I/FlutterActivityDelegate(24606): onResume setting current activity to this
[ +74 ms] Observatory URL on device: http://127.0.0.1:40611/
[ +7 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 forward tcp:8104 tcp:40611
[ +18 ms] Forwarded host port 8104 to device port 40611 for Observatory
[ +6 ms] Connecting to service protocol: http://127.0.0.1:8104/
[ +364 ms] Successfully connected to service protocol: http://127.0.0.1:8104/
[ +4 ms] getVM: {}
[ +46 ms] getIsolate: {isolateId: isolates/353164405}
[ +2 ms] _flutter.listViews: {}
[ +666 ms] DevFS: Creating new filesystem on the device (null)
[ +1 ms] _createDevFS: {fsName: Schule.Einfach.App}
[ +16 ms] D/ViewRootImpl@a2552e2[MainActivity](24606): MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1536, 2048) ci=Rect(0, 48 - 0, 0) vi=Rect(0, 48 - 0, 0) or=1
[ ] D/ViewRootImpl@a2552e2[MainActivity](24606): MSG_WINDOW_FOCUS_CHANGED 1
[ ] D/ViewRootImpl@a2552e2[MainActivity](24606): mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true 547975702016}
[ ] V/InputMethodManager(24606): Starting input: tba=android.view.inputmethod.EditorInfo@49fb9a9 nm : com.example.schuleeinfachapp ic=null
[ ] I/InputMethodManager(24606): [IMM] startInputInner - mService.startInputOrWindowGainedFocus
[ +1 ms] D/InputTransport(24606): Input channel constructed: fd=85
[ +4 ms] V/InputMethodManager(24606): Starting input: tba=android.view.inputmethod.EditorInfo@449bb2e nm : com.example.schuleeinfachapp ic=null
[ +62 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.schuleeinfachapp/cache/Schule.Einfach.AppWPXMEW/Schule.Einfach.App/)
[ +1 ms] Updating assets
[ +225 ms] Syncing files to device SM T813...
[ +3 ms] DevFS: Starting sync from LocalDirectory: 'D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App'
[ ] Scanning project files
[ +4 ms] Scanning package files
[ +59 ms] Scanning asset files
[ +1 ms] Scanning for deleted files
[ +46 ms] Compiling dart to kernel with 423 updated files
[ +3 ms] D:\Flutter\flutter\bin\cache\dart-sdk\bin\dart D:\Flutter\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root D:\Flutter\flutter\bin\cache\artifacts\eng
ine\common\flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build\app.dill --packages D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\.packages --filesystem-scheme org-dartl
ang-root
[+1272 ms] Updating files
[ +995 ms] DevFS: Sync finished
[ +1 ms] Synced 1.4MB.
[ +1 ms] _flutter.listViews: {}
[ +40 ms] Connected to _flutterView/0x7f896dfb98.
[ +1 ms] 🔥 To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
[ ] An Observatory debugger and profiler on SM T813 is available at: http://127.0.0.1:8104/
[ ] For a more detailed help message, press "h". To quit, press "q".
[+14239 ms] Initializing hot reload...
[ +7 ms] Refreshing active FlutterViews before reloading.
[ ] _flutter.listViews: {}
[ +453 ms] Syncing files to device SM T813...
[ ] DevFS: Starting sync from LocalDirectory: 'D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App'
[ ] Scanning project files
[ +1 ms] Scanning package files
[ +29 ms] Scanning asset files
[ ] Scanning for deleted files
[ +34 ms] Compiling dart to kernel with 1 updated files
[ +114 ms] Updating files
[ +88 ms] DevFS: Sync finished
[ ] Synced 0.0MB.
[ +2 ms] _flutter.setAssetBundlePath: {viewId: _flutterView/0x7f896dfb98, assetDirectory: /data/user/0/com.example.schuleeinfachapp/cache/Schule.Einfach.AppWPXMEW/Schule.Einfach.App/build/flutter_a
ssets}
[ +76 ms] _reloadSources: {pause: false, rootLibUri: /data/user/0/com.example.schuleeinfachapp/cache/Schule.Einfach.AppWPXMEW/Schule.Einfach.App/lib/main.dart.dill, packagesUri: /data/user/0/com.exa
mple.schuleeinfachapp/cache/Schule.Einfach.AppWPXMEW/Schule.Einfach.App/.packages, isolateId: isolates/353164405}
[ +324 ms] reloaded 6 of 399 libraries
[ +1 ms] Sending reload events to SM T813
[ +1 ms] Sending reload event to "main.dart$main-353164405"
[ +2 ms] getIsolate: {isolateId: isolates/353164405}
[ +129 ms] _flutter.listViews: {}
[ +40 ms] Evicting dirty assets
[ +2 ms] ext.flutter.evict: {value: AssetManifest.json, isolateId: isolates/353164405}
[ +102 ms] ext.flutter.evict: {value: FontManifest.json, isolateId: isolates/353164405}
[ +30 ms] ext.flutter.evict: {value: LICENSE, isolateId: isolates/353164405}
[ +62 ms] Reassembling application
[ +1 ms] ext.flutter.reassemble: {isolateId: isolates/353164405}
[ +225 ms] I/flutter (24606): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
[ +6 ms] I/flutter (24606): The following RangeError was thrown building BottomNavigationBar(dirty, state:
[ ] I/flutter (24606): _BottomNavigationBarState#f1a12(tickers: tracking 2 tickers)):
[ ] I/flutter (24606): RangeError (index): Invalid value: Not in range 0..1, inclusive: 2
[ +6 ms] I/flutter (24606):
[ ] I/flutter (24606): When the exception was thrown, this was the stack:
[ +19 ms] I/flutter (24606): #0 List.[] (dart:core/runtime/libgrowable_array.dart:141:60)
[ ] I/flutter (24606): #1 _BottomNavigationBarState._createTiles (package:flutter/src/material/bottom_navigation_bar.dart:427:26)
[ ] I/flutter (24606): #2 _BottomNavigationBarState.build (package:flutter/src/material/bottom_navigation_bar.dart:517:47)
[ ] I/flutter (24606): #3 StatefulElement.build (package:flutter/src/widgets/framework.dart:3730:27)
[ ] I/flutter (24606): #4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3642:15)
[ ] I/flutter (24606): #5 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #6 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #7 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #8 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #9 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #10 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5)
[ +14 ms] I/flutter (24606): #11 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #12 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #13 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #14 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5)
[ ] I/flutter (24606): #15 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #16 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4379:32)
[ ] I/flutter (24606): #17 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4769:17)
[ +1 ms] I/flutter (24606): #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter (24606): #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #21 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ +1 ms] I/flutter (24606): #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter (24606): #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter (24606): #25 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5)
[ ] I/flutter (24606): #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ +1 ms] I/flutter (24606): #27 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter (24606): #28 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter (24606): #29 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ +1 ms] I/flutter (24606): #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ +2 ms] I/flutter (24606): #31 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #32 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ +2 ms] I/flutter (24606): #33 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter (24606): #34 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +2 ms] I/flutter (24606): #35 StatelessElement.update (package:flutter/src/widgets/framework.dart:3702:5)
[ +7 ms] I/flutter (24606): #36 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #37 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #39 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #40 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #41 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #42 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #43 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #44 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #45 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #46 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #47 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter (24606): #48 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #49 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5)
[ ] I/flutter (24606): #50 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #51 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #52 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #53 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5)
[ ] I/flutter (24606): #54 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #55 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #56 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #57 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ +1 ms] I/flutter (24606): #58 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ +1 ms] I/flutter (24606): #59 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +2 ms] I/flutter (24606): #60 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +2 ms] I/flutter (24606): #61 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #62 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #63 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #66 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #67 StatelessElement.update (package:flutter/src/widgets/framework.dart:3702:5)
[ ] I/flutter (24606): #68 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #69 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #70 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #71 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #72 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #73 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #74 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #75 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #76 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #77 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #78 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #79 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #80 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #81 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #82 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter (24606): #83 StatelessElement.update (package:flutter/src/widgets/framework.dart:3702:5)
[ ] I/flutter (24606): #84 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #85 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #86 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #87 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #88 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #89 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #90 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #91 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #92 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #93 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5)
[ ] I/flutter (24606): #94 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #95 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #96 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #97 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #98 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #99 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #100 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #101 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #102 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #103 StatelessElement.update (package:flutter/src/widgets/framework.dart:3702:5)
[ ] I/flutter (24606): #104 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #105 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #106 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #107 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #108 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #109 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5)
[ ] I/flutter (24606): #110 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #111 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #112 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #113 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2242:33)
[ ] I/flutter (24606): #114 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/
widgets/binding.dart:626:20)
[ ] I/flutter (24606): #115 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutte
r/src/rendering/binding.dart:208:5)
[ ] I/flutter (24606): #116 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
[ ] I/flutter (24606): #117 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
[ ] I/flutter (24606): #118 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding
.dart:751:7)
[ ] I/flutter (24606): #120 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
[ ] I/flutter (24606): #121 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
[ ] I/flutter (24606): #122 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
[ ] I/flutter (24606): (elided one frame from package dart:async)
[ ] I/flutter (24606): ════════════════════════════════════════════════════════════════════════════════════════════════════
[ +7 ms] ext.ui.window.scheduleFrame: {isolateId: isolates/353164405}
[ +52 ms] Hot reload performed in 1.746ms.
[ ] Reloaded 6 of 399 libraries in 1.920ms."><pre class="notranslate"><code class="notranslate">[ +39 ms] [D:\Flutter\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[ +64 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/beta
[ ] [D:\Flutter\flutter\] git rev-parse --abbrev-ref HEAD
[ +32 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] beta
[ ] [D:\Flutter\flutter\] git ls-remote --get-url origin
[ +26 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [D:\Flutter\flutter\] git log -n 1 --pretty=format:%H
[ +30 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] f9bb4289e9fd861d70ae78bcc3a042ef1b35cc9d
[ ] [D:\Flutter\flutter\] git log -n 1 --pretty=format:%ar
[ +28 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 8 weeks ago
[ +1 ms] [D:\Flutter\flutter\] git describe --match v*.*.* --first-parent --long --tags
[ +35 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v0.4.4-0-gf9bb4289e
[ +300 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb devices -l
[ +18 ms] Exit code 0 from: D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb devices -l
[ ] List of devices attached
192.168.0.101:5555 device product:gts210vewifixx model:SM_T813 device:gts210vewifi transport_id:6
[ +202 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 shell getprop
[ +298 ms] ro.hardware = qcom
[ +617 ms] Launching lib/main.dart on SM T813 in debug mode...
[ +7 ms] Initializing gradle...
[ ] Using gradle from D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\android\gradlew.bat.
[ +3 ms] D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\android\gradlew.bat -v
[ +586 ms]
------------------------------------------------------------
Gradle 4.1
------------------------------------------------------------
Build time: 2017-08-07 14:38:48 UTC
Revision: 941559e020f6c357ebb08d5c67acdb858a3defc2
Groovy: 2.4.11
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_101 (Oracle Corporation 25.101-b13)
OS: Windows 10 10.0 amd64
[ +2 ms] Resolving dependencies...
[ ] [android\] D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\android\gradlew.bat app:properties
[ +992 ms] :app:properties
------------------------------------------------------------
Project :app
------------------------------------------------------------
allprojects: [project ':app']
android: com.android.build.gradle.AppExtension_Decorated@28b4db88
androidDependencies: task ':app:androidDependencies'
ant: org.gradle.api.internal.project.DefaultAntBuilder@75b89447
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@50d0000c
archivesBaseName: app
artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@2419ee26
asDynamicObject: DynamicObject for project ':app'
assemble: task ':app:assemble'
assembleAndroidTest: task ':app:assembleAndroidTest'
assembleDebug: task ':app:assembleDebug'
assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest'
assembleDebugUnitTest: task ':app:assembleDebugUnitTest'
assembleProfile: task ':app:assembleProfile'
assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
assembleRelease: task ':app:assembleRelease'
assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@2a7f19b6
buildDependents: task ':app:buildDependents'
buildDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app
buildFile: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\android\app\build.gradle
buildNeeded: task ':app:buildNeeded'
buildOutputs: BaseVariantOutput container
buildScriptSource: org.gradle.groovy.scripts.UriScriptSource@1bd4aa12
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@4bd40904
bundleAppClassesDebug: task ':app:bundleAppClassesDebug'
bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest'
bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest'
bundleAppClassesProfile: task ':app:bundleAppClassesProfile'
bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest'
bundleAppClassesRelease: task ':app:bundleAppClassesRelease'
bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest'
check: task ':app:check'
checkDebugManifest: task ':app:checkDebugManifest'
checkProfileManifest: task ':app:checkProfileManifest'
checkReleaseManifest: task ':app:checkReleaseManifest'
childProjects: {}
class: class org.gradle.api.internal.project.DefaultProject_Decorated
classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@2057b686
cleanBuildCache: task ':app:cleanBuildCache'
compileDebugAidl: task ':app:compileDebugAidl'
compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl'
compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac'
compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk'
compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript'
compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders'
compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources'
compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac'
compileDebugNdk: task ':app:compileDebugNdk'
compileDebugRenderscript: task ':app:compileDebugRenderscript'
compileDebugShaders: task ':app:compileDebugShaders'
compileDebugSources: task ':app:compileDebugSources'
compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac'
compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources'
compileLint: task ':app:compileLint'
compileProfileAidl: task ':app:compileProfileAidl'
compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac'
compileProfileNdk: task ':app:compileProfileNdk'
compileProfileRenderscript: task ':app:compileProfileRenderscript'
compileProfileShaders: task ':app:compileProfileShaders'
compileProfileSources: task ':app:compileProfileSources'
compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac'
compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources'
compileReleaseAidl: task ':app:compileReleaseAidl'
compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac'
compileReleaseNdk: task ':app:compileReleaseNdk'
compileReleaseRenderscript: task ':app:compileReleaseRenderscript'
compileReleaseShaders: task ':app:compileReleaseShaders'
compileReleaseSources: task ':app:compileReleaseSources'
compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac'
compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources'
components: SoftwareComponentInternal set
configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@7237b993
configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@4c8d09fd
configurations: configuration container
connectedAndroidTest: task ':app:connectedAndroidTest'
connectedCheck: task ':app:connectedCheck'
connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest'
consumeConfigAttr: task ':app:consumeConfigAttr'
convention: org.gradle.api.internal.plugins.DefaultConvention@27fab541
copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests'
createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests'
createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests'
defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@3a04c4be
defaultTasks: []
deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@7530094c
dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@51d624f6
depth: 1
description: null
deviceAndroidTest: task ':app:deviceAndroidTest'
deviceCheck: task ':app:deviceCheck'
displayName: project ':app'
distsDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app\distributions
distsDirName: distributions
docsDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app\docs
docsDirName: docs
ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@23f4c330
extensions: org.gradle.api.internal.plugins.DefaultConvention@27fab541
extractProguardFiles: task ':app:extractProguardFiles'
fileOperations: org.gradle.api.internal.file.DefaultFileOperations@3f49d2c4
fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@4ac6d608
flutter: FlutterExtension_Decorated@2ad7ba32
flutterBuildDebug: task ':app:flutterBuildDebug'
flutterBuildProfile: task ':app:flutterBuildProfile'
flutterBuildRelease: task ':app:flutterBuildRelease'
flutterBuildX86Jar: task ':app:flutterBuildX86Jar'
generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets'
generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig'
generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues'
generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources'
generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources'
generateDebugAssets: task ':app:generateDebugAssets'
generateDebugBuildConfig: task ':app:generateDebugBuildConfig'
generateDebugResValues: task ':app:generateDebugResValues'
generateDebugResources: task ':app:generateDebugResources'
generateDebugSources: task ':app:generateDebugSources'
generateProfileAssets: task ':app:generateProfileAssets'
generateProfileBuildConfig: task ':app:generateProfileBuildConfig'
generateProfileResValues: task ':app:generateProfileResValues'
generateProfileResources: task ':app:generateProfileResources'
generateProfileSources: task ':app:generateProfileSources'
generateReleaseAssets: task ':app:generateReleaseAssets'
generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig'
generateReleaseResValues: task ':app:generateReleaseResValues'
generateReleaseResources: task ':app:generateReleaseResources'
generateReleaseSources: task ':app:generateReleaseSources'
gradle: build 'android'
group: android
identityPath: :app
inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@2fbf011b
installDebug: task ':app:installDebug'
installDebugAndroidTest: task ':app:installDebugAndroidTest'
installProfile: task ':app:installProfile'
installRelease: task ':app:installRelease'
javaPreCompileDebug: task ':app:javaPreCompileDebug'
javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
javaPreCompileProfile: task ':app:javaPreCompileProfile'
javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
javaPreCompileRelease: task ':app:javaPreCompileRelease'
javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
layout: org.gradle.api.internal.file.DefaultProjectLayout@5e9129da
libsDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app\libs
libsDirName: libs
lint: task ':app:lint'
lintDebug: task ':app:lintDebug'
lintProfile: task ':app:lintProfile'
lintRelease: task ':app:lintRelease'
lintVitalRelease: task ':app:lintVitalRelease'
logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@35d9fd55
logging: org.gradle.internal.logging.services.DefaultLoggingManager@229bd296
mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets'
mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders'
mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources'
mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders'
mergeDebugAssets: task ':app:mergeDebugAssets'
mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders'
mergeDebugResources: task ':app:mergeDebugResources'
mergeDebugShaders: task ':app:mergeDebugShaders'
mergeProfileAssets: task ':app:mergeProfileAssets'
mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders'
mergeProfileResources: task ':app:mergeProfileResources'
mergeProfileShaders: task ':app:mergeProfileShaders'
mergeReleaseAssets: task ':app:mergeReleaseAssets'
mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders'
mergeReleaseResources: task ':app:mergeReleaseResources'
mergeReleaseShaders: task ':app:mergeReleaseShaders'
mockableAndroidJar: task ':app:mockableAndroidJar'
modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@358aeadd
modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@1265142f
module: org.gradle.api.internal.artifacts.ProjectBackedModule@5fc05e03
name: app
normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@62ea92ae
objects: org.gradle.api.internal.model.DefaultObjectFactory@69ca5d65
org.gradle.jvmargs: -Xmx1536M
packageDebug: task ':app:packageDebug'
packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
packageProfile: task ':app:packageProfile'
packageRelease: task ':app:packageRelease'
parent: root project 'android'
parentIdentifier: root project 'android'
path: :app
platformAttrExtractor: task ':app:platformAttrExtractor'
pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@3562b8d0
plugins: [org.gradle.api.plugins.HelpTasksPlugin@78dc636d, com.android.build.gradle.api.AndroidBasePlugin@2f252fc0, org.gradle.language.base.plugins.LifecycleBasePlugin@22ef67d2, o
rg.gradle.api.plugins.BasePlugin@19e9a9ca, org.gradle.api.plugins.ReportingBasePlugin@1aba609f, org.gradle.platform.base.plugins.ComponentBasePlugin@3d35a7b3, org.gradle.language.base.plugins.Languag
eBasePlugin@74c28612, org.gradle.platform.base.plugins.BinaryBasePlugin@83fe16c, org.gradle.api.plugins.JavaBasePlugin@717b1bc9, com.android.build.gradle.internal.coverage.JacocoPlugin@5887f6f, com.a
ndroid.build.gradle.AppPlugin@35601d48, FlutterPlugin@163cf7ed]
preBuild: task ':app:preBuild'
preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
preDebugBuild: task ':app:preDebugBuild'
preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
preProfileBuild: task ':app:preProfileBuild'
preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
preReleaseBuild: task ':app:preReleaseBuild'
preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
prepareLintJar: task ':app:prepareLintJar'
processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes'
processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest'
processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
processDebugJavaRes: task ':app:processDebugJavaRes'
processDebugManifest: task ':app:processDebugManifest'
processDebugResources: task ':app:processDebugResources'
processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes'
processOperations: org.gradle.api.internal.file.DefaultFileOperations@3f49d2c4
processProfileJavaRes: task ':app:processProfileJavaRes'
processProfileManifest: task ':app:processProfileManifest'
processProfileResources: task ':app:processProfileResources'
processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes'
processReleaseJavaRes: task ':app:processReleaseJavaRes'
processReleaseManifest: task ':app:processReleaseManifest'
processReleaseResources: task ':app:processReleaseResources'
processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes'
project: project ':app'
projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@4911d388
projectDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\android\app
projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@2b2f0475
projectPath: :app
projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@1d668c5c
properties: {...}
providers: org.gradle.api.internal.provider.DefaultProviderFactory@75a53b6a
reporting: org.gradle.api.reporting.ReportingExtension_Decorated@3de20318
reportsDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app\reports
repositories: repository container
resolveConfigAttr: task ':app:resolveConfigAttr'
resources: org.gradle.api.internal.resources.DefaultResourceHandler@7aa80abf
rootDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\android
rootProject: root project 'android'
scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@2977a533
scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@dad82d
serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@2d8de1ed
services: ProjectScopeServices
signingReport: task ':app:signingReport'
sourceCompatibility: 1.8
sourceSets: SourceSet container
splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
splitsDiscoveryTaskDebugAndroidTest: task ':app:splitsDiscoveryTaskDebugAndroidTest'
splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@229bd296
state: project state 'EXECUTED'
status: integration
subprojects: []
targetCompatibility: 1.8
tasks: task set
test: task ':app:test'
testDebugUnitTest: task ':app:testDebugUnitTest'
testProfileUnitTest: task ':app:testProfileUnitTest'
testReleaseUnitTest: task ':app:testReleaseUnitTest'
testReportDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app\reports\tests
testReportDirName: tests
testResultsDir: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app\test-results
testResultsDirName: test-results
transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest'
transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
transformClassesWithPreDexForRelease: task ':app:transformClassesWithPreDexForRelease'
transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile'
transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
transformDexWithDexForRelease: task ':app:transformDexWithDexForRelease'
transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug'
transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile'
transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest'
transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease'
transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
uninstallAll: task ':app:uninstallAll'
uninstallDebug: task ':app:uninstallDebug'
uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
uninstallProfile: task ':app:uninstallProfile'
uninstallRelease: task ':app:uninstallRelease'
validateSigningDebug: task ':app:validateSigningDebug'
validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
validateSigningProfile: task ':app:validateSigningProfile'
validateSigningRelease: task ':app:validateSigningRelease'
version: unspecified
writeDebugApplicationId: task ':app:writeDebugApplicationId'
writeProfileApplicationId: task ':app:writeProfileApplicationId'
writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
BUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
[ +9 ms] D:\Users\Marius\AppData\Local\Android\sdk\build-tools\27.0.3\aapt dump badging build\app\outputs\apk\app.apk
[ +16 ms] Exit code 0 from: D:\Users\Marius\AppData\Local\Android\sdk\build-tools\27.0.3\aapt dump badging build\app\outputs\apk\app.apk
[ ] package: name='com.example.schuleeinfachapp' versionCode='1' versionName='1.0' platformBuildVersionName=''
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'schule_einfach_app'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='schule_einfach_app' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='com.example.schuleeinfachapp.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'arm64-v8a' 'x86' 'x86_64'
[ +7 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 logcat -v time -t 1
[ +208 ms] Exit code 0 from: D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 logcat -v time -t 1
[ ] --------- beginning of main
07-06 23:28:09.301 D/WifiStateMachine( 1237): not enough dual-band rssi, bail out...
[ +3 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 logcat -v time
[ +322 ms] DependencyChecker: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\lib\pages\home.dart is newer than 2018-07-06 23:27:32.000
[ +6 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb version
[ +17 ms] Android Debug Bridge version 1.0.39
Version 0.0.1-4500957
Installed as D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb.EXE
[ +2 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb start-server
[ +22 ms] Building APK
[ +6 ms] Running 'gradlew assembleDebug'...
[ +2 ms] [android\] D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\android\gradlew.bat -Ptarget=D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\lib/main.dart -Ppreview-dart-2=true -Ptarget-platfor
m=android-arm64 assembleDebug
[ +911 ms] :app:preBuild UP-TO-DATE
[ +17 ms] :app:preDebugBuild UP-TO-DATE
[ ] :app:compileDebugAidl UP-TO-DATE
[ +10 ms] :app:compileDebugRenderscript UP-TO-DATE
[ ] :app:flutterBuildX86Jar UP-TO-DATE
[ ] :app:checkDebugManifest UP-TO-DATE
[ +9 ms] :app:generateDebugBuildConfig UP-TO-DATE
[ ] :app:prepareLintJar UP-TO-DATE
[ +53 ms] :app:cleanMergeDebugAssets
[+3687 ms] :app:flutterBuildDebug
[ +11 ms] :app:mergeDebugShaders UP-TO-DATE
[ ] :app:compileDebugShaders UP-TO-DATE
[ ] :app:generateDebugAssets UP-TO-DATE
[ +10 ms] :app:mergeDebugAssets
[ +256 ms] :app:copyFlutterAssetsDebug
[ ] :app:generateDebugResValues UP-TO-DATE
[ ] :app:generateDebugResources UP-TO-DATE
[ +10 ms] :app:mergeDebugResources UP-TO-DATE
[ ] :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ +10 ms] :app:processDebugManifest UP-TO-DATE
[ ] :app:splitsDiscoveryTaskDebug UP-TO-DATE
[ +10 ms] :app:processDebugResources UP-TO-DATE
[ ] :app:generateDebugSources UP-TO-DATE
[ ] :app:javaPreCompileDebug UP-TO-DATE
[ +10 ms] :app:compileDebugJavaWithJavac UP-TO-DATE
[ ] :app:compileDebugNdk NO-SOURCE
[ ] :app:compileDebugSources UP-TO-DATE
[ +10 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[ +10 ms] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
[ ] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
[ ] :app:mergeDebugJniLibFolders UP-TO-DATE
[ +9 ms] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :app:processDebugJavaRes NO-SOURCE
[ +10 ms] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :app:validateSigningDebug
[+2202 ms] :app:packageDebug
[ ] :app:assembleDebug
[ ] BUILD SUCCESSFUL in 7s
[ ] 29 actionable tasks: 6 executed, 23 up-to-date
[ +464 ms] calculateSha: D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\build\app\outputs\apk/app.apk
[ +416 ms] Built build\app\outputs\apk\debug\app-debug.apk.
[ +1 ms] D:\Users\Marius\AppData\Local\Android\sdk\build-tools\27.0.3\aapt dump badging build\app\outputs\apk\app.apk
[ +13 ms] Exit code 0 from: D:\Users\Marius\AppData\Local\Android\sdk\build-tools\27.0.3\aapt dump badging build\app\outputs\apk\app.apk
[ ] package: name='com.example.schuleeinfachapp' versionCode='1' versionName='1.0' platformBuildVersionName=''
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'schule_einfach_app'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='schule_einfach_app' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='com.example.schuleeinfachapp.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'arm64-v8a' 'x86' 'x86_64'
[ ] Stopping app 'app.apk' on SM T813.
[ ] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 shell am force-stop com.example.schuleeinfachapp
[ +996 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 shell pm list packages com.example.schuleeinfachapp
[+1032 ms] package:com.example.schuleeinfachapp
[ +7 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 shell cat /data/local/tmp/sky.com.example.schuleeinfachapp.sha1
[ +52 ms] 161997c49d0c66906734d93e1d5739d8e7bdf94f
[ ] Installing APK.
[ +1 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb version
[ +14 ms] Android Debug Bridge version 1.0.39
Version 0.0.1-4500957
Installed as D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb.EXE
[ ] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb start-server
[ +15 ms] Installing build\app\outputs\apk\app.apk...
[ ] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 install -r build\app\outputs\apk\app.apk
[+10650 ms] Success
[ +2 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 shell echo -n 240e4123e0b791abb71396a2f85db9f2b947b739 > /data/local/tmp/sky.com.example.schuleeinfachapp
.sha1
[ +53 ms] SM T813 startApp
[ +2 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez en
able-dart-profiling true --ez enable-checked-mode true com.example.schuleeinfachapp/com.example.schuleeinfachapp.MainActivity
[ +756 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.schuleeinfachapp/.MainActivity launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) }
[ ] Waiting for observatory port to be available...
[ +903 ms] I/FlutterActivityDelegate(24606): onResume setting current activity to this
[ +74 ms] Observatory URL on device: http://127.0.0.1:40611/
[ +7 ms] D:\Users\Marius\AppData\Local\Android\sdk\platform-tools\adb -s 192.168.0.101:5555 forward tcp:8104 tcp:40611
[ +18 ms] Forwarded host port 8104 to device port 40611 for Observatory
[ +6 ms] Connecting to service protocol: http://127.0.0.1:8104/
[ +364 ms] Successfully connected to service protocol: http://127.0.0.1:8104/
[ +4 ms] getVM: {}
[ +46 ms] getIsolate: {isolateId: isolates/353164405}
[ +2 ms] _flutter.listViews: {}
[ +666 ms] DevFS: Creating new filesystem on the device (null)
[ +1 ms] _createDevFS: {fsName: Schule.Einfach.App}
[ +16 ms] D/ViewRootImpl@a2552e2[MainActivity](24606): MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1536, 2048) ci=Rect(0, 48 - 0, 0) vi=Rect(0, 48 - 0, 0) or=1
[ ] D/ViewRootImpl@a2552e2[MainActivity](24606): MSG_WINDOW_FOCUS_CHANGED 1
[ ] D/ViewRootImpl@a2552e2[MainActivity](24606): mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true 547975702016}
[ ] V/InputMethodManager(24606): Starting input: tba=android.view.inputmethod.EditorInfo@49fb9a9 nm : com.example.schuleeinfachapp ic=null
[ ] I/InputMethodManager(24606): [IMM] startInputInner - mService.startInputOrWindowGainedFocus
[ +1 ms] D/InputTransport(24606): Input channel constructed: fd=85
[ +4 ms] V/InputMethodManager(24606): Starting input: tba=android.view.inputmethod.EditorInfo@449bb2e nm : com.example.schuleeinfachapp ic=null
[ +62 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.schuleeinfachapp/cache/Schule.Einfach.AppWPXMEW/Schule.Einfach.App/)
[ +1 ms] Updating assets
[ +225 ms] Syncing files to device SM T813...
[ +3 ms] DevFS: Starting sync from LocalDirectory: 'D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App'
[ ] Scanning project files
[ +4 ms] Scanning package files
[ +59 ms] Scanning asset files
[ +1 ms] Scanning for deleted files
[ +46 ms] Compiling dart to kernel with 423 updated files
[ +3 ms] D:\Flutter\flutter\bin\cache\dart-sdk\bin\dart D:\Flutter\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root D:\Flutter\flutter\bin\cache\artifacts\eng
ine\common\flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build\app.dill --packages D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App\.packages --filesystem-scheme org-dartl
ang-root
[+1272 ms] Updating files
[ +995 ms] DevFS: Sync finished
[ +1 ms] Synced 1.4MB.
[ +1 ms] _flutter.listViews: {}
[ +40 ms] Connected to _flutterView/0x7f896dfb98.
[ +1 ms] 🔥 To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
[ ] An Observatory debugger and profiler on SM T813 is available at: http://127.0.0.1:8104/
[ ] For a more detailed help message, press "h". To quit, press "q".
[+14239 ms] Initializing hot reload...
[ +7 ms] Refreshing active FlutterViews before reloading.
[ ] _flutter.listViews: {}
[ +453 ms] Syncing files to device SM T813...
[ ] DevFS: Starting sync from LocalDirectory: 'D:\Dokumente\Coding\IntelliJ\Schule.Einfach.App'
[ ] Scanning project files
[ +1 ms] Scanning package files
[ +29 ms] Scanning asset files
[ ] Scanning for deleted files
[ +34 ms] Compiling dart to kernel with 1 updated files
[ +114 ms] Updating files
[ +88 ms] DevFS: Sync finished
[ ] Synced 0.0MB.
[ +2 ms] _flutter.setAssetBundlePath: {viewId: _flutterView/0x7f896dfb98, assetDirectory: /data/user/0/com.example.schuleeinfachapp/cache/Schule.Einfach.AppWPXMEW/Schule.Einfach.App/build/flutter_a
ssets}
[ +76 ms] _reloadSources: {pause: false, rootLibUri: /data/user/0/com.example.schuleeinfachapp/cache/Schule.Einfach.AppWPXMEW/Schule.Einfach.App/lib/main.dart.dill, packagesUri: /data/user/0/com.exa
mple.schuleeinfachapp/cache/Schule.Einfach.AppWPXMEW/Schule.Einfach.App/.packages, isolateId: isolates/353164405}
[ +324 ms] reloaded 6 of 399 libraries
[ +1 ms] Sending reload events to SM T813
[ +1 ms] Sending reload event to "main.dart$main-353164405"
[ +2 ms] getIsolate: {isolateId: isolates/353164405}
[ +129 ms] _flutter.listViews: {}
[ +40 ms] Evicting dirty assets
[ +2 ms] ext.flutter.evict: {value: AssetManifest.json, isolateId: isolates/353164405}
[ +102 ms] ext.flutter.evict: {value: FontManifest.json, isolateId: isolates/353164405}
[ +30 ms] ext.flutter.evict: {value: LICENSE, isolateId: isolates/353164405}
[ +62 ms] Reassembling application
[ +1 ms] ext.flutter.reassemble: {isolateId: isolates/353164405}
[ +225 ms] I/flutter (24606): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
[ +6 ms] I/flutter (24606): The following RangeError was thrown building BottomNavigationBar(dirty, state:
[ ] I/flutter (24606): _BottomNavigationBarState#f1a12(tickers: tracking 2 tickers)):
[ ] I/flutter (24606): RangeError (index): Invalid value: Not in range 0..1, inclusive: 2
[ +6 ms] I/flutter (24606):
[ ] I/flutter (24606): When the exception was thrown, this was the stack:
[ +19 ms] I/flutter (24606): #0 List.[] (dart:core/runtime/libgrowable_array.dart:141:60)
[ ] I/flutter (24606): #1 _BottomNavigationBarState._createTiles (package:flutter/src/material/bottom_navigation_bar.dart:427:26)
[ ] I/flutter (24606): #2 _BottomNavigationBarState.build (package:flutter/src/material/bottom_navigation_bar.dart:517:47)
[ ] I/flutter (24606): #3 StatefulElement.build (package:flutter/src/widgets/framework.dart:3730:27)
[ ] I/flutter (24606): #4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3642:15)
[ ] I/flutter (24606): #5 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #6 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #7 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #8 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #9 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #10 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5)
[ +14 ms] I/flutter (24606): #11 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #12 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #13 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #14 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5)
[ ] I/flutter (24606): #15 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #16 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4379:32)
[ ] I/flutter (24606): #17 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4769:17)
[ +1 ms] I/flutter (24606): #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter (24606): #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #21 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ +1 ms] I/flutter (24606): #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter (24606): #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter (24606): #25 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5)
[ ] I/flutter (24606): #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ +1 ms] I/flutter (24606): #27 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter (24606): #28 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter (24606): #29 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ +1 ms] I/flutter (24606): #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ +2 ms] I/flutter (24606): #31 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #32 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ +2 ms] I/flutter (24606): #33 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter (24606): #34 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +2 ms] I/flutter (24606): #35 StatelessElement.update (package:flutter/src/widgets/framework.dart:3702:5)
[ +7 ms] I/flutter (24606): #36 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #37 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #39 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #40 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #41 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #42 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #43 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #44 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #45 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #46 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #47 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter (24606): #48 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #49 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5)
[ ] I/flutter (24606): #50 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #51 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #52 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #53 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5)
[ ] I/flutter (24606): #54 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #55 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #56 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #57 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ +1 ms] I/flutter (24606): #58 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ +1 ms] I/flutter (24606): #59 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +2 ms] I/flutter (24606): #60 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +2 ms] I/flutter (24606): #61 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #62 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #63 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #66 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #67 StatelessElement.update (package:flutter/src/widgets/framework.dart:3702:5)
[ ] I/flutter (24606): #68 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #69 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #70 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #71 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #72 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #73 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #74 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #75 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #76 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #77 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #78 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #79 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #80 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #81 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #82 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter (24606): #83 StatelessElement.update (package:flutter/src/widgets/framework.dart:3702:5)
[ ] I/flutter (24606): #84 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #85 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #86 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #87 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #88 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #89 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #90 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #91 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #92 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #93 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5)
[ ] I/flutter (24606): #94 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #95 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #96 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #97 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #98 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #99 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5)
[ ] I/flutter (24606): #100 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #101 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #102 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #103 StatelessElement.update (package:flutter/src/widgets/framework.dart:3702:5)
[ ] I/flutter (24606): #104 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #105 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14)
[ ] I/flutter (24606): #106 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #107 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #108 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #109 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5)
[ ] I/flutter (24606): #110 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15)
[ ] I/flutter (24606): #111 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter (24606): #112 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter (24606): #113 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2242:33)
[ ] I/flutter (24606): #114 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/
widgets/binding.dart:626:20)
[ ] I/flutter (24606): #115 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutte
r/src/rendering/binding.dart:208:5)
[ ] I/flutter (24606): #116 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
[ ] I/flutter (24606): #117 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
[ ] I/flutter (24606): #118 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding
.dart:751:7)
[ ] I/flutter (24606): #120 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
[ ] I/flutter (24606): #121 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
[ ] I/flutter (24606): #122 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
[ ] I/flutter (24606): (elided one frame from package dart:async)
[ ] I/flutter (24606): ════════════════════════════════════════════════════════════════════════════════════════════════════
[ +7 ms] ext.ui.window.scheduleFrame: {isolateId: isolates/353164405}
[ +52 ms] Hot reload performed in 1.746ms.
[ ] Reloaded 6 of 399 libraries in 1.920ms.
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Analyzing Schule.Einfach.App...
info - Unused import: 'package:schule_einfach_app/pages/login-page.dart' - out\production\Schule.Einfach.App\main.dart:3:8
info - Unused import: 'package:flutter/material.dart' - out\production\Schule.Einfach.App\pages\login.dart:1:8
2 issues found. (ran in 1.9s)"><pre class="notranslate"><code class="notranslate">Analyzing Schule.Einfach.App...
info - Unused import: 'package:schule_einfach_app/pages/login-page.dart' - out\production\Schule.Einfach.App\main.dart:3:8
info - Unused import: 'package:flutter/material.dart' - out\production\Schule.Einfach.App\pages\login.dart:1:8
2 issues found. (ran in 1.9s)
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[√] Flutter (Channel beta, v0.4.4, on Microsoft Windows [Version 10.0.17134.112], locale de-DE)
• Flutter version 0.4.4 at D:\Flutter\flutter
• Framework revision f9bb4289e9 (8 weeks ago), 2018-05-11 21:44:54 -0700
• Engine revision 06afdfe54e
• Dart version 2.0.0-dev.54.0.flutter-46ab040e58
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at D:\Users\Marius\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = C:\Users\Marius\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Java\jdk1.8.0_101\bin\java
• Java version Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
• All Android licenses accepted.
[X] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.io/setup/#android-setup for detailed instructions).
[√] IntelliJ IDEA Ultimate Edition (version 2018.1)
• IntelliJ at D:\Users\Marius\AppData\Local\JetBrains\apps\IDEA-U\ch-0\181.5087.20
• Flutter plugin version 26.0.2
• Dart plugin version 181.4892.1
[√] Connected devices (1 available)
• SM T813 • 192.168.0.101:5555 • android-arm64 • Android 7.0 (API 24)
! Doctor found issues in 1 category."><pre class="notranslate"><code class="notranslate">[√] Flutter (Channel beta, v0.4.4, on Microsoft Windows [Version 10.0.17134.112], locale de-DE)
• Flutter version 0.4.4 at D:\Flutter\flutter
• Framework revision f9bb4289e9 (8 weeks ago), 2018-05-11 21:44:54 -0700
• Engine revision 06afdfe54e
• Dart version 2.0.0-dev.54.0.flutter-46ab040e58
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at D:\Users\Marius\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = C:\Users\Marius\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Java\jdk1.8.0_101\bin\java
• Java version Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
• All Android licenses accepted.
[X] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.io/setup/#android-setup for detailed instructions).
[√] IntelliJ IDEA Ultimate Edition (version 2018.1)
• IntelliJ at D:\Users\Marius\AppData\Local\JetBrains\apps\IDEA-U\ch-0\181.5087.20
• Flutter plugin version 26.0.2
• Dart plugin version 181.4892.1
[√] Connected devices (1 available)
• SM T813 • 192.168.0.101:5555 • android-arm64 • Android 7.0 (API 24)
! Doctor found issues in 1 category.
</code></pre></div> | <p dir="auto">I believe that the cause is that the bar's state allocates animation controllers for each item when the state is first constructed, but it doesn't create new controllers when the state updates with more items.</p>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Create a nav bar with 3 items.</p>
<p dir="auto">Increase the number of items to 4.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RangeError(index): invalid value: not in range 0..2, inclusive: 3."><pre class="notranslate"><code class="notranslate">RangeError(index): invalid value: not in range 0..2, inclusive: 3.
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="## Logs
I/flutter (27323): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (27323): The following RangeError was thrown building BottomNavigationBar(dirty, state:
I/flutter (27323): _BottomNavigationBarState#68e58(tickers: tracking 3 tickers)):
I/flutter (27323): RangeError (index): Invalid value: Not in range 0..2, inclusive: 3
I/flutter (27323):
I/flutter (27323): When the exception was thrown, this was the stack:
I/flutter (27323): #0 List.[] (dart:core-patch/dart:core/growable_array.dart:141)
I/flutter (27323): #1 _BottomNavigationBarState._createTiles (package:flutter/src/material/bottom_navigation_bar.dart:411:26)
I/flutter (27323): #2 _BottomNavigationBarState.build (package:flutter/src/material/bottom_navigation_bar.dart:477:45)
I/flutter (27323): #3 StatefulElement.build (package:flutter/src/widgets/framework.dart:3690:27)
I/flutter (27323): #4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3602:15)
I/flutter (27323): #5 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #6 StatefulElement.update (package:flutter/src/widgets/framework.dart:3737:5)
I/flutter (27323): #7 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #8 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #9 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #10 ProxyElement.update (package:flutter/src/widgets/framework.dart:3847:5)
I/flutter (27323): #11 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #12 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #13 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #14 ProxyElement.update (package:flutter/src/widgets/framework.dart:3847:5)
I/flutter (27323): #15 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #16 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4317:32)
I/flutter (27323): #17 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4703:17)
I/flutter (27323): #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #21 ProxyElement.update (package:flutter/src/widgets/framework.dart:3847:5)
I/flutter (27323): #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #25 StatefulElement.update (package:flutter/src/widgets/framework.dart:3737:5)
I/flutter (27323): #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #27 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4595:14)
I/flutter (27323): #28 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #29 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #30 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #31 StatelessElement.update (package:flutter/src/widgets/framework.dart:3662:5)
I/flutter (27323): #32 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #33 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4595:14)
I/flutter (27323): #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #37 StatefulElement.update (package:flutter/src/widgets/framework.dart:3737:5)
I/flutter (27323): #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #39 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #40 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #41 StatefulElement.update (package:flutter/src/widgets/framework.dart:3737:5)
I/flutter (27323): #42 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #43 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #44 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #45 ProxyElement.update (package:flutter/src/widgets/framework.dart:3847:5)
I/flutter (27323): #46 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #47 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #48 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #49 ProxyElement.update (package:flutter/src/widgets/framework.dart:3847:5)
I/flutter (27323): #50 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #51 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #52 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #53 StatefulElement.update (package:flutter/src/widgets/framework.dart:3737:5)
I/flutter (27323): #54 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #55 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #56 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #57 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2210:33)
I/flutter (27323): #58 BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:621:20)
I/flutter (27323): #59 BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter (27323): #60 BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter (27323): #61 BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter (27323): #62 BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5)
I/flutter (27323): #63 _invoke (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:120)
I/flutter (27323): #64 _drawFrame (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:109)
I/flutter (27323): ════════════════════════════════════════════════════════════════════════════════════════════════════"><pre class="notranslate"><code class="notranslate">## Logs
I/flutter (27323): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (27323): The following RangeError was thrown building BottomNavigationBar(dirty, state:
I/flutter (27323): _BottomNavigationBarState#68e58(tickers: tracking 3 tickers)):
I/flutter (27323): RangeError (index): Invalid value: Not in range 0..2, inclusive: 3
I/flutter (27323):
I/flutter (27323): When the exception was thrown, this was the stack:
I/flutter (27323): #0 List.[] (dart:core-patch/dart:core/growable_array.dart:141)
I/flutter (27323): #1 _BottomNavigationBarState._createTiles (package:flutter/src/material/bottom_navigation_bar.dart:411:26)
I/flutter (27323): #2 _BottomNavigationBarState.build (package:flutter/src/material/bottom_navigation_bar.dart:477:45)
I/flutter (27323): #3 StatefulElement.build (package:flutter/src/widgets/framework.dart:3690:27)
I/flutter (27323): #4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3602:15)
I/flutter (27323): #5 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #6 StatefulElement.update (package:flutter/src/widgets/framework.dart:3737:5)
I/flutter (27323): #7 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #8 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #9 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #10 ProxyElement.update (package:flutter/src/widgets/framework.dart:3847:5)
I/flutter (27323): #11 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #12 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #13 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #14 ProxyElement.update (package:flutter/src/widgets/framework.dart:3847:5)
I/flutter (27323): #15 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #16 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4317:32)
I/flutter (27323): #17 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4703:17)
I/flutter (27323): #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #21 ProxyElement.update (package:flutter/src/widgets/framework.dart:3847:5)
I/flutter (27323): #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #25 StatefulElement.update (package:flutter/src/widgets/framework.dart:3737:5)
I/flutter (27323): #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #27 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4595:14)
I/flutter (27323): #28 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #29 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #30 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #31 StatelessElement.update (package:flutter/src/widgets/framework.dart:3662:5)
I/flutter (27323): #32 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #33 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4595:14)
I/flutter (27323): #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #37 StatefulElement.update (package:flutter/src/widgets/framework.dart:3737:5)
I/flutter (27323): #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #39 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #40 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #41 StatefulElement.update (package:flutter/src/widgets/framework.dart:3737:5)
I/flutter (27323): #42 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #43 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #44 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #45 ProxyElement.update (package:flutter/src/widgets/framework.dart:3847:5)
I/flutter (27323): #46 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #47 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #48 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #49 ProxyElement.update (package:flutter/src/widgets/framework.dart:3847:5)
I/flutter (27323): #50 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #51 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #52 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #53 StatefulElement.update (package:flutter/src/widgets/framework.dart:3737:5)
I/flutter (27323): #54 Element.updateChild (package:flutter/src/widgets/framework.dart:2667:15)
I/flutter (27323): #55 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3613:16)
I/flutter (27323): #56 Element.rebuild (package:flutter/src/widgets/framework.dart:3463:5)
I/flutter (27323): #57 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2210:33)
I/flutter (27323): #58 BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:621:20)
I/flutter (27323): #59 BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter (27323): #60 BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter (27323): #61 BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter (27323): #62 BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5)
I/flutter (27323): #63 _invoke (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:120)
I/flutter (27323): #64 _drawFrame (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:109)
I/flutter (27323): ════════════════════════════════════════════════════════════════════════════════════════════════════
</code></pre></div>
<h2 dir="auto">Doctor</h2>
<p dir="auto">Version of Flutter is the current g3 version.</p> | 1 |
<p dir="auto">Docs says "The array can either be a regular Array or a Typed Array.", but unless I use a typed array I get the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="glDrawArrays: attempt to access out of range vertices in attribute 0"><pre class="notranslate"><code class="notranslate">glDrawArrays: attempt to access out of range vertices in attribute 0
</code></pre></div>
<p dir="auto">Is this a bug? It's convenient to be able to use regular arrays because then the buffer is expanded as needed when you use <code class="notranslate">BufferGeometry.merge</code>. Otherwise I'll have to precalculate the final vertex count or convert the regular array in BufferAttribute to a typedarray somehow.</p> | <h1 dir="auto">Deferred rendering</h1>
<p dir="auto">Forward rendering doesn't fit well with most advanced use cases, and when it does - it lacks performance. I want to see a Deferred, Tiled renderer as the main renderer in three.js, not something relegated to /examples folder.</p>
<h3 dir="auto">Motivation</h3>
<p dir="auto">Any kind of post processing you want to have today requires you to build part of the pipeline, depth buffer, normals and colour also. This results in duplicated effort for the hardware in most cases resulting in sub-optimal performance.<br>
If you wish to have any kind of sub-system which relies on a G-buffer, such as G-buffer based decal system which writes into colour+normal buffers - you require what three.js doesn't have.</p>
<h3 dir="auto">Some useful links:</h3>
<ul dir="auto">
<li><strong>XG</strong> by Alteredqualia: <a href="http://alteredqualia.com/xg/examples/earth_bathymetry.html" rel="nofollow">http://alteredqualia.com/xg/examples/earth_bathymetry.html</a> (more <a href="http://alteredqualia.com/" rel="nofollow">http://alteredqualia.com/</a>)</li>
<li><strong>Deferred Irradiance Volumes</strong> by pyalot: <a href="http://codeflow.org/webgl/deferred-irradiance-volumes/www/" rel="nofollow">http://codeflow.org/webgl/deferred-irradiance-volumes/www/</a> (github <a href="https://github.com/pyalot/webgl-deferred-irradiance-volumes">https://github.com/pyalot/webgl-deferred-irradiance-volumes</a>)</li>
<li><strong>Tiled Deferred Renderer</strong> by tiansijie: <a href="http://tiansijie.github.io/Tile_Based_WebGL_DeferredShader/" rel="nofollow">http://tiansijie.github.io/Tile_Based_WebGL_DeferredShader/</a> (source <a href="https://github.com/tiansijie/Tile_Based_WebGL_DeferredShader">https://github.com/tiansijie/Tile_Based_WebGL_DeferredShader</a>)</li>
</ul>
<p dir="auto">born as a result of this issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="312474909" data-permission-text="Title is private" data-url="https://github.com/mrdoob/three.js/issues/13807" data-hovercard-type="issue" data-hovercard-url="/mrdoob/three.js/issues/13807/hovercard" href="https://github.com/mrdoob/three.js/issues/13807">#13807</a></p> | 0 |
<p dir="auto">Needs a flag on challenge and detection of all completed challenges.</p> | <p dir="auto">As it stands you can only see this option to share the portfolio on Facebook from the map.</p>
<p dir="auto">If the last challenge of a section is completed && all other challenges in that section have also been completed, alert w/ option to share user portfolio on facebook.</p> | 1 |
<p dir="auto">as we all know,the render function return a html.The problem is, when i type space after 'return' and then connect HTML fragment,there is no problem.But there will be an error <code class="notranslate">Uncaught TypeError: Cannot read property 'getNativeNode' of null</code> when i type enter to generate a new line and connect HTML fragment.I also checkout this</p>
<blockquote>
<p dir="auto">Currently, in a component's render, you can only return one node; if you have, say, a list of divs to return, you must wrap your components within a div, span or any other component.</p>
<p dir="auto">Don'tforget that JSX compiles into regular JS; returning two functions doesn't really make syntactic sense. Likewise, don't put more than one child in a ternary.</p>
</blockquote>
<p dir="auto">So,how to understand this problem?</p> | <hr>
<h2 dir="auto">Note from maintainers:</h2>
<p dir="auto">We know this is an issue and we know exactly what set of problem can be solved. We want this too but it is a <em>hard problem</em> with our current architecture. Additional comments expressing desire for this feature are not helpful. Feel free to subscribe to the issue (there's button in the right hand column) but do not comment unless you are adding value to the discussion. "Me too" and "+1" are not valuable, nor are use cases that have already been written in the comments (e.g., we know that you can't put <code class="notranslate"><tr></code> or <code class="notranslate"><dd></code> elements with a <code class="notranslate"><div></code>).</p>
<hr>
<p dir="auto">Consider the following:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var ManagePost = React.createClass({
render: function() {
var posts = this.props.posts
var something;
var somethingelse;
var row = posts.map(function(post){
return(
<div>
<div className="col-md-8">
</div>
<div className="cold-md-4">
</div>
</div>
)
});
return (
{row}
);
}
});"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-v">ManagePost</span> <span class="pl-c1">=</span> <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-en">createClass</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-en">render</span>: <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">posts</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">.</span><span class="pl-c1">posts</span>
<span class="pl-k">var</span> <span class="pl-s1">something</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">somethingelse</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">row</span> <span class="pl-c1">=</span> <span class="pl-s1">posts</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">post</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-k">return</span><span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">className</span><span class="pl-c1">=</span><span class="pl-s">"col-md-8"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">className</span><span class="pl-c1">=</span><span class="pl-s">"cold-md-4"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-kos">(</span>
<span class="pl-kos">{</span>row<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">If you remove the <code class="notranslate"><div></div></code> in the <code class="notranslate">map</code>, you get the following error: <em>Adjacent XJS elements must be wrapped in an enclosing tag</em></p>
<p dir="auto">it isn't till I re-add the surrounding, and rather pointless, divs that it compiles with out issue. I am running <strong>0.11.1</strong></p>
<p dir="auto">Is this being addressed? It adds extra, and again - IMO - useless and pointless html to the page, that while harming nothing - looks messy and unprofessional. Maybe I am just doing something wrong, please enlighten me if I am.</p> | 1 |
<p dir="auto">Hi friends-<br>
I am trying to train a Roberta on a large corpus with a server with time limitation.<br>
Is there any way to save the model like every 3000 steps to keep record of the training, and resume it later?<br>
Really need it with the project…Thanks for helping.</p> | <h3 dir="auto">Feature request</h3>
<p dir="auto">I would like to propose that somewhere in the typical model pipeline, such as the data collators or the Trainer loop, instances of BatchEncoding should be converted to dicts to avoid breaking DataParallel models. Alternatively, I could add to the documentation to state that BatchEncodings should not be passed to PyTorch models. Maintainers, please let me know which solution you would prefer.</p>
<h3 dir="auto">Motivation</h3>
<p dir="auto">I am currently trying to integrate the sentence-transformers library with the nice Trainer API. One of the peculiarities of sentence-transformers is that rather than unpacking the model parameters like so <code class="notranslate">outputs = model(**inputs)</code>, the model expects a dict as input, which is internally unpacked. No big deal, I just override the <code class="notranslate">prediction_step</code> and remove the unpacking. However, this strangely failed when using a DataParallel setup. I realized this is because the following code in DataParallel could not handle BatchEncodings:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="def scatter(inputs, target_gpus, dim=0):
r"""
Slices tensors into approximately equal chunks and
distributes them across given GPUs. Duplicates
references to objects that are not tensors.
"""
def scatter_map(obj):
if isinstance(obj, torch.Tensor):
return Scatter.apply(target_gpus, None, dim, obj)
if _is_namedtuple(obj):
return [type(obj)(*args) for args in zip(*map(scatter_map, obj))]
if isinstance(obj, tuple) and len(obj) > 0:
return list(zip(*map(scatter_map, obj)))
if isinstance(obj, list) and len(obj) > 0:
return [list(i) for i in zip(*map(scatter_map, obj))]
if isinstance(obj, dict) and len(obj) > 0:
return [type(obj)(i) for i in zip(*map(scatter_map, obj.items()))]
return [obj for targets in target_gpus]"><pre class="notranslate"><code class="notranslate">def scatter(inputs, target_gpus, dim=0):
r"""
Slices tensors into approximately equal chunks and
distributes them across given GPUs. Duplicates
references to objects that are not tensors.
"""
def scatter_map(obj):
if isinstance(obj, torch.Tensor):
return Scatter.apply(target_gpus, None, dim, obj)
if _is_namedtuple(obj):
return [type(obj)(*args) for args in zip(*map(scatter_map, obj))]
if isinstance(obj, tuple) and len(obj) > 0:
return list(zip(*map(scatter_map, obj)))
if isinstance(obj, list) and len(obj) > 0:
return [list(i) for i in zip(*map(scatter_map, obj))]
if isinstance(obj, dict) and len(obj) > 0:
return [type(obj)(i) for i in zip(*map(scatter_map, obj.items()))]
return [obj for targets in target_gpus]
</code></pre></div>
<p dir="auto">DataParallel walks like a dict, talks like a dict, prints out exactly like a dict, but is not a subclass of dict, and therefore breaks this code. The tensors are not distributed across GPUs, and errors result. In my opinion, this violates the idea of duck typing, but I realize that technically it's PyTorch who's breaking duck typing here.</p>
<p dir="auto">Normally, this isn't a problem since Trainer unpacks the model args (BatchEncoding) in its predict_step, but I can't imagine sentence-transformers is the only library that does not adopt this convention.</p>
<h3 dir="auto">Your contribution</h3>
<p dir="auto">I would like to do one of three things:</p>
<ol dir="auto">
<li>Change DataCollators to output dicts or have Trainer check for BatchEncodings and convert them to dicts</li>
<li>Document that BatchEncodings should not be passed to models</li>
<li>Submit a PR to PyTorch that modifies this function to check for UserDicts like BatchEncodings</li>
</ol> | 0 |
<p dir="auto">Text:</p>
<blockquote>
<p dir="auto">这上面的夜的天空,奇怪而高,我生平没有见过这样奇怪而高的天空。他仿佛要离开人间而去,使人们仰面不再看见。然而现在却非常之蓝,闪闪地睒着几十个星星的眼,冷眼。他的口角上现出微笑,似乎自以为大有深意,而将繁霜洒在我的园里的野花草上。</p>
</blockquote>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/49931/6959354/a30f8266-d94a-11e4-9167-35ea308a5ad2.png"><img src="https://cloud.githubusercontent.com/assets/49931/6959354/a30f8266-d94a-11e4-9167-35ea308a5ad2.png" alt="3" style="max-width: 100%;"></a></p>
<p dir="auto">It happen after update to 0.189.0, and it's normal in 0.188.0 .</p>
<p dir="auto">I try disabled all community packages or star with <code class="notranslate">--safe</code> mode, still happen.</p>
<p dir="auto">Update: Ubuntu 14.04</p> | <p dir="auto">sometimes a chinese-char become '���',(as we all know that in charset utf-8, a chinese-char need 3 byte )</p> | 1 |
<p dir="auto">Sometimes the VS Code window just flashes in the task bar but is not stored to the foreground (e.g. when running code again from the command line). See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="107679327" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/2867" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/2867/hovercard" href="https://github.com/electron/electron/issues/2867">electron/electron#2867</a></p> | <ul dir="auto">
<li>VSCode Version: Version 1.3.0-insider (1.3.0-insider) (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/vscode/commit/6bc81df453ab2156d2630fbb89ad7d0c80620420/hovercard" href="https://github.com/microsoft/vscode/commit/6bc81df453ab2156d2630fbb89ad7d0c80620420"><tt>6bc81df</tt></a>)</li>
<li>OS Version: OS X 10.11.5</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<p dir="auto">Trying to launch a Node JS app give an error: Cannot launch debug target (spawn node ENOENT).</p>
<p dir="auto">Using Homebrew installed Nodejs (path to node command is /usr/local/bin/node)</p>
<p dir="auto">The bash login path, which contains /usr/local/bin, does not seem to be included when trying to run the app.</p>
<p dir="auto">Launch.json contains:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/nodeapp/server.js",
"stopOnEntry": false,
"args": [],
"cwd": "${workspaceRoot}",
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development"
},
"externalConsole": false,
"sourceMaps": false,
"outDir": null
},
{
"name": "Attach",
"type": "node",
"request": "attach",
"port": 5858,
"sourceMaps": false,
"outDir": null,
"localRoot": "${workspaceRoot}",
"remoteRoot": null
}
]
}"><pre class="notranslate"><code class="notranslate">{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/nodeapp/server.js",
"stopOnEntry": false,
"args": [],
"cwd": "${workspaceRoot}",
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development"
},
"externalConsole": false,
"sourceMaps": false,
"outDir": null
},
{
"name": "Attach",
"type": "node",
"request": "attach",
"port": 5858,
"sourceMaps": false,
"outDir": null,
"localRoot": "${workspaceRoot}",
"remoteRoot": null
}
]
}
</code></pre></div> | 0 |
<p dir="auto">Hey guys !</p>
<p dir="auto">Since 0.13.3 version, my floating label for my DatePicker prevents me from opening it.<br>
I looked quickly and I think its the value <em>z-index: 1</em>.<br>
When I override with <strong>labelStyle</strong> <em>z-index: 0</em>, it's working.</p>
<p dir="auto">Maybe it's for an other option or feature, I dont know :)</p>
<p dir="auto">Thank you.</p> | <p dir="auto">In both the date-picker-dialog.js and the time-picker-dialog the component doesn't update its position when the size of the screen changes, This happens because the repositionOnUpdate property is set to false. See screenshot for example where the date-picker-dialog falls of the screen.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/9976658/8825577/81335cde-3080-11e5-93c3-2f922eca5311.png"><img width="1022" alt="screen shot 2015-07-22 at 14 41 54" src="https://cloud.githubusercontent.com/assets/9976658/8825577/81335cde-3080-11e5-93c3-2f922eca5311.png" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto">… because <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="151760275" data-permission-text="Title is private" data-url="https://github.com/nodejs/node/issues/6456" data-hovercard-type="issue" data-hovercard-url="/nodejs/node/issues/6456/hovercard" href="https://github.com/nodejs/node/issues/6456">nodejs/node#6456</a>, I'd wager.</p>
<p dir="auto">See also: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108540747" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/4990" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/TypeScript/pull/4990/hovercard" href="https://github.com/microsoft/TypeScript/pull/4990">#4990</a></p>
<p dir="auto"><strong>TypeScript Version:</strong> 1.8.10</p>
<p dir="auto"><strong>Code</strong></p>
<p dir="auto"><code class="notranslate">tsc --help</code></p>
<p dir="auto"><strong>Expected behavior:</strong></p>
<p dir="auto">See full help text, ending:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -w, --watch Watch input files.
@<file> Insert command line options and files from a file."><pre class="notranslate"><code class="notranslate"> -w, --watch Watch input files.
@<file> Insert command line options and files from a file.
</code></pre></div>
<p dir="auto"><strong>Actual behavior:</strong></p>
<p dir="auto">See partial help text, ending:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" --init Initializes a TypeScript project and creates a tsconfig.json file.
--jsx KIND Specify JSX code generation: 'preserve' or 'reg"><pre class="notranslate"><code class="notranslate"> --init Initializes a TypeScript project and creates a tsconfig.json file.
--jsx KIND Specify JSX code generation: 'preserve' or 'reg
</code></pre></div> | <p dir="auto">I am on Mac OS X 10.11.5 with node-js v6.2.2 and typescript 1.8.10. Typescript compiler tsc truncates its help message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ tsc
Version 1.8.10
Syntax: tsc [options] [file ...]
Examples: tsc hello.ts
tsc --out file.js file.ts
tsc @args.txt
Options:
--allowJs Allow javascript files to be compiled.
--allowSyntheticDefaultImports Allow default imports from modules with no default export. This does not affect code emit, just typechecking.
--allowUnreachableCode Do not report errors on unreachable code.
--allowUnusedLabels Do not report errors on unused labels.
-d, --declaration Generates corresponding '.d.ts' file.
--experimentalDecorators Enables experimental support for ES7 decorators.
--forceConsistentCasingInFileNames Disallow inconsistently-cased references to the same file.
-h, --help Print this message.
--init Initializes a TypeScript project and creates a tsconfig.json file.
--jsx KIND Specify JSX code generation: 'preserve' or 're$"><pre class="notranslate"><code class="notranslate">$ tsc
Version 1.8.10
Syntax: tsc [options] [file ...]
Examples: tsc hello.ts
tsc --out file.js file.ts
tsc @args.txt
Options:
--allowJs Allow javascript files to be compiled.
--allowSyntheticDefaultImports Allow default imports from modules with no default export. This does not affect code emit, just typechecking.
--allowUnreachableCode Do not report errors on unreachable code.
--allowUnusedLabels Do not report errors on unused labels.
-d, --declaration Generates corresponding '.d.ts' file.
--experimentalDecorators Enables experimental support for ES7 decorators.
--forceConsistentCasingInFileNames Disallow inconsistently-cased references to the same file.
-h, --help Print this message.
--init Initializes a TypeScript project and creates a tsconfig.json file.
--jsx KIND Specify JSX code generation: 'preserve' or 're$
</code></pre></div>
<p dir="auto">Note that 'react' word got clipped and shell prompt is returned on the same line.</p> | 1 |
<p dir="auto">For cases where a small amount of static data is desired. This could include</p>
<ol dir="auto">
<li>configuration for containers whose process is configured by files</li>
<li>small-medium amounts of static data, such as an archive of www data for a static site server</li>
<li>inputs to a process that has a small input to work ratio</li>
</ol>
<p dir="auto">Example use cases:</p>
<ul dir="auto">
<li>allow developers to specify data along side the pod it's used with, instead of needing to put it "somewhere else" (EBS / PD / RBD)</li>
<li>allow Kubernetes-native process coordinators to pass input data to worker pods</li>
</ul>
<p dir="auto">For developers, this would be facilitated by a kubectl plugin (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="105000432" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/13606" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/13606/hovercard" href="https://github.com/kubernetes/kubernetes/issues/13606">#13606</a>) in a similar way to what is proposed for easing secret creation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="58949840" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/4822" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/4822/hovercard" href="https://github.com/kubernetes/kubernetes/issues/4822">#4822</a>). The plugin would handle archive creation and encoding for inclusion in the manifest.</p>
<p dir="auto">The size of this data would be limited, as it would be living in etcd. I don't know what a reasonable limit is as I'm not familiar enough with etcd. I would assume a couple hundred KB at the most?</p> | <p dir="auto">This would map closely to Docker's native volumes support, and allow people to build and version pre-baked data as containers. Maybe read-only? Haven't thought that far...</p> | 1 |
<p dir="auto">When Deno REPL get invoked via bash in <a href="https://elementary.io/pt_BR/" rel="nofollow">Elementary OS</a> (which is a ubuntu based distro), and then closed via Key binds <code class="notranslate">Ctrl + c </code> or <code class="notranslate">Ctrl + d </code> both work the same way closing it successfully.<br>
But when one tries to close the REPL using <code class="notranslate">close()</code> function call, Deno blocks <strong>visually</strong> the shell.</p>
<p dir="auto">The user cannot see anymore anything that is being typed at the terminal, until it's terminated.</p>
<p dir="auto">I've added a GIF to illustrate:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19848508/81970768-68257480-95f6-11ea-85a0-453efd48bf2b.gif"><img src="https://user-images.githubusercontent.com/19848508/81970768-68257480-95f6-11ea-85a0-453efd48bf2b.gif" alt="ezgif com-video-to-gif" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">I'm not sure if it's the intended behaviour of deno or a problem due to OS being used:<br>
elementary OS 5.1.4 Hera Built on Ubuntu 18.04.4 LTS.</p> | <p dir="auto">When we do <code class="notranslate">close()</code>, it exits the REPL but somehow after then I am unable to type<br>
in the terminal, though if I type and press enter it executes the commands but I<br>
can't see the characters.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[sanket143@lisa test_plugin]$ deno
Deno 1.0.0
exit using ctrl+d or close()
> close()
undefined
> [sanket143@lisa test_plugin]$ Cargo.toml src tests
[sanket143@lisa test_plugin]$ ^C
[sanket143@lisa test_plugin]$ "><pre class="notranslate"><code class="notranslate">[sanket143@lisa test_plugin]$ deno
Deno 1.0.0
exit using ctrl+d or close()
> close()
undefined
> [sanket143@lisa test_plugin]$ Cargo.toml src tests
[sanket143@lisa test_plugin]$ ^C
[sanket143@lisa test_plugin]$
</code></pre></div> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.0</li>
<li>Operating System version: win10</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>meta-report address "zookeeper://192.168.1.10:2081,192.168.1.11:2081"</li>
<li>run dubbo project</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps?</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">在org.apache.dubbo.metadata.support.AbstractMetadataReport类中</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" // Start file save timer
String filename = reportServerURL.getParameter(Constants.FILE_KEY, System.getProperty("user.home") + "/.dubbo/dubbo-metadata-" + reportServerURL.getParameter(Constants.APPLICATION_KEY) + "-" + reportServerURL.getAddress() + ".cache");"><pre class="notranslate"> <span class="pl-c">// Start file save timer</span>
<span class="pl-smi">String</span> <span class="pl-s1">filename</span> = <span class="pl-s1">reportServerURL</span>.<span class="pl-en">getParameter</span>(<span class="pl-smi">Constants</span>.<span class="pl-c1">FILE_KEY</span>, <span class="pl-smi">System</span>.<span class="pl-en">getProperty</span>(<span class="pl-s">"user.home"</span>) + <span class="pl-s">"/.dubbo/dubbo-metadata-"</span> + <span class="pl-s1">reportServerURL</span>.<span class="pl-en">getParameter</span>(<span class="pl-smi">Constants</span>.<span class="pl-c1">APPLICATION_KEY</span>) + <span class="pl-s">"-"</span> + <span class="pl-s1">reportServerURL</span>.<span class="pl-en">getAddress</span>() + <span class="pl-s">".cache"</span>);</pre></div>
<p dir="auto">其中reportServerURL.getAddress() 的内容是:“192.168.1.10:2081,192.168.1.11:2081”在win10下“:"是非法文件名字符,从而造成文件名错误。</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" WARN org.apache.dubbo.metadata.store.zookeeper.ZookeeperMetadataReport- [DUBBO] Failed to save service store file, cause: 文件名、目录名或卷标语法不正确。, dubbo version: 2.7.0, current host: 10.0.75.1
java.io.IOException: 文件名、目录名或卷标语法不正确。
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:1012)
at org.apache.dubbo.metadata.support.AbstractMetadataReport.doSaveProperties(AbstractMetadataReport.java:134)
at org.apache.dubbo.metadata.support.AbstractMetadataReport.access$100(AbstractMetadataReport.java:56)
at org.apache.dubbo.metadata.support.AbstractMetadataReport$SaveProperties.run(AbstractMetadataReport.java:228)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)"><pre class="notranslate"><code class="notranslate"> WARN org.apache.dubbo.metadata.store.zookeeper.ZookeeperMetadataReport- [DUBBO] Failed to save service store file, cause: 文件名、目录名或卷标语法不正确。, dubbo version: 2.7.0, current host: 10.0.75.1
java.io.IOException: 文件名、目录名或卷标语法不正确。
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:1012)
at org.apache.dubbo.metadata.support.AbstractMetadataReport.doSaveProperties(AbstractMetadataReport.java:134)
at org.apache.dubbo.metadata.support.AbstractMetadataReport.access$100(AbstractMetadataReport.java:56)
at org.apache.dubbo.metadata.support.AbstractMetadataReport$SaveProperties.run(AbstractMetadataReport.java:228)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: xxx</li>
<li>Operating System version: xxx</li>
<li>Java version: xxx</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>xxx</li>
<li>xxx</li>
<li>xxx</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps?</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | 0 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/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"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.0</li>
<li>Operating System version: all</li>
<li>Java version: all</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>start a dubbo provider with service group="1.0.0"</li>
<li>start a dubbo generic consumer with referenceConfig.setGroup("1.0.0")</li>
<li>call genericService.$invoke</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">success return.</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">not found exported service,may be version or group mismatch.</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Exception in thread "main" org.apache.dubbo.rpc.RpcException: Failed to invoke remote method: $invoke, provider: dubbo://127.0.0.1:20890/org.apache.dubbo.samples.context.api.ContextService?application=generic-call-consumer&dubbo=2.0.2&generic=true&group=&interface=org.apache.dubbo.samples.context.api.ContextService&pid=13296&register.ip=x.x.x.x&side=consumer&timestamp=1551067201057, cause: org.apache.dubbo.remoting.RemotingException: Not found exported service: org.apache.dubbo.samples.context.api.ContextService:20890 in [1.0.0/org.apache.dubbo.samples.context.api.ContextService:20890], may be version or group mismatch , channel: consumer: /x.x.x.x:43004 --> provider: /x.x.x.x:20890, message:RpcInvocation [methodName=$invoke, parameterTypes=[class java.lang.String, class [Ljava.lang.String;, class [Ljava.lang.Object;], arguments=[sayHello, [Ljava.lang.String;@42f5a7d7, [Ljava.lang.Object;@4c3251f9], attachments={path=org.apache.dubbo.samples.context.api.ContextService, input=342, dubbo=2.0.2, interface=org.apache.dubbo.samples.context.api.ContextService, version=0.0.0, generic=true}]
org.apache.dubbo.remoting.RemotingException: Not found exported service: org.apache.dubbo.samples.context.api.ContextService:20890 in [1.0.0/org.apache.dubbo.samples.context.api.ContextService:20890], may be version or group mismatch , channel: consumer: /x.x.x.x:43004 --> provider: /x.x.x.x:20890, message:RpcInvocation [methodName=$invoke, parameterTypes=[class java.lang.String, class [Ljava.lang.String;, class [Ljava.lang.Object;], arguments=[sayHello, [Ljava.lang.String;@42f5a7d7, [Ljava.lang.Object;@4c3251f9], attachments={path=org.apache.dubbo.samples.context.api.ContextService, input=342, dubbo=2.0.2, interface=org.apache.dubbo.samples.context.api.ContextService, version=0.0.0, generic=true}]
at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol.getInvoker(DubboProtocol.java:223)
at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:82)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:103)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:200)
at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.apache.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:113)
at org.apache.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:156)
at org.apache.dubbo.rpc.filter.GenericImplFilter.invoke(GenericImplFilter.java:172)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:73)
at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:88)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:73)
at org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:49)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:73)
at org.apache.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:54)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:73)
at org.apache.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:77)
at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:57)
at org.apache.dubbo.common.bytecode.proxy0.$invoke(proxy0.java)
at org.apache.dubbo.samples.generic.call.GenericCallConsumer.main(GenericCallConsumer.java:74)
Caused by: org.apache.dubbo.remoting.RemotingException: org.apache.dubbo.remoting.RemotingException: Not found exported service: org.apache.dubbo.samples.context.api.ContextService:20890 in [1.0.0/org.apache.dubbo.samples.context.api.ContextService:20890], may be version or group mismatch , channel: consumer: /x.x.x.x:43004 --> provider: /x.x.x.x:20890, message:RpcInvocation [methodName=$invoke, parameterTypes=[class java.lang.String, class [Ljava.lang.String;, class [Ljava.lang.Object;], arguments=[sayHello, [Ljava.lang.String;@42f5a7d7, [Ljava.lang.Object;@4c3251f9], attachments={path=org.apache.dubbo.samples.context.api.ContextService, input=342, dubbo=2.0.2, interface=org.apache.dubbo.samples.context.api.ContextService, version=0.0.0, generic=true}]
org.apache.dubbo.remoting.RemotingException: Not found exported service: org.apache.dubbo.samples.context.api.ContextService:20890 in [1.0.0/org.apache.dubbo.samples.context.api.ContextService:20890], may be version or group mismatch , channel: consumer: /x.x.x.x:43004 --> provider: /x.x.x.x:20890, message:RpcInvocation [methodName=$invoke, parameterTypes=[class java.lang.String, class [Ljava.lang.String;, class [Ljava.lang.Object;], arguments=[sayHello, [Ljava.lang.String;@42f5a7d7, [Ljava.lang.Object;@4c3251f9], attachments={path=org.apache.dubbo.samples.context.api.ContextService, input=342, dubbo=2.0.2, interface=org.apache.dubbo.samples.context.api.ContextService, version=0.0.0, generic=true}]
at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol.getInvoker(DubboProtocol.java:223)
at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:82)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:103)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:200)
at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.apache.dubbo.remoting.exchange.support.DefaultFuture.returnFromResponse(DefaultFuture.java:298)
at org.apache.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:191)
at org.apache.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:164)
at org.apache.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:108)
... 13 more"><pre class="notranslate"><code class="notranslate">Exception in thread "main" org.apache.dubbo.rpc.RpcException: Failed to invoke remote method: $invoke, provider: dubbo://127.0.0.1:20890/org.apache.dubbo.samples.context.api.ContextService?application=generic-call-consumer&dubbo=2.0.2&generic=true&group=&interface=org.apache.dubbo.samples.context.api.ContextService&pid=13296&register.ip=x.x.x.x&side=consumer&timestamp=1551067201057, cause: org.apache.dubbo.remoting.RemotingException: Not found exported service: org.apache.dubbo.samples.context.api.ContextService:20890 in [1.0.0/org.apache.dubbo.samples.context.api.ContextService:20890], may be version or group mismatch , channel: consumer: /x.x.x.x:43004 --> provider: /x.x.x.x:20890, message:RpcInvocation [methodName=$invoke, parameterTypes=[class java.lang.String, class [Ljava.lang.String;, class [Ljava.lang.Object;], arguments=[sayHello, [Ljava.lang.String;@42f5a7d7, [Ljava.lang.Object;@4c3251f9], attachments={path=org.apache.dubbo.samples.context.api.ContextService, input=342, dubbo=2.0.2, interface=org.apache.dubbo.samples.context.api.ContextService, version=0.0.0, generic=true}]
org.apache.dubbo.remoting.RemotingException: Not found exported service: org.apache.dubbo.samples.context.api.ContextService:20890 in [1.0.0/org.apache.dubbo.samples.context.api.ContextService:20890], may be version or group mismatch , channel: consumer: /x.x.x.x:43004 --> provider: /x.x.x.x:20890, message:RpcInvocation [methodName=$invoke, parameterTypes=[class java.lang.String, class [Ljava.lang.String;, class [Ljava.lang.Object;], arguments=[sayHello, [Ljava.lang.String;@42f5a7d7, [Ljava.lang.Object;@4c3251f9], attachments={path=org.apache.dubbo.samples.context.api.ContextService, input=342, dubbo=2.0.2, interface=org.apache.dubbo.samples.context.api.ContextService, version=0.0.0, generic=true}]
at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol.getInvoker(DubboProtocol.java:223)
at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:82)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:103)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:200)
at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.apache.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:113)
at org.apache.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:156)
at org.apache.dubbo.rpc.filter.GenericImplFilter.invoke(GenericImplFilter.java:172)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:73)
at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:88)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:73)
at org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:49)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:73)
at org.apache.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:54)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:73)
at org.apache.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:77)
at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:57)
at org.apache.dubbo.common.bytecode.proxy0.$invoke(proxy0.java)
at org.apache.dubbo.samples.generic.call.GenericCallConsumer.main(GenericCallConsumer.java:74)
Caused by: org.apache.dubbo.remoting.RemotingException: org.apache.dubbo.remoting.RemotingException: Not found exported service: org.apache.dubbo.samples.context.api.ContextService:20890 in [1.0.0/org.apache.dubbo.samples.context.api.ContextService:20890], may be version or group mismatch , channel: consumer: /x.x.x.x:43004 --> provider: /x.x.x.x:20890, message:RpcInvocation [methodName=$invoke, parameterTypes=[class java.lang.String, class [Ljava.lang.String;, class [Ljava.lang.Object;], arguments=[sayHello, [Ljava.lang.String;@42f5a7d7, [Ljava.lang.Object;@4c3251f9], attachments={path=org.apache.dubbo.samples.context.api.ContextService, input=342, dubbo=2.0.2, interface=org.apache.dubbo.samples.context.api.ContextService, version=0.0.0, generic=true}]
org.apache.dubbo.remoting.RemotingException: Not found exported service: org.apache.dubbo.samples.context.api.ContextService:20890 in [1.0.0/org.apache.dubbo.samples.context.api.ContextService:20890], may be version or group mismatch , channel: consumer: /x.x.x.x:43004 --> provider: /x.x.x.x:20890, message:RpcInvocation [methodName=$invoke, parameterTypes=[class java.lang.String, class [Ljava.lang.String;, class [Ljava.lang.Object;], arguments=[sayHello, [Ljava.lang.String;@42f5a7d7, [Ljava.lang.Object;@4c3251f9], attachments={path=org.apache.dubbo.samples.context.api.ContextService, input=342, dubbo=2.0.2, interface=org.apache.dubbo.samples.context.api.ContextService, version=0.0.0, generic=true}]
at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol.getInvoker(DubboProtocol.java:223)
at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:82)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:103)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:200)
at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.apache.dubbo.remoting.exchange.support.DefaultFuture.returnFromResponse(DefaultFuture.java:298)
at org.apache.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:191)
at org.apache.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:164)
at org.apache.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:108)
... 13 more
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.3</li>
<li>Operating System version: macOs sierra</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>start provider with two service defined.</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<bean id="demo1" class="com.ctrip.framework.cdubbo.DemoServiceImpl"/>
<dubbo:service interface="com.ctrip.framework.cdubbo.DemoService" ref="demo1">
</dubbo:service>
<bean id="demo2" class="com.ctrip.framework.cdubbo.DemoService2Impl"/>
<dubbo:service interface="com.ctrip.framework.cdubbo.DemoService2" ref="demo2">
</dubbo:service>"><pre class="notranslate"><code class="notranslate"><bean id="demo1" class="com.ctrip.framework.cdubbo.DemoServiceImpl"/>
<dubbo:service interface="com.ctrip.framework.cdubbo.DemoService" ref="demo1">
</dubbo:service>
<bean id="demo2" class="com.ctrip.framework.cdubbo.DemoService2Impl"/>
<dubbo:service interface="com.ctrip.framework.cdubbo.DemoService2" ref="demo2">
</dubbo:service>
</code></pre></div>
<ol start="2" dir="auto">
<li>refer the two different service in lazy connection.</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<dubbo:reference id="demoService1" interface="com.ctrip.framework.cdubbo.DemoService" lazy="true">
</dubbo:reference>
<dubbo:reference id="demoService2" interface="com.ctrip.framework.cdubbo.DemoService2" lazy="true">
</dubbo:reference>
"><pre class="notranslate"><code class="notranslate"><dubbo:reference id="demoService1" interface="com.ctrip.framework.cdubbo.DemoService" lazy="true">
</dubbo:reference>
<dubbo:reference id="demoService2" interface="com.ctrip.framework.cdubbo.DemoService2" lazy="true">
</dubbo:reference>
</code></pre></div>
<p dir="auto">3.when client started, the netstat -ano shows the connection status as following.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TCP 0.0.0.0:20880 0.0.0.0:0 LISTENING 388
TCP [::]:20880 [::]:0 LISTENING 388"><pre class="notranslate"><code class="notranslate">TCP 0.0.0.0:20880 0.0.0.0:0 LISTENING 388
TCP [::]:20880 [::]:0 LISTENING 388
</code></pre></div>
<ol start="4" dir="auto">
<li>send a call to DemoService, the connection from 10.xx.xx.151:50776-> 10.xx.xx.151:20880 is established.</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TCP 0.0.0.0:20880 0.0.0.0:0 LISTENING 388
TCP 10.xx.xx.151:20880 10.xx.xx.151:50776 ESTABLISHED 388
TCP 10.xx.xx.151:50776 10.xx.xx.151:20880 ESTABLISHED 22444
TCP [::]:20880 [::]:0 LISTENING 388"><pre class="notranslate"><code class="notranslate">TCP 0.0.0.0:20880 0.0.0.0:0 LISTENING 388
TCP 10.xx.xx.151:20880 10.xx.xx.151:50776 ESTABLISHED 388
TCP 10.xx.xx.151:50776 10.xx.xx.151:20880 ESTABLISHED 22444
TCP [::]:20880 [::]:0 LISTENING 388
</code></pre></div>
<ol start="5" dir="auto">
<li>send another call to DemoService2, a new connection is established (10.xx.xx.151:50778-> 10.xx.xx.151:20880)</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TCP 0.0.0.0:20880 0.0.0.0:0 LISTENING 388
TCP 10.xx.xx.151:20880 10.xx.xx.151:50776 ESTABLISHED 388
TCP 10.xx.xx.151:20880 10.xx.xx.151:50778 ESTABLISHED 388
TCP 10.xx.xx.151:50776 10.xx.xx.151:20880 ESTABLISHED 22444
TCP 10.xx.xx.151:50778 10.xx.xx.151:20880 ESTABLISHED 22444
TCP [::]:20880 [::]:0 LISTENING 388"><pre class="notranslate"><code class="notranslate">TCP 0.0.0.0:20880 0.0.0.0:0 LISTENING 388
TCP 10.xx.xx.151:20880 10.xx.xx.151:50776 ESTABLISHED 388
TCP 10.xx.xx.151:20880 10.xx.xx.151:50778 ESTABLISHED 388
TCP 10.xx.xx.151:50776 10.xx.xx.151:20880 ESTABLISHED 22444
TCP 10.xx.xx.151:50778 10.xx.xx.151:20880 ESTABLISHED 22444
TCP [::]:20880 [::]:0 LISTENING 388
</code></pre></div>
<p dir="auto">For request-response mode, create new connection is not a big deal.<br>
But, for stream callback, response cannot come back once url changed(Dubbo will destroy the old invoker and connection, due to lazy cannot share connection in some circumstance).</p> | 0 |
<ul dir="auto">
<li>Electron version: 1.4.15</li>
<li>Operating system: Elementary OS (Ubuntu)</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">NativeImage object copied on clipboard.</p>
<h3 dir="auto">Actual behavior</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="remote.js:217 Uncaught Error: Could not call remote function ''. Check that the function signature is correct. Underlying error: Error processing argument at index 0, conversion failure from #<Object>
Error: Could not call remote function ''. Check that the function signature is correct. Underlying error: Error processing argument at index 0, conversion failure from #<Object>
at callFunction (/home/mike/dev/onion-packer/node_modules/electron/dist/resources/electron.asar/browser/rpc-server.js:235:11)
at EventEmitter.<anonymous> (/home/mike/dev/onion-packer/node_modules/electron/dist/resources/electron.asar/browser/rpc-server.js:342:5)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:201:7)
at WebContents.<anonymous> (/home/mike/dev/onion-packer/node_modules/electron/dist/resources/electron.asar/browser/api/web-contents.js:231:13)
at emitTwo (events.js:106:13)
at WebContents.emit (events.js:191:7)"><pre class="notranslate"><code class="notranslate">remote.js:217 Uncaught Error: Could not call remote function ''. Check that the function signature is correct. Underlying error: Error processing argument at index 0, conversion failure from #<Object>
Error: Could not call remote function ''. Check that the function signature is correct. Underlying error: Error processing argument at index 0, conversion failure from #<Object>
at callFunction (/home/mike/dev/onion-packer/node_modules/electron/dist/resources/electron.asar/browser/rpc-server.js:235:11)
at EventEmitter.<anonymous> (/home/mike/dev/onion-packer/node_modules/electron/dist/resources/electron.asar/browser/rpc-server.js:342:5)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:201:7)
at WebContents.<anonymous> (/home/mike/dev/onion-packer/node_modules/electron/dist/resources/electron.asar/browser/api/web-contents.js:231:13)
at emitTwo (events.js:106:13)
at WebContents.emit (events.js:191:7)
</code></pre></div>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">clipboard.writeImage(nativeImage.createFromPath(path));</p>
<h3 dir="auto">Further Info</h3>
<p dir="auto">I noticed that it works fine on Windows. I tried the solutions suggested in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="193887182" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/8151" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/8151/hovercard" href="https://github.com/electron/electron/issues/8151">#8151</a> without success.</p> | <ul dir="auto">
<li>Electron version: 1.4.10</li>
<li>Operating system: MacOS</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">Captured image from webview is copied into clipboard</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">Crashes with error message</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught TypeError: Error processing argument at index 0, conversion failure from [object Object]"><pre class="notranslate"><code class="notranslate">Uncaught TypeError: Error processing argument at index 0, conversion failure from [object Object]
</code></pre></div>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">I am capturing a region of a webview object and then saving as an image (works pretty ok, although sometimes the image is empty), then I am trying to copy the NativeImage into clipboard, but it crashes</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="webview.capturePage(rect, image => {
const quality = 90
const filename = 'image.jpg'
const fullPath = path.join(__dirname, filename)
fs.writeFile(fullPath, image.toJPEG(quality), (err) => {
// TODO: retry save if the image is 0 size
clipboard.writeImage(image)
})
})"><pre class="notranslate"><span class="pl-s1">webview</span><span class="pl-kos">.</span><span class="pl-en">capturePage</span><span class="pl-kos">(</span><span class="pl-s1">rect</span><span class="pl-kos">,</span> <span class="pl-s1">image</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">quality</span> <span class="pl-c1">=</span> <span class="pl-c1">90</span>
<span class="pl-k">const</span> <span class="pl-s1">filename</span> <span class="pl-c1">=</span> <span class="pl-s">'image.jpg'</span>
<span class="pl-k">const</span> <span class="pl-s1">fullPath</span> <span class="pl-c1">=</span> <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">__dirname</span><span class="pl-kos">,</span> <span class="pl-s1">filename</span><span class="pl-kos">)</span>
<span class="pl-s1">fs</span><span class="pl-kos">.</span><span class="pl-en">writeFile</span><span class="pl-kos">(</span><span class="pl-s1">fullPath</span><span class="pl-kos">,</span> <span class="pl-s1">image</span><span class="pl-kos">.</span><span class="pl-en">toJPEG</span><span class="pl-kos">(</span><span class="pl-s1">quality</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">err</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-c">// TODO: retry save if the image is 0 size</span>
<span class="pl-s1">clipboard</span><span class="pl-kos">.</span><span class="pl-en">writeImage</span><span class="pl-kos">(</span><span class="pl-s1">image</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">I can see the image on the disk, but the clipboard has never received it, always crashing</p> | 1 |
<p dir="auto">May be in v4 created polymer component<br>
<a href="http://www.polymer-project.org/" rel="nofollow">http://www.polymer-project.org/</a></p> | <p dir="auto">Hi,<br>
right now Bootstrap css is not applied to the Polymer custom elements because they are inside a Shadow DOM (<a href="akserg/angular.dart.ui#38">see here</a>).</p>
<p dir="auto">Previously there was the <code class="notranslate">applyAuthorStyles</code> property to set but since they have removed it (<a href="Polymer/polymer#425">see here</a>) there are only some workarounds to solve the problem (<a href="https://groups.google.com/a/dartlang.org/forum/#!topic/web/8bjmkiRFhDk" rel="nofollow">here</a>).</p>
<p dir="auto">It is possible to adapt the bootstrap code to support the Shadow DOM as described <a href="http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom-201/" rel="nofollow">here</a>?</p> | 1 |
<p dir="auto">The UK keyboard has this <code class="notranslate">§</code> key right under the <code class="notranslate">esc</code> key. Would be great to be able to use it for shortcut commands.</p>
<p dir="auto">Does it make sense?</p>
<p dir="auto">BTW: It's shifted value is <code class="notranslate">±</code>.</p> | <p dir="auto">Hi,</p>
<p dir="auto">Just looking at the available keycodes for <a href="https://github.com/electron/electron/blob/master/docs/api/accelerator.md">Electron Accelerator</a> and I could really use <code class="notranslate">§</code> (grave accent - 192) key support for something personal.</p>
<p dir="auto">Would this be possible?</p> | 1 |
<p dir="auto">Hi,</p>
<p dir="auto">PropertyPath doesn't read or write object's properties that are handle with a <code class="notranslate">__call</code> method.</p>
<p dir="auto">Propel has a delegation behavior, that delegate setter/getter with <code class="notranslate">__call</code>,</p>
<p dir="auto">@bschussek , <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fabpot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/fabpot">@fabpot</a> what do you think about that ?</p>
<p dir="auto">I can provide a PR.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/willdurand/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/willdurand">@willdurand</a></p> | <p dir="auto"><strong>Symfony version(s) affected</strong>: 4.x.x</p>
<p dir="auto"><strong>Description</strong><br>
The developer is not able to use the Symfony PHPUnit bridge and PHPUnit functions using Behat.</p>
<p dir="auto"><strong>How to reproduce</strong><br>
If I'm using PHPUnit to test my services and other methods belongs to my project and moreover, I'm using Behat for testing my endpoints the PHPUnit functions are not available to be used into Behat context clasess.</p>
<p dir="auto">Moreover, if I try to install PHPUnit to have those function available Symfony throw me an error:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge.
* Instead:
1. Remove it now: composer remove --dev phpunit/phpunit
2. Use Symfony's bridge: composer require --dev phpunit"><pre class="notranslate"> Adding phpunit/phpunit as a dependency is discouraged <span class="pl-k">in</span> favor of Symfony<span class="pl-s"><span class="pl-pds">'</span>s PHPUnit Bridge. </span>
<span class="pl-s"> </span>
<span class="pl-s"> * Instead:</span>
<span class="pl-s"> 1. Remove it now: composer remove --dev phpunit/phpunit</span>
<span class="pl-s"> 2. Use Symfony<span class="pl-pds">'</span></span>s bridge: composer require --dev phpunit</pre></div> | 0 |
<blockquote>
<p dir="auto">[ 20%] Built target opencv_test_optflow_pch_dephelp<br>
[ 20%] Generating precomp.hpp<br>
[ 20%] Generating precomp.hpp.gch/opencv_highgui_RELEASE.gch<br>
[ 20%] Linking CXX static library ../../lib/libopencv_stitching_pch_dephelp.a<br>
[ 20%] Built target opencv_stitching_pch_dephelp<br>
[ 20%] Generating precomp.hpp<br>
[ 20%] Generating precomp.hpp.gch/opencv_core_RELEASE.gch<br>
In file included from /usr/include/c++/6/bits/stl_algo.h:59:0,<br>
from /usr/include/c++/6/algorithm:62,<br>
from /home/pi/opencv-3.1.0/modules/core/include/opencv2/core/base.hpp:53,<br>
from /home/pi/opencv-3.1.0/modules/core/include/opencv2/core.hpp:54,<br>
from /home/pi/opencv-3.1.0/modules/core/include/opencv2/core/utility.hpp:52,<br>
from /home/pi/opencv-3.1.0/build/modules/core/precomp.hpp:49:<br>
/usr/include/c++/6/cstdlib:75:25: fatal error: stdlib.h: No such file or directory<br>
#include_next <stdlib.h><br>
^<br>
compilation terminated.<br>
modules/core/CMakeFiles/pch_Generate_opencv_core.dir/build.make:62: recipe for target 'modules/core/precomp.hpp.gch/opencv_core_RELEASE.gch' failed<br>
make[2]: *** [modules/core/precomp.hpp.gch/opencv_core_RELEASE.gch] Error 1<br>
CMakeFiles/Makefile2:2014: recipe for target 'modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all' failed<br>
make[1]: *** [modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all] Error 2<br>
make[1]: *** Waiting for unfinished jobs....<br>
[ 20%] Linking CXX static library ../../lib/libopencv_test_stitching_pch_dephelp.a<br>
[ 20%] Built target opencv_test_stitching_pch_dephelp<br>
[ 20%] Linking CXX static library ../../lib/libopencv_perf_stitching_pch_dephelp.a<br>
[ 20%] Built target opencv_perf_stitching_pch_dephelp<br>
[ 20%] Built target pch_Generate_opencv_highgui<br>
Makefile:160: recipe for target 'all' failed<br>
make: *** [all] Error 2</p>
</blockquote>
<p dir="auto">Has you can see i hav a trouble with trying to compile.</p>
<p dir="auto">Someone can help me?</p>
<p dir="auto">thanks to anyone can give me a way to compil all <g-emoji class="g-emoji" alias="woman_dancing" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f483.png">💃</g-emoji></p> | <p dir="auto">I get the next error compiling Opencv v2.4.12 in Arch linux <a href="https://aur.archlinux.org/packages/opencv2/" rel="nofollow">https://aur.archlinux.org/packages/opencv2/</a>:</p>
<hr>
<p dir="auto">[ 0%] Built target opencv_core_pch_dephelp<br>
[ 0%] Generating precomp.hpp.gch/opencv_core_Release.gch<br>
cc1plus: aviso: la opción de línea de órdenes ‘-Wmissing-prototypes’ es válida para C/ObjC pero no para C++<br>
cc1plus: aviso: la opción de línea de órdenes ‘-Wstrict-prototypes’ es válida para C/ObjC pero no para C++<br>
In file included from /usr/include/c++/6.1.1/bits/stl_algo.h:59:0,<br>
from /usr/include/c++/6.1.1/algorithm:62,<br>
from /tmp/packerbuild-1001/opencv2/opencv2/src/opencv-2.4.12.3/modules/core/include/opencv2/core/core.hpp:53,<br>
<strong>from /tmp/packerbuild-1001/opencv2/opencv2/src/opencv-2.4.12.3/modules/core/precomp.hpp:48:<br>
/usr/include/c++/6.1.1/cstdlib:75:25: error fatal: stdlib.h: No existe el fichero o el directorio</strong></p>
<h1 dir="auto">include_next <stdlib.h></h1>
<p dir="auto">^<br>
compilación terminada.<br>
modules/core/CMakeFiles/pch_Generate_opencv_core.dir/build.make:62: fallo en las instrucciones para el objetivo 'modules/core/precomp.hpp.gch/opencv_core_Release.gch'<br>
make[2]: *** [modules/core/precomp.hpp.gch/opencv_core_Release.gch] Error 1<br>
CMakeFiles/Makefile2:862: fallo en las instrucciones para el objetivo 'modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all'<br>
make[1]: *** [modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all] Error 2<br>
Makefile:160: fallo en las instrucciones para el objetivo 'all'<br>
make: *** [all] Error 2</p>
<hr> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=pierreb" rel="nofollow">Pierre Bittner</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-978?redirect=false" rel="nofollow">SPR-978</a></strong>* and commented</p>
<p dir="auto">We need a configurer that resolves placeholder as application's environment entries.</p>
<p dir="auto">Our application is deployed on different environments (development, integration, production) and even in production we have the same application deployed many times.</p>
<p dir="auto">We must build different web archives just to change few properties (mail server, reporting server, etc.).</p>
<p dir="auto">In a J2EE application, such properties should be configured in application's environment entries (JNDI).</p>
<p dir="auto">I'll attached a proposal for an EnvironmentEntryPropertyPlaceholderConfigurer.</p>
<p dir="auto">See this thread for more infos:<br>
<a href="http://forum.springframework.org/viewtopic.php?t=5196" rel="nofollow">http://forum.springframework.org/viewtopic.php?t=5196</a></p>
<hr>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/10742/EnvironmentEntryPropertyPlaceholderConfigurer.java" rel="nofollow">EnvironmentEntryPropertyPlaceholderConfigurer.java</a> (<em>5.72 kB</em>)</li>
<li><a href="https://jira.spring.io/secure/attachment/10743/EnvironmentEntryPropertyPlaceholderConfigurerTests.java" rel="nofollow">EnvironmentEntryPropertyPlaceholderConfigurerTests.java</a> (<em>4.22 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="398074486" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7716" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7716/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7716">#7716</a> JNDI Property Placeholder Configurer (<em><strong>"duplicates"</strong></em>)</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/[email protected]" rel="nofollow">Arthur</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3030?redirect=false" rel="nofollow">SPR-3030</a></strong> and commented</p>
<p dir="auto">When creating beans such as a JNDITemplate it is often desireable to have a container supply the provider URL and other configuration options via Environment entries. I find it is generally not a great idea swap applicationContext files using a build script because it adds another layer of complexitity to the build process. Therefore I prefer having different deployment descriptors on different test/production servers with different Environment settings. The real benefit comes with the ability for certain containers to update these Environment entries during runtime such as if a provider URL becomes inaccessible. I propose a JNDI Property Placehold Configurer which will do java:comp/env/ lookups to fill in the appropriate property values.</p>
<p dir="auto">Example usage would be as follows:</p>
<p dir="auto"><bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate"><br>
<constructor-arg index="0"><br>
<props><br>
<prop key="java.naming.factory.initial">${java.naming.factory.initial}</prop><br>
<prop key="java.naming.provider.url">${java.naming.provider.url}</prop><br>
<prop key="java.naming.factory.url.pkgs">${java.naming.factory.url.pkgs}</prop><br>
</props><br>
</constructor-arg><br>
</bean><br>
I will attach a working version I have been using for several months now.</p>
<hr>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/15611/JndiAwarePropertyPlaceholderConfigurer.zip" rel="nofollow">JndiAwarePropertyPlaceholderConfigurer.zip</a> (<em>2.82 kB</em>)</li>
<li><a href="https://jira.spring.io/secure/attachment/12492/JndiPropertiesFactoryBean.java" rel="nofollow">JndiPropertiesFactoryBean.java</a> (<em>4.47 kB</em>)</li>
<li><a href="https://jira.spring.io/secure/attachment/12333/JndiPropertyPlaceholderConfigurer.java" rel="nofollow">JndiPropertyPlaceholderConfigurer.java</a> (<em>7.98 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="398057073" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/5690" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/5690/hovercard" href="https://github.com/spring-projects/spring-framework/issues/5690">#5690</a> Configurer that resolves placeholders as environment entries (<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="398110685" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12693" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12693/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12693">#12693</a> Register JndiPropertySource by default in StandardPortletEnvironment</li>
</ul>
<p dir="auto">10 votes, 6 watchers</p> | 1 |
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">I tried to reproduce <a href="https://commons.wikimedia.org/wiki/File:Discrete_Gaussians.svg" rel="nofollow">this figure</a>, but when I plotted using lines and dots, the dots are in the correct place, but the lines are slightly out of place, making things asymmetrical.</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="from scipy.special import iv
import numpy as np
def discrete_gaussian_kernel(n, t):
T = np.exp(-t) * iv(n, t)
return T
def sampled_gaussian_kernel(n, t):
G = 1/np.sqrt(2*np.pi*t) * np.exp(-n**2/(2*t))
return G
if __name__ == '__main__':
import matplotlib.pyplot as plt
plt.figure(figsize=(4, 5))
for t in (0.5, 1, 2, 4):
N = 6
n = np.arange(-N, N+1)
p = plt.plot(n, discrete_gaussian_kernel(n, t), '.-', label=t)[0]
plt.plot(n, sampled_gaussian_kernel(n, t), ':', color=p.get_color())
plt.grid(True)
plt.ylim(0, 0.7)
plt.xlim(-6, 6)
plt.legend()"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">special</span> <span class="pl-k">import</span> <span class="pl-s1">iv</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">def</span> <span class="pl-en">discrete_gaussian_kernel</span>(<span class="pl-s1">n</span>, <span class="pl-s1">t</span>):
<span class="pl-v">T</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">exp</span>(<span class="pl-c1">-</span><span class="pl-s1">t</span>) <span class="pl-c1">*</span> <span class="pl-en">iv</span>(<span class="pl-s1">n</span>, <span class="pl-s1">t</span>)
<span class="pl-k">return</span> <span class="pl-v">T</span>
<span class="pl-k">def</span> <span class="pl-en">sampled_gaussian_kernel</span>(<span class="pl-s1">n</span>, <span class="pl-s1">t</span>):
<span class="pl-v">G</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-c1">/</span><span class="pl-s1">np</span>.<span class="pl-en">sqrt</span>(<span class="pl-c1">2</span><span class="pl-c1">*</span><span class="pl-s1">np</span>.<span class="pl-s1">pi</span><span class="pl-c1">*</span><span class="pl-s1">t</span>) <span class="pl-c1">*</span> <span class="pl-s1">np</span>.<span class="pl-en">exp</span>(<span class="pl-c1">-</span><span class="pl-s1">n</span><span class="pl-c1">**</span><span class="pl-c1">2</span><span class="pl-c1">/</span>(<span class="pl-c1">2</span><span class="pl-c1">*</span><span class="pl-s1">t</span>))
<span class="pl-k">return</span> <span class="pl-v">G</span>
<span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">'__main__'</span>:
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-s1">plt</span>.<span class="pl-en">figure</span>(<span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">4</span>, <span class="pl-c1">5</span>))
<span class="pl-k">for</span> <span class="pl-s1">t</span> <span class="pl-c1">in</span> (<span class="pl-c1">0.5</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">4</span>):
<span class="pl-v">N</span> <span class="pl-c1">=</span> <span class="pl-c1">6</span>
<span class="pl-s1">n</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">-</span><span class="pl-v">N</span>, <span class="pl-v">N</span><span class="pl-c1">+</span><span class="pl-c1">1</span>)
<span class="pl-s1">p</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-s1">n</span>, <span class="pl-en">discrete_gaussian_kernel</span>(<span class="pl-s1">n</span>, <span class="pl-s1">t</span>), <span class="pl-s">'.-'</span>, <span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s1">t</span>)[<span class="pl-c1">0</span>]
<span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-s1">n</span>, <span class="pl-en">sampled_gaussian_kernel</span>(<span class="pl-s1">n</span>, <span class="pl-s1">t</span>), <span class="pl-s">':'</span>, <span class="pl-s1">color</span><span class="pl-c1">=</span><span class="pl-s1">p</span>.<span class="pl-en">get_color</span>())
<span class="pl-s1">plt</span>.<span class="pl-en">grid</span>(<span class="pl-c1">True</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">ylim</span>(<span class="pl-c1">0</span>, <span class="pl-c1">0.7</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">xlim</span>(<span class="pl-c1">-</span><span class="pl-c1">6</span>, <span class="pl-c1">6</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">legend</span>()</pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/58611/27012691-e24ea298-4ea2-11e7-8d62-a8911911a0e1.png"><img src="https://user-images.githubusercontent.com/58611/27012691-e24ea298-4ea2-11e7-8d62-a8911911a0e1.png" alt="figure_1" style="max-width: 100%;"></a></p>
<p dir="auto">The dots look offset on the legend:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/58611/27012712-6b0e3ee0-4ea3-11e7-9135-1ecda9104722.png"><img src="https://user-images.githubusercontent.com/58611/27012712-6b0e3ee0-4ea3-11e7-9135-1ecda9104722.png" alt="2017-06-11 12_41_54- figure_1 imported -1 0 rgb color 1 layer 400x496 gimp" style="max-width: 100%;"></a></p>
<p dir="auto">But I guess it's actually the lines that are offset and asymmetrical:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/58611/27012713-75830a9a-4ea3-11e7-82ef-163eb3ae09bc.png"><img src="https://user-images.githubusercontent.com/58611/27012713-75830a9a-4ea3-11e7-82ef-163eb3ae09bc.png" alt="asymmetrical" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Expected outcome</strong></p>
<p dir="auto">If I save as SVG and open in Firefox, it looks fine:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/58611/27012701-32cdc3a2-4ea3-11e7-8b1e-c7f6df26d73c.png"><img src="https://user-images.githubusercontent.com/58611/27012701-32cdc3a2-4ea3-11e7-8b1e-c7f6df26d73c.png" alt="svg in firefox" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/58611/27012724-d24ebc10-4ea3-11e7-9591-29d49fa63c38.png"><img src="https://user-images.githubusercontent.com/58611/27012724-d24ebc10-4ea3-11e7-9591-29d49fa63c38.png" alt="firefox dot" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/58611/27012725-d556215a-4ea3-11e7-82a1-c29c1b4125ee.png"><img src="https://user-images.githubusercontent.com/58611/27012725-d556215a-4ea3-11e7-82a1-c29c1b4125ee.png" alt="firefox symmetry" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Operating System: Windows 7 Pro 64-bit</li>
<li>Matplotlib Version: 2.0.2</li>
<li>Python Version: 3.6.0</li>
<li>Jupyter Version (if applicable): IPython 5.1.0</li>
</ul>
<p dir="auto">This is inside Spyder 3.1.4 installed from default Anaconda channel, with graphics backend set to "automatic":</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/58611/27012759-d87c29e6-4ea4-11e7-9f00-74f51fd41264.png"><img src="https://user-images.githubusercontent.com/58611/27012759-d87c29e6-4ea4-11e7-9f00-74f51fd41264.png" alt="2017-06-11 12_51_28-preferences" style="max-width: 100%;"></a></p> | <p dir="auto">mpl 1.5.3/2.0b4/master, no matplotlibrc</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="_xs = np.linspace(0, 30, 201); plt.plot(_xs, scipy.stats.lognorm.pdf(_xs / 14, .472) / 14, ".")"><pre class="notranslate"><code class="notranslate">_xs = np.linspace(0, 30, 201); plt.plot(_xs, scipy.stats.lognorm.pdf(_xs / 14, .472) / 14, ".")
</code></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1322974/19205573/2ae8b19c-8c98-11e6-84f8-89ecbdca82c1.png"><img src="https://cloud.githubusercontent.com/assets/1322974/19205573/2ae8b19c-8c98-11e6-84f8-89ecbdca82c1.png" alt="plot" style="max-width: 100%;"></a></p>
<p dir="auto">Note the slight inaccuracy in positioning of the markers at the positioning of the markers at the positions marked with the red circles, resulting in a "step-like" behavior (you may need to open the image in a larger viewer to notice it).</p>
<p dir="auto">The data itself does not present this behavior, as can be checked just by zooming in these regions.</p> | 1 |
<blockquote>
<p dir="auto">Issue originally made by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/slikts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/slikts">@slikts</a></p>
</blockquote>
<h3 dir="auto">Bug information</h3>
<ul dir="auto">
<li><strong>Babel version:</strong> 6.7.7</li>
</ul>
<h3 dir="auto">Input code</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Foo extends Array {}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">Foo</span> <span class="pl-k">extends</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<h3 dir="auto">Description</h3>
<p dir="auto">Context here: <a href="https://esdiscuss.org/topic/adding-a-non-class-syntax-method-for-subclassing-native-objects" rel="nofollow">https://esdiscuss.org/topic/adding-a-non-class-syntax-method-for-subclassing-native-objects</a></p>
<p dir="auto">The <code class="notranslate">Reflect.construct()</code> method allows calling the internal <code class="notranslate">[[Construct]]</code> method, which results in the constructed object inheriting the full behavior of exotic objects; Babel should use <code class="notranslate">Reflect.construct()</code> if it exists in the runtime to preserve the full semantics of the <code class="notranslate">class extends</code> syntax, which allows inheriting the exotic object behavior.</p> | <p dir="auto">Current Babel transform, when it comes to call the parent</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function _possibleConstructorReturn(self, call) {
if (!self) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return call && (typeof call === "object" || typeof call === "function") ? call : self;
}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">_possibleConstructorReturn</span><span class="pl-kos">(</span><span class="pl-s1">self</span><span class="pl-kos">,</span> <span class="pl-s1">call</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">self</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-v">ReferenceError</span><span class="pl-kos">(</span><span class="pl-s">"this hasn't been initialised - super() hasn't been called"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-s1">call</span> <span class="pl-c1">&&</span> <span class="pl-kos">(</span><span class="pl-k">typeof</span> <span class="pl-s1">call</span> <span class="pl-c1">===</span> <span class="pl-s">"object"</span> <span class="pl-c1">||</span> <span class="pl-k">typeof</span> <span class="pl-s1">call</span> <span class="pl-c1">===</span> <span class="pl-s">"function"</span><span class="pl-kos">)</span> ? <span class="pl-s1">call</span> : <span class="pl-s1">self</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">It's a way too poor implementation.</p>
<p dir="auto">If we take the current basic ES6 compat syntax:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class List extends Array {}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">List</span> <span class="pl-k">extends</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<p dir="auto">We'll realize babel does a bad job.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var l = new List();
l instanceof List; // false"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">l</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">List</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">l</span> <span class="pl-k">instanceof</span> <span class="pl-v">List</span><span class="pl-kos">;</span> <span class="pl-c">// false</span></pre></div>
<p dir="auto">The reason is simple: Babel replace the returns and exit, without caring about userland expectations.</p>
<p dir="auto">This is how above basic extend should desugar:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function List() {
return Object.setPrototypeOf(
Array.apply(this, arguments),
List.prototype
);
}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-v">List</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span>
<span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-smi">arguments</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">It's a very ad-hoc case for the initial example that currently fails, but it's good enough to understand that inheriting the prototype is the least of the problem.</p>
<p dir="auto">Indeed, we have 3 ways to do that within a transpiled code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// losing the initial prototype
// for polyfilled ES5+ or lower
List.prototype = Object.create(
Array.prototype,
{constructor: {
configurable: true,
writable: true,
value: List.prototype
}}
);
// using a cleaner way
// for ES5+ compliant targets
Object.setPrototypeOf(
List.prototype,
Array.prototype
);
// using a cleaner way
// that works well with
// partially polyfilled .setPrototypeOf
List.prototype = Object.setPrototypeOf(
List.prototype,
Array.prototype
);"><pre class="notranslate"><span class="pl-c">// losing the initial prototype</span>
<span class="pl-c">// for polyfilled ES5+ or lower</span>
<span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">create</span><span class="pl-kos">(</span>
<span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span><span class="pl-c1">constructor</span>: <span class="pl-kos">{</span>
<span class="pl-c1">configurable</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">writable</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">value</span>: <span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span>
<span class="pl-kos">}</span><span class="pl-kos">}</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// using a cleaner way</span>
<span class="pl-c">// for ES5+ compliant targets</span>
<span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span>
<span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span>
<span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// using a cleaner way</span>
<span class="pl-c">// that works well with</span>
<span class="pl-c">// partially polyfilled .setPrototypeOf</span>
<span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span>
<span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span>
<span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Solved the inheritance bit, considering Babel also set the prototype of each constructor,<br>
we need to address cases where a <code class="notranslate">super</code> call might "<em>upgrade</em>" the current context, like it is for <code class="notranslate">HTMLELement</code> or exotic native objects.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// native ES6 static example
class List extends Array {
constructor(a, b, c) {
super(a, b);
this.push(c);
}
}"><pre class="notranslate"><span class="pl-c">// native ES6 static example</span>
<span class="pl-k">class</span> <span class="pl-v">List</span> <span class="pl-k">extends</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span>
<span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">,</span> <span class="pl-s1">c</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">c</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">Above case should desugar to something like the follwoing:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function List(a, b, c) {
// the super bit
var self = Object.setPrototypeOf(
Array.call(this, a, b),
List.prototype
);
// the rest with swapped context
self.push(c);
// at the end
return self;
}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-v">List</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">,</span> <span class="pl-s1">c</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// the super bit</span>
<span class="pl-k">var</span> <span class="pl-s1">self</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span>
<span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// the rest with swapped context</span>
<span class="pl-s1">self</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// at the end</span>
<span class="pl-k">return</span> <span class="pl-s1">self</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">which is also ad-hoc example code for the previous example.</p>
<p dir="auto">Considering a transpiler will get the arguments part easily right, this is how previous case could be generically transpiled for arguments used in both constructors:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// to make it as generic as possible
function Child() {
// the super call bit desugar to ...
var
instance = Object.getPrototypeOf(Child)
.apply(this, arguments),
type = instance ? typeof instance : '',
// if Parent overwrote its default return
self = (type === 'object' || type === 'function') ?
// upgrade the instance to reflect Child constructor
Object.setPrototypeOf(instance, Child.prototype) :
// otherwise use the current context as is
this
;
// at this point, the rest of the constructor
// should use `self` instead of `this`
self.push(c);
// and return `self` reference at the end
return self;
}"><pre class="notranslate"><span class="pl-c">// to make it as generic as possible</span>
<span class="pl-k">function</span> <span class="pl-v">Child</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// the super call bit desugar to ...</span>
<span class="pl-k">var</span>
<span class="pl-s1">instance</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">getPrototypeOf</span><span class="pl-kos">(</span><span class="pl-v">Child</span><span class="pl-kos">)</span>
<span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-smi">arguments</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-s1">type</span> <span class="pl-c1">=</span> <span class="pl-s1">instance</span> ? <span class="pl-k">typeof</span> <span class="pl-s1">instance</span> : <span class="pl-s">''</span><span class="pl-kos">,</span>
<span class="pl-c">// if Parent overwrote its default return</span>
<span class="pl-s1">self</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">type</span> <span class="pl-c1">===</span> <span class="pl-s">'object'</span> <span class="pl-c1">||</span> <span class="pl-s1">type</span> <span class="pl-c1">===</span> <span class="pl-s">'function'</span><span class="pl-kos">)</span> ?
<span class="pl-c">// upgrade the instance to reflect Child constructor</span>
<span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span><span class="pl-s1">instance</span><span class="pl-kos">,</span> <span class="pl-v">Child</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">)</span> :
<span class="pl-c">// otherwise use the current context as is</span>
<span class="pl-smi">this</span>
<span class="pl-kos">;</span>
<span class="pl-c">// at this point, the rest of the constructor</span>
<span class="pl-c">// should use `self` instead of `this`</span>
<span class="pl-s1">self</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// and return `self` reference at the end</span>
<span class="pl-k">return</span> <span class="pl-s1">self</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">The last problem is that modern syntax would use <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect" rel="nofollow">Reflect</a> to create any sort of object, instead of old, ES3 friendly, <code class="notranslate">.call</code> or <code class="notranslate">.apply</code> way.</p>
<p dir="auto">Following a past, present, and even future proof approach:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var
reConstruct = typeof Reflect === 'object' ?
Reflect.construct :
function (Parent, args, Child) {
return Parent.apply(this, args);
}
;
function Child() {
// the super call bit
var
instance = reConstruct.call(
this,
Object.getPrototypeOf(Child),
arguments,
Child
),
type = instance ? typeof instance : '',
self = (type === 'object' || type === 'function') ?
Object.setPrototypeOf(instance, Child.prototype) :
this
;
// the rest of the constructor body
self.push(c);
// at the end or instead of empty returns
return self;
}"><pre class="notranslate"><span class="pl-k">var</span>
<span class="pl-s1">reConstruct</span> <span class="pl-c1">=</span> <span class="pl-k">typeof</span> <span class="pl-v">Reflect</span> <span class="pl-c1">===</span> <span class="pl-s">'object'</span> ?
<span class="pl-v">Reflect</span><span class="pl-kos">.</span><span class="pl-c1">construct</span> :
<span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-v">Parent</span><span class="pl-kos">,</span> <span class="pl-s1">args</span><span class="pl-kos">,</span> <span class="pl-v">Child</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-v">Parent</span><span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-smi">this</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>
<span class="pl-k">function</span> <span class="pl-v">Child</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// the super call bit</span>
<span class="pl-k">var</span>
<span class="pl-s1">instance</span> <span class="pl-c1">=</span> <span class="pl-s1">reConstruct</span><span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span>
<span class="pl-smi">this</span><span class="pl-kos">,</span>
<span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">getPrototypeOf</span><span class="pl-kos">(</span><span class="pl-v">Child</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">arguments</span><span class="pl-kos">,</span>
<span class="pl-v">Child</span>
<span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-s1">type</span> <span class="pl-c1">=</span> <span class="pl-s1">instance</span> ? <span class="pl-k">typeof</span> <span class="pl-s1">instance</span> : <span class="pl-s">''</span><span class="pl-kos">,</span>
<span class="pl-s1">self</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">type</span> <span class="pl-c1">===</span> <span class="pl-s">'object'</span> <span class="pl-c1">||</span> <span class="pl-s1">type</span> <span class="pl-c1">===</span> <span class="pl-s">'function'</span><span class="pl-kos">)</span> ?
<span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span><span class="pl-s1">instance</span><span class="pl-kos">,</span> <span class="pl-v">Child</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">)</span> :
<span class="pl-smi">this</span>
<span class="pl-kos">;</span>
<span class="pl-c">// the rest of the constructor body</span>
<span class="pl-s1">self</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// at the end or instead of empty returns</span>
<span class="pl-k">return</span> <span class="pl-s1">self</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Above solution would work with userland, exotic, or DOM constructors, and in both native and transpiled engines.</p> | 1 |
<p dir="auto">For example without even having to analyze user Javascript classes, basic intellisense is missing:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/79215/12369394/374adca8-bbab-11e5-8537-771681f7fca6.png"><img src="https://cloud.githubusercontent.com/assets/79215/12369394/374adca8-bbab-11e5-8537-771681f7fca6.png" alt="screen shot 2016-01-15 at 5 11 58 pm" style="max-width: 100%;"></a></p>
<p dir="auto">I type <code class="notranslate">test.</code>, nothing happens so I type <code class="notranslate">Ctrl-Space</code> and after 1-2 seconds(!) an empty menu comes up.</p>
<p dir="auto">Function arguments aren't suggested:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/79215/12369402/60b84a76-bbab-11e5-8993-1363213ebd4c.png"><img src="https://cloud.githubusercontent.com/assets/79215/12369402/60b84a76-bbab-11e5-8993-1363213ebd4c.png" alt="screen shot 2016-01-15 at 5 13 46 pm" style="max-width: 100%;"></a></p>
<p dir="auto">My <code class="notranslate">jsconfig.json</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"compilerOptions": {
"target": "ES6",
"module": "commonjs"
},
"exclude": [
"node_modules"
]
}"><pre class="notranslate"><code class="notranslate">{
"compilerOptions": {
"target": "ES6",
"module": "commonjs"
},
"exclude": [
"node_modules"
]
}
</code></pre></div> | <p dir="auto">See GIF again:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/79215/12369339/64c18c28-bbaa-11e5-85ef-a1ba5dd59be8.gif"><img src="https://cloud.githubusercontent.com/assets/79215/12369339/64c18c28-bbaa-11e5-85ef-a1ba5dd59be8.gif" alt="vs-code-why" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">Literally none of the editor features work.</p>
<p dir="auto">My <code class="notranslate">jsconfig.json</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"compilerOptions": {
"target": "ES6",
"module": "commonjs"
},
"exclude": [
"node_modules"
]
}"><pre class="notranslate"><code class="notranslate">{
"compilerOptions": {
"target": "ES6",
"module": "commonjs"
},
"exclude": [
"node_modules"
]
}
</code></pre></div> | 1 |
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="df = pd.DataFrame({'First': ['A', 'A', 'A', 'B', 'B'], 'Last': ['C', 'D', 'E', 'E', 'F'], 'C':[1, 1, 2, 1, 1]})
df.set_index(['Last','First'], inplace=True)
# rename1
df.rename(index={('C','A'):('C','NEWFIRST')})
# rename2
df.rename(index={('C','A'):('NEWLAST','A')})"><pre class="notranslate"><span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'First'</span>: [<span class="pl-s">'A'</span>, <span class="pl-s">'A'</span>, <span class="pl-s">'A'</span>, <span class="pl-s">'B'</span>, <span class="pl-s">'B'</span>], <span class="pl-s">'Last'</span>: [<span class="pl-s">'C'</span>, <span class="pl-s">'D'</span>, <span class="pl-s">'E'</span>, <span class="pl-s">'E'</span>, <span class="pl-s">'F'</span>], <span class="pl-s">'C'</span>:[<span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>]})
<span class="pl-s1">df</span>.<span class="pl-en">set_index</span>([<span class="pl-s">'Last'</span>,<span class="pl-s">'First'</span>], <span class="pl-s1">inplace</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-c"># rename1</span>
<span class="pl-s1">df</span>.<span class="pl-en">rename</span>(<span class="pl-s1">index</span><span class="pl-c1">=</span>{(<span class="pl-s">'C'</span>,<span class="pl-s">'A'</span>):(<span class="pl-s">'C'</span>,<span class="pl-s">'NEWFIRST'</span>)})
<span class="pl-c"># rename2</span>
<span class="pl-s1">df</span>.<span class="pl-en">rename</span>(<span class="pl-s1">index</span><span class="pl-c1">=</span>{(<span class="pl-s">'C'</span>,<span class="pl-s">'A'</span>):(<span class="pl-s">'NEWLAST'</span>,<span class="pl-s">'A'</span>)})</pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">Renaming Muiltiindex values does nothing, not even raise an Exception.</p>
<h4 dir="auto">Expected Output</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rename1 = pd.DataFrame({'First': ['NEWFIRST', 'A', 'A', 'B', 'B'], 'Last': ['C', 'D', 'E', 'E', 'F'], 'C':[1, 1, 2, 1, 1]})
rename1.set_index(['Last','First'], inplace=True)
rename2 = pd.DataFrame({'First': ['A', 'A', 'A', 'B', 'B'], 'Last': ['NEWLAST', 'D', 'E', 'E', 'F'], 'C':[1, 1, 2, 1, 1]})
rename2.set_index(['Last','First'], inplace=True)"><pre class="notranslate"><code class="notranslate">rename1 = pd.DataFrame({'First': ['NEWFIRST', 'A', 'A', 'B', 'B'], 'Last': ['C', 'D', 'E', 'E', 'F'], 'C':[1, 1, 2, 1, 1]})
rename1.set_index(['Last','First'], inplace=True)
rename2 = pd.DataFrame({'First': ['A', 'A', 'A', 'B', 'B'], 'Last': ['NEWLAST', 'D', 'E', 'E', 'F'], 'C':[1, 1, 2, 1, 1]})
rename2.set_index(['Last','First'], inplace=True)
</code></pre></div>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
```
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Linux
OS-release: 4.8.0-46-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_AU.UTF-8
LOCALE: en_AU.UTF-8
<p dir="auto">pandas: 0.19.2+0.g825876c.dirty<br>
nose: 1.3.7<br>
pip: 9.0.1<br>
setuptools: 27.2.0<br>
Cython: 0.25.2<br>
numpy: 1.11.2<br>
scipy: 0.18.1<br>
statsmodels: 0.6.1<br>
xarray: None<br>
IPython: 5.1.0<br>
sphinx: 1.5.1<br>
patsy: 0.4.1<br>
dateutil: 2.6.0<br>
pytz: 2016.10<br>
blosc: None<br>
bottleneck: 1.1.0<br>
tables: 3.3.0<br>
numexpr: 2.6.1<br>
matplotlib: 1.5.3<br>
openpyxl: 2.4.0<br>
xlrd: 1.0.0<br>
xlwt: 1.1.2<br>
xlsxwriter: 0.9.6<br>
lxml: None<br>
bs4: 4.5.1<br>
html5lib: None<br>
httplib2: None<br>
apiclient: None<br>
sqlalchemy: 1.1.4<br>
pymysql: None<br>
psycopg2: 2.6.2 (dt dec pq3 ext lo64)<br>
jinja2: 2.8<br>
boto: 2.45.0<br>
pandas_datareader: None</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="</details>"><pre class="notranslate"><code class="notranslate"></details>
</code></pre></div></details> | <p dir="auto">There appears to be an issue with Excel writers when DataFrame column names are duplicated. This issue that was initially reported on <a href="http://stackoverflow.com/questions/19363779/problems-writing-to-file-in-pandas" rel="nofollow">StackOverflow</a>.</p>
<p dir="auto">For example consider the following program:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas as pd
from pandas import DataFrame
df = DataFrame([[1, 2, 3], [1, 2, 3], [1, 2, 3]])
df.columns = ['A', 'B', 'B'] # !!!
df.to_csv('output.csv')
df.to_excel('output.xlsx')
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-k">from</span> <span class="pl-s1">pandas</span> <span class="pl-k">import</span> <span class="pl-v">DataFrame</span>
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-v">DataFrame</span>([[<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>], [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>], [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>]])
<span class="pl-s1">df</span>.<span class="pl-s1">columns</span> <span class="pl-c1">=</span> [<span class="pl-s">'A'</span>, <span class="pl-s">'B'</span>, <span class="pl-s">'B'</span>] <span class="pl-c"># !!!</span>
<span class="pl-s1">df</span>.<span class="pl-en">to_csv</span>(<span class="pl-s">'output.csv'</span>)
<span class="pl-s1">df</span>.<span class="pl-en">to_excel</span>(<span class="pl-s">'output.xlsx'</span>)</pre></div>
<p dir="auto">Note the duplicated column name. The <code class="notranslate">df</code> for this looks like this:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> df
A B B
0 1 2 3
1 1 2 3
2 1 2 3"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">df</span>
<span class="pl-v">A</span> <span class="pl-v">B</span> <span class="pl-v">B</span>
<span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">3</span>
<span class="pl-c1">1</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">3</span>
<span class="pl-c1">2</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">3</span></pre></div>
<p dir="auto">The corresponding output of the CSV is as expected:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cat output.csv
,A,B,B
0,1,2,3
1,1,2,3
2,1,2,3"><pre class="notranslate"><code class="notranslate">$ cat output.csv
,A,B,B
0,1,2,3
1,1,2,3
2,1,2,3
</code></pre></div>
<p dir="auto">However, the output of the any of the Excel writers is incorrect:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/049e43e77c0a2068e6d0715599e969de9e89f695ffcaed63477891aaaabe37ad/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f39343236372f313333383334372f62343238303361322d333565352d313165332d393132652d3439323364333338326633642e706e67"><img src="https://camo.githubusercontent.com/049e43e77c0a2068e6d0715599e969de9e89f695ffcaed63477891aaaabe37ad/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f39343236372f313333383334372f62343238303361322d333565352d313165332d393132652d3439323364333338326633642e706e67" alt="screenshot" data-canonical-src="https://f.cloud.github.com/assets/94267/1338347/b42803a2-35e5-11e3-912e-4923d3382f3d.png" style="max-width: 100%;"></a></p>
<p dir="auto">The issue appears to be in <code class="notranslate">pandas/core/format.py</code>. The output data is gathered based on column names, as shown below, which causes issues with duplicate names.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" def _format_regular_rows(self):
...
for colidx, colname in enumerate(self.columns):
series = self.df[colname]
... "><pre class="notranslate"> <span class="pl-k">def</span> <span class="pl-en">_format_regular_rows</span>(<span class="pl-s1">self</span>):
...
<span class="pl-k">for</span> <span class="pl-s1">colidx</span>, <span class="pl-s1">colname</span> <span class="pl-c1">in</span> <span class="pl-en">enumerate</span>(<span class="pl-s1">self</span>.<span class="pl-s1">columns</span>):
<span class="pl-s1">series</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">df</span>[<span class="pl-s1">colname</span>]
... </pre></div>
<p dir="auto">I initially thought that this might be the correct behaviour and that column names shouldn't be duplicated but given that the output is different to the csv writer it looks like a bug.</p>
<p dir="auto">I'll write a test case but I'm not sure of the best way to fix the issue.</p> | 0 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18363.836]
PowerToys version: Release v0.18.1
PowerToy module for which you are reporting the bug (if applicable): FancyZones
GeForce 1070 with driver Nvidia 445.87 (German)"><pre class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18363.836]
PowerToys version: Release v0.18.1
PowerToy module for which you are reporting the bug (if applicable): FancyZones
GeForce 1070 with driver Nvidia 445.87 (German)
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Setup FancyZones (I have a multi-monitor-setup with three monitors of different resolutions each).<br>
Leave your PC and wait for your Screens to go into sleep mode.<br>
Reactivate the system.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">The drop zones remain transparent and you can see the background through them when moving windows with pressed [Shift].</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The tiles representing the zones where you can drop windows into loose their transparency. In rare cases even the whole background is set to black.</p>
<h1 dir="auto">Screenshots</h1>
<p dir="auto">Example Video<br>
<a href="https://github.com/microsoft/PowerToys/files/4672090/2020-05-23.18-08-20.zip">2020-05-23 18-08-20.zip</a></p> | <h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide a description of the new feature</h2>
<p dir="auto"><em>Your media controls will always be visible in the Action Center OR in the Volume panel</em></p>
<p dir="auto">Its a huge issue if you don't have hardware buttons because the only on-screen windows controls show when you change volume with hardware buttons.. I don't have quick play pause buttons and always have my music apps put on my furthest virtual desktop for productivity reasons. It would be great to have a bit of consistent design and put it into the volume panel or action center like how brightness got moved. This would promote using the action center too.</p>
<p dir="auto">I'd like a minimum of play/pause but loading the album art <em>ONLY IF AVAILABLE</em> would be great! Song name/album name/song duration/etc would be a great bonus too but the main functionality would be the buttons.</p>
<hr>
<p dir="auto">If you'd like to see this feature implemented, add a <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji> reaction to this post.</p> | 0 |
<p dir="auto">I'm largely adding this as an additional test to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="135070289" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/14426" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/14426/hovercard" href="https://github.com/golang/go/issues/14426">#14426</a>.</p>
<p dir="auto"><a href="https://github.com/stephenwithav/ffmpeg/blob/develop/ffmpeg_test.go#L14">TestEncoderUsage</a> fails with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="go test -v
=== RUN TestEncoderUsage
2016/02/21 14:57:22 Encoder dimensions: 640, 480
--- FAIL: TestEncoderUsage (0.00s)
panic: runtime error: cgo argument has Go pointer to Go pointer [recovered]
panic: runtime error: cgo argument has Go pointer to Go pointer
goroutine 5 [running]:
panic(0x57b820, 0xc8200106d0)
/usr/local/go/src/runtime/panic.go:464 +0x3e6
testing.tRunner.func1(0xc8200a0000)
/usr/local/go/src/testing/testing.go:467 +0x192
panic(0x57b820, 0xc8200106d0)
/usr/local/go/src/runtime/panic.go:426 +0x4e9
github.com/stephenwithav/ffmpeg.(*Encoder).WriteFrame(0xc820070300, 0x7fa104dd7688, 0xc820014640, 0x0, 0x0)
/home/steven/repos/gopath/src/github.com/stephenwithav/ffmpeg/ffmpeg.go:143 +0x465
github.com/stephenwithav/ffmpeg.TestEncoderUsage(0xc8200a0000)
/home/steven/repos/gopath/src/github.com/stephenwithav/ffmpeg/ffmpeg_test.go:35 +0x83f
testing.tRunner(0xc8200a0000, 0x885260)
/usr/local/go/src/testing/testing.go:473 +0x98
created by testing.RunTests
/usr/local/go/src/testing/testing.go:582 +0x892
exit status 2
FAIL github.com/stephenwithav/ffmpeg 0.052s "><pre class="notranslate"><code class="notranslate">go test -v
=== RUN TestEncoderUsage
2016/02/21 14:57:22 Encoder dimensions: 640, 480
--- FAIL: TestEncoderUsage (0.00s)
panic: runtime error: cgo argument has Go pointer to Go pointer [recovered]
panic: runtime error: cgo argument has Go pointer to Go pointer
goroutine 5 [running]:
panic(0x57b820, 0xc8200106d0)
/usr/local/go/src/runtime/panic.go:464 +0x3e6
testing.tRunner.func1(0xc8200a0000)
/usr/local/go/src/testing/testing.go:467 +0x192
panic(0x57b820, 0xc8200106d0)
/usr/local/go/src/runtime/panic.go:426 +0x4e9
github.com/stephenwithav/ffmpeg.(*Encoder).WriteFrame(0xc820070300, 0x7fa104dd7688, 0xc820014640, 0x0, 0x0)
/home/steven/repos/gopath/src/github.com/stephenwithav/ffmpeg/ffmpeg.go:143 +0x465
github.com/stephenwithav/ffmpeg.TestEncoderUsage(0xc8200a0000)
/home/steven/repos/gopath/src/github.com/stephenwithav/ffmpeg/ffmpeg_test.go:35 +0x83f
testing.tRunner(0xc8200a0000, 0x885260)
/usr/local/go/src/testing/testing.go:473 +0x98
created by testing.RunTests
/usr/local/go/src/testing/testing.go:582 +0x892
exit status 2
FAIL github.com/stephenwithav/ffmpeg 0.052s
</code></pre></div>
<p dir="auto">The offending code on line <a href="https://github.com/stephenwithav/ffmpeg/blob/develop/ffmpeg.go#L143">143</a>:</p>
<div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" // Perform scaling from input type to output type
C.sws_scale(e._swscontext, &input_data[0], &input_linesize[0],
0, e._context.height,
&e._frame.data[0], &e._frame.linesize[0])"><pre class="notranslate"> <span class="pl-c">// Perform scaling from input type to output type</span>
<span class="pl-s1">C</span>.<span class="pl-en">sws_scale</span>(<span class="pl-s1">e</span>.<span class="pl-c1">_swscontext</span>, <span class="pl-c1">&</span><span class="pl-s1">input_data</span>[<span class="pl-c1">0</span>], <span class="pl-c1">&</span><span class="pl-s1">input_linesize</span>[<span class="pl-c1">0</span>],
<span class="pl-c1">0</span>, <span class="pl-s1">e</span>.<span class="pl-c1">_context</span>.<span class="pl-c1">height</span>,
<span class="pl-c1">&</span><span class="pl-s1">e</span>.<span class="pl-c1">_frame</span>.<span class="pl-c1">data</span>[<span class="pl-c1">0</span>], <span class="pl-c1">&</span><span class="pl-s1">e</span>.<span class="pl-c1">_frame</span>.<span class="pl-c1">linesize</span>[<span class="pl-c1">0</span>])</pre></div>
<p dir="auto">Any help would be appreciated.</p> | <p dir="auto">I'm largely adding this as an additional test to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="135070289" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/14426" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/14426/hovercard" href="https://github.com/golang/go/issues/14426">#14426</a>.</p>
<p dir="auto"><a href="https://github.com/stephenwithav/ffmpeg/blob/develop/ffmpeg_test.go#L14">TestEncoderUsage</a> fails with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="go test -v
=== RUN TestEncoderUsage
2016/02/21 14:57:22 Encoder dimensions: 640, 480
--- FAIL: TestEncoderUsage (0.00s)
panic: runtime error: cgo argument has Go pointer to Go pointer [recovered]
panic: runtime error: cgo argument has Go pointer to Go pointer
goroutine 5 [running]:
panic(0x57b820, 0xc8200106d0)
/usr/local/go/src/runtime/panic.go:464 +0x3e6
testing.tRunner.func1(0xc8200a0000)
/usr/local/go/src/testing/testing.go:467 +0x192
panic(0x57b820, 0xc8200106d0)
/usr/local/go/src/runtime/panic.go:426 +0x4e9
github.com/stephenwithav/ffmpeg.(*Encoder).WriteFrame(0xc820070300, 0x7fa104dd7688, 0xc820014640, 0x0, 0x0)
/home/steven/repos/gopath/src/github.com/stephenwithav/ffmpeg/ffmpeg.go:143 +0x465
github.com/stephenwithav/ffmpeg.TestEncoderUsage(0xc8200a0000)
/home/steven/repos/gopath/src/github.com/stephenwithav/ffmpeg/ffmpeg_test.go:35 +0x83f
testing.tRunner(0xc8200a0000, 0x885260)
/usr/local/go/src/testing/testing.go:473 +0x98
created by testing.RunTests
/usr/local/go/src/testing/testing.go:582 +0x892
exit status 2
FAIL github.com/stephenwithav/ffmpeg 0.052s "><pre class="notranslate"><code class="notranslate">go test -v
=== RUN TestEncoderUsage
2016/02/21 14:57:22 Encoder dimensions: 640, 480
--- FAIL: TestEncoderUsage (0.00s)
panic: runtime error: cgo argument has Go pointer to Go pointer [recovered]
panic: runtime error: cgo argument has Go pointer to Go pointer
goroutine 5 [running]:
panic(0x57b820, 0xc8200106d0)
/usr/local/go/src/runtime/panic.go:464 +0x3e6
testing.tRunner.func1(0xc8200a0000)
/usr/local/go/src/testing/testing.go:467 +0x192
panic(0x57b820, 0xc8200106d0)
/usr/local/go/src/runtime/panic.go:426 +0x4e9
github.com/stephenwithav/ffmpeg.(*Encoder).WriteFrame(0xc820070300, 0x7fa104dd7688, 0xc820014640, 0x0, 0x0)
/home/steven/repos/gopath/src/github.com/stephenwithav/ffmpeg/ffmpeg.go:143 +0x465
github.com/stephenwithav/ffmpeg.TestEncoderUsage(0xc8200a0000)
/home/steven/repos/gopath/src/github.com/stephenwithav/ffmpeg/ffmpeg_test.go:35 +0x83f
testing.tRunner(0xc8200a0000, 0x885260)
/usr/local/go/src/testing/testing.go:473 +0x98
created by testing.RunTests
/usr/local/go/src/testing/testing.go:582 +0x892
exit status 2
FAIL github.com/stephenwithav/ffmpeg 0.052s
</code></pre></div>
<p dir="auto">The offending code on line <a href="https://github.com/stephenwithav/ffmpeg/blob/develop/ffmpeg.go#L143">143</a>:</p>
<div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" // Perform scaling from input type to output type
C.sws_scale(e._swscontext, &input_data[0], &input_linesize[0],
0, e._context.height,
&e._frame.data[0], &e._frame.linesize[0])"><pre class="notranslate"> <span class="pl-c">// Perform scaling from input type to output type</span>
<span class="pl-s1">C</span>.<span class="pl-en">sws_scale</span>(<span class="pl-s1">e</span>.<span class="pl-c1">_swscontext</span>, <span class="pl-c1">&</span><span class="pl-s1">input_data</span>[<span class="pl-c1">0</span>], <span class="pl-c1">&</span><span class="pl-s1">input_linesize</span>[<span class="pl-c1">0</span>],
<span class="pl-c1">0</span>, <span class="pl-s1">e</span>.<span class="pl-c1">_context</span>.<span class="pl-c1">height</span>,
<span class="pl-c1">&</span><span class="pl-s1">e</span>.<span class="pl-c1">_frame</span>.<span class="pl-c1">data</span>[<span class="pl-c1">0</span>], <span class="pl-c1">&</span><span class="pl-s1">e</span>.<span class="pl-c1">_frame</span>.<span class="pl-c1">linesize</span>[<span class="pl-c1">0</span>])</pre></div>
<p dir="auto">Any help would be appreciated.</p> | 1 |
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> import warnings
>>> warnings.simplefilter('error')
>>> import pandas as pd
>>> pd.__version__
u'0.17.0rc1'
>>> df = pd.DataFrame({'A': list('aabb'), 'B': [0, 1, 0, 1], 'C': range(4)})
>>> gf = df.groupby(['A', 'B']).sum()
>>> gf
C
A B
a 0 0
1 1
b 0 2
1 3
>>> gf.unstack()
Traceback (most recent call last):
..., line 4274, in _reference_duplicate_name
return np.sum(name == np.asarray(self.names)) > 1
DeprecationWarning: elementwise == comparison failed; this will raise an error in the future."><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-k">import</span> <span class="pl-s1">warnings</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">warnings</span>.<span class="pl-en">simplefilter</span>(<span class="pl-s">'error'</span>)
<span class="pl-c1">>></span><span class="pl-c1">></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-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">pd</span>.<span class="pl-s1">__version__</span>
<span class="pl-s">u'0.17.0rc1'</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'A'</span>: <span class="pl-en">list</span>(<span class="pl-s">'aabb'</span>), <span class="pl-s">'B'</span>: [<span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">0</span>, <span class="pl-c1">1</span>], <span class="pl-s">'C'</span>: <span class="pl-en">range</span>(<span class="pl-c1">4</span>)})
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">gf</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-en">groupby</span>([<span class="pl-s">'A'</span>, <span class="pl-s">'B'</span>]).<span class="pl-en">sum</span>()
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">gf</span>
<span class="pl-v">C</span>
<span class="pl-v">A</span> <span class="pl-v">B</span>
<span class="pl-s1">a</span> <span class="pl-c1">0</span> <span class="pl-c1">0</span>
<span class="pl-c1">1</span> <span class="pl-c1">1</span>
<span class="pl-s1">b</span> <span class="pl-c1">0</span> <span class="pl-c1">2</span>
<span class="pl-c1">1</span> <span class="pl-c1">3</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">gf</span>.<span class="pl-en">unstack</span>()
<span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>):
..., <span class="pl-s1">line</span> <span class="pl-c1">4274</span>, <span class="pl-s1">in</span> <span class="pl-s1">_reference_duplicate_name</span>
<span class="pl-k">return</span> <span class="pl-s1">np</span>.<span class="pl-en">sum</span>(<span class="pl-s1">name</span> <span class="pl-c1">==</span> <span class="pl-s1">np</span>.<span class="pl-en">asarray</span>(<span class="pl-s1">self</span>.<span class="pl-s1">names</span>)) <span class="pl-c1">></span> <span class="pl-c1">1</span>
<span class="pl-v">DeprecationWarning</span>: <span class="pl-s1">elementwise</span> <span class="pl-c1">==</span> <span class="pl-s1">comparison</span> <span class="pl-s1">failed</span>; <span class="pl-s1">this</span> <span class="pl-s1">will</span> <span class="pl-k">raise</span> <span class="pl-s1">an</span> <span class="pl-s1">error</span> <span class="pl-c1">in</span> <span class="pl-s1">the</span> <span class="pl-s1">future</span>.</pre></div> | <p dir="auto"><a href="http://stackoverflow.com/questions/21318865/read-multi-index-on-the-columns-from-csv-file" rel="nofollow">http://stackoverflow.com/questions/21318865/read-multi-index-on-the-columns-from-csv-file</a></p> | 0 |
<p dir="auto">Just updated to 1.4.1 through Anaconda in OS X Mavericks</p>
<p dir="auto">Running the test suite yields 1 error and 2 failures:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Python 2.7.8 |Continuum Analytics, Inc.| (default, Aug 21 2014, 15:21:46)
Type "copyright", "credits" or "license" for more information.
IPython 2.3.0 -- An enhanced Interactive Python.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import matplotlib as mpl
In [2]: mpl.test()
...KKKKKK...K..K.....K....K..K..K..K..K..K..K.............................K..K..K..K....K..K..K..K..K..K..K...K..K..K..K..K..K....K..K..K..K..K..K..K..K..K..K.....K.........K..K..K......K..K..K..K..K..K..K..K..K..K...K........K..K..K..K..K..K..K..K..K..K....K..K..K..K..............K..K..K..K..K..K..K....K.....................................K..........................K..K...K...K..K..K..K......................K..K..K..K..K..K..K..K..K..K..K..K..K..................................../Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1535: RuntimeWarning: invalid value encountered in true_divide
(intensity.max() - intensity.min())
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1543: RuntimeWarning: invalid value encountered in greater
intensity > 0),
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1548: RuntimeWarning: invalid value encountered in greater
hsv[:, :, 2] = np.where(intensity > 0,
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1554: RuntimeWarning: invalid value encountered in less
intensity < 0),
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1558: RuntimeWarning: invalid value encountered in less
hsv[:, :, 2] = np.where(intensity < 0,
.........K./Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/text.py:52: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if rotation in ('horizontal', None):
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/text.py:54: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
elif rotation == 'vertical':
.......................................................................................K..K..K...........K..K..K..K..K.K..K.K..K.K..............K..K..K..K..K..K..K..K..K...K..........................................................................................................................................................................................K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K........................................................................................../Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/mlab.py:3742: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
elif bw_method == 'scott':
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/mlab.py:3744: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
elif bw_method == 'silverman':
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/tri/triangulation.py:110: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
self._neighbors)
.K..K..K..K..K........K..K..K..K...................KK.................................................K...K..K..K..K..K..K..K..K..K......K..K..K..K..K..K.......K.......K...EFFK..K...........K..K..K..K..K..K..K..K.................K................./Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/tri/triangulation.py:212: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
self._cpp_triangulation.set_mask(self.mask)
............K..K./Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_pdf.py:2264: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
different = bool(ours != theirs)
.K..K..K..K..K..K..K..K..K..K..K
======================================================================
ERROR: test suite for <class 'matplotlib.tests.test_text.test_font_styles'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/suite.py", line 209, in run
self.setUp()
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/suite.py", line 292, in setUp
self.setupContext(ancestor)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/suite.py", line 315, in setupContext
try_run(context, names)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/util.py", line 470, in try_run
return func()
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 134, in setup_class
cls._func()
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/tests/test_text.py", line 45, in test_font_styles
size=14,
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/tests/test_text.py", line 21, in find_matplotlib_font
path = findfont(prop, directory=data_path)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py", line 1418, in findfont
font = fontManager.findfont(prop, **kw)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py", line 1258, in findfont
os.path.commonprefix([font.fname, directory]) != directory):
File "/Users/zhangxiaowei/anaconda/lib/python2.7/genericpath.py", line 71, in commonprefix
s1 = min(m)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 15: ordinal not in range(128)
======================================================================
FAIL: matplotlib.tests.test_text.test_multiline.test
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 51, in failer
result = f(*args, **kwargs)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 196, in do_test
'(RMS %(rms).3f)'%err)
ImageComparisonFailure: images not close: /Users/zhangxiaowei/Downloads/result_images/test_text/multiline.png vs. /Users/zhangxiaowei/Downloads/result_images/test_text/multiline-expected.png (RMS 27.663)
======================================================================
FAIL: matplotlib.tests.test_text.test_multiline.test
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 51, in failer
result = f(*args, **kwargs)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 196, in do_test
'(RMS %(rms).3f)'%err)
ImageComparisonFailure: images not close: /Users/zhangxiaowei/Downloads/result_images/test_text/multiline_pdf.png vs. /Users/zhangxiaowei/Downloads/result_images/test_text/multiline-expected_pdf.png (RMS 35.875)
----------------------------------------------------------------------
Ran 4745 tests in 449.966s
FAILED (KNOWNFAIL=382, errors=1, failures=2)
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/__init__.py:1312: UserWarning: This call to matplotlib.use() has no effect
because the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
warnings.warn(_use_error_msg)
Out[2]: False"><pre class="notranslate">Python 2.7.8 <span class="pl-k">|</span>Continuum Analytics, Inc.<span class="pl-k">|</span> (default, Aug 21 2014, 15:21:46)
Type <span class="pl-s"><span class="pl-pds">"</span>copyright<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>credits<span class="pl-pds">"</span></span> or <span class="pl-s"><span class="pl-pds">"</span>license<span class="pl-pds">"</span></span> <span class="pl-k">for</span> more information.
IPython 2.3.0 -- An enhanced Interactive Python.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
<span class="pl-k">?</span> -<span class="pl-k">></span> Introduction and overview of IPython<span class="pl-s"><span class="pl-pds">'</span>s features.</span>
<span class="pl-s">%quickref -> Quick reference.</span>
<span class="pl-s">help -> Python<span class="pl-pds">'</span></span>s own <span class="pl-c1">help</span> system.
object<span class="pl-k">?</span> -<span class="pl-k">></span> Details about <span class="pl-s"><span class="pl-pds">'</span>object<span class="pl-pds">'</span></span>, use <span class="pl-s"><span class="pl-pds">'</span>object??<span class="pl-pds">'</span></span> <span class="pl-k">for</span> extra details.
In [1]: import matplotlib as mpl
In [2]: <span class="pl-en">mpl.test</span>()
...KKKKKK...K..K.....K....K..K..K..K..K..K..K.............................K..K..K..K....K..K..K..K..K..K..K...K..K..K..K..K..K....K..K..K..K..K..K..K..K..K..K.....K.........K..K..K......K..K..K..K..K..K..K..K..K..K...K........K..K..K..K..K..K..K..K..K..K....K..K..K..K..............K..K..K..K..K..K..K....K.....................................K..........................K..K...K...K..K..K..K......................K..K..K..K..K..K..K..K..K..K..K..K..K..................................../Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1535: RuntimeWarning: invalid value encountered <span class="pl-k">in</span> true_divide
(intensity.max() - <span class="pl-en">intensity.min</span>())
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1543: RuntimeWarning: invalid value encountered <span class="pl-k">in</span> greater
intensity <span class="pl-k">></span> 0),
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1548: RuntimeWarning: invalid value encountered <span class="pl-k">in</span> greater
hsv[:, :, 2] = np.where(intensity <span class="pl-k">></span> 0,
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1554: RuntimeWarning: invalid value encountered <span class="pl-k">in</span> less
intensity <span class="pl-k"><</span> 0),
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1558: RuntimeWarning: invalid value encountered <span class="pl-k">in</span> less
hsv[:, :, 2] = np.where(intensity <span class="pl-k"><</span> 0,
.........K./Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/text.py:52: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
<span class="pl-k">if</span> rotation <span class="pl-k">in</span> (<span class="pl-s"><span class="pl-pds">'</span>horizontal<span class="pl-pds">'</span></span>, None):
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/text.py:54: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
<span class="pl-k">elif</span> rotation == <span class="pl-s"><span class="pl-pds">'</span>vertical<span class="pl-pds">'</span></span>:
.......................................................................................K..K..K...........K..K..K..K..K.K..K.K..K.K..............K..K..K..K..K..K..K..K..K...K..........................................................................................................................................................................................K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K........................................................................................../Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/mlab.py:3742: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
<span class="pl-k">elif</span> bw_method == <span class="pl-s"><span class="pl-pds">'</span>scott<span class="pl-pds">'</span></span>:
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/mlab.py:3744: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
<span class="pl-k">elif</span> bw_method == <span class="pl-s"><span class="pl-pds">'</span>silverman<span class="pl-pds">'</span></span>:
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/tri/triangulation.py:110: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
self._neighbors)
.K..K..K..K..K........K..K..K..K...................KK.................................................K...K..K..K..K..K..K..K..K..K......K..K..K..K..K..K.......K.......K...EFFK..K...........K..K..K..K..K..K..K..K.................K................./Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/tri/triangulation.py:212: FutureWarning: comparison to <span class="pl-s"><span class="pl-pds">`</span>None<span class="pl-pds">`</span></span> will result <span class="pl-k">in</span> an elementwise object comparison <span class="pl-k">in</span> the future.
self._cpp_triangulation.set_mask(self.mask)
............K..K./Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_pdf.py:2264: FutureWarning: comparison to <span class="pl-s"><span class="pl-pds">`</span>None<span class="pl-pds">`</span></span> will result <span class="pl-k">in</span> an elementwise object comparison <span class="pl-k">in</span> the future.
different = bool(ours <span class="pl-k">!</span>= theirs)
.K..K..K..K..K..K..K..K..K..K..K
======================================================================
ERROR: <span class="pl-c1">test</span> suite <span class="pl-k">for</span> <span class="pl-k"><</span>class <span class="pl-s"><span class="pl-pds">'</span>matplotlib.tests.test_text.test_font_styles<span class="pl-pds">'</span></span><span class="pl-k">></span>
----------------------------------------------------------------------
Traceback (most recent call last):
File <span class="pl-s"><span class="pl-pds">"</span>/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/suite.py<span class="pl-pds">"</span></span>, line 209, <span class="pl-k">in</span> run
<span class="pl-en">self.setUp</span>()
File <span class="pl-s"><span class="pl-pds">"</span>/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/suite.py<span class="pl-pds">"</span></span>, line 292, <span class="pl-k">in</span> setUp
self.setupContext(ancestor)
File <span class="pl-s"><span class="pl-pds">"</span>/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/suite.py<span class="pl-pds">"</span></span>, line 315, <span class="pl-k">in</span> setupContext
try_run(context, names)
File <span class="pl-s"><span class="pl-pds">"</span>/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/util.py<span class="pl-pds">"</span></span>, line 470, <span class="pl-k">in</span> try_run
<span class="pl-k">return</span> <span class="pl-en">func</span>()
File <span class="pl-s"><span class="pl-pds">"</span>/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py<span class="pl-pds">"</span></span>, line 134, <span class="pl-k">in</span> setup_class
<span class="pl-en">cls._func</span>()
File <span class="pl-s"><span class="pl-pds">"</span>/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/tests/test_text.py<span class="pl-pds">"</span></span>, line 45, <span class="pl-k">in</span> test_font_styles
size=14,
File <span class="pl-s"><span class="pl-pds">"</span>/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/tests/test_text.py<span class="pl-pds">"</span></span>, line 21, <span class="pl-k">in</span> find_matplotlib_font
path = findfont(prop, directory=data_path)
File <span class="pl-s"><span class="pl-pds">"</span>/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py<span class="pl-pds">"</span></span>, line 1418, <span class="pl-k">in</span> findfont
font = fontManager.findfont(prop, <span class="pl-k">**</span>kw)
File <span class="pl-s"><span class="pl-pds">"</span>/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py<span class="pl-pds">"</span></span>, line 1258, <span class="pl-k">in</span> findfont
os.path.commonprefix([font.fname, directory]) <span class="pl-k">!</span>= directory):
File <span class="pl-s"><span class="pl-pds">"</span>/Users/zhangxiaowei/anaconda/lib/python2.7/genericpath.py<span class="pl-pds">"</span></span>, line 71, <span class="pl-k">in</span> commonprefix
s1 = min(m)
UnicodeDecodeError: <span class="pl-s"><span class="pl-pds">'</span>ascii<span class="pl-pds">'</span></span> codec can<span class="pl-s"><span class="pl-pds">'</span>t decode byte 0xe9 in position 15: ordinal not in range(128)</span>
<span class="pl-s"></span>
<span class="pl-s">======================================================================</span>
<span class="pl-s">FAIL: matplotlib.tests.test_text.test_multiline.test</span>
<span class="pl-s">----------------------------------------------------------------------</span>
<span class="pl-s">Traceback (most recent call last):</span>
<span class="pl-s"> File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest</span>
<span class="pl-s"> self.test(*self.arg)</span>
<span class="pl-s"> File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 51, in failer</span>
<span class="pl-s"> result = f(*args, **kwargs)</span>
<span class="pl-s"> File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 196, in do_test</span>
<span class="pl-s"> <span class="pl-pds">'</span></span>(RMS %(rms).3f)<span class="pl-s"><span class="pl-pds">'</span>%err)</span>
<span class="pl-s">ImageComparisonFailure: images not close: /Users/zhangxiaowei/Downloads/result_images/test_text/multiline.png vs. /Users/zhangxiaowei/Downloads/result_images/test_text/multiline-expected.png (RMS 27.663)</span>
<span class="pl-s"></span>
<span class="pl-s">======================================================================</span>
<span class="pl-s">FAIL: matplotlib.tests.test_text.test_multiline.test</span>
<span class="pl-s">----------------------------------------------------------------------</span>
<span class="pl-s">Traceback (most recent call last):</span>
<span class="pl-s"> File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest</span>
<span class="pl-s"> self.test(*self.arg)</span>
<span class="pl-s"> File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 51, in failer</span>
<span class="pl-s"> result = f(*args, **kwargs)</span>
<span class="pl-s"> File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 196, in do_test</span>
<span class="pl-s"> <span class="pl-pds">'</span></span>(RMS %(rms).3f)<span class="pl-s"><span class="pl-pds">'</span>%err)</span>
<span class="pl-s">ImageComparisonFailure: images not close: /Users/zhangxiaowei/Downloads/result_images/test_text/multiline_pdf.png vs. /Users/zhangxiaowei/Downloads/result_images/test_text/multiline-expected_pdf.png (RMS 35.875)</span>
<span class="pl-s"></span>
<span class="pl-s">----------------------------------------------------------------------</span>
<span class="pl-s">Ran 4745 tests in 449.966s</span>
<span class="pl-s"></span>
<span class="pl-s">FAILED (KNOWNFAIL=382, errors=1, failures=2)</span>
<span class="pl-s">/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/__init__.py:1312: UserWarning: This call to matplotlib.use() has no effect</span>
<span class="pl-s">because the backend has already been chosen;</span>
<span class="pl-s">matplotlib.use() must be called *before* pylab, matplotlib.pyplot,</span>
<span class="pl-s">or matplotlib.backends is imported for the first time.</span>
<span class="pl-s"></span>
<span class="pl-s"> warnings.warn(_use_error_msg)</span>
<span class="pl-s">Out[2]: False</span></pre></div> | <p dir="auto">Just updated to 1.4.1 through Anaconda in OS X Mavericks</p>
<p dir="auto">Running the test suite yields 1 error and 2 failures:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Python 2.7.8 |Continuum Analytics, Inc.| (default, Aug 21 2014, 15:21:46)
Type "copyright", "credits" or "license" for more information.
IPython 2.3.0 -- An enhanced Interactive Python.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import matplotlib as mpl
In [2]: mpl.test()
...KKKKKK...K..K.....K....K..K..K..K..K..K..K.............................K..K..K..K....K..K..K..K..K..K..K...K..K..K..K..K..K....K..K..K..K..K..K..K..K..K..K.....K.........K..K..K......K..K..K..K..K..K..K..K..K..K...K........K..K..K..K..K..K..K..K..K..K....K..K..K..K..............K..K..K..K..K..K..K....K.....................................K..........................K..K...K...K..K..K..K......................K..K..K..K..K..K..K..K..K..K..K..K..K..................................../Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1535: RuntimeWarning: invalid value encountered in true_divide
(intensity.max() - intensity.min())
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1543: RuntimeWarning: invalid value encountered in greater
intensity > 0),
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1548: RuntimeWarning: invalid value encountered in greater
hsv[:, :, 2] = np.where(intensity > 0,
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1554: RuntimeWarning: invalid value encountered in less
intensity < 0),
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1558: RuntimeWarning: invalid value encountered in less
hsv[:, :, 2] = np.where(intensity < 0,
.........K./Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/text.py:52: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if rotation in ('horizontal', None):
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/text.py:54: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
elif rotation == 'vertical':
.......................................................................................K..K..K...........K..K..K..K..K.K..K.K..K.K..............K..K..K..K..K..K..K..K..K...K..........................................................................................................................................................................................K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K..K........................................................................................../Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/mlab.py:3742: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
elif bw_method == 'scott':
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/mlab.py:3744: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
elif bw_method == 'silverman':
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/tri/triangulation.py:110: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
self._neighbors)
.K..K..K..K..K........K..K..K..K...................KK.................................................K...K..K..K..K..K..K..K..K..K......K..K..K..K..K..K.......K.......K...EFFK..K...........K..K..K..K..K..K..K..K.................K................./Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/tri/triangulation.py:212: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
self._cpp_triangulation.set_mask(self.mask)
............K..K./Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_pdf.py:2264: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
different = bool(ours != theirs)
.K..K..K..K..K..K..K..K..K..K..K
======================================================================
ERROR: test suite for <class 'matplotlib.tests.test_text.test_font_styles'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/suite.py", line 209, in run
self.setUp()
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/suite.py", line 292, in setUp
self.setupContext(ancestor)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/suite.py", line 315, in setupContext
try_run(context, names)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/util.py", line 470, in try_run
return func()
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 134, in setup_class
cls._func()
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/tests/test_text.py", line 45, in test_font_styles
size=14,
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/tests/test_text.py", line 21, in find_matplotlib_font
path = findfont(prop, directory=data_path)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py", line 1418, in findfont
font = fontManager.findfont(prop, **kw)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py", line 1258, in findfont
os.path.commonprefix([font.fname, directory]) != directory):
File "/Users/zhangxiaowei/anaconda/lib/python2.7/genericpath.py", line 71, in commonprefix
s1 = min(m)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 15: ordinal not in range(128)
======================================================================
FAIL: matplotlib.tests.test_text.test_multiline.test
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 51, in failer
result = f(*args, **kwargs)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 196, in do_test
'(RMS %(rms).3f)'%err)
ImageComparisonFailure: images not close: /Users/zhangxiaowei/Downloads/result_images/test_text/multiline.png vs. /Users/zhangxiaowei/Downloads/result_images/test_text/multiline-expected.png (RMS 27.663)
======================================================================
FAIL: matplotlib.tests.test_text.test_multiline.test
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 51, in failer
result = f(*args, **kwargs)
File "/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 196, in do_test
'(RMS %(rms).3f)'%err)
ImageComparisonFailure: images not close: /Users/zhangxiaowei/Downloads/result_images/test_text/multiline_pdf.png vs. /Users/zhangxiaowei/Downloads/result_images/test_text/multiline-expected_pdf.png (RMS 35.875)
----------------------------------------------------------------------
Ran 4745 tests in 449.966s
FAILED (KNOWNFAIL=382, errors=1, failures=2)
/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/__init__.py:1312: UserWarning: This call to matplotlib.use() has no effect
because the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
warnings.warn(_use_error_msg)
Out[2]: False"><pre class="notranslate"><span class="pl-v">Python</span> <span class="pl-c1">2.7</span><span class="pl-c1">.8</span> <span class="pl-c1">|</span><span class="pl-v">Continuum</span> <span class="pl-v">Analytics</span>, <span class="pl-v">Inc</span>.<span class="pl-s1"></span><span class="pl-c1">|</span> (<span class="pl-s1">default</span>, <span class="pl-v">Aug</span> <span class="pl-c1">21</span> <span class="pl-c1">2014</span>, <span class="pl-c1">15</span>:<span class="pl-c1">21</span>:<span class="pl-c1">46</span>)
<span class="pl-v">Type</span> <span class="pl-s">"copyright"</span>, <span class="pl-s">"credits"</span> <span class="pl-c1">or</span> <span class="pl-s">"license"</span> <span class="pl-k">for</span> <span class="pl-s1">more</span> <span class="pl-s1">information</span>.
<span class="pl-v">IPython</span> <span class="pl-c1">2.3</span><span class="pl-c1">.0</span> <span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">An</span> <span class="pl-s1">enhanced</span> <span class="pl-v">Interactive</span> <span class="pl-v">Python</span>.
<span class="pl-v">Anaconda</span> <span class="pl-c1">is</span> <span class="pl-s1">brought</span> <span class="pl-s1">to</span> <span class="pl-s1">you</span> <span class="pl-s1">by</span> <span class="pl-v">Continuum</span> <span class="pl-v">Analytics</span>.
<span class="pl-v">Please</span> <span class="pl-s1">check</span> <span class="pl-s1">out</span>: <span class="pl-s1">http</span>:<span class="pl-c1">//</span><span class="pl-s1">continuum</span>.<span class="pl-s1">io</span><span class="pl-c1">/</span><span class="pl-s1">thanks</span> <span class="pl-c1">and</span> <span class="pl-s1">https</span>:<span class="pl-c1">//</span><span class="pl-s1">binstar</span>.<span class="pl-s1">org</span>
? <span class="pl-c1">-></span> <span class="pl-v">Introduction</span> <span class="pl-c1">and</span> <span class="pl-s1">overview</span> <span class="pl-s1">of</span> <span class="pl-v">IPython</span>'<span class="pl-s1">s</span> <span class="pl-s1">features</span>.
<span class="pl-c1">%</span><span class="pl-s1">quickref</span> <span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-v">Quick</span> <span class="pl-s1">reference</span>.
<span class="pl-s1">help</span> <span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-v">Python</span>'<span class="pl-s1">s</span> <span class="pl-s1">own</span> <span class="pl-s1">help</span> <span class="pl-s1">system</span>.
<span class="pl-s1">object</span>? <span class="pl-c1">-></span> <span class="pl-v">Details</span> <span class="pl-s1">about</span> <span class="pl-s">'object'</span>, <span class="pl-s1">use</span> <span class="pl-s">'object??'</span> <span class="pl-k">for</span> <span class="pl-s1">extra</span> <span class="pl-s1">details</span>.
<span class="pl-v">In</span> [<span class="pl-c1">1</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-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">mpl</span>.<span class="pl-en">test</span>()
...<span class="pl-v">KKKKKK</span>...<span class="pl-v">K</span>..<span class="pl-v">K</span>.....<span class="pl-v">K</span>....<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>.............................<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>....<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>...<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>....<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>.....<span class="pl-v">K</span>.........<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>......<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>...<span class="pl-v">K</span>........<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>....<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..............<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>....<span class="pl-v">K</span>.....................................<span class="pl-v">K</span>..........................<span class="pl-v">K</span>..<span class="pl-v">K</span>...<span class="pl-v">K</span>...<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>......................<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>....................................<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">matplotlib</span><span class="pl-c1">/</span><span class="pl-s1">colors</span>.<span class="pl-s1">py</span>:<span class="pl-c1">1535</span>: <span class="pl-v">RuntimeWarning</span>: <span class="pl-s1">invalid</span> <span class="pl-s1">value</span> <span class="pl-s1">encountered</span> <span class="pl-c1">in</span> <span class="pl-en">true_divide</span>
(<span class="pl-s1">intensity</span>.<span class="pl-en">max</span>() <span class="pl-c1">-</span> <span class="pl-s1">intensity</span>.<span class="pl-en">min</span>())
<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">matplotlib</span><span class="pl-c1">/</span><span class="pl-s1">colors</span>.<span class="pl-s1">py</span>:<span class="pl-c1">1543</span>: <span class="pl-v">RuntimeWarning</span>: <span class="pl-s1">invalid</span> <span class="pl-s1">value</span> <span class="pl-s1">encountered</span> <span class="pl-c1">in</span> <span class="pl-s1">greater</span>
<span class="pl-s1">intensity</span> <span class="pl-c1">></span> <span class="pl-c1">0</span>),
<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">matplotlib</span><span class="pl-c1">/</span><span class="pl-s1">colors</span>.<span class="pl-s1">py</span>:<span class="pl-c1">1548</span>: <span class="pl-v">RuntimeWarning</span>: <span class="pl-s1">invalid</span> <span class="pl-s1">value</span> <span class="pl-s1">encountered</span> <span class="pl-c1">in</span> <span class="pl-s1">greater</span>
<span class="pl-s1">hsv</span>[:, :, <span class="pl-c1">2</span>] <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">where</span>(<span class="pl-s1">intensity</span> <span class="pl-c1">></span> <span class="pl-c1">0</span>,
<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">matplotlib</span><span class="pl-c1">/</span><span class="pl-s1">colors</span>.<span class="pl-s1">py</span>:<span class="pl-c1">1554</span>: <span class="pl-v">RuntimeWarning</span>: <span class="pl-s1">invalid</span> <span class="pl-s1">value</span> <span class="pl-s1">encountered</span> <span class="pl-c1">in</span> <span class="pl-s1">less</span>
<span class="pl-s1">intensity</span> <span class="pl-c1"><</span> <span class="pl-c1">0</span>),
<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">matplotlib</span><span class="pl-c1">/</span><span class="pl-s1">colors</span>.<span class="pl-s1">py</span>:<span class="pl-c1">1558</span>: <span class="pl-v">RuntimeWarning</span>: <span class="pl-s1">invalid</span> <span class="pl-s1">value</span> <span class="pl-s1">encountered</span> <span class="pl-c1">in</span> <span class="pl-s1">less</span>
<span class="pl-s1">hsv</span>[:, :, <span class="pl-c1">2</span>] <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">where</span>(<span class="pl-s1">intensity</span> <span class="pl-c1"><</span> <span class="pl-c1">0</span>,
.........<span class="pl-v">K</span>.<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">matplotlib</span><span class="pl-c1">/</span><span class="pl-s1">text</span>.<span class="pl-s1">py</span>:<span class="pl-c1">52</span>: <span class="pl-v">UnicodeWarning</span>: <span class="pl-v">Unicode</span> <span class="pl-s1">equal</span> <span class="pl-s1">comparison</span> <span class="pl-s1">failed</span> <span class="pl-s1">to</span> <span class="pl-s1">convert</span> <span class="pl-s1">both</span> <span class="pl-s1">arguments</span> <span class="pl-s1">to</span> <span class="pl-v">Unicode</span> <span class="pl-c1">-</span> <span class="pl-s1">interpreting</span> <span class="pl-s1">them</span> <span class="pl-k">as</span> <span class="pl-s1">being</span> <span class="pl-s1">unequal</span>
<span class="pl-k">if</span> <span class="pl-s1">rotation</span> <span class="pl-c1">in</span> (<span class="pl-s">'horizontal'</span>, <span class="pl-c1">None</span>):
<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">matplotlib</span><span class="pl-c1">/</span><span class="pl-s1">text</span>.<span class="pl-s1">py</span>:<span class="pl-c1">54</span>: <span class="pl-v">UnicodeWarning</span>: <span class="pl-v">Unicode</span> <span class="pl-s1">equal</span> <span class="pl-s1">comparison</span> <span class="pl-s1">failed</span> <span class="pl-s1">to</span> <span class="pl-s1">convert</span> <span class="pl-s1">both</span> <span class="pl-s1">arguments</span> <span class="pl-s1">to</span> <span class="pl-v">Unicode</span> <span class="pl-c1">-</span> <span class="pl-s1">interpreting</span> <span class="pl-s1">them</span> <span class="pl-k">as</span> <span class="pl-s1">being</span> <span class="pl-s1">unequal</span>
<span class="pl-s1">elif</span> <span class="pl-s1">rotation</span> <span class="pl-c1">==</span> <span class="pl-s">'vertical'</span>:
.......................................................................................<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>...........<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>.<span class="pl-v">K</span>..<span class="pl-v">K</span>.<span class="pl-v">K</span>..<span class="pl-v">K</span>.<span class="pl-v">K</span>..............<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>...<span class="pl-v">K</span>..........................................................................................................................................................................................<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..........................................................................................<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">matplotlib</span><span class="pl-c1">/</span><span class="pl-s1">mlab</span>.<span class="pl-s1">py</span>:<span class="pl-c1">3742</span>: <span class="pl-v">UnicodeWarning</span>: <span class="pl-v">Unicode</span> <span class="pl-s1">equal</span> <span class="pl-s1">comparison</span> <span class="pl-s1">failed</span> <span class="pl-s1">to</span> <span class="pl-s1">convert</span> <span class="pl-s1">both</span> <span class="pl-s1">arguments</span> <span class="pl-s1">to</span> <span class="pl-v">Unicode</span> <span class="pl-c1">-</span> <span class="pl-s1">interpreting</span> <span class="pl-s1">them</span> <span class="pl-k">as</span> <span class="pl-s1">being</span> <span class="pl-s1">unequal</span>
<span class="pl-s1">elif</span> <span class="pl-s1">bw_method</span> <span class="pl-c1">==</span> <span class="pl-s">'scott'</span>:
<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">matplotlib</span><span class="pl-c1">/</span><span class="pl-s1">mlab</span>.<span class="pl-s1">py</span>:<span class="pl-c1">3744</span>: <span class="pl-v">UnicodeWarning</span>: <span class="pl-v">Unicode</span> <span class="pl-s1">equal</span> <span class="pl-s1">comparison</span> <span class="pl-s1">failed</span> <span class="pl-s1">to</span> <span class="pl-s1">convert</span> <span class="pl-s1">both</span> <span class="pl-s1">arguments</span> <span class="pl-s1">to</span> <span class="pl-v">Unicode</span> <span class="pl-c1">-</span> <span class="pl-s1">interpreting</span> <span class="pl-s1">them</span> <span class="pl-k">as</span> <span class="pl-s1">being</span> <span class="pl-s1">unequal</span>
<span class="pl-s1">elif</span> <span class="pl-s1">bw_method</span> <span class="pl-c1">==</span> <span class="pl-s">'silverman'</span>:
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">matplotlib</span><span class="pl-c1">/</span><span class="pl-s1">tri</span><span class="pl-c1">/</span><span class="pl-s1">triangulation</span>.<span class="pl-s1">py</span>:<span class="pl-c1">110</span>: <span class="pl-v">FutureWarning</span>: <span class="pl-s1">comparison</span> <span class="pl-s1">to</span> <span class="pl-s">`None`</span> <span class="pl-s1">will</span> <span class="pl-s1">result</span> <span class="pl-c1">in</span> <span class="pl-s1">an</span> <span class="pl-s1">elementwise</span> <span class="pl-s1">object</span> <span class="pl-s1">comparison</span> <span class="pl-c1">in</span> <span class="pl-s1">the</span> <span class="pl-s1">future</span>.
<span class="pl-s1">self</span>.<span class="pl-s1">_neighbors</span>)
.<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>........<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>...................<span class="pl-v">KK</span>.................................................<span class="pl-v">K</span>...<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>......<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>.......<span class="pl-v">K</span>.......<span class="pl-v">K</span>...<span class="pl-v">EFFK</span>..<span class="pl-v">K</span>...........<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>.................<span class="pl-v">K</span>.................<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">matplotlib</span><span class="pl-c1">/</span><span class="pl-s1">tri</span><span class="pl-c1">/</span><span class="pl-s1">triangulation</span>.<span class="pl-s1">py</span>:<span class="pl-c1">212</span>: <span class="pl-v">FutureWarning</span>: <span class="pl-s1">comparison</span> <span class="pl-s1">to</span> <span class="pl-s">`None`</span> <span class="pl-s1">will</span> <span class="pl-s1">result</span> <span class="pl-c1">in</span> <span class="pl-s1">an</span> <span class="pl-s1">elementwise</span> <span class="pl-s1">object</span> <span class="pl-s1">comparison</span> <span class="pl-c1">in</span> <span class="pl-s1">the</span> <span class="pl-s1">future</span>.
<span class="pl-s1">self</span>.<span class="pl-s1">_cpp_triangulation</span>.<span class="pl-en">set_mask</span>(<span class="pl-s1">self</span>.<span class="pl-s1">mask</span>)
............<span class="pl-v">K</span>..<span class="pl-v">K</span>.<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">matplotlib</span><span class="pl-c1">/</span><span class="pl-s1">backends</span><span class="pl-c1">/</span><span class="pl-s1">backend_pdf</span>.<span class="pl-s1">py</span>:<span class="pl-c1">2264</span>: <span class="pl-v">FutureWarning</span>: <span class="pl-s1">comparison</span> <span class="pl-s1">to</span> <span class="pl-s">`None`</span> <span class="pl-s1">will</span> <span class="pl-s1">result</span> <span class="pl-c1">in</span> <span class="pl-s1">an</span> <span class="pl-s1">elementwise</span> <span class="pl-s1">object</span> <span class="pl-s1">comparison</span> <span class="pl-c1">in</span> <span class="pl-s1">the</span> <span class="pl-s1">future</span>.
<span class="pl-s1">different</span> <span class="pl-c1">=</span> <span class="pl-en">bool</span>(<span class="pl-s1">ours</span> <span class="pl-c1">!=</span> <span class="pl-s1">theirs</span>)
.<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>..<span class="pl-v">K</span>
<span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span>
<span class="pl-v">ERROR</span>: <span class="pl-s1">test</span> <span class="pl-s1">suite</span> <span class="pl-k">for</span> <span class="pl-c1"><</span><span class="pl-s1">class</span> <span class="pl-s">'matplotlib.tests.test_text.test_font_styles'</span><span class="pl-c1">></span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span>
<span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>):
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/suite.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">209</span>, <span class="pl-c1">in</span> <span class="pl-s1">run</span>
<span class="pl-s1">self</span>.<span class="pl-en">setUp</span>()
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/suite.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">292</span>, <span class="pl-c1">in</span> <span class="pl-s1">setUp</span>
<span class="pl-s1">self</span>.<span class="pl-en">setupContext</span>(<span class="pl-s1">ancestor</span>)
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/suite.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">315</span>, <span class="pl-c1">in</span> <span class="pl-en">setupContext</span>
<span class="pl-s1">try_run</span>(<span class="pl-s1">context</span>, <span class="pl-s1">names</span>)
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/util.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">470</span>, <span class="pl-c1">in</span> <span class="pl-en">try_run</span>
<span class="pl-s1">return</span> <span class="pl-s1">func</span>()
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">134</span>, <span class="pl-c1">in</span> <span class="pl-s1">setup_class</span>
<span class="pl-s1">cls</span>.<span class="pl-en">_func</span>()
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/tests/test_text.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">45</span>, <span class="pl-c1">in</span> <span class="pl-s1">test_font_styles</span>
<span class="pl-s1">size</span><span class="pl-c1">=</span><span class="pl-c1">14</span>,
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/tests/test_text.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">21</span>, <span class="pl-c1">in</span> <span class="pl-en">find_matplotlib_font</span>
<span class="pl-s1">path</span> <span class="pl-c1">=</span> <span class="pl-s1">findfont</span>(<span class="pl-s1">prop</span>, <span class="pl-s1">directory</span><span class="pl-c1">=</span><span class="pl-s1">data_path</span>)
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1418</span>, <span class="pl-c1">in</span> <span class="pl-s1">findfont</span>
<span class="pl-s1">font</span> <span class="pl-c1">=</span> <span class="pl-s1">fontManager</span>.<span class="pl-en">findfont</span>(<span class="pl-s1">prop</span>, <span class="pl-c1">**</span><span class="pl-s1">kw</span>)
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1258</span>, <span class="pl-c1">in</span> <span class="pl-s1">findfont</span>
<span class="pl-s1">os</span>.<span class="pl-s1">path</span>.<span class="pl-en">commonprefix</span>([<span class="pl-s1">font</span>.<span class="pl-s1">fname</span>, <span class="pl-s1">directory</span>]) <span class="pl-c1">!=</span> <span class="pl-s1">directory</span>):
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/genericpath.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">71</span>, <span class="pl-c1">in</span> <span class="pl-en">commonprefix</span>
<span class="pl-s1">s1</span> <span class="pl-c1">=</span> <span class="pl-s1">min</span>(<span class="pl-s1">m</span>)
<span class="pl-v">UnicodeDecodeError</span>: <span class="pl-s">'ascii'</span> <span class="pl-s1">codec</span> <span class="pl-s1">can</span>'<span class="pl-s1">t</span> <span class="pl-s1">decode</span> <span class="pl-s1">byte</span> <span class="pl-c1">0xe9</span> <span class="pl-c1">in</span> <span class="pl-s1">position</span> <span class="pl-c1">15</span>: <span class="pl-s1">ordinal</span> <span class="pl-c1">not</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">128</span>)
<span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span>
<span class="pl-v">FAIL</span>: <span class="pl-s1">matplotlib</span>.<span class="pl-s1">tests</span>.<span class="pl-s1">test_text</span>.<span class="pl-s1">test_multiline</span>.<span class="pl-s1">test</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span>
<span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>):
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/case.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">197</span>, <span class="pl-c1">in</span> <span class="pl-s1">runTest</span>
<span class="pl-s1">self</span>.<span class="pl-en">test</span>(<span class="pl-c1">*</span><span class="pl-s1">self</span>.<span class="pl-s1">arg</span>)
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">51</span>, <span class="pl-c1">in</span> <span class="pl-en">failer</span>
<span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-s1">f</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">196</span>, <span class="pl-c1">in</span> <span class="pl-en">do_test</span>
'(<span class="pl-v">RMS</span> <span class="pl-c1">%</span>(<span class="pl-s1">rms</span>).<span class="pl-c1">3</span><span class="pl-s1">f</span>)'<span class="pl-c1">%</span><span class="pl-s1">err</span>)
<span class="pl-v">ImageComparisonFailure</span>: <span class="pl-s1">images</span> <span class="pl-c1">not</span> <span class="pl-s1">close</span>: <span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-v">Downloads</span><span class="pl-c1">/</span><span class="pl-s1">result_images</span><span class="pl-c1">/</span><span class="pl-s1">test_text</span><span class="pl-c1">/</span><span class="pl-s1">multiline</span>.<span class="pl-s1">png</span> <span class="pl-s1">vs</span>. <span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-v">Downloads</span><span class="pl-c1">/</span><span class="pl-s1">result_images</span><span class="pl-c1">/</span><span class="pl-s1">test_text</span><span class="pl-c1">/</span><span class="pl-s1">multiline</span><span class="pl-c1">-</span><span class="pl-s1">expected</span>.<span class="pl-en">png</span> (<span class="pl-v">RMS</span> <span class="pl-c1">27.663</span>)
<span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span>
<span class="pl-v">FAIL</span>: <span class="pl-s1">matplotlib</span>.<span class="pl-s1">tests</span>.<span class="pl-s1">test_text</span>.<span class="pl-s1">test_multiline</span>.<span class="pl-s1">test</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span>
<span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>):
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/nose/case.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">197</span>, <span class="pl-c1">in</span> <span class="pl-s1">runTest</span>
<span class="pl-s1">self</span>.<span class="pl-en">test</span>(<span class="pl-c1">*</span><span class="pl-s1">self</span>.<span class="pl-s1">arg</span>)
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">51</span>, <span class="pl-c1">in</span> <span class="pl-en">failer</span>
<span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-s1">f</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
<span class="pl-v">File</span> <span class="pl-s">"/Users/zhangxiaowei/anaconda/lib/python2.7/site-packages/matplotlib/testing/decorators.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">196</span>, <span class="pl-c1">in</span> <span class="pl-en">do_test</span>
'(<span class="pl-v">RMS</span> <span class="pl-c1">%</span>(<span class="pl-s1">rms</span>).<span class="pl-c1">3</span><span class="pl-s1">f</span>)'<span class="pl-c1">%</span><span class="pl-s1">err</span>)
<span class="pl-v">ImageComparisonFailure</span>: <span class="pl-s1">images</span> <span class="pl-c1">not</span> <span class="pl-s1">close</span>: <span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-v">Downloads</span><span class="pl-c1">/</span><span class="pl-s1">result_images</span><span class="pl-c1">/</span><span class="pl-s1">test_text</span><span class="pl-c1">/</span><span class="pl-s1">multiline_pdf</span>.<span class="pl-s1">png</span> <span class="pl-s1">vs</span>. <span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-v">Downloads</span><span class="pl-c1">/</span><span class="pl-s1">result_images</span><span class="pl-c1">/</span><span class="pl-s1">test_text</span><span class="pl-c1">/</span><span class="pl-s1">multiline</span><span class="pl-c1">-</span><span class="pl-s1">expected_pdf</span>.<span class="pl-en">png</span> (<span class="pl-v">RMS</span> <span class="pl-c1">35.875</span>)
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span>
<span class="pl-v">Ran</span> <span class="pl-c1">4745</span> <span class="pl-s1">tests</span> <span class="pl-c1">in</span> <span class="pl-c1">449.966</span><span class="pl-s1">s</span>
<span class="pl-v">FAILED</span> (<span class="pl-v">KNOWNFAIL</span><span class="pl-c1">=</span><span class="pl-c1">382</span>, <span class="pl-s1">errors</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">failures</span><span class="pl-c1">=</span><span class="pl-c1">2</span>)
<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">zhangxiaowei</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">matplotlib</span><span class="pl-c1">/</span><span class="pl-s1">__init__</span>.<span class="pl-s1">py</span>:<span class="pl-c1">1312</span>: <span class="pl-v">UserWarning</span>: <span class="pl-v">This</span> <span class="pl-s1">call</span> <span class="pl-s1">to</span> <span class="pl-s1">matplotlib</span>.<span class="pl-en">use</span>() <span class="pl-s1">has</span> <span class="pl-s1">no</span> <span class="pl-s1">effect</span>
<span class="pl-s1">because</span> <span class="pl-s1">the</span> <span class="pl-s1">backend</span> <span class="pl-s1">has</span> <span class="pl-s1">already</span> <span class="pl-s1">been</span> <span class="pl-s1">chosen</span>;
<span class="pl-s1">matplotlib</span>.<span class="pl-en">use</span>() <span class="pl-s1">must</span> <span class="pl-s1">be</span> <span class="pl-s1">called</span> <span class="pl-c1">*</span><span class="pl-s1">before</span><span class="pl-c1">*</span> <span class="pl-s1">pylab</span>, <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span>,
<span class="pl-c1">or</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">backends</span> <span class="pl-c1">is</span> <span class="pl-s1">imported</span> <span class="pl-s1">for</span> <span class="pl-s1">the</span> <span class="pl-s1">first</span> <span class="pl-s1">time</span>.
<span class="pl-s1">warnings</span>.<span class="pl-en">warn</span>(<span class="pl-s1">_use_error_msg</span>)
<span class="pl-v">Out</span>[<span class="pl-c1">2</span>]: <span class="pl-c1">False</span></pre></div> | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.