text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<p dir="auto">In some cases, it would be really handy to be able to do this:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; a = randn(5, 100); julia&gt; norm(a, dims=1) # Doesn't work ERROR: MethodError: no method matching norm(::Matrix{Float64}; dims=2) julia&gt; sqrt.(sum(abs2, a, dims=1)) # Intended result (in this case, with `p=2`) 1×100 Matrix{Float64}: 1.26534 0.763155 2.55044 2.38645 1.69696 … 1.71206 2.61463 2.81637 1.82003 1.69302"><pre class="notranslate">julia<span class="pl-k">&gt;</span> a <span class="pl-k">=</span> <span class="pl-c1">randn</span>(<span class="pl-c1">5</span>, <span class="pl-c1">100</span>); julia<span class="pl-k">&gt;</span> <span class="pl-c1">norm</span>(a, dims<span class="pl-k">=</span><span class="pl-c1">1</span>) <span class="pl-c"><span class="pl-c">#</span> Doesn't work</span> ERROR<span class="pl-k">:</span> MethodError<span class="pl-k">:</span> no method matching <span class="pl-c1">norm</span>(<span class="pl-k">::</span><span class="pl-c1">Matrix{Float64}</span>; dims<span class="pl-k">=</span><span class="pl-c1">2</span>) julia<span class="pl-k">&gt;</span> <span class="pl-c1">sqrt</span>.(<span class="pl-c1">sum</span>(abs2, a, dims<span class="pl-k">=</span><span class="pl-c1">1</span>)) <span class="pl-c"><span class="pl-c">#</span> Intended result (in this case, with `p=2`)</span> <span class="pl-c1">1</span><span class="pl-k">×</span><span class="pl-c1">100</span> Matrix{Float64}<span class="pl-k">:</span> <span class="pl-c1">1.26534</span> <span class="pl-c1">0.763155</span> <span class="pl-c1">2.55044</span> <span class="pl-c1">2.38645</span> <span class="pl-c1">1.69696</span> … <span class="pl-c1">1.71206</span> <span class="pl-c1">2.61463</span> <span class="pl-c1">2.81637</span> <span class="pl-c1">1.82003</span> <span class="pl-c1">1.69302</span></pre></div> <p dir="auto">As a more advanced example, for a tensor <code class="notranslate">a</code> of shape <code class="notranslate">(m, n, k)</code>, <code class="notranslate">norm(a, dims=(2, 3))</code> would compute <code class="notranslate">norm(a[i, :, :])</code> for all <code class="notranslate">i</code> and return something of shape <code class="notranslate">(m, 1, 1)</code>.</p>
<p dir="auto">It would be nice if the <code class="notranslate">LinearAlgebra.norm</code> function have the <code class="notranslate">dims</code> keyword, like others linear algebra functions and like numpy norm axis parameter (<a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.linalg.norm.html" rel="nofollow">https://docs.scipy.org/doc/numpy/reference/generated/numpy.linalg.norm.html</a>)</p> <p dir="auto">Just for example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function norm(itr, p::Real=2; dims) sum(itr.^p; dims=dims).^(1/p) end"><pre class="notranslate"><code class="notranslate">function norm(itr, p::Real=2; dims) sum(itr.^p; dims=dims).^(1/p) end </code></pre></div>
1
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/steamroller" rel="nofollow">Steamroller</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.3; 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">My code:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" var resArr=[]; function steamrollArray(arr) { for(var i=0;i&lt;arr.length;i++) { if(Array.isArray(arr[i])) steamrollArray(arr[i]); else resArr.push(arr[i]); } return resArr; } steamrollArray([[[&quot;a&quot;]], [[&quot;b&quot;]]]); "><pre class="notranslate"> <span class="pl-k">var</span> <span class="pl-s1">resArr</span><span class="pl-c1">=</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-en">steamrollArray</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-k">for</span><span class="pl-kos">(</span><span class="pl-k">var</span> <span class="pl-s1">i</span><span class="pl-c1">=</span><span class="pl-c1">0</span><span class="pl-kos">;</span><span class="pl-s1">i</span><span class="pl-c1">&lt;</span><span class="pl-s1">arr</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span><span class="pl-s1">i</span><span class="pl-c1">++</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-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-en">steamrollArray</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-k">else</span> <span class="pl-s1">resArr</span><span class="pl-kos">.</span><span class="pl-en">push</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-k">return</span> <span class="pl-s1">resArr</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">steamrollArray</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-s">"a"</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-s">"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></pre></div>
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/use-a-css-class-to-style-an-element" rel="nofollow">Use a CSS Class to Style an Element</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.101 Safari/537.36</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <p dir="auto">Hello,</p> <p dir="auto">The code preview on the right hand side of the page is completely blank and will not update when new code is typed into the editor. Also the "Run Tests" button is unresponsive. I have tried to use three web browsers: Goggle chrome, Firefox and Safari. All three web browsers have the exact same problem so I think perhaps there is something wrong with the FCC site currently or there is something wrong on my end. Is this a common issue? Any help would be appreciated.</p> <p dir="auto">Thank you</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/17350098/18412900/3685216c-7757-11e6-9e0a-063233bea35b.png"><img width="1648" alt="fcc problem" src="https://cloud.githubusercontent.com/assets/17350098/18412900/3685216c-7757-11e6-9e0a-063233bea35b.png" style="max-width: 100%;"></a></p> <p dir="auto">My code:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &lt;style&gt; .red-text { color: blue; } &lt;/style&gt; &lt;h2 class=&quot;red-text&quot;&gt;CatPhotoApp&lt;/h2&gt; &lt;p&gt;Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.&lt;/p&gt; "><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">style</span><span class="pl-kos">&gt;</span> .<span class="pl-c1">red-text</span> { <span class="pl-c1">color</span><span class="pl-kos">:</span> blue; } <span class="pl-kos">&lt;/</span><span class="pl-ent">style</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h2</span> <span class="pl-c1">class</span>="<span class="pl-s">red-text</span>"<span class="pl-kos">&gt;</span>CatPhotoApp<span class="pl-kos">&lt;/</span><span class="pl-ent">h2</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.<span class="pl-kos">&lt;/</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span></pre></div>
0
<p dir="auto"><a href="http://pypi.python.org/pypi/scikits.learn" rel="nofollow">http://pypi.python.org/pypi/scikits.learn</a> (v. 0.8.1) vs <a href="http://pypi.python.org/pypi/scikit-learn" rel="nofollow">http://pypi.python.org/pypi/scikit-learn</a> (v. 0.10).</p>
<p dir="auto">Follow-up of <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jnothman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jnothman">@jnothman</a> <a href="https://github.com/scikit-learn/scikit-learn/pull/19155#issuecomment-785461124" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/19155/hovercard">comment</a>.<br> I would like to propose to enforce milestones in pull requests.<br> That means:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> create a check that verify if the milestone is present</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> modify the check on the change log to verify consistency with the milestone.</li> </ul> <p dir="auto">I believe it is helpful in anticipating breaking changes, and could give a more long-term vision on the library developments. It is also helpful for contributors, as they will have a better understanding of how much their pull request is awaited.<br> This approach is used for example by the <a href="https://github.com/astropy/astropy/milestones">Astropy project</a>: no milestoned pull requests will still have their place anyway, they are long term feature implementations or code reformatting.</p>
0
<p dir="auto">When the application loads I am getting the following error.</p> <p dir="auto"><a href="http://localhost:49769/node_modules/@angular/platform-browser-dynamic/index.js" rel="nofollow">http://localhost:49769/node_modules/@angular/platform-browser-dynamic/index.js</a> Failed to load resource: the server responded with a status of 404 (Not Found)<br> localhost/:21 Error: Error: XHR error (404 Not Found) loading <a href="http://localhost:49769/node_modules/@angular/platform-browser-dynamic/index.js" rel="nofollow">http://localhost:49769/node_modules/@angular/platform-browser-dynamic/index.js</a><br> at XMLHttpRequest.wrapFn <a href="https://npmcdn.com/[email protected]?main=browser:769:30" rel="nofollow">as _onreadystatechange</a><br> at ZoneDelegate.invokeTask (<a href="https://npmcdn.com/[email protected]?main=browser:356:38" rel="nofollow">https://npmcdn.com/[email protected]?main=browser:356:38</a>)<br> at Zone.runTask (<a href="https://npmcdn.com/[email protected]?main=browser:256:48" rel="nofollow">https://npmcdn.com/[email protected]?main=browser:256:48</a>)<br> at XMLHttpRequest.ZoneTask.invoke (<a href="https://npmcdn.com/[email protected]?main=browser:423:34" rel="nofollow">https://npmcdn.com/[email protected]?main=browser:423:34</a>)<br> Error loading <a href="http://localhost:49769/node_modules/@angular/platform-browser-dynamic/index.js" rel="nofollow">http://localhost:49769/node_modules/@angular/platform-browser-dynamic/index.js</a> as "@angular/platform-browser-dynamic" from <a href="http://localhost:49769/app/main.js(anonymous" rel="nofollow">http://localhost:49769/app/main.js(anonymous</a> function) @ localhost/:21<br> <a href="http://localhost:49769/node_modules/@angular/core/index.js" rel="nofollow">http://localhost:49769/node_modules/@angular/core/index.js</a> Failed to load resource: the server responded with a status of 404 (Not Found)</p> <p dir="auto">I have explained in details about this issue in the stackoverflow<br> <a href="http://stackoverflow.com/questions/38212731/not-able-to-load-angular-platform-browser-dynamic" rel="nofollow">http://stackoverflow.com/questions/38212731/not-able-to-load-angular-platform-browser-dynamic</a></p> <p dir="auto">Please let me know why I am facing this issue? How do I resolve it?</p>
<p dir="auto">It seems like the static method <code class="notranslate">resolveAndCreate</code> is not present in the DefinitelyTyped typings for angular.d.ts.</p>
0
<h3 dir="auto">Expected Behavior</h3> <p dir="auto">In flask website use tutorials, in the third step <code class="notranslate">flask run</code> to run my web, appear this mistake.<br> In py files line first, I use the <code class="notranslate"># - coding: utf-8 --</code> specified utf-8.<br> I'm writing code in Pycharm. Start the web with the CMD run command.<br> I copy the project directory into ubuntu and it works.<br> No related problems were found on the Internet.<br> Please give us some ideas and solve this problem.<br> thank you</p> <p dir="auto">Below is a screenshot of the Pycharm</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/63dc5b0efee48a3d938202d860f1321d5883586949380089bb22d511727db3d4/687474703a2f2f6f6e6f3376623872662e626b742e636c6f7564646e2e636f6d2f46695139764667774d39644e726432397a5730674869464e555573382e706e67"><img src="https://camo.githubusercontent.com/63dc5b0efee48a3d938202d860f1321d5883586949380089bb22d511727db3d4/687474703a2f2f6f6e6f3376623872662e626b742e636c6f7564646e2e636f6d2f46695139764667774d39644e726432397a5730674869464e555573382e706e67" alt="" data-canonical-src="http://ono3vb8rf.bkt.clouddn.com/FiQ9vFgwM9dNrd29zW0gHiFNUUs8.png" style="max-width: 100%;"></a></p> <p dir="auto">Tell us what should happen.</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="kevin@DESKTOP-5KM5T43:~/workspaces/flaskr$ flask run * Serving Flask app &quot;flaskr&quot; * Forcing debug mode on * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) * Restarting with stat * Debugger is active! * Debugger PIN: 244-441-781"><pre class="notranslate">kevin@DESKTOP-5KM5T43:<span class="pl-k">~</span>/workspaces/flaskr$ flask run <span class="pl-k">*</span> Serving Flask app <span class="pl-s"><span class="pl-pds">"</span>flaskr<span class="pl-pds">"</span></span> <span class="pl-k">*</span> Forcing debug mode on <span class="pl-k">*</span> Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) <span class="pl-k">*</span> Restarting with stat <span class="pl-k">*</span> Debugger is active<span class="pl-k">!</span> <span class="pl-k">*</span> Debugger PIN: 244-441-781</pre></div> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">Tell us what happens instead.</p> <div class="highlight highlight-text-python-traceback notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="D:\workspace\development\python\WebProject\flaskr&gt;flask run * Serving Flask app &quot;flaskr&quot; * Forcing debug mode on * Restarting with stat File &quot;D:\ProgramData\Anaconda3\Scripts\flask.exe&quot;, line 1 SyntaxError: Non-UTF-8 code starting with '\x90' in file D:\ProgramData\Anaconda3\Scripts\flask.exe on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details"><pre class="notranslate">D:\workspace\development\python\WebProject\flaskr&gt;flask run * Serving Flask app "flaskr" * Forcing debug mode on * Restarting with stat File <span class="pl-s">"D:\ProgramData\Anaconda3\Scripts\flask.exe"</span>, line <span class="pl-c1">1</span> <span class="pl-en">SyntaxError</span>: <span class="pl-s">Non-UTF-8 code starting with '\x90' in file D:\ProgramData\Anaconda3\Scripts\flask.exe on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details</span></pre></div> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Operating system</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="OS name: Microsoft Windows 10 professional edition OS version: 10.0.16299 temporary lack of Build 16299"><pre class="notranslate"><code class="notranslate">OS name: Microsoft Windows 10 professional edition OS version: 10.0.16299 temporary lack of Build 16299 </code></pre></div> <ul dir="auto"> <li>Python version:</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="D:\workspace\development\python\WebProject\flaskr&gt;python --version Python 3.6.3 :: Anaconda, Inc."><pre class="notranslate"><code class="notranslate">D:\workspace\development\python\WebProject\flaskr&gt;python --version Python 3.6.3 :: Anaconda, Inc. </code></pre></div> <ul dir="auto"> <li>Flask version:</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="D:\workspace\development\python\WebProject\flaskr&gt;python -m flask --version Flask 0.12.2 Python 3.6.3 |Anaconda, Inc.| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)]"><pre class="notranslate"><code class="notranslate">D:\workspace\development\python\WebProject\flaskr&gt;python -m flask --version Flask 0.12.2 Python 3.6.3 |Anaconda, Inc.| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)] </code></pre></div> <ul dir="auto"> <li>Werkzeug version:</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Werkzeug (0.12.2)"><pre class="notranslate"><code class="notranslate">Werkzeug (0.12.2) </code></pre></div>
<p dir="auto">I am running apistar on python 3 and encountering an issue that has lead me to the werkzeug reloader.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(fresh) C:\Users\uskaxb07\PycharmProjects\testapi&gt;apistar run Starting up... * Restarting with stat File &quot;C:\Users\uskaxb07\env\fresh\Scripts\apistar.exe&quot;, line 1 SyntaxError: Non-UTF-8 code starting with '\x90' in file C:\Users\uskaxb07\env\fresh\Scripts\apistar.exe on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details"><pre class="notranslate"><code class="notranslate">(fresh) C:\Users\uskaxb07\PycharmProjects\testapi&gt;apistar run Starting up... * Restarting with stat File "C:\Users\uskaxb07\env\fresh\Scripts\apistar.exe", line 1 SyntaxError: Non-UTF-8 code starting with '\x90' in file C:\Users\uskaxb07\env\fresh\Scripts\apistar.exe on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details </code></pre></div> <p dir="auto">Removing the <code class="notranslate">use_reloader</code> from the call to<code class="notranslate"> run_simple()</code> works. After digging into a couple of comments I found that <a href="https://github.com/pallets/werkzeug/blob/master/werkzeug/_reloader.py#L118">https://github.com/pallets/werkzeug/blob/master/werkzeug/_reloader.py#L118</a> is doing some encoding to latin1 but only when the os is windows and the python version is 2. Could this be causing the Non-UTF-8 Syntax Error that I am recieving in python3?</p>
1
<p dir="auto">Scrapy : 1.5.0<br> lxml : 4.1.1.0<br> libxml2 : 2.9.5<br> cssselect : 1.0.3<br> parsel : 1.4.0<br> w3lib : 1.19.0<br> Twisted : 17.9.0<br> Python : 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)]<br> pyOpenSSL : 17.6.0.dev0 (OpenSSL 1.1.0g 2 Nov 2017)<br> cryptography : 2.1.4<br> Platform : Windows-7-6.1.7601-SP1</p> <p dir="auto">2018-03-12 21:20:46 [scrapy.core.engine] DEBUG: Crawled (200) &lt;GET <a href="http://www.farmerscompress.com/%3E" rel="nofollow">http://www.farmerscompress.com/&gt;</a> (referer: None)<br> 2018-03-12 21:20:46 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying &lt;POST <a href="https://www.farmerscompress.com/ProcessUser.aspx%3E" rel="nofollow">https://www.farmerscompress.com/ProcessUser.aspx&gt;</a> (failed 1 times): []<br> 2018-03-12 21:20:50 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying &lt;POST <a href="https://www.farmerscompress.com/ProcessUser.aspx%3E" rel="nofollow">https://www.farmerscompress.com/ProcessUser.aspx&gt;</a> (failed 2 times): []<br> 2018-03-12 21:20:50 [scrapy.downloadermiddlewares.retry] DEBUG: Gave up retrying &lt;POST <a href="https://www.farmerscompress.com/ProcessUser.aspx%3E" rel="nofollow">https://www.farmerscompress.com/ProcessUser.aspx&gt;</a> (failed 3 tim<br> es): [&lt;twisted.python.failure.Failure twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion: Connection<br> lost.&gt;]<br> 2018-03-12 21:20:50 [scrapy.core.scraper] ERROR: Error downloading &lt;POST <a href="https://www.farmerscompress.com/ProcessUser.aspx%3E" rel="nofollow">https://www.farmerscompress.com/ProcessUser.aspx&gt;</a>: [&lt;twisted.python.failure.F<br> ailure twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion: Connection lost.&gt;]<br> 2018-03-12 21:20:51 [scrapy.core.engine] INFO: Closing spider (finished)<br> 2018-03-12 21:20:51 [scrapy.statscollectors] INFO: Dumping Scrapy stats:</p>
<p dir="auto">Hi,</p> <p dir="auto">I'm attempting to run scrapy on <code class="notranslate">https://agences.creditfoncier.fr/credit-immobilier/toutes-nos-agences</code>.</p> <p dir="auto">Despite upgrading all my brew packages, scrapy installation via <code class="notranslate">pip install -U scrapy</code>, the website disconnects uncleanly. Specifying <code class="notranslate">-s DOWNLOADER_CLIENT_TLS_METHOD=TLSv1.0</code> makes no difference to the following run. Neither does a user-agent clear things up with <code class="notranslate">-s USER_AGENT="Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36"</code></p> <p dir="auto">I am uncertain as how to debug this further.</p> <p dir="auto"><code class="notranslate">scrapy shell https://agences.creditfoncier.fr/credit-immobilier/toutes-nos-agences</code></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2018-01-09 18:03:33 [scrapy.utils.log] INFO: Scrapy 1.5.0 started (bot: scrapybot) 2018-01-09 18:03:33 [scrapy.utils.log] INFO: Versions: lxml 4.1.1.0, libxml2 2.9.7, cssselect 1.0.3, parsel 1.3.1, w3lib 1.18.0, Twisted 17.9.0, Python 3.6.2 (default, Jul 17 2017, 16:44:45) - [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)], pyOpenSSL 17.5.0 (OpenSSL 1.1.0g 2 Nov 2017), cryptography 2.1.4, Platform Darwin-16.7.0-x86_64-i386-64bit 2018-01-09 18:03:33 [scrapy.crawler] INFO: Overridden settings: {'DOWNLOADER_CLIENT_TLS_METHOD': 'TLSv1.0', 'DUPEFILTER_CLASS': 'scrapy.dupefilters.BaseDupeFilter', 'LOGSTATS_INTERVAL': 0} 2018-01-09 18:03:33 [scrapy.middleware] INFO: Enabled extensions: ['scrapy.extensions.corestats.CoreStats', 'scrapy.extensions.telnet.TelnetConsole', 'scrapy.extensions.memusage.MemoryUsage'] 2018-01-09 18:03:33 [scrapy.middleware] INFO: Enabled downloader middlewares: ['scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware', 'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware', 'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware', 'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware', 'scrapy.downloadermiddlewares.retry.RetryMiddleware', 'scrapy.downloadermiddlewares.redirect.MetaRefreshMiddleware', 'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware', 'scrapy.downloadermiddlewares.redirect.RedirectMiddleware', 'scrapy.downloadermiddlewares.cookies.CookiesMiddleware', 'scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware', 'scrapy.downloadermiddlewares.stats.DownloaderStats'] 2018-01-09 18:03:33 [scrapy.middleware] INFO: Enabled spider middlewares: ['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware', 'scrapy.spidermiddlewares.offsite.OffsiteMiddleware', 'scrapy.spidermiddlewares.referer.RefererMiddleware', 'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware', 'scrapy.spidermiddlewares.depth.DepthMiddleware'] 2018-01-09 18:03:33 [scrapy.middleware] INFO: Enabled item pipelines: [] 2018-01-09 18:03:33 [scrapy.extensions.telnet] DEBUG: Telnet console listening on 127.0.0.1:6023 2018-01-09 18:03:33 [scrapy.core.engine] INFO: Spider opened 2018-01-09 18:03:34 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying &lt;GET https://agences.creditfoncier.fr/credit-immobilier/toutes-nos-agences&gt; (failed 1 times): [&lt;twisted.python.failure.Failure twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion: Connection lost.&gt;] 2018-01-09 18:03:34 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying &lt;GET https://agences.creditfoncier.fr/credit-immobilier/toutes-nos-agences&gt; (failed 2 times): [&lt;twisted.python.failure.Failure twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion: Connection lost.&gt;] 2018-01-09 18:03:35 [scrapy.downloadermiddlewares.retry] DEBUG: Gave up retrying &lt;GET https://agences.creditfoncier.fr/credit-immobilier/toutes-nos-agences&gt; (failed 3 times): [&lt;twisted.python.failure.Failure twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion: Connection lost.&gt;] Traceback (most recent call last): File &quot;/Users/BenJolitz/.virtualenvs/cpython36/bin/scrapy&quot;, line 11, in &lt;module&gt; sys.exit(execute()) File &quot;/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/scrapy/cmdline.py&quot;, line 150, in execute _run_print_help(parser, _run_command, cmd, args, opts) File &quot;/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/scrapy/cmdline.py&quot;, line 90, in _run_print_help func(*a, **kw) File &quot;/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/scrapy/cmdline.py&quot;, line 157, in _run_command cmd.run(args, opts) File &quot;/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/scrapy/commands/shell.py&quot;, line 73, in run shell.start(url=url, redirect=not opts.no_redirect) File &quot;/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/scrapy/shell.py&quot;, line 48, in start self.fetch(url, spider, redirect=redirect) File &quot;/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/scrapy/shell.py&quot;, line 115, in fetch reactor, self._schedule, request, spider) File &quot;/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/twisted/internet/threads.py&quot;, line 122, in blockingCallFromThread result.raiseException() File &quot;/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/twisted/python/failure.py&quot;, line 385, in raiseException raise self.value.with_traceback(self.tb) twisted.web._newclient.ResponseNeverReceived: [&lt;twisted.python.failure.Failure twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion: Connection lost.&gt;]"><pre class="notranslate"><code class="notranslate">2018-01-09 18:03:33 [scrapy.utils.log] INFO: Scrapy 1.5.0 started (bot: scrapybot) 2018-01-09 18:03:33 [scrapy.utils.log] INFO: Versions: lxml 4.1.1.0, libxml2 2.9.7, cssselect 1.0.3, parsel 1.3.1, w3lib 1.18.0, Twisted 17.9.0, Python 3.6.2 (default, Jul 17 2017, 16:44:45) - [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)], pyOpenSSL 17.5.0 (OpenSSL 1.1.0g 2 Nov 2017), cryptography 2.1.4, Platform Darwin-16.7.0-x86_64-i386-64bit 2018-01-09 18:03:33 [scrapy.crawler] INFO: Overridden settings: {'DOWNLOADER_CLIENT_TLS_METHOD': 'TLSv1.0', 'DUPEFILTER_CLASS': 'scrapy.dupefilters.BaseDupeFilter', 'LOGSTATS_INTERVAL': 0} 2018-01-09 18:03:33 [scrapy.middleware] INFO: Enabled extensions: ['scrapy.extensions.corestats.CoreStats', 'scrapy.extensions.telnet.TelnetConsole', 'scrapy.extensions.memusage.MemoryUsage'] 2018-01-09 18:03:33 [scrapy.middleware] INFO: Enabled downloader middlewares: ['scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware', 'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware', 'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware', 'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware', 'scrapy.downloadermiddlewares.retry.RetryMiddleware', 'scrapy.downloadermiddlewares.redirect.MetaRefreshMiddleware', 'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware', 'scrapy.downloadermiddlewares.redirect.RedirectMiddleware', 'scrapy.downloadermiddlewares.cookies.CookiesMiddleware', 'scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware', 'scrapy.downloadermiddlewares.stats.DownloaderStats'] 2018-01-09 18:03:33 [scrapy.middleware] INFO: Enabled spider middlewares: ['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware', 'scrapy.spidermiddlewares.offsite.OffsiteMiddleware', 'scrapy.spidermiddlewares.referer.RefererMiddleware', 'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware', 'scrapy.spidermiddlewares.depth.DepthMiddleware'] 2018-01-09 18:03:33 [scrapy.middleware] INFO: Enabled item pipelines: [] 2018-01-09 18:03:33 [scrapy.extensions.telnet] DEBUG: Telnet console listening on 127.0.0.1:6023 2018-01-09 18:03:33 [scrapy.core.engine] INFO: Spider opened 2018-01-09 18:03:34 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying &lt;GET https://agences.creditfoncier.fr/credit-immobilier/toutes-nos-agences&gt; (failed 1 times): [&lt;twisted.python.failure.Failure twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion: Connection lost.&gt;] 2018-01-09 18:03:34 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying &lt;GET https://agences.creditfoncier.fr/credit-immobilier/toutes-nos-agences&gt; (failed 2 times): [&lt;twisted.python.failure.Failure twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion: Connection lost.&gt;] 2018-01-09 18:03:35 [scrapy.downloadermiddlewares.retry] DEBUG: Gave up retrying &lt;GET https://agences.creditfoncier.fr/credit-immobilier/toutes-nos-agences&gt; (failed 3 times): [&lt;twisted.python.failure.Failure twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion: Connection lost.&gt;] Traceback (most recent call last): File "/Users/BenJolitz/.virtualenvs/cpython36/bin/scrapy", line 11, in &lt;module&gt; sys.exit(execute()) File "/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/scrapy/cmdline.py", line 150, in execute _run_print_help(parser, _run_command, cmd, args, opts) File "/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/scrapy/cmdline.py", line 90, in _run_print_help func(*a, **kw) File "/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/scrapy/cmdline.py", line 157, in _run_command cmd.run(args, opts) File "/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/scrapy/commands/shell.py", line 73, in run shell.start(url=url, redirect=not opts.no_redirect) File "/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/scrapy/shell.py", line 48, in start self.fetch(url, spider, redirect=redirect) File "/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/scrapy/shell.py", line 115, in fetch reactor, self._schedule, request, spider) File "/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/twisted/internet/threads.py", line 122, in blockingCallFromThread result.raiseException() File "/Users/BenJolitz/.virtualenvs/cpython36/lib/python3.6/site-packages/twisted/python/failure.py", line 385, in raiseException raise self.value.with_traceback(self.tb) twisted.web._newclient.ResponseNeverReceived: [&lt;twisted.python.failure.Failure twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion: Connection lost.&gt;] </code></pre></div> <p dir="auto"><code class="notranslate">scrapy version -v</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Scrapy : 1.5.0 lxml : 4.1.1.0 libxml2 : 2.9.7 cssselect : 1.0.3 parsel : 1.3.1 w3lib : 1.18.0 Twisted : 17.9.0 Python : 3.6.2 (default, Jul 17 2017, 16:44:45) - [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] pyOpenSSL : 17.5.0 (OpenSSL 1.1.0g 2 Nov 2017) cryptography : 2.1.4 Platform : Darwin-16.7.0-x86_64-i386-64bit"><pre class="notranslate"><code class="notranslate">Scrapy : 1.5.0 lxml : 4.1.1.0 libxml2 : 2.9.7 cssselect : 1.0.3 parsel : 1.3.1 w3lib : 1.18.0 Twisted : 17.9.0 Python : 3.6.2 (default, Jul 17 2017, 16:44:45) - [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] pyOpenSSL : 17.5.0 (OpenSSL 1.1.0g 2 Nov 2017) cryptography : 2.1.4 Platform : Darwin-16.7.0-x86_64-i386-64bit </code></pre></div> <p dir="auto"><code class="notranslate">curl -sLv https://agences.creditfoncier.fr/credit-immobilier/toutes-nos-agences 2&gt;&amp;1 | head -20</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="* Trying 160.92.134.3... * TCP_NODELAY set * Connected to agences.creditfoncier.fr (160.92.134.3) port 443 (#0) * TLS 1.0 connection using TLS_RSA_WITH_3DES_EDE_CBC_SHA * Server certificate: agences.creditfoncier.fr * Server certificate: RapidSSL RSA CA 2018 * Server certificate: DigiCert Global Root CA &gt; GET /credit-immobilier/toutes-nos-agences HTTP/1.1 &gt; Host: agences.creditfoncier.fr &gt; User-Agent: curl/7.54.0 &gt; Accept: */* &gt; &lt; HTTP/1.1 200 OK &lt; Date: Wed, 10 Jan 2018 02:06:54 GMT &lt; Server: Microsoft-IIS/6.0 &lt; X-Powered-By: ASP.NET &lt; Content-Length: 35884 &lt; Content-Type: text/html &lt; Set-Cookie: ASPSESSIONIDQQBACDTS=JHOJNNCCJNIFABOPLNCEEAFH; path=/ &lt; Cache-control: private"><pre class="notranslate"><code class="notranslate">* Trying 160.92.134.3... * TCP_NODELAY set * Connected to agences.creditfoncier.fr (160.92.134.3) port 443 (#0) * TLS 1.0 connection using TLS_RSA_WITH_3DES_EDE_CBC_SHA * Server certificate: agences.creditfoncier.fr * Server certificate: RapidSSL RSA CA 2018 * Server certificate: DigiCert Global Root CA &gt; GET /credit-immobilier/toutes-nos-agences HTTP/1.1 &gt; Host: agences.creditfoncier.fr &gt; User-Agent: curl/7.54.0 &gt; Accept: */* &gt; &lt; HTTP/1.1 200 OK &lt; Date: Wed, 10 Jan 2018 02:06:54 GMT &lt; Server: Microsoft-IIS/6.0 &lt; X-Powered-By: ASP.NET &lt; Content-Length: 35884 &lt; Content-Type: text/html &lt; Set-Cookie: ASPSESSIONIDQQBACDTS=JHOJNNCCJNIFABOPLNCEEAFH; path=/ &lt; Cache-control: private </code></pre></div>
1
<p dir="auto">Simply add anywhere in template the following:</p> <p dir="auto"><code class="notranslate">{{123456 | number}}</code><br> or<br> <code class="notranslate">{{123456 | number:'4.2-2'}}</code></p> <p dir="auto">In desktop browsers (Firefox, Chrome, IE10) the value is correctly interpolated as:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="123,456"><pre class="notranslate"><code class="notranslate">123,456 </code></pre></div> <p dir="auto">or</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="123,456.00"><pre class="notranslate"><code class="notranslate">123,456.00 </code></pre></div> <p dir="auto">but on mobile browsers on iPad iOS 9.2.1 (Chrome 47, Safari, Firefox 2.0) it fails resulting in empty value.</p>
<p dir="auto">Running unit tests in non-Chrome browsers raised some doubts about this API which is currently used in the Date and Currency pipes.</p> <p dir="auto">To start with, it is not supported in all Safari versions (desktop and mobile) and older browsers:<br> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl</a><br> <a href="http://caniuse.com/#search=intl" rel="nofollow">http://caniuse.com/#search=intl</a></p> <p dir="auto">Then, on browsers which support it, the result doesn't match what Chrome does.<br> On Firefox, one of the test fires this 2 years old bug: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=866372" rel="nofollow">https://bugzilla.mozilla.org/show_bug.cgi?id=866372</a><br> On IE11, most tests are failing due to discrepancies in output (formatting, white space, special chars,etc).</p> <p dir="auto">At the end of the day, it seems only reliable in Chrome, but it is also difficult to polyfill.<br> So, if anyone has a good solution to that, please speak up!</p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=tareq" rel="nofollow">Tareq Abedrabbo</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-5516?redirect=false" rel="nofollow">SPR-5516</a></strong> and commented</p> <p dir="auto">The RestTemplate does not encode the url variables. The following line:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="template.postForLocation(&quot;http://twitter.com/statuses/update.xml?status={status}&quot;, &quot;&quot;, &quot;Ho Ho&quot;);"><pre class="notranslate"><code class="notranslate">template.postForLocation("http://twitter.com/statuses/update.xml?status={status}", "", "Ho Ho"); </code></pre></div> <p dir="auto">Results in an exception:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Exception in thread &quot;main&quot; java.lang.IllegalArgumentException at java.net.URI.create(URI.java:842) at org.springframework.web.util.UriTemplate.expand(UriTemplate.java:140) at org.springframework.web.client.core.RestTemplate.execute(RestTemplate.java:266) at org.springframework.web.client.core.RestTemplate.postForLocation(RestTemplate.java:203) at test.RestClientTest.main(RestClientTest.java:30) Caused by: java.net.URISyntaxException: Illegal character in query at index 48: http://twitter.com/statuses/update.xml?status=Ho Ho at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parseHierarchical(URI.java:3072) at java.net.URI$Parser.parse(URI.java:3014) at java.net.URI.&lt;init&gt;(URI.java:578) at java.net.URI.create(URI.java:840) ... 4 more"><pre class="notranslate"><code class="notranslate">Exception in thread "main" java.lang.IllegalArgumentException at java.net.URI.create(URI.java:842) at org.springframework.web.util.UriTemplate.expand(UriTemplate.java:140) at org.springframework.web.client.core.RestTemplate.execute(RestTemplate.java:266) at org.springframework.web.client.core.RestTemplate.postForLocation(RestTemplate.java:203) at test.RestClientTest.main(RestClientTest.java:30) Caused by: java.net.URISyntaxException: Illegal character in query at index 48: http://twitter.com/statuses/update.xml?status=Ho Ho at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parseHierarchical(URI.java:3072) at java.net.URI$Parser.parse(URI.java:3014) at java.net.URI.&lt;init&gt;(URI.java:578) at java.net.URI.create(URI.java:840) ... 4 more </code></pre></div> <hr> <p dir="auto"><strong>Affects:</strong> 3.0 M2</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="398168568" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/16441" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/16441/hovercard" href="https://github.com/spring-projects/spring-framework/issues/16441">#16441</a> Unable to retrieve FlashMap when contains "+"(half-space) in the request parameters</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398098787" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10957" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10957/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10957">#10957</a> UrlPathHelper is too aggressive decoding URLs</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398098829" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10962" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10962/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10962">#10962</a> Spring:url tag should not use application/x-www-form-urlencoded encoding</li> </ul> <p dir="auto">0 votes, 5 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=arielkung" rel="nofollow">ArielS</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7037?redirect=false" rel="nofollow">SPR-7037</a></strong> and commented</p> <p dir="auto">Hi,<br> I have the same problem that you resolved in the following issue for the put method:</p> <p dir="auto"><a href="http://jira.springframework.org/browse/SPR-5836" rel="nofollow">http://jira.springframework.org/browse/SPR-5836</a></p> <p dir="auto">Right now i'm subclassing RestTemplate but i have to add AcceptHeaderRequestCallback and PostPutCallback inner classes because they are private members of the parent class.</p> <hr> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398159425" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/15256" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/15256/hovercard" href="https://github.com/spring-projects/spring-framework/issues/15256">#15256</a> Please add a putForEntity and a putForLocation method to RestTemplate (<em><strong>"duplicates"</strong></em>)</li> </ul> <p dir="auto">2 votes, 2 watchers</p>
0
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <ul dir="auto"> <li>role</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.3.0.0 config file = /etc/ansible/ansible.cfg configured module search path = Default w/overrides python version = 2.7.13 (default, Dec 21 2016, 07:16:46) [GCC 6.2.1 20160830]"><pre class="notranslate"><code class="notranslate">ansible 2.3.0.0 config file = /etc/ansible/ansible.cfg configured module search path = Default w/overrides python version = 2.7.13 (default, Dec 21 2016, 07:16:46) [GCC 6.2.1 20160830] </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Arch Linux</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Roles where the directory <code class="notranslate">roles/${role_name}</code> exists but if empty are silently ignored.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <ol start="0" dir="auto"> <li>Be <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lrvick/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lrvick">@lrvick</a></li> <li>Forget to run <code class="notranslate">git submodules update --init</code></li> <li>Call a playbook that uses role from the missing submodules</li> </ol> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">Ansible warns about the role being empty.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">Missing roles are silently ignored.</p>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Feature Idea</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">"Playbook roles"</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.0.1.0 config file = ..../ansible.cfg configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">$ ansible --version ansible 2.0.1.0 config file = ..../ansible.cfg configured module search path = Default w/o overrides </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">N/A</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">We have some git submodule in the roles repository, and sometimes we don't update our git clone submodules, which make some failures.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">A teammate adds a new "role submodule"<br> git pull (creates an empty directory for the new submodule)<br> running a playbook that includes this new role does nothing, since roles is an empty directory</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;!--- Paste example playbooks or commands between quotes --&gt;"><pre class="notranslate"><code class="notranslate">&lt;!--- Paste example playbooks or commands between quotes --&gt; </code></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">ansible-playbook should warn about that empty role, or maybe fail because a role that does nothing should not exists.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">role is "ignored"</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;!--- Paste verbatim command output between quotes --&gt;"><pre class="notranslate"><code class="notranslate">&lt;!--- Paste verbatim command output between quotes --&gt; </code></pre></div>
1
<p dir="auto">I feel like Atom should come with everything needed to make it work. This includes Git for installing packages (arguably the most important feature of Atom). When you try to install a package without Git, it throws a pretty useless and confusing error. I think Atom should check to see if Git is installed, and if not, prompt the user to install it along side Atom.</p>
<p dir="auto">Hi, I understand the need to open the devtools on errors, Atom is constantly being fixed and improved, and I agree that it should be the default behavior.</p> <p dir="auto">But for users like me who are trying to give this awesome editor a chance, when working on a project (not working on Atom itself), the behavior of the devtools to pop on every single error is very annoying. I am aware that packages might have problems and they need to be fixed (or disabled to stop the errors), but since I'm working on a project I don't have the time to do this. If things get critical I might debug and start disabling and debugging every single package installed, but if you keep popping that screen on my face every single time I'm gonna ditch Atom for a long time.</p> <p dir="auto">So, after my whining, I propose this:<br> At least there should be an option to disable it, probably accompanied by a warning like "procceed at your own risk, if Atom starts to misbehave, follow the debugging procedure described here &gt;link&lt;".</p> <p dir="auto">PS: I searched through the issues and didn't find a similar request, only bugs that referenced this behavior. So, in case this is a duplicate, sorry.</p>
0
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/en/challenges/basic-javascript/escaping-literal-quotes-in-strings" rel="nofollow">escaping-literal-quotes-in-strings</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Safari/602.1.50</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <p dir="auto">Hello there. The code seem to be correct but I still can't pass the "use two double quotes (") and four escaped double quotes (")" issue. Am I mistaken and there's something wrong with the code, or I got it right and it just doesn't want to go through?</p> <p dir="auto">Thanks</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/21070029/18407945/eeb70090-76ec-11e6-8945-6e76c2ee8dcc.png"><img src="https://cloud.githubusercontent.com/assets/21070029/18407945/eeb70090-76ec-11e6-8945-6e76c2ee8dcc.png" alt="screen shot 2016-09-10 at 12 17 31 am" style="max-width: 100%;"></a></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" var myStr = &quot;I am a \&quot;double quoted\&quot; string inside \&quot;double quotes\&quot;.&quot;; // Change this line "><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">myStr</span> <span class="pl-c1">=</span> <span class="pl-s">"I am a \"double quoted\" string inside \"double quotes\"."</span><span class="pl-kos">;</span> <span class="pl-c">// Change this line</span> </pre></div>
<p dir="auto">After creating a couple of bug reports I notice that there is a lot of duplication of the same bugs/errors. I don't have a bug report but a suggestion that clicking on a bug button in one particular challenge should list all the previous bugs filed here at github, so people can see if this has already been filed or not. github api someone?? I'm new to web-dev but if someone can point me the direction I can try myself to look into this.</p> <p dir="auto">if someone has already filed this bug, you get the point.</p>
0
<p dir="auto">Hi,<br> I noticed that datetime parsing for large sql/csv tables is really slow. Would it be acceptable to use a technique where repeated calculations are cached? For example, instead of:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="def parse_date(date_str) : return datetime.datetime.strptime(date_str,FMT) def parse_date_col(str_col) : return [parse_date(date_str) for date_str in str_col]"><pre class="notranslate"><span class="pl-k">def</span> <span class="pl-en">parse_date</span>(<span class="pl-s1">date_str</span>) : <span class="pl-k">return</span> <span class="pl-s1">datetime</span>.<span class="pl-s1">datetime</span>.<span class="pl-en">strptime</span>(<span class="pl-s1">date_str</span>,<span class="pl-v">FMT</span>) <span class="pl-k">def</span> <span class="pl-en">parse_date_col</span>(<span class="pl-s1">str_col</span>) : <span class="pl-k">return</span> [<span class="pl-en">parse_date</span>(<span class="pl-s1">date_str</span>) <span class="pl-k">for</span> <span class="pl-s1">date_str</span> <span class="pl-c1">in</span> <span class="pl-s1">str_col</span>]</pre></div> <p dir="auto">use</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="def parse_date(date_str) : return datetime.datetime.strptime(date_str,FMT) def parse_date_col(str_col) : cache = dict() for date_str in str_col : if date_str not in cache : cache[date_str] = parse_date(date_str) return [cache[date_str] for date_str in str_col]"><pre class="notranslate"><span class="pl-k">def</span> <span class="pl-en">parse_date</span>(<span class="pl-s1">date_str</span>) : <span class="pl-k">return</span> <span class="pl-s1">datetime</span>.<span class="pl-s1">datetime</span>.<span class="pl-en">strptime</span>(<span class="pl-s1">date_str</span>,<span class="pl-v">FMT</span>) <span class="pl-k">def</span> <span class="pl-en">parse_date_col</span>(<span class="pl-s1">str_col</span>) : <span class="pl-s1">cache</span> <span class="pl-c1">=</span> <span class="pl-en">dict</span>() <span class="pl-k">for</span> <span class="pl-s1">date_str</span> <span class="pl-c1">in</span> <span class="pl-s1">str_col</span> : <span class="pl-k">if</span> <span class="pl-s1">date_str</span> <span class="pl-c1">not</span> <span class="pl-c1">in</span> <span class="pl-s1">cache</span> : <span class="pl-s1">cache</span>[<span class="pl-s1">date_str</span>] <span class="pl-c1">=</span> <span class="pl-en">parse_date</span>(<span class="pl-s1">date_str</span>) <span class="pl-k">return</span> [<span class="pl-s1">cache</span>[<span class="pl-s1">date_str</span>] <span class="pl-k">for</span> <span class="pl-s1">date_str</span> <span class="pl-c1">in</span> <span class="pl-s1">str_col</span>]</pre></div> <p dir="auto">The reason this works is that string hashing / comparison / dictionary insertion is much much faster than strptime.</p> <p dir="auto">For tables where dates are repeated many times this can result in orders of magnitude speedup.</p> <p dir="auto">Thanks<br> Charles</p>
<p dir="auto">I just upgrage from 0.11 to 0.12 version. And meet dataframe rename error caused by upgrading. (It worked well in 0.11) .</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; df4 TClose RT TExg STK_ID RPT_Date 600809 20130331 22.02 0.0454 0.0422 &gt;&gt;&gt; df5 STK_ID RPT_Date STK_Name TClose STK_ID RPT_Date 600809 20120930 600809 20120930 山西汾酒 38.05 20121231 600809 20121231 山西汾酒 41.66 20130331 600809 20130331 山西汾酒 30.01 &gt;&gt;&gt; k=pd.merge(df4, df5, how='inner', left_index=True, right_index=True) &gt;&gt;&gt; k TClose_x RT TExg STK_ID RPT_Date STK_Name TClose_y STK_ID RPT_Date 600809 20130331 22.02 0.0454 0.0422 600809 20130331 山西汾酒 30.01 &gt;&gt;&gt; k.rename(columns={'TClose_x':'TClose', 'TClose_y':'QT_Close'}) Traceback (most recent call last): File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt; File &quot;d:\Python27\lib\site-packages\pandas\core\base.py&quot;, line 40, in __repr__ return str(self) File &quot;d:\Python27\lib\site-packages\pandas\core\base.py&quot;, line 20, in __str__ return self.__bytes__() File &quot;d:\Python27\lib\site-packages\pandas\core\base.py&quot;, line 32, in __bytes__ return self.__unicode__().encode(encoding, 'replace') File &quot;d:\Python27\lib\site-packages\pandas\core\frame.py&quot;, line 668, in __unicode__ self.to_string(buf=buf) File &quot;d:\Python27\lib\site-packages\pandas\core\frame.py&quot;, line 1556, in to_string formatter.to_string() File &quot;d:\Python27\lib\site-packages\pandas\core\format.py&quot;, line 294, in to_string strcols = self._to_str_columns() File &quot;d:\Python27\lib\site-packages\pandas\core\format.py&quot;, line 239, in _to_str_columns str_columns = self._get_formatted_column_labels() File &quot;d:\Python27\lib\site-packages\pandas\core\format.py&quot;, line 435, in _get_formatted_column_labels dtypes = self.frame.dtypes File &quot;d:\Python27\lib\site-packages\pandas\core\frame.py&quot;, line 1696, in dtypes return self.apply(lambda x: x.dtype) File &quot;d:\Python27\lib\site-packages\pandas\core\frame.py&quot;, line 4416, in apply return self._apply_standard(f, axis) File &quot;d:\Python27\lib\site-packages\pandas\core\frame.py&quot;, line 4491, in _apply_standard raise e TypeError: (&quot;'NoneType' object is not iterable&quot;, u'occurred at index TExg') &gt;&gt;&gt; df4.dtypes TClose float64 RT float64 TExg float64 dtype: object &gt;&gt;&gt; df5.dtypes STK_ID object RPT_Date object STK_Name object TClose float64 dtype: object &gt;&gt;&gt; "><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; df4 TClose RT TExg STK_ID RPT_Date 600809 20130331 22.02 0.0454 0.0422 &gt;&gt;&gt; df5 STK_ID RPT_Date STK_Name TClose STK_ID RPT_Date 600809 20120930 600809 20120930 山西汾酒 38.05 20121231 600809 20121231 山西汾酒 41.66 20130331 600809 20130331 山西汾酒 30.01 &gt;&gt;&gt; k=pd.merge(df4, df5, how='inner', left_index=True, right_index=True) &gt;&gt;&gt; k TClose_x RT TExg STK_ID RPT_Date STK_Name TClose_y STK_ID RPT_Date 600809 20130331 22.02 0.0454 0.0422 600809 20130331 山西汾酒 30.01 &gt;&gt;&gt; k.rename(columns={'TClose_x':'TClose', 'TClose_y':'QT_Close'}) Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; File "d:\Python27\lib\site-packages\pandas\core\base.py", line 40, in __repr__ return str(self) File "d:\Python27\lib\site-packages\pandas\core\base.py", line 20, in __str__ return self.__bytes__() File "d:\Python27\lib\site-packages\pandas\core\base.py", line 32, in __bytes__ return self.__unicode__().encode(encoding, 'replace') File "d:\Python27\lib\site-packages\pandas\core\frame.py", line 668, in __unicode__ self.to_string(buf=buf) File "d:\Python27\lib\site-packages\pandas\core\frame.py", line 1556, in to_string formatter.to_string() File "d:\Python27\lib\site-packages\pandas\core\format.py", line 294, in to_string strcols = self._to_str_columns() File "d:\Python27\lib\site-packages\pandas\core\format.py", line 239, in _to_str_columns str_columns = self._get_formatted_column_labels() File "d:\Python27\lib\site-packages\pandas\core\format.py", line 435, in _get_formatted_column_labels dtypes = self.frame.dtypes File "d:\Python27\lib\site-packages\pandas\core\frame.py", line 1696, in dtypes return self.apply(lambda x: x.dtype) File "d:\Python27\lib\site-packages\pandas\core\frame.py", line 4416, in apply return self._apply_standard(f, axis) File "d:\Python27\lib\site-packages\pandas\core\frame.py", line 4491, in _apply_standard raise e TypeError: ("'NoneType' object is not iterable", u'occurred at index TExg') &gt;&gt;&gt; df4.dtypes TClose float64 RT float64 TExg float64 dtype: object &gt;&gt;&gt; df5.dtypes STK_ID object RPT_Date object STK_Name object TClose float64 dtype: object &gt;&gt;&gt; </code></pre></div>
0
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.4.0</li> <li>Operating System / Platform =&gt; OSX 10.15.5 (Catalina)</li> <li>Compiler =&gt; Python 3.8.5, pip 20.2.2</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">Running <code class="notranslate">cv2.imshow()</code> with any graphic caused segfault <a href="https://github.com/opencv/opencv/files/5068321/Python_2020-08-13-173300_Richards-MacBook-Pro-2.crash.txt">Python_2020-08-13-173300_Richards-MacBook-Pro-2.crash.txt</a></p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="% pip freeze certifi==2020.6.20 chardet==3.0.4 cycler==0.10.0 gluoncv==0.8.0 graphviz==0.8.4 idna==2.10 kiwisolver==1.2.0 matplotlib==3.3.0 mxnet==1.6.0 numpy==1.19.1 opencv-python==4.4.0.40 Pillow==7.2.0 portalocker==2.0.0 pyparsing==2.4.7 python-dateutil==2.8.1 requests==2.24.0 scipy==1.5.2 six==1.15.0 tqdm==4.48.2 urllib3==1.25.10 % brew ls aom giflib leptonica libvorbis [email protected] sqlite boost glib libass libvpx opus srt cairo glog libbluray libwebsockets p11-kit suite-sparse ceres-solver gmp libevent little-cms2 pandoc szip cmake gnutls libffi lzo pango tbb dav1d gobject-introspection libidn2 metis pcre tesseract eigen graphite2 libmpc mpfr pixman theora ffmpeg graphviz libogg netcdf pkg-config unbound flac gts libpng netpbm protobuf webp fontconfig harfbuzz libsamplerate nettle [email protected] x264 freetype hdf5 libsndfile nginx rav1e x265 frei0r icu4c libsoxr nmap readline xvid fribidi ilmbase libtasn1 node rtmpdump xz gcc iperf3 libtiff numpy rubberband gd isl libtool openblas sdl2 gdbm jasper libunistring opencore-amr sip gettext jpeg libuv openexr snappy gflags lame libvidstab openjpeg speex"><pre class="notranslate">% pip freeze certifi==2020.6.20 chardet==3.0.4 cycler==0.10.0 gluoncv==0.8.0 graphviz==0.8.4 idna==2.10 kiwisolver==1.2.0 matplotlib==3.3.0 mxnet==1.6.0 numpy==1.19.1 opencv-python==4.4.0.40 Pillow==7.2.0 portalocker==2.0.0 pyparsing==2.4.7 python-dateutil==2.8.1 requests==2.24.0 scipy==1.5.2 six==1.15.0 tqdm==4.48.2 urllib3==1.25.10 % brew ls aom giflib leptonica libvorbis [email protected] sqlite boost glib libass libvpx opus srt cairo glog libbluray libwebsockets p11-kit suite-sparse ceres-solver gmp libevent little-cms2 pandoc szip cmake gnutls libffi lzo pango tbb dav1d gobject-introspection libidn2 metis pcre tesseract eigen graphite2 libmpc mpfr pixman theora ffmpeg graphviz libogg netcdf pkg-config unbound flac gts libpng netpbm protobuf webp fontconfig harfbuzz libsamplerate nettle [email protected] x264 freetype hdf5 libsndfile nginx rav1e x265 frei0r icu4c libsoxr nmap readline xvid fribidi ilmbase libtasn1 node rtmpdump xz gcc iperf3 libtiff numpy rubberband gd isl libtool openblas sdl2 gdbm jasper libunistring opencore-amr sip gettext jpeg libuv openexr snappy gflags lame libvidstab openjpeg speex</pre></div> <h5 dir="auto">Steps to reproduce</h5> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import cv2 img = cv2.imread('image.jpg',0) # any jpeg cv2.imshow('frame',img)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">cv2</span> <span class="pl-s1">img</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-en">imread</span>(<span class="pl-s">'image.jpg'</span>,<span class="pl-c1">0</span>) <span class="pl-c"># any jpeg</span> <span class="pl-s1">cv2</span>.<span class="pl-en">imshow</span>(<span class="pl-s">'frame'</span>,<span class="pl-s1">img</span>)</pre></div> <h5 dir="auto">Issue submission checklist</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I report the issue, it's not a question </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I checked the problem with documentation, FAQ, open issues,<br> answers.opencv.org, Stack Overflow, etc and have not found solution </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I updated to latest OpenCV version and the issue is still there </li> <li>[?] There is reproducer code and related data files: videos, images, onnx, etc </li> </ul>
<p dir="auto"><strong>PIP opencv-python package issue</strong>: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="678693907" data-permission-text="Title is private" data-url="https://github.com/opencv/opencv-python/issues/376" data-hovercard-type="issue" data-hovercard-url="/opencv/opencv-python/issues/376/hovercard" href="https://github.com/opencv/opencv-python/issues/376">opencv/opencv-python#376</a></p> <h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; <g-emoji class="g-emoji" alias="grey_question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2754.png">❔</g-emoji></li> <li>Operating System / Platform =&gt; <g-emoji class="g-emoji" alias="grey_question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2754.png">❔</g-emoji></li> <li>Compiler =&gt; ❔</li> </ul> <p dir="auto">Model Name: MacBook Air<br> Model Identifier: MacBookAir7,2<br> Processor Name: Dual-Core Intel Core i5<br> Processor Speed: 1.8 GHz<br> Number of Processors: 1<br> Total Number of Cores: 2<br> L2 Cache (per Core): 256 KB<br> L3 Cache: 3 MB<br> Hyper-Threading Technology: Enabled<br> Memory: 8 GB</p> <p dir="auto">python --version<br> Python 3.8.5 [3.7,3.6]</p> <p dir="auto">❯ pip --version<br> pip 20.2.2 from /Users/xxx/.pyenv/versions/3.8.5/envs/AI-3.8.5/lib/python3.8/site-packages/pip (python 3.8)</p> <p dir="auto">Python 3.8.5 (default, Aug 12 2020, 19:20:20)<br> [Clang 11.0.3 (clang-1103.0.32.62)] on darwin<br> Type "help", "copyright", "credits" or "license" for more information.</p> <blockquote> <blockquote> <blockquote> <p dir="auto">import cv2<br> cv2.<strong>version</strong><br> '4.4.0'</p> </blockquote> </blockquote> </blockquote> <h5 dir="auto">Detailed description</h5> <p dir="auto">Got "[1] 26545 segmentation fault " While running the official OpenCV documentation tutorial code from <a href="https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_gui/py_video_display/py_video_display.html" rel="nofollow">https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_gui/py_video_display/py_video_display.html</a></p> <p dir="auto">Tested Code:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np import cv2 cap = cv2.VideoCapture(0) while(True): # Capture frame-by-frame ret, frame = cap.read() # Our operations on the frame come here gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) # Display the resulting frame cv2.imshow('frame',gray) if cv2.waitKey(1) &amp; 0xFF == ord('q'): break # When everything done, release the capture cap.release() cv2.destroyAllWindows()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-k">import</span> <span class="pl-s1">cv2</span> <span class="pl-s1">cap</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-v">VideoCapture</span>(<span class="pl-c1">0</span>) <span class="pl-k">while</span>(<span class="pl-c1">True</span>): <span class="pl-c"># Capture frame-by-frame</span> <span class="pl-s1">ret</span>, <span class="pl-s1">frame</span> <span class="pl-c1">=</span> <span class="pl-s1">cap</span>.<span class="pl-en">read</span>() <span class="pl-c"># Our operations on the frame come here</span> <span class="pl-s1">gray</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-en">cvtColor</span>(<span class="pl-s1">frame</span>, <span class="pl-s1">cv2</span>.<span class="pl-v">COLOR_BGR2GRAY</span>) <span class="pl-c"># Display the resulting frame</span> <span class="pl-s1">cv2</span>.<span class="pl-en">imshow</span>(<span class="pl-s">'frame'</span>,<span class="pl-s1">gray</span>) <span class="pl-k">if</span> <span class="pl-s1">cv2</span>.<span class="pl-en">waitKey</span>(<span class="pl-c1">1</span>) <span class="pl-c1">&amp;</span> <span class="pl-c1">0xFF</span> <span class="pl-c1">==</span> <span class="pl-en">ord</span>(<span class="pl-s">'q'</span>): <span class="pl-k">break</span> <span class="pl-c"># When everything done, release the capture</span> <span class="pl-s1">cap</span>.<span class="pl-en">release</span>() <span class="pl-s1">cv2</span>.<span class="pl-en">destroyAllWindows</span>()</pre></div> <p dir="auto">Error message:<br> """<br> python test.py<br> [1] 60134 segmentation fault python test.py</p> <p dir="auto">╭─ ~/Projects/cv2 ✘ SEGV  AI-3.8.5 3.8.5 21:39:57<br> """</p> <p dir="auto">What I've. tried :</p> <ol dir="auto"> <li>Used different terminals to run the code. (system terminal app, JetBrains PyCharm terminal, viscose terminal, iterm2, iterm2 is setup for camera access )</li> <li>Used different Python versions (3.6,3.7,3.8)</li> <li>Tried to build from source code. (same problem)</li> </ol> <h5 dir="auto">Steps to reproduce</h5> <h5 dir="auto">Issue submission checklist</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I report the issue, it's not a question </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I checked the problem with documentation, FAQ, open issues,<br> answers.opencv.org, Stack Overflow, etc and have not found solution </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I updated to latest OpenCV version and the issue is still there </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> There is reproducer code and related data files: videos, images, onnx, etc </li> </ul>
1
<p dir="auto">.</p>
<p dir="auto">I'm trying to get <code class="notranslate">inner_hits</code> to work on an a two level deep <code class="notranslate">has_child</code> query, but the grandchild hits just seem to return an empty array. If I specify the inner hits at the top level I get the results I want, but its rather too slow. Using inner hits on the has child query seems much faster, but doesn't return the grandchild hits.</p> <p dir="auto">Below is an example query:</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;from&quot; : 0, &quot;size&quot; : 25, &quot;query&quot; : { &quot;has_child&quot; : { &quot;query&quot; : { &quot;has_child&quot; : { &quot;query&quot; : { &quot;filtered&quot; : { &quot;query&quot; : { &quot;multi_match&quot; : { &quot;query&quot; : &quot;asia&quot;, &quot;fields&quot; : [ &quot;_search&quot; ], &quot;operator&quot; : &quot;AND&quot;, &quot;analyzer&quot; : &quot;library_synonyms&quot;, &quot;fuzziness&quot; : &quot;1&quot; } }, &quot;filter&quot; : { &quot;and&quot; : { &quot;filters&quot; : [ { &quot;terms&quot; : { &quot;range&quot; : [ &quot;Global&quot; ] } } ] } } } }, &quot;child_type&quot; : &quot;document-ref&quot;, &quot;inner_hits&quot; : { &quot;name&quot; : &quot;document-ref&quot; } } }, &quot;child_type&quot; : &quot;class&quot;, &quot;inner_hits&quot; : { &quot;size&quot; : 1000, &quot;_source&quot; : false, &quot;fielddata_fields&quot; : [ &quot;class&quot; ], &quot;name&quot; : &quot;class&quot; } } }, &quot;fielddata_fields&quot; : [ &quot;name&quot; ] }"><pre class="notranslate">{ <span class="pl-ent">"from"</span> : <span class="pl-c1">0</span>, <span class="pl-ent">"size"</span> : <span class="pl-c1">25</span>, <span class="pl-ent">"query"</span> : { <span class="pl-ent">"has_child"</span> : { <span class="pl-ent">"query"</span> : { <span class="pl-ent">"has_child"</span> : { <span class="pl-ent">"query"</span> : { <span class="pl-ent">"filtered"</span> : { <span class="pl-ent">"query"</span> : { <span class="pl-ent">"multi_match"</span> : { <span class="pl-ent">"query"</span> : <span class="pl-s"><span class="pl-pds">"</span>asia<span class="pl-pds">"</span></span>, <span class="pl-ent">"fields"</span> : [ <span class="pl-s"><span class="pl-pds">"</span>_search<span class="pl-pds">"</span></span> ], <span class="pl-ent">"operator"</span> : <span class="pl-s"><span class="pl-pds">"</span>AND<span class="pl-pds">"</span></span>, <span class="pl-ent">"analyzer"</span> : <span class="pl-s"><span class="pl-pds">"</span>library_synonyms<span class="pl-pds">"</span></span>, <span class="pl-ent">"fuzziness"</span> : <span class="pl-s"><span class="pl-pds">"</span>1<span class="pl-pds">"</span></span> } }, <span class="pl-ent">"filter"</span> : { <span class="pl-ent">"and"</span> : { <span class="pl-ent">"filters"</span> : [ { <span class="pl-ent">"terms"</span> : { <span class="pl-ent">"range"</span> : [ <span class="pl-s"><span class="pl-pds">"</span>Global<span class="pl-pds">"</span></span> ] } } ] } } } }, <span class="pl-ent">"child_type"</span> : <span class="pl-s"><span class="pl-pds">"</span>document-ref<span class="pl-pds">"</span></span>, <span class="pl-ent">"inner_hits"</span> : { <span class="pl-ent">"name"</span> : <span class="pl-s"><span class="pl-pds">"</span>document-ref<span class="pl-pds">"</span></span> } } }, <span class="pl-ent">"child_type"</span> : <span class="pl-s"><span class="pl-pds">"</span>class<span class="pl-pds">"</span></span>, <span class="pl-ent">"inner_hits"</span> : { <span class="pl-ent">"size"</span> : <span class="pl-c1">1000</span>, <span class="pl-ent">"_source"</span> : <span class="pl-c1">false</span>, <span class="pl-ent">"fielddata_fields"</span> : [ <span class="pl-s"><span class="pl-pds">"</span>class<span class="pl-pds">"</span></span> ], <span class="pl-ent">"name"</span> : <span class="pl-s"><span class="pl-pds">"</span>class<span class="pl-pds">"</span></span> } } }, <span class="pl-ent">"fielddata_fields"</span> : [ <span class="pl-s"><span class="pl-pds">"</span>name<span class="pl-pds">"</span></span> ] }</pre></div> <p dir="auto">The <code class="notranslate">document-ref</code> inner hits just always returns an empty array. Should this work (and, if so, any ideas why it isn't?), or is it beyond the means of what inner hits can currently do?</p>
1
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ x ] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[ x ] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question </code></pre></div> <p dir="auto"><strong>Current behavior</strong></p> <p dir="auto">Response from jsonp requests is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught ReferenceError: __ng_jsonp____req0_finished is not defined at VM4511 recent?access_token=12345…&amp;callback=__ng_jsonp__…:1 (anonymous) @ VM4511 recent?access_token=12345…&amp;callback=__ng_jsonp__…:1"><pre class="notranslate"><code class="notranslate">Uncaught ReferenceError: __ng_jsonp____req0_finished is not defined at VM4511 recent?access_token=12345…&amp;callback=__ng_jsonp__…:1 (anonymous) @ VM4511 recent?access_token=12345…&amp;callback=__ng_jsonp__…:1 </code></pre></div> <p dir="auto">Followed JSONP tutorial in the HTTP Client - ts docs for angular 2. Heres my code:</p> <p dir="auto">I have gotten a correct response and payload when using <code class="notranslate">callback="__ng_jsonp____req0.finished</code> so I know my url and auth is correct</p> <p dir="auto">Service</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import { Injectable } from '@angular/core'; import { Jsonp } from '@angular/http'; import { Observable } from 'rxjs'; import 'rxjs/add/operator/map'; @Injectable() export class LandingService { constructor(private jsonp: Jsonp, private http: Http) {} myFunction() { let request: string; let result: any; request = &quot;https://api.instagram.com/v1/users/self/media/recent?callback=JSONP_CALLBACK&quot;; result = this.jsonp.get(request).map(response =&gt; response.json()); return result; } }"><pre class="notranslate"><code class="notranslate">import { Injectable } from '@angular/core'; import { Jsonp } from '@angular/http'; import { Observable } from 'rxjs'; import 'rxjs/add/operator/map'; @Injectable() export class LandingService { constructor(private jsonp: Jsonp, private http: Http) {} myFunction() { let request: string; let result: any; request = "https://api.instagram.com/v1/users/self/media/recent?callback=JSONP_CALLBACK"; result = this.jsonp.get(request).map(response =&gt; response.json()); return result; } } </code></pre></div> <p dir="auto">Component</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import { Component } from '@angular/core'; import { LandingService } from '../../services/landing.service'; @Component({ selector: 'app-landing', templateUrl: './landing.component.html', styleUrls: ['./landing.component.scss'] }) export class LandingComponent implements OnInit { constructor(private landing: LandingService) { this.landing.myFunction().subscribe(data =&gt; console.log(data)); } }"><pre class="notranslate"><code class="notranslate">import { Component } from '@angular/core'; import { LandingService } from '../../services/landing.service'; @Component({ selector: 'app-landing', templateUrl: './landing.component.html', styleUrls: ['./landing.component.scss'] }) export class LandingComponent implements OnInit { constructor(private landing: LandingService) { this.landing.myFunction().subscribe(data =&gt; console.log(data)); } } </code></pre></div> <p dir="auto">Module</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { HttpModule, JsonpModule } from '@angular/http'; import { AppRoutingModule } from './app-routing.module'; import { LandingService } from './services/landing.service'; import { AppComponent } from './app.component'; import { LandingComponent } from './components/landing/landing.component'; @NgModule({ declarations: [ AppComponent, LandingComponent, ], imports: [ BrowserModule, FormsModule, HttpModule, JsonpModule, AppRoutingModule ], providers: [ LandingService ], bootstrap: [AppComponent] }) export class AppModule { }"><pre class="notranslate"><code class="notranslate">import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { HttpModule, JsonpModule } from '@angular/http'; import { AppRoutingModule } from './app-routing.module'; import { LandingService } from './services/landing.service'; import { AppComponent } from './app.component'; import { LandingComponent } from './components/landing/landing.component'; @NgModule({ declarations: [ AppComponent, LandingComponent, ], imports: [ BrowserModule, FormsModule, HttpModule, JsonpModule, AppRoutingModule ], providers: [ LandingService ], bootstrap: [AppComponent] }) export class AppModule { } </code></pre></div> <p dir="auto">Angular version:<br> 2.4.7</p>
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question </code></pre></div> <p dir="auto"><strong>Current behavior</strong></p> <p dir="auto">hello, after upgrade to 2.4.6, I get <code class="notranslate">Uncaught ReferenceError: __ng_jsonp____req0_finished is not defined</code> as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="193306442" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/13219" data-hovercard-type="pull_request" data-hovercard-url="/angular/angular/pull/13219/hovercard?comment_id=90797936&amp;comment_type=review_comment" href="https://github.com/angular/angular/pull/13219#discussion_r90797936">#13219 (comment)</a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6927481/22582776/cda6014e-ea23-11e6-87dc-2b945667eefe.png"><img src="https://cloud.githubusercontent.com/assets/6927481/22582776/cda6014e-ea23-11e6-87dc-2b945667eefe.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Plunkr</strong><br> <a href="http://plnkr.co/edit/WcRnPrJHa04rJy3xTIky?p=preview" rel="nofollow">http://plnkr.co/edit/WcRnPrJHa04rJy3xTIky?p=preview</a></p> <p dir="auto">And my code is</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="search(key: string) { const params = new URLSearchParams() params.set('key', key) params.set('jsonpCallback', 'JSONP_CALLBACK') return this.jsonp.get('https://c.y.qq.com/splcloud/fcgi-bin/smartbox_new.fcg?' + params) .toPromise() .then(res =&gt; { console.log(res) return [] }) }"><pre class="notranslate"><code class="notranslate">search(key: string) { const params = new URLSearchParams() params.set('key', key) params.set('jsonpCallback', 'JSONP_CALLBACK') return this.jsonp.get('https://c.y.qq.com/splcloud/fcgi-bin/smartbox_new.fcg?' + params) .toPromise() .then(res =&gt; { console.log(res) return [] }) } </code></pre></div>
1
<p dir="auto">Not sure if this is a great idea since I solved this problem for myself by buying a GPU with a lot of memory, but...</p> <p dir="auto">One of the ways that is suggested to get models running on smaller GPUs is by reducing the batch size, however given the fact that the batch size is meaningful for the optimization procedure as well as the actual execution, it may be useful to decouple the batches that gradients are computed with vs the batches that are used to do optimization steps, i.e. run several smaller physical batches where gradients are accumulated across batches before a gradient step is taken.</p>
<p dir="auto">Most of keras is compatible with numpy / scipy.<br> It would be awesome ( and probably competitively fast at inference on cpu) if keras was available with a numpy/scipy backend.</p> <p dir="auto">This would help simplify inference significantly on a variety of machines ( in my case a non-raspbery pi arm computer). It would also be very fast.</p> <p dir="auto">Alternatively a simplified keras inference engine that does not require tensorflow/cntk would great as well.</p> <p dir="auto">Here is a link to something similar that unfortunately lost maintenance: <a href="https://github.com/riga/tfdeploy">https://github.com/riga/tfdeploy</a></p>
0
<p dir="auto">Xcode's output:<br> ↳<br> error: Multiple commands produce '/Users/haoyi/TempProject/emp/build/ios/Debug-iphoneos/Runner.app/Frameworks/Flutter.framework':<br> 1) Target 'Runner' has copy command from '/Users/haoyi/TempProject/emp/ios/Flutter/Flutter.framework' to '/Users/haoyi/TempProject/emp/build/ios/Debug-iphoneos/Runner.app/Frameworks/Flutter.framework'<br> 2) That command depends on command in Target 'Runner': script phase “[CP] Embed Pods Frameworks”<br> warning: The iOS deployment target is set to 4.3, but the range of supported deployment target versions for this platform is 8.0 to 12.0. (in target 'image_picker')<br> warning: ignoring duplicated output file: '/Users/haoyi/TempProject/emp/build/ios/Debug-iphoneos/Runner.app/Frameworks/Flutter.framework' (in target 'Runner')<br> note: Using new build systemnote: Planning buildnote: Constructing build description</p> <p dir="auto">Xcode Version 10.0 (10A255)</p> <p dir="auto">➜ ~ flutter doctor -v<br> [✓] Flutter (Channel beta, v0.7.3, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)<br> • Flutter version 0.7.3 at /Users/haoyi/flutter<br> • Framework revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/3b309bda072a6b326e8aa4591a5836af600923ce/hovercard" href="https://github.com/flutter/flutter/commit/3b309bda072a6b326e8aa4591a5836af600923ce"><tt>3b309bd</tt></a> (3 weeks ago), 2018-08-28 12:39:24 -0700<br> • Engine revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/af42b6dc95bd9f719e43c4e9f29a00640f0f0bba/hovercard" href="https://github.com/flutter/flutter/commit/af42b6dc95bd9f719e43c4e9f29a00640f0f0bba"><tt>af42b6d</tt></a><br> • Dart version 2.1.0-dev.1.0.flutter-ccb16f7282</p> <p dir="auto">[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)<br> • Android SDK at /Users/haoyi/Library/Android/sdk<br> • Android NDK location not configured (optional; useful for native profiling support)<br> • Platform android-27, build-tools 27.0.3<br> • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java<br> • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)<br> • All Android licenses accepted.</p> <p dir="auto">[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)<br> • Xcode at /Applications/Xcode.app/Contents/Developer<br> • Xcode 10.0, Build version 10A255<br> • ios-deploy 1.9.2<br> • CocoaPods version 1.5.0</p> <p dir="auto">[✓] Android Studio (version 3.1)<br> • Android Studio at /Applications/Android Studio.app/Contents<br> • Flutter plugin version 27.1.1<br> • Dart plugin version 173.4700<br> • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)</p> <p dir="auto">[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.3)<br> • IntelliJ at /Applications/IntelliJ IDEA.app<br> • Flutter plugin version 28.0.4<br> • Dart plugin version 182.4323.44</p> <p dir="auto">[✓] VS Code (version 1.27.1)<br> • VS Code at /Applications/Visual Studio Code.app/Contents<br> • Flutter extension version 2.18.0</p> <p dir="auto">[✓] Connected devices (3 available)<br> • 郝怿的 iPhone • 6d4a90c14794752f1d56db848716a8c609b7448b • ios • iOS 12.0<br> • iPhone XS • A4E0A17F-6E4A-48C0-8AE0-B16340BFF203 • ios • iOS 12.0 (simulator)<br> • iPhone XS Max • ADB38EB8-99FD-4908-BB20-8F53BA388661 • ios • iOS 12.0 (simulator)</p> <p dir="auto">• No issues found!</p>
<p dir="auto">When I want to debug the application in MacOs environment, it throw such error:</p> <p dir="auto">Multiple commands produce '/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/Flutter.framework</p> <ol dir="auto"> <li>Target 'Runner' has copy command from '/ios/Flutter/Flutter.framework' to '/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/Flutter.framework'</li> <li>That command depends on command in Target 'Runner': script phase “[CP] Embed Pods Frameworks”<br> warning: ignoring duplicated output file: '//build/ios/Debug-iphonesimulator/Runner.app/Frameworks/Flutter.framework' (in target 'Runner')<br> note: Using new build systemnote: Planning buildnote: Constructing build description</li> </ol> <p dir="auto">Mac 10.14 Beta<br> Xcode 10 beta</p> <p dir="auto">How to fix it? Thanks a lot</p>
1
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):</p> <p dir="auto">No</p> <p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):</p> <p dir="auto">concurrent map writes</p> <p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one): BUG REPORT</p> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p> <p dir="auto">$ kubectl version<br> Client Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.0", GitCommit:"283137936a498aed572ee22af6774b6fb6e9fd94", GitTreeState:"clean", BuildDate:"2016-07-01T19:26:38Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}<br> 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"}</p> <p dir="auto"><strong>Environment</strong>:</p> <ul dir="auto"> <li><strong>Cloud provider or hardware configuration</strong>: Openstack</li> <li><strong>OS</strong> (e.g. from /etc/os-release):<br> $ cat /etc/os-release<br> NAME="Ubuntu"<br> VERSION="16.04.1 LTS (Xenial Xerus)"<br> ID=ubuntu<br> ID_LIKE=debian<br> PRETTY_NAME="Ubuntu 16.04.1 LTS"<br> VERSION_ID="16.04"<br> HOME_URL="<a href="http://www.ubuntu.com/" rel="nofollow">http://www.ubuntu.com/</a>"<br> SUPPORT_URL="<a href="http://help.ubuntu.com/" rel="nofollow">http://help.ubuntu.com/</a>"<br> BUG_REPORT_URL="<a href="http://bugs.launchpad.net/ubuntu/" rel="nofollow">http://bugs.launchpad.net/ubuntu/</a>"<br> UBUNTU_CODENAME=xenial</li> <li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):<br> $ uname -a<br> Linux Master1 4.4.0-34-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35443479" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/53" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/53/hovercard" href="https://github.com/kubernetes/kubernetes/pull/53">#53</a>-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux</li> <li><strong>Install tools</strong>:</li> <li><strong>Others</strong>:</li> </ul> <p dir="auto"><strong>What happened</strong>:<br> I noticed a panic in the kube-controller-manager in a 3 node HA Kubernetes controller deployment. Here are the logs:<br> Aug 30 15:36:57 ubuntu16 kube-controller-manager[19004]: E0830 15:36:57.457558 19004 leaderelection.go:318] err: Operation cannot be fulfilled on endpoints "kube-controller-manager": the<br> Aug 30 15:36:57 ubuntu16 kube-controller-manager[19004]: W0830 15:36:57.741242 19004 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this<br> Aug 30 15:36:57 ubuntu16 kube-controller-manager[19004]: W0830 15:36:57.762328 19004 reflector.go:334] pkg/controller/serviceaccount/tokens_controller.go:147: watch of _api.ServiceAccount<br> Aug 30 15:36:57 ubuntu16 kube-controller-manager[19004]: W0830 15:36:57.764460 19004 reflector.go:334] pkg/controller/serviceaccount/serviceaccounts_controller.go:142: watch of *api.Servi<br> Aug 30 15:36:58 ubuntu16 kube-controller-manager[19004]: W0830 15:36:58.764857 19004 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this<br> Aug 30 15:36:58 ubuntu16 kube-controller-manager[19004]: W0830 15:36:58.771127 19004 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this<br> Aug 30 15:37:01 ubuntu16 kube-controller-manager[19004]: E0830 15:37:01.594976 19004 leaderelection.go:318] err: Operation cannot be fulfilled on endpoints "kube-controller-manager": the<br> Aug 30 15:37:03 ubuntu16 kube-controller-manager[19004]: E0830 15:37:03.554584 19004 leaderelection.go:318] err: Operation cannot be fulfilled on endpoints "kube-controller-manager": the<br> Aug 30 15:37:04 ubuntu16 kube-controller-manager[19004]: fatal error: concurrent map writes<br> Aug 30 15:37:04 ubuntu16 kube-controller-manager[19004]: goroutine 823 [running]:<br> Aug 30 15:37:04 ubuntu16 kube-controller-manager[19004]: runtime.throw(0x2c5d4f0, 0x15)<br> Aug 30 15:37:04 ubuntu16 kube-controller-manager[19004]: /usr/local/go/src/runtime/panic.go:547 +0x90 fp=0xc8208fcab0 sp=0xc8208fca98<br> Aug 30 15:37:04 ubuntu16 kube-controller-manager[19004]: runtime.mapassign1(0x1e3e820, 0xc8205518f0, 0xc8208fcbf8, 0xc8208fcc48)<br> Aug 30 15:37:04 ubuntu16 kube-controller-manager[19004]: /usr/local/go/src/runtime/hashmap.go:445 +0xb1 fp=0xc8208fcb58 sp=0xc8208fcab0<br> Aug 30 15:37:04 ubuntu16 kube-controller-manager[19004]: k8s.io/kubernetes/pkg/client/cache.(_DeltaFIFO).queueActionLocked(0xc8200dadc0, 0x2a3fcd0, 0x4, 0x29f02e0, 0xc82106c2c0, 0x0, 0x0)<br> Aug 30 15:37:04 ubuntu16 kube-controller-manager[19004]: /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/client/cache/delta_fifo.go:314 +0x5d1 fp=0xc8208fc<br> Aug 30 15:37:04 ubuntu16 kube-controller-manager[19004]: k8s.io/kubernetes/pkg/client/cache.(_DeltaFIFO).Resync(0xc8200dadc0, 0x0, 0x0)<br> Aug 30 15:37:04 ubuntu16 kube-controller-manager[19004]: /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/client/cache/delta_fifo.go:498 +0x4f7 fp=0xc8208fc<br> Aug 30 15:37:04 ubuntu16 kube-controller-manager[19004]: k8s.io/kubernetes/pkg/client/cache.(_Reflector).ListAndWatch.func1(0xc820107318, 0xc82004ede0, 0xc8202e23c0, 0xc821233aa0, 0xc820107<br> Aug 30 15:37:04 ubuntu16 kube-controller-manager[19004]: /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/client/cache/reflector.go:289 +0x252 fp=0xc8208fcf<br> Aug 30 15:37:04 ubuntu16 kube-controller-manager[19004]: runtime.goexit()</p> <p dir="auto"><strong>What you expected to happen</strong>:<br> I did not expect to hit a code path where I noticed concurrent map writes.</p> <p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):<br> Used the following steps:<br> <a href="https://github.com/kelseyhightower/kubernetes-the-hard-way/blob/master/docs/04-kubernetes-controller.md">https://github.com/kelseyhightower/kubernetes-the-hard-way/blob/master/docs/04-kubernetes-controller.md</a><br> The difference is that I used Openstack as the cloud provider</p> <p dir="auto"><strong>Anything else do we need to know</strong>:<br> I had cloned the 3 HA controller VMs from a single volume, so initially they ended up with the same Linux hostname. That explains the failure in the leader election, but not sure if it's related to the panic. I fixed the hostnames later and the leader election succeeded.</p>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):<br> Feature request.</p> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):<br> master</p> <p dir="auto"><strong>What you expected to happen</strong>:<br> In Mesos 1.x, <a href="http://mesos.apache.org/documentation/latest/mesos-containerizer/" rel="nofollow">Mesos container</a> is the default container runtime of tasks; when running Kubernetes on Mesos (<a href="https://github.com/kubernetes-incubator/kube-mesos-framework/">kube-mesos</a>), we'd like to also using only one container runtime environment to reduce OP's maintenance effort.</p> <p dir="auto">That's one project of <a href="https://github.com/kubernetes-incubator/kube-mesos-framework/">kube-mesos</a> ; but I do not want to duplicate Kubelet in <a href="https://github.com/kubernetes-incubator/kube-mesos-framework/">kube-mesos</a> project.</p>
0
<p dir="auto">I think I have noticed a problem with Generic Methods, not properly inferring their types, when they are used as a value, instead of as a method. I'm not sure if it's a known issue or not.</p> <p dir="auto">It's easy enough to work around by using a function, but I'd prefer to just hand in the method, since it's already a method that can be called.</p> <p dir="auto">This case is in Rx, but I've seen other examples of it too.</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var observableOfAny = Observable.from(items) .flatMap(Observable.from); // using as a variable doesn't work var observableOfString = Observable.from(items) .flatMap(x =&gt; Observable.from(x)); // Using a delegate works var fromString: (arr: string[]) =&gt; Observable&lt;string&gt; = Observable.from; var observableOfString = Observable.from(items) .flatMap(fromString); // Properly casting the method works"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">observableOfAny</span> <span class="pl-c1">=</span> <span class="pl-smi">Observable</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-s1">items</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">flatMap</span><span class="pl-kos">(</span><span class="pl-smi">Observable</span><span class="pl-kos">.</span><span class="pl-c1">from</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// using as a variable doesn't work</span> <span class="pl-k">var</span> <span class="pl-s1">observableOfString</span> <span class="pl-c1">=</span> <span class="pl-smi">Observable</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-s1">items</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">flatMap</span><span class="pl-kos">(</span><span class="pl-s1">x</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">Observable</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Using a delegate works</span> <span class="pl-k">var</span> <span class="pl-s1">fromString</span>: <span class="pl-kos">(</span><span class="pl-s1">arr</span>: <span class="pl-smi">string</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">Observable</span><span class="pl-kos">&lt;</span><span class="pl-smi">string</span><span class="pl-kos">&gt;</span> <span class="pl-c1">=</span> <span class="pl-smi">Observable</span><span class="pl-kos">.</span><span class="pl-c1">from</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">observableOfString</span> <span class="pl-c1">=</span> <span class="pl-smi">Observable</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-s1">items</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">flatMap</span><span class="pl-kos">(</span><span class="pl-s1">fromString</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Properly casting the method works</span></pre></div> <p dir="auto">I've got an example, again using rx interfaces (so maybe something is wrong with them? it's possible). <a href="http://www.typescriptlang.org/Playground#src=%2F%2F%20Type%20alias%20for%20observables%20and%20promises%0Atype%20ObservableOrPromise%3CT%3E%20%3D%20IObservable%3CT%3E%20%7C%20Observable%3CT%3E%20%7C%20Promise%3CT%3E%3B%0A%2F%2Ftype%20ArrayLike%3CT%3E%20%3D%20Array%3CT%3E%20%7C%20%7B%20length%3A%20number%3B%5Bindex%3A%20number%5D%3A%20T%3B%20%7D%3B%0A%2F%2F%20Type%20alias%20for%20arrays%20and%20array%20like%20objects%0Atype%20ArrayOrIterable%3CT%3E%20%3D%20ArrayLike%3CT%3E%3B%0Ainterface%20Promise%3CT%3E%20%7B%0A%20%20%20%20then%3CR%3E%28onFulfilled%3A%20%28value%3A%20T%29%20%3D%3E%20R%7CPromise%3CR%3E%2C%20onRejected%3A%20%28error%3A%20any%29%20%3D%3E%20Promise%3CR%3E%29%3A%20Promise%3CR%3E%3B%0A%20%20%20%20then%3CR%3E%28onFulfilled%3A%20%28value%3A%20T%29%20%3D%3E%20R%7CPromise%3CR%3E%2C%20onRejected%3F%3A%20%28error%3A%20any%29%20%3D%3E%20R%29%3A%20Promise%3CR%3E%3B%0A%7D%0Ainterface%20IPromise%3CT%3E%20extends%20Promise%3CT%3E%20%7B%20%7D%0Aexport%20type%20_Selector%3CT%2C%20TResult%3E%20%3D%20%28value%3A%20T%2C%20index%3A%20number%2C%20observable%3A%20Observable%3CT%3E%29%20%3D%3E%20TResult%3B%0Aexport%20type%20_ValueOrSelector%3CT%2C%20TResult%3E%20%3D%20TResult%20%7C%20_Selector%3CT%2C%20TResult%3E%3B%0Ainterface%20IObservable%3CT%3E%20%7B%20%7D%0Ainterface%20Observable%3CT%3E%20%7B%0A%20%20%20%20flatMap%3CTResult%3E%28selector%3A%20_ValueOrSelector%3CT%2C%20ObservableOrPromise%3CTResult%3E%3E%29%3A%20Observable%3CTResult%3E%3B%0A%20%20%20%20toArray%28%29%3A%20Observable%3CT%5B%5D%3E%3B%0A%7D%0Aexport%20interface%20ObservableStatic%20%7B%0A%20%20%20%20from%3CT%3E%28array%3A%20ArrayOrIterable%3CT%3E%29%3A%20Observable%3CT%3E%3B%0A%7D%0Aexport%20var%20Observable%3A%20ObservableStatic%3B%0Avar%20fromString%3A%20%28arr%3A%20string%5B%5D%29%20%3D%3E%20Observable%3Cstring%3E%20%3D%20Observable.from%3B%0A%0Avar%20items%20%3D%20%5B'1'%2C'2'%2C'3'%5D%3B%0A%0Avar%20observableOfAny%20%3D%20Observable.from%28items%29%0A%20%20%20%20.flatMap%28Observable.from%29%3B%0A%0Avar%20observableOfAny%20%3D%20Observable.from%28items%29%0A%20%20%20%20.flatMap%28x%20%3D%3E%20Observable.from%28x%29%29%3B%0A%0Avar%20observableOfAny%20%3D%20Observable.from%28items%29%0A%20%20%20%20.flatMap%28fromString%29%3B%0A%0A%0A" rel="nofollow">playground example</a></p>
<p dir="auto">The following code snippet compiles without type errors though the type variable <code class="notranslate">T</code> is constrained to <code class="notranslate">string</code> type.</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" function foo1(f: (s: string) =&gt; string) { return f(&quot;hello world&quot;); } function foo2(f: (s: number) =&gt; number) { return f(123); } function genericBar&lt;T extends string&gt;(arg: T): T { return arg; } var x1 = foo1(genericBar); var x2 = foo2(genericBar);"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">foo1</span><span class="pl-kos">(</span><span class="pl-s1">f</span>: <span class="pl-kos">(</span><span class="pl-s1">s</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">string</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-s">"hello world"</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">foo2</span><span class="pl-kos">(</span><span class="pl-s1">f</span>: <span class="pl-kos">(</span><span class="pl-s1">s</span>: <span class="pl-smi">number</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">number</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-c1">123</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">function</span> <span class="pl-en">genericBar</span><span class="pl-c1">&lt;</span><span class="pl-smi">T</span> <span class="pl-k">extends</span> <span class="pl-smi">string</span><span class="pl-c1">&gt;</span><span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">T</span><span class="pl-kos">)</span>: <span class="pl-smi">T</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">arg</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">var</span> <span class="pl-s1">x1</span> <span class="pl-c1">=</span> <span class="pl-en">foo1</span><span class="pl-kos">(</span><span class="pl-s1">genericBar</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">x2</span> <span class="pl-c1">=</span> <span class="pl-en">foo2</span><span class="pl-kos">(</span><span class="pl-s1">genericBar</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Non generic version <code class="notranslate">nonGenericBar</code> works as expected.</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" function nonGenericBar(arg: string) { return arg; } var y1 = foo1(nonGenericBar); var y2 = foo2(nonGenericBar); // Type error"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">nonGenericBar</span><span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">arg</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">var</span> <span class="pl-s1">y1</span> <span class="pl-c1">=</span> <span class="pl-en">foo1</span><span class="pl-kos">(</span><span class="pl-s1">nonGenericBar</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">y2</span> <span class="pl-c1">=</span> <span class="pl-en">foo2</span><span class="pl-kos">(</span><span class="pl-s1">nonGenericBar</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Type error</span></pre></div> <p dir="auto">Of course, <code class="notranslate">genericBar</code> function is useless because constraining a type variable to a primitive type can be replaced by a non generic function like <code class="notranslate">nonGenericBar</code>. However, the behaviour is somewhat unexpected and inconsistent.</p>
1
<p dir="auto"><strong>Context:</strong></p> <ul dir="auto"> <li>Playwright Version: 1.10.0</li> <li>Operating System: Linux OpenSUSE Leap 15.2</li> <li>Node.js version: 14.16.0</li> <li>Browser: Chromium</li> </ul> <p dir="auto"><strong>Code Snippet</strong></p> <p dir="auto">Help us help you! Put down a short code snippet that illustrates your bug and<br> that we can run and debug locally. For example:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" test('can we export it to PDF?', async () =&gt; { const [popup] = await Promise.all([page?.waitForEvent('popup'), page.click('button:has-text(&quot;Export as PDF&quot;)')]); await popup.waitForNavigation({ waitUntil: 'networkidle', timeout: 5000, }); expect(await popup.url().startsWith('blob')).toBeTruthy(); });"><pre class="notranslate"> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'can we export it to PDF?'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-kos">[</span><span class="pl-s1">popup</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">all</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s1">page</span><span class="pl-kos">?.</span><span class="pl-en">waitForEvent</span><span class="pl-kos">(</span><span class="pl-s">'popup'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">click</span><span class="pl-kos">(</span><span class="pl-s">'button:has-text("Export as PDF")'</span><span class="pl-kos">)</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">popup</span><span class="pl-kos">.</span><span class="pl-en">waitForNavigation</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">waitUntil</span>: <span class="pl-s">'networkidle'</span><span class="pl-kos">,</span> <span class="pl-c1">timeout</span>: <span class="pl-c1">5000</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-k">await</span> <span class="pl-s1">popup</span><span class="pl-kos">.</span><span class="pl-en">url</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">startsWith</span><span class="pl-kos">(</span><span class="pl-s">'blob'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toBeTruthy</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>Describe the bug</strong></p> <p dir="auto">Basically, this script clicks a button which opens a new tab with a <code class="notranslate">blob:https://URL_EXAMPLE_OF_PDF</code> of a PDF. When it's in non-headless mode, you can see it and it works. Tests pass. When it's in headless mode, the test fails like so:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" TimeoutError: page.waitForNavigation: Timeout 5000ms exceeded. =========================== logs =========================== waiting for navigation until &quot;networkidle&quot; ============================================================ Note: use DEBUG=pw:api environment variable to capture Playwright logs. at node_modules/playwright/lib/client/waiter.js:49:51 at Waiter.waitForPromise (node_modules/playwright/lib/client/waiter.js:57:28) at node_modules/playwright/lib/client/frame.js:120:36 at Frame._wrapApiCall (node_modules/playwright/lib/client/channelOwner.js:77:28)"><pre class="notranslate"><code class="notranslate"> TimeoutError: page.waitForNavigation: Timeout 5000ms exceeded. =========================== logs =========================== waiting for navigation until "networkidle" ============================================================ Note: use DEBUG=pw:api environment variable to capture Playwright logs. at node_modules/playwright/lib/client/waiter.js:49:51 at Waiter.waitForPromise (node_modules/playwright/lib/client/waiter.js:57:28) at node_modules/playwright/lib/client/frame.js:120:36 at Frame._wrapApiCall (node_modules/playwright/lib/client/channelOwner.js:77:28) </code></pre></div>
<p dir="auto"><strong>Context:</strong></p> <ul dir="auto"> <li>Playwright Version: 1.10.0</li> <li>Operating System: MacOS 11.3</li> <li>Node.js version: 15.11.0</li> <li>Browser: Chromium (works fine w/ Firefox)</li> </ul> <p dir="auto"><strong>Code Snippet</strong></p> <ol dir="auto"> <li>Create the following HTML file in your local webserver's DocumentRoot:</li> </ol> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;a href=&quot;test.pdf&quot; target=&quot;_blank&quot;&gt;Link to PDF file&lt;/a&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">test.pdf</span>" <span class="pl-c1">target</span>="<span class="pl-s">_blank</span>"<span class="pl-kos">&gt;</span>Link to PDF file<span class="pl-kos">&lt;/</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span></pre></div> <ol start="2" dir="auto"> <li> <p dir="auto">Put a PDF file with the name "test.pdf" in the same directory.</p> </li> <li> <p dir="auto">Run the following PW code:</p> </li> </ol> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const { chromium } = require('playwright'); (async () =&gt; { const browser = await chromium.launch({ headless: true, }); const context = await browser.newContext(); const page = await context.newPage(); await page.setViewportSize({ width: 1200, height: 1200, }); await page.goto('localhost/a.html'); const [pagePDF] = await Promise.all([ context.waitForEvent('page'), await page.click('text=Link to PDF file'), ]); await pagePDF.waitForLoadState(); console.log('Load state reached.'); await browser.close(); })();"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-kos">{</span> chromium <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'playwright'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-s1">browser</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">chromium</span><span class="pl-kos">.</span><span class="pl-en">launch</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">headless</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">context</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-en">newContext</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">page</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">context</span><span class="pl-kos">.</span><span class="pl-en">newPage</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">setViewportSize</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">width</span>: <span class="pl-c1">1200</span><span class="pl-kos">,</span> <span class="pl-c1">height</span>: <span class="pl-c1">1200</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">'localhost/a.html'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-kos">[</span><span class="pl-s1">pagePDF</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">all</span><span class="pl-kos">(</span><span class="pl-kos">[</span> <span class="pl-s1">context</span><span class="pl-kos">.</span><span class="pl-en">waitForEvent</span><span class="pl-kos">(</span><span class="pl-s">'page'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">click</span><span class="pl-kos">(</span><span class="pl-s">'text=Link to PDF file'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">pagePDF</span><span class="pl-kos">.</span><span class="pl-en">waitForLoadState</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'Load state reached.'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-en">close</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>Describe the bug</strong></p> <p dir="auto">After 30 seconds you will get the following error message:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/[...]/node_modules/playwright/lib/client/waiter.js:57 const result = await Promise.race([promise, ...this._failures]); ^ TimeoutError: page.waitForLoadState: Timeout 30000ms exceeded. =========================== logs =========================== &quot;networkidle&quot; event fired ============================================================ Note: use DEBUG=pw:api environment variable to capture Playwright logs. at /[...]/node_modules/playwright/lib/client/waiter.js:49:51 at Waiter.waitForPromise (/[...]/node_modules/playwright/lib/client/waiter.js:57:28) at /[...]/node_modules/playwright/lib/client/frame.js:150:13 at Frame._wrapApiCall (/[...]/node_modules/playwright/lib/client/channelOwner.js:77:28) Process finished with exit code 1"><pre class="notranslate">/[...]/node_modules/playwright/lib/client/waiter.js:57 const result = await Promise.race([promise, ...this._failures])<span class="pl-k">;</span> ^ TimeoutError: page.waitForLoadState: Timeout 30000ms exceeded. =========================== logs =========================== <span class="pl-s"><span class="pl-pds">"</span>networkidle<span class="pl-pds">"</span></span> event fired ============================================================ Note: use DEBUG=pw:api environment variable to capture Playwright logs. at /[...]/node_modules/playwright/lib/client/waiter.js:49:51 at Waiter.waitForPromise (/[...]/node_modules/playwright/lib/client/waiter.js:57:28) at /[...]/node_modules/playwright/lib/client/frame.js:150:13 at Frame._wrapApiCall (/[...]/node_modules/playwright/lib/client/channelOwner.js:77:28) Process finished with <span class="pl-c1">exit</span> code 1</pre></div> <p dir="auto">The expected behavior is instead to get the following console log messages:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Load state reached. Process finished with exit code 0"><pre class="notranslate">Load state reached. Process finished with <span class="pl-c1">exit</span> code 0</pre></div> <p dir="auto">The above code works fine when run with Chromium in headful mode or when run with Firefox either in headless or headful mode.</p>
1
<p dir="auto">Any chance to add props support in stylesheet creation?</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@withStyles(createStyleSheet('Calendar', theme =&gt; ({ highlight: { backgroundColor: props =&gt; props.highlightCurrentDateColor, }, }))) export default class Calendar extends React.Component {"><pre class="notranslate">@<span class="pl-en">withStyles</span><span class="pl-kos">(</span><span class="pl-en">createStyleSheet</span><span class="pl-kos">(</span><span class="pl-s">'Calendar'</span><span class="pl-kos">,</span> <span class="pl-s1">theme</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">highlight</span>: <span class="pl-kos">{</span> <span class="pl-en">backgroundColor</span>: <span class="pl-s1">props</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">props</span><span class="pl-kos">.</span><span class="pl-c1">highlightCurrentDateColor</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">export</span> <span class="pl-k">default</span> <span class="pl-k">class</span> <span class="pl-v">Calendar</span> <span class="pl-k">extends</span> <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-c1">Component</span> <span class="pl-kos">{</span><span class="pl-kos"></span></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/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">My code is compiling, but I get an error in the console: Uncaught TypeError: (0 , _styles2.default) is not a function</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">My code isn't rendering, with the above error.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto">Link to codesandbox: <a href="https://k5v039k8mv.codesandbox.io/" rel="nofollow">https://k5v039k8mv.codesandbox.io/</a></p> <ol dir="auto"> <li>Download [email protected], [email protected], [email protected] (Devextreme DataGrid relies on this version, but it isn't involved with this component)</li> <li>Get sample code from material-ui website ( Component - Text input - Search)</li> <li>Edit it so it only shows the search text input ( I may have made an error in doing this, i'm not sure )</li> <li>npm start which leads to 'Error: uncaught TypeError: (0 , _styles2.default) is not a function'</li> </ol> <h2 dir="auto">Context</h2> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>v1.0.0-beta.20</td> </tr> <tr> <td>React</td> <td>v15.6.2</td> </tr> <tr> <td>react-dom</td> <td>v15.6.2</td> </tr> <tr> <td>browser</td> <td>61.0.3163.100 (Official Build) (64-bit)</td> </tr> </tbody> </table>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.5</li> <li>Operating System version: win10</li> <li>Java version: 1.8</li> </ul> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</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> <p dir="auto">Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.apache.dubbo.rpc.RpcException: Failed to invoke remote service: interface com.wenbin.grpc.services.DubboGreeterGrpc$IGreeter, method: sayHello, cause: INTERNAL: Panic! This is a bug!] with root cause</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java.lang.AbstractMethodError: io.grpc.netty.NettyChannelBuilder$NettyTransportFactory.newClientTransport(Ljava/net/SocketAddress;Lio/grpc/internal/ClientTransportFactory$ClientTransportOptions;Lio/grpc/ChannelLogger;)Lio/grpc/internal/ConnectionClientTransport; at io.grpc.internal.CallCredentialsApplyingTransportFactory.newClientTransport(CallCredentialsApplyingTransportFactory.java:49) ~[grpc-core-1.22.1.jar:1.22.1] at io.grpc.internal.InternalSubchannel.startNewTransport(InternalSubchannel.java:246) ~[grpc-core-1.22.1.jar:1.22.1] at io.grpc.internal.InternalSubchannel.access$400(InternalSubchannel.java:65) ~[grpc-core-1.22.1.jar:1.22.1] at io.grpc.internal.InternalSubchannel$2.run(InternalSubchannel.java:196) ~[grpc-core-1.22.1.jar:1.22.1] at io.grpc.SynchronizationContext.drain(SynchronizationContext.java:95) ~[grpc-api-1.22.1.jar:1.22.1] at io.grpc.SynchronizationContext.execute(SynchronizationContext.java:127) ~[grpc-api-1.22.1.jar:1.22.1] at io.grpc.internal.ManagedChannelImpl$NameResolverListener.onResult(ManagedChannelImpl.java:1365) ~[grpc-core-1.22.1.jar:1.22.1] at io.grpc.internal.DnsNameResolver$Resolve.resolveInternal(DnsNameResolver.java:311) ~[grpc-core-1.22.1.jar:1.22.1] at io.grpc.internal.DnsNameResolver$Resolve.run(DnsNameResolver.java:213) ~[grpc-core-1.22.1.jar:1.22.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_171] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_171] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_171]"><pre class="notranslate"><code class="notranslate">java.lang.AbstractMethodError: io.grpc.netty.NettyChannelBuilder$NettyTransportFactory.newClientTransport(Ljava/net/SocketAddress;Lio/grpc/internal/ClientTransportFactory$ClientTransportOptions;Lio/grpc/ChannelLogger;)Lio/grpc/internal/ConnectionClientTransport; at io.grpc.internal.CallCredentialsApplyingTransportFactory.newClientTransport(CallCredentialsApplyingTransportFactory.java:49) ~[grpc-core-1.22.1.jar:1.22.1] at io.grpc.internal.InternalSubchannel.startNewTransport(InternalSubchannel.java:246) ~[grpc-core-1.22.1.jar:1.22.1] at io.grpc.internal.InternalSubchannel.access$400(InternalSubchannel.java:65) ~[grpc-core-1.22.1.jar:1.22.1] at io.grpc.internal.InternalSubchannel$2.run(InternalSubchannel.java:196) ~[grpc-core-1.22.1.jar:1.22.1] at io.grpc.SynchronizationContext.drain(SynchronizationContext.java:95) ~[grpc-api-1.22.1.jar:1.22.1] at io.grpc.SynchronizationContext.execute(SynchronizationContext.java:127) ~[grpc-api-1.22.1.jar:1.22.1] at io.grpc.internal.ManagedChannelImpl$NameResolverListener.onResult(ManagedChannelImpl.java:1365) ~[grpc-core-1.22.1.jar:1.22.1] at io.grpc.internal.DnsNameResolver$Resolve.resolveInternal(DnsNameResolver.java:311) ~[grpc-core-1.22.1.jar:1.22.1] at io.grpc.internal.DnsNameResolver$Resolve.run(DnsNameResolver.java:213) ~[grpc-core-1.22.1.jar:1.22.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_171] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_171] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_171] </code></pre></div>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: master branch</li> <li>Operating System version: xxx</li> <li>Java version: xxx</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto">Travis-cli has a 4MB hard limit of log size [1].<br> Currently, our Travis log[2] is about 3.98MB, we are almost there.<br> We can reduce some trivial log in the console output, but keep a full log in the local file.</p> <p dir="auto">For example, test case <code class="notranslate">org.apache.dubbo.rpc.validation.�ValidationTest�</code> eats about 1.3MB in travis log. We can start from here.</p> <p dir="auto">[1]. <a href="https://docs.travis-ci.com/user/common-build-problems/#log-length-exceeded" rel="nofollow">https://docs.travis-ci.com/user/common-build-problems/#log-length-exceeded</a><br> [2]. <a href="https://api.travis-ci.org/v3/job/484750418/log.txt" rel="nofollow">https://api.travis-ci.org/v3/job/484750418/log.txt</a></p> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">What do you expected from the above steps?</p> <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
<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.476] Windows Terminal version (if applicable): 0.6.2951.0 Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18363.476] Windows Terminal version (if applicable): 0.6.2951.0 Any other software? </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">I am using a Microsoft Surface Pro 7, along with a Surface dock and two external monitors. I expect that this issue is related to scaling (a common problem in my setup).</p> <p dir="auto">My Surface's display is set to 200% scaling, while my two external monitors are set to 100% scaling.</p> <p dir="auto">As I dock and undock, lock and unlock, throughout the day, Terminal can get into some funny visual states. Usually I can get everything working again by "restoring" (Windows + Down) and "maximizing" (Windows + Up), but today when I did that I cannot see all of my tabs without scrolling (see screenshot), even though there is plenty of space to display them.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">I would expect that all of the tabs are visible next to each other, since there is enough room to display them.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">I have 4 tabs open, but only one is showing; I have to scroll to see the rest of them.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1233907/69343656-9de33500-0c33-11ea-8e28-0113001b2ed1.png"><img src="https://user-images.githubusercontent.com/1233907/69343656-9de33500-0c33-11ea-8e28-0113001b2ed1.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">I later found that if I close one of the tabs, all of the others will suddenly become visible. I didn't try adding a tab, but that might fix it, too?</p>
<h1 dir="auto">Environment</h1> <p dir="auto">commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/terminal/commit/08464648f280624023d3572346a75dee7a428de8/hovercard" href="https://github.com/microsoft/terminal/commit/08464648f280624023d3572346a75dee7a428de8"><tt>0846464</tt></a></p> <h1 dir="auto">Steps to reproduce</h1> <ol dir="auto"> <li>Set some left padding eg. 20.</li> <li>Make some selection or just click one cell.</li> <li>In some other place try to make new selection that starts at first char in line. But don't point cursor directly on the first char, but instead little to the left, on the "padded" area.</li> </ol> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Selection should start at first character in line.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">Previous selection is continued.<br> This is also the case for other padding sites (e.g. selecting line form right to left), but left is most noticable.</p>
0
<p dir="auto">Using <code class="notranslate">cmd + d</code> to select multiple instances isn’t working correctly for me:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/1a6779eb71ab7b2cedaf1c2af87aaf55dda4044709de65a4c155dcb3fa276092/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3239363433322f323130393639322f33333330356333302d386666352d313165332d393966622d6362633466646366343264362e676966"><img src="https://camo.githubusercontent.com/1a6779eb71ab7b2cedaf1c2af87aaf55dda4044709de65a4c155dcb3fa276092/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3239363433322f323130393639322f33333330356333302d386666352d313165332d393966622d6362633466646366343264362e676966" alt="multi-select-fail" data-animated-image="" data-canonical-src="https://f.cloud.github.com/assets/296432/2109692/33305c30-8ff5-11e3-99fb-cbc4fdcf42d6.gif" style="max-width: 100%;"></a></p> <p dir="auto">Note that the first two selections work fine, but when it goes to find the third instance of <code class="notranslate">h3</code>, it instead ends up selecting a linebreak or two and an angle bracket <code class="notranslate">&lt;</code> immediately prior to the next instance of <code class="notranslate">h3</code>.</p> <p dir="auto">Also note that repeating the command again after the third (incorrect) selection <em>skips the next three instances</em> of <code class="notranslate">h3</code> (the closing tag of the "Payload" heading, and both occurances of the "Headers" heading), and repeats the same incorrect selection on the next <code class="notranslate">h3</code> opening tag.</p>
<p dir="auto"><strong>Observed behavior:</strong></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/46a857815360f694d49536fc59f6e5f07060d233c3a0da286ef99741b2e1cbb1/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323938382f323032333431312f36663736343662612d383835622d313165332d383931392d3236303363383566646263322e676966"><img src="https://camo.githubusercontent.com/46a857815360f694d49536fc59f6e5f07060d233c3a0da286ef99741b2e1cbb1/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323938382f323032333431312f36663736343662612d383835622d313165332d383931392d3236303363383566646263322e676966" alt="2014-01-28 15_33_16" data-animated-image="" data-canonical-src="https://f.cloud.github.com/assets/2988/2023411/6f7646ba-885b-11e3-8919-2603c85fdbc2.gif" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Expected behavior:</strong> In the example above, the <code class="notranslate">find-and-replace:select-next</code> command should only select the next occurrence of <code class="notranslate">##</code>. It should not select any surrounding newlines.</p> <hr> <p dir="auto">I observed this behavior in find-and-replace v0.79.0.</p>
1
<p dir="auto">The primitives provided in <code class="notranslate">task</code> and <code class="notranslate">comm</code> are <em>very</em> primitive. Too primitive to write a tutorial chapter about without sounding completely lame. So I tried to write a helper function which helps create a channel back from a child task to its parent. None of the existing tests or examples seem to do this. And, apparently, with good reason.</p> <p dir="auto">Below is what I have. It doesn't work. Writing new task-creation utilities will typically require type parameters. We currently can not spawn functions with type parameters, so the 'landing pad' helper that such a utility would spawn can not be generic.</p> <p dir="auto">I half got around this with a clunky <code class="notranslate">reinterpret_cast</code>, but the resulting program doesn't work when the <code class="notranslate">To</code> type has a different size than an <code class="notranslate">int</code>, because the port being created in <code class="notranslate">helper</code> doesn't know its type.</p> <p dir="auto">Not being able to write generic utility functions around task spawning seems unacceptable. I'm marking this as a blocker because I don't think we can release a language that is supposed to have tasks as one of its interesting features with such a primitive set of task operations. I'm holding off on writing the tutorial section about tasks until we figure out a solution here. (Or maybe it already exists and I just didn't see it.)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="use std; import std::{task, comm}; type connected_fn&lt;To, From&gt; = fn(comm::port&lt;To&gt;, comm::chan&lt;From&gt;); fn spawn_connected&lt;uniq To, uniq From&gt;(f: connected_fn&lt;To, From&gt;) -&gt; {task: task::task, in: comm::port&lt;From&gt;, out: comm::chan&lt;To&gt;} unsafe { fn helper(d: (comm::chan&lt;int&gt;, comm::chan&lt;comm::chan&lt;int&gt;&gt;, connected_fn&lt;int, int&gt;)) { let (out, send_in, f) = d; let in = comm::port::&lt;int&gt;(); comm::send(send_in, comm::chan(in)); f(in, out); } let in = comm::port::&lt;From&gt;(); let get_out = comm::port::&lt;comm::chan&lt;To&gt;&gt;(); let task = task::spawn((comm::chan(in), comm::chan(get_out), f), std::unsafe::reinterpret_cast(helper)); ret {task: task, in: in, out: comm::recv(get_out)}; } tag msg { msg(int); quit; } fn worker(in: comm::port&lt;msg&gt;, out: comm::chan&lt;int&gt;) { while true { alt comm::recv(in) { msg(i) { comm::send(out, i * 10); } quit. { break; } } } } fn main() { let {task, in, out} = spawn_connected(worker); comm::send(out, msg(20)); log_err comm::recv(in); comm::send(out, quit); }"><pre class="notranslate"><code class="notranslate">use std; import std::{task, comm}; type connected_fn&lt;To, From&gt; = fn(comm::port&lt;To&gt;, comm::chan&lt;From&gt;); fn spawn_connected&lt;uniq To, uniq From&gt;(f: connected_fn&lt;To, From&gt;) -&gt; {task: task::task, in: comm::port&lt;From&gt;, out: comm::chan&lt;To&gt;} unsafe { fn helper(d: (comm::chan&lt;int&gt;, comm::chan&lt;comm::chan&lt;int&gt;&gt;, connected_fn&lt;int, int&gt;)) { let (out, send_in, f) = d; let in = comm::port::&lt;int&gt;(); comm::send(send_in, comm::chan(in)); f(in, out); } let in = comm::port::&lt;From&gt;(); let get_out = comm::port::&lt;comm::chan&lt;To&gt;&gt;(); let task = task::spawn((comm::chan(in), comm::chan(get_out), f), std::unsafe::reinterpret_cast(helper)); ret {task: task, in: in, out: comm::recv(get_out)}; } tag msg { msg(int); quit; } fn worker(in: comm::port&lt;msg&gt;, out: comm::chan&lt;int&gt;) { while true { alt comm::recv(in) { msg(i) { comm::send(out, i * 10); } quit. { break; } } } } fn main() { let {task, in, out} = spawn_connected(worker); comm::send(out, msg(20)); log_err comm::recv(in); comm::send(out, quit); } </code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fn main() { fn# foo&lt;T&gt;() { } // This wants to build a closure over type int, // but there's no way to do that while still being a bare function let f: fn#() = foo::&lt;int&gt;; }"><pre class="notranslate"><code class="notranslate">fn main() { fn# foo&lt;T&gt;() { } // This wants to build a closure over type int, // but there's no way to do that while still being a bare function let f: fn#() = foo::&lt;int&gt;; } </code></pre></div> <p dir="auto">As a result we can't do bare-fn spawn for generic functions, which is pretty important:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#[test] fn spawn_polymorphic() { fn# foo&lt;~T&gt;(x: T) { log_err x; } task::spawn2(true, foo); task::spawn2(42, foo); }"><pre class="notranslate"><code class="notranslate">#[test] fn spawn_polymorphic() { fn# foo&lt;~T&gt;(x: T) { log_err x; } task::spawn2(true, foo); task::spawn2(42, foo); } </code></pre></div>
1
<p dir="auto">I would like to be able to choose a string of keys or a macro key to use to change between the difference fancy zone layouts/ templates that I have.</p>
<h1 dir="auto">Support for multiple keyboards / differentiating input from multiple keyboards</h1> <p dir="auto">It would be incredible if we could differentiate the input from different keyboards and remap keys/shortcuts from a particular device. (I think to your point at 2.6.3 here: <a href="https://github.com/microsoft/PowerToys/wiki/Keyboard-Manager#263-multiple-keyboards--shortcut-support">https://github.com/microsoft/PowerToys/wiki/Keyboard-Manager#263-multiple-keyboards--shortcut-support</a>). Use cases would be setting up a seperate numberpad or second keyboard would include:</p> <p dir="auto">Use as a macropad or external shortcut device<br> Productivity enhancement for custom shortcuts in video editing, content creation, or Photoshop<br> A replacement for expensive 3rd party solutions like Elgato Streamdeck<br> As an external controller/HID for gaming / sims<br> Triggering custom scripts via something like AutoHotkey</p> <p dir="auto">There's a large community creating macropads, but at the moment the process in doing so in Windows is quite difficult, requiring either proprietary and expensive hardware and bundled software, or trying to do something like flash a keyboard's firmware with QMK, or using HIDMacros (which is deprecated and no longer maintained), etc. Implementing keyboard-specific key detection would eliminate a lot of complexity for a lot of people!</p> <p dir="auto">Thanks for your consideration!</p>
0
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <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.0.2.0 config file = configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">% ansible --version ansible 2.0.2.0 config file = configured module search path = Default w/o overrides </code></pre></div> <p dir="auto">This issue is not appeared in ansible 2.0.1.0 or 1.9.6</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">mac OS X el capitan 10.11.4</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">a comma breaks "changed_when/failed_when" directive</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- hosts: localhost gather_facts: no tasks: - debug: msg=OK register: result changed_when: &quot;100 | random(1,2) == 1&quot; # changed_when: &quot;100 | random == 1&quot; is OK"><pre class="notranslate"><code class="notranslate">- hosts: localhost gather_facts: no tasks: - debug: msg=OK register: result changed_when: "100 | random(1,2) == 1" # changed_when: "100 | random == 1" is OK </code></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [debug] ******************************************************************* ok: [localhost] =&gt; { &quot;msg&quot;: &quot;OK&quot; }"><pre class="notranslate"><code class="notranslate">TASK [debug] ******************************************************************* ok: [localhost] =&gt; { "msg": "OK" } </code></pre></div> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [debug] ******************************************************************* fatal: [localhost]: FAILED! =&gt; {&quot;failed&quot;: true, &quot;msg&quot;: &quot;The conditional check '100 | random(1' failed. The error was: template error while templating string: unexpected '}', expected ')'. String: {% if 100 | random(1 %} True {% else %} False {% endif %}&quot;}"><pre class="notranslate"><code class="notranslate">TASK [debug] ******************************************************************* fatal: [localhost]: FAILED! =&gt; {"failed": true, "msg": "The conditional check '100 | random(1' failed. The error was: template error while templating string: unexpected '}', expected ')'. String: {% if 100 | random(1 %} True {% else %} False {% endif %}"} </code></pre></div>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</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.0.2.0 config file = /home/sfox/.ansible.cfg configured module search path = /home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/library"><pre class="notranslate"><code class="notranslate">ansible 2.0.2.0 config file = /home/sfox/.ansible.cfg configured module search path = /home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/library </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="library = /home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/library forks = 20 sudo_flags = -H -i jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n,jinja2.ext.loopcontrols,jinja2.ext.with_ ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host} action_plugins = /usr/share/ansible_plugins/action_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/action callback_plugins = /usr/share/ansible_plugins/callback_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/callback connection_plugins = /usr/share/ansible_plugins/connection_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/connection lookup_plugins = /usr/share/ansible_plugins/lookup_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/lookup vars_plugins = /usr/share/ansible_plugins/vars_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/vars filter_plugins = /usr/share/ansible_plugins/filter_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/filter nocows = 1"><pre class="notranslate"><code class="notranslate">library = /home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/library forks = 20 sudo_flags = -H -i jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n,jinja2.ext.loopcontrols,jinja2.ext.with_ ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host} action_plugins = /usr/share/ansible_plugins/action_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/action callback_plugins = /usr/share/ansible_plugins/callback_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/callback connection_plugins = /usr/share/ansible_plugins/connection_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/connection lookup_plugins = /usr/share/ansible_plugins/lookup_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/lookup vars_plugins = /usr/share/ansible_plugins/vars_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/vars filter_plugins = /usr/share/ansible_plugins/filter_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/filter nocows = 1 </code></pre></div> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">From: Fedora 23<br> Managing: Ubuntu Trusty (14.04)</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">I can no longer specify lists or tuples in a failed_when statement like I could with 1.9.x</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Using this inventory file</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="test_host ansible_host=10.0.0.208"><pre class="notranslate"><code class="notranslate">test_host ansible_host=10.0.0.208 </code></pre></div> <p dir="auto">and this playbook</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: My Playbook hosts: test_host gather_facts: no tasks: - shell: ls pants register: result failed_when: result.rc not in [0, 1] #failed_when: &quot;result.rc not in [0, 1]&quot; #failed_when: result.rc not in (0, 1)"><pre class="notranslate"><code class="notranslate">- name: My Playbook hosts: test_host gather_facts: no tasks: - shell: ls pants register: result failed_when: result.rc not in [0, 1] #failed_when: "result.rc not in [0, 1]" #failed_when: result.rc not in (0, 1) </code></pre></div> <p dir="auto">I cannot get Ansible to execute this with or without quotes. Both lists and tuples worked previously.</p> <h5 dir="auto">EXPECTED RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [My Playbook] ************************************************************ TASK: [shell ls pants] ******************************************************** failed: [test_host] =&gt; {&quot;changed&quot;: true, &quot;cmd&quot;: &quot;ls pants&quot;, &quot;delta&quot;: &quot;0:00:00.003004&quot;, &quot;end&quot;: &quot;2016-04-05 16:29:21.478688&quot;, &quot;failed&quot;: true, &quot;failed_when_result&quot;: true, &quot;rc&quot;: 2, &quot;start&quot;: &quot;2016-04-05 16:29:21.475684&quot;, &quot;stdout_lines&quot;: [], &quot;warnings&quot;: []} stderr: ls: cannot access pants: No such file or directory FATAL: all hosts have already failed -- aborting"><pre class="notranslate"><code class="notranslate">PLAY [My Playbook] ************************************************************ TASK: [shell ls pants] ******************************************************** failed: [test_host] =&gt; {"changed": true, "cmd": "ls pants", "delta": "0:00:00.003004", "end": "2016-04-05 16:29:21.478688", "failed": true, "failed_when_result": true, "rc": 2, "start": "2016-04-05 16:29:21.475684", "stdout_lines": [], "warnings": []} stderr: ls: cannot access pants: No such file or directory FATAL: all hosts have already failed -- aborting </code></pre></div> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [My Playbook] ************************************************************* TASK [command] ***************************************************************** fatal: [test_host]: FAILED! =&gt; {&quot;failed&quot;: true, &quot;msg&quot;: &quot;The conditional check 'result.rc not in [0' failed. The error was: template error while templating string: unexpected '}', expected ']'. String: {% if result.rc not in [0 %} True {% else %} False {% endif %}&quot;} NO MORE HOSTS LEFT *************************************************************"><pre class="notranslate"><code class="notranslate">PLAY [My Playbook] ************************************************************* TASK [command] ***************************************************************** fatal: [test_host]: FAILED! =&gt; {"failed": true, "msg": "The conditional check 'result.rc not in [0' failed. The error was: template error while templating string: unexpected '}', expected ']'. String: {% if result.rc not in [0 %} True {% else %} False {% endif %}"} NO MORE HOSTS LEFT ************************************************************* </code></pre></div>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=thomasw" rel="nofollow">Thomas Whitmore</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2009?redirect=false" rel="nofollow">SPR-2009</a></strong> and commented</p> <p dir="auto">Custom PropertyEditors registered in the context could be widely useful for Data Binding, but unfortunately are not used in a thread-safe manner by the Data Binder.</p> <p dir="auto">The Bean Factory does use these in a thread-safe manner; by synchronizing; but it is not clear that this would be suitable for heavy load of request-processing. Synchronizing on each individual editor, or establishing a well-defined API to 'duplicate' editors treating the original only as a template, might be solutions.</p> <p dir="auto">For the moment I'm keeping registration of these to the Controller. InitBinder() method - instantiating the editors there. This is safe, but if editors worked better I could quite widely genericize my code.</p> <p dir="auto">Other people have noticed small versions of this problem (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398048617" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/4799" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/4799/hovercard" href="https://github.com/spring-projects/spring-framework/issues/4799">#4799</a>) but I think this may be a fairly major case. OTOH, maybe you've already got this addressed for the Spring-2 target.</p> <hr> <p dir="auto">What I was intending to do, that could be useful at the Framework level, is a ' Reference Editor ' converting between Hibernate object references &lt;-&gt; IDs in string form. Registering one of these with for your intended Target Class would then make all fields, combo boxes etc referencing this type automatically bound. My code picks up Hibernate metadata &amp; types of simple identifiers to parse these automatically.</p> <p dir="auto">FYI.</p> <p dir="auto">Keep up the good work!</p> <p dir="auto">Cheers,<br> Thomas</p> <hr> <p dir="auto"><strong>Affects:</strong> 1.2.8</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=skaffman" rel="nofollow">Kenny MacLeod</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-4431?redirect=false" rel="nofollow">SPR-4431</a></strong> and commented</p> <p dir="auto">It occurred to me that a neat application of autowiring would be the ability to autowire logger objects.</p> <p dir="auto">Say a class declares something like:</p> <p dir="auto">private <code class="notranslate">@Autowired</code> Log logger;</p> <p dir="auto">where Log is from commons-logging. Spring would then generate a Log object for the declaring class and then inject it.</p> <p dir="auto">I don't think this can be done using the existing resolveResolvableDependency mechanism, since information about the dependent class isn't made available in order to create the Log.</p> <p dir="auto">Thoughts?</p> <hr> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/20489/IAutowireCandidateFactory.java" rel="nofollow">IAutowireCandidateFactory.java</a> (<em>241 bytes</em>)</li> <li><a href="https://jira.spring.io/secure/attachment/20393/Log.java" rel="nofollow">Log.java</a> (<em>566 bytes</em>)</li> <li><a href="https://jira.spring.io/secure/attachment/20490/LoggerAutowireFactory.java" rel="nofollow">LoggerAutowireFactory.java</a> (<em>1.14 kB</em>)</li> <li><a href="https://jira.spring.io/secure/attachment/20394/LogPostProcessor.java" rel="nofollow">LogPostProcessor.java</a> (<em>1.31 kB</em>)</li> <li><a href="https://jira.spring.io/secure/attachment/20491/PluggableAutowireCandidateResolver.java" rel="nofollow">PluggableAutowireCandidateResolver.java</a> (<em>2.10 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="398085341" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9110" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9110/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9110">#9110</a> Support <code class="notranslate">@autowiring</code> of Loggers (<em><strong>"is duplicated by"</strong></em>)</li> </ul> <p dir="auto">11 votes, 14 watchers</p>
0
<ol dir="auto"> <li>It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).<br> <strong>BUG</strong></li> </ol> <ul dir="auto"> <li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04):<br> <strong>WINDOWS 10.0</strong></li> <li>TensorFlow installed from (source or binary):<br> <strong>pip (binary)</strong></li> <li>TensorFlow version (use command below):<br> <strong>1.6</strong></li> <li>Python version:<br> <strong>tried both python 3.5.2 &amp; 3.6.4</strong></li> <li>CUDA/cuDNN version:<br> NO CUDA</li> <li>GPU model and memory:<br> <strong>NO GPU</strong></li> <li>Exact command to reproduce:<br> <strong>pip install --upgrade tensorflow</strong></li> </ul> <h3 dir="auto">Describe the problem</h3> <p dir="auto">import tensorflow as tf<br> give the error (No module named "pywrap_tensorflow")<br> Issue 42011070 on stack<br> There : it became clear that it is a cudannxx_x.dll , i.e. CUDA error.<br> I have tensorflow-gpu running flawlesly on NVIDIA GPU</p> <h3 dir="auto">Source code / logs</h3> <p dir="auto">No module named _pywrap_tensorflow</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, problem appears on import (import tensorflow as tf).</li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Windows 10 x64</li> <li><strong>TensorFlow installed from (source or binary)</strong>: binary (pip --no-cache-dir) install --upgrade tensorflow</li> <li><strong>TensorFlow version (use command below)</strong>: 1.6.0 (install says tensorflow-1.6.0-cp36-cp36m-win_amd64.whl)</li> <li><strong>Python version</strong>: 3.6.4 x64</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>: n/a</li> <li><strong>GPU model and memory</strong>: n/a</li> <li><strong>Exact command to reproduce</strong>: import tensorflow as tf</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">When installing tensorflow 1.6.0 the import reports problems. See log below. Tried uninstalled r1.6 and reinstalled 1.5.0 to see if something else might be the problem. 1.5.0 works like a charm. Tried a clean install of 1.6.0 without any luck.</p> <p dir="auto">Ran the 'tensorflow_self_check.py' script. See log below.</p> <h3 dir="auto">Source code / logs</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32 Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information. &gt;&gt;&gt; import tensorflow as tf Traceback (most recent call last): File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py&quot;, line 18, in swig_import_helper return importlib.import_module(mname) File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py&quot;, line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 994, in _gcd_import File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 971, in _find_and_load File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 955, in _find_and_load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 658, in _load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 571, in module_from_spec File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 922, in create_module File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 219, in _call_with_frames_removed ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed. During handling of the above exception, another exception occurred: Traceback (most recent call last): File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py&quot;, line 58, in &lt;module&gt; from tensorflow.python.pywrap_tensorflow_internal import * File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py&quot;, line 21, in &lt;module&gt; _pywrap_tensorflow_internal = swig_import_helper() File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py&quot;, line 20, in swig_import_helper return importlib.import_module('_pywrap_tensorflow_internal') File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py&quot;, line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ModuleNotFoundError: No module named '_pywrap_tensorflow_internal' During handling of the above exception, another exception occurred: Traceback (most recent call last): File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt; File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py&quot;, line 24, in &lt;module&gt; from tensorflow.python import * File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py&quot;, line 49, in &lt;module&gt; from tensorflow.python import pywrap_tensorflow File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py&quot;, line 74, in &lt;module&gt; raise ImportError(msg) ImportError: Traceback (most recent call last): File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py&quot;, line 18, in swig_import_helper return importlib.import_module(mname) File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py&quot;, line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 994, in _gcd_import File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 971, in _find_and_load File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 955, in _find_and_load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 658, in _load_unlocked File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 571, in module_from_spec File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 922, in create_module File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 219, in _call_with_frames_removed ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed. During handling of the above exception, another exception occurred: Traceback (most recent call last): File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py&quot;, line 58, in &lt;module&gt; from tensorflow.python.pywrap_tensorflow_internal import * File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py&quot;, line 21, in &lt;module&gt; _pywrap_tensorflow_internal = swig_import_helper() File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py&quot;, line 20, in swig_import_helper return importlib.import_module('_pywrap_tensorflow_internal') File &quot;C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py&quot;, line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ModuleNotFoundError: No module named '_pywrap_tensorflow_internal' Failed to load the native TensorFlow runtime. See https://www.tensorflow.org/install/install_sources#common_installation_problems for some common reasons and solutions. Include the entire stack trace above this error message when asking for help. ------------------------ When running 'tensorflow_self_check.py' this is what is reported. Supposed to have installed the CPU version so cuda is not installed. ERROR: Failed to import the TensorFlow module. - Python version is 3.6. - TensorFlow is installed at: C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow - Could not load 'cudart64_80.dll'. The GPU version of TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 8.0 from this URL: https://developer.nvidia.com/cuda-toolkit - Could not load 'cudnn64_5.dll'. The GPU version of TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Note that installing cuDNN is a separate step from installing CUDA, and it is often found in a different directory from the CUDA DLLs. You may install the necessary DLL by downloading cuDNN 5.1 from this URL: https://developer.nvidia.com/cudnn - Could not find cuDNN."><pre class="notranslate"><code class="notranslate">Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import tensorflow as tf Traceback (most recent call last): File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper return importlib.import_module(mname) File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "&lt;frozen importlib._bootstrap&gt;", line 994, in _gcd_import File "&lt;frozen importlib._bootstrap&gt;", line 971, in _find_and_load File "&lt;frozen importlib._bootstrap&gt;", line 955, in _find_and_load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 658, in _load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 571, in module_from_spec File "&lt;frozen importlib._bootstrap_external&gt;", line 922, in create_module File "&lt;frozen importlib._bootstrap&gt;", line 219, in _call_with_frames_removed ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in &lt;module&gt; from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in &lt;module&gt; _pywrap_tensorflow_internal = swig_import_helper() File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper return importlib.import_module('_pywrap_tensorflow_internal') File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ModuleNotFoundError: No module named '_pywrap_tensorflow_internal' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 24, in &lt;module&gt; from tensorflow.python import * File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 49, in &lt;module&gt; from tensorflow.python import pywrap_tensorflow File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in &lt;module&gt; raise ImportError(msg) ImportError: Traceback (most recent call last): File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper return importlib.import_module(mname) File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "&lt;frozen importlib._bootstrap&gt;", line 994, in _gcd_import File "&lt;frozen importlib._bootstrap&gt;", line 971, in _find_and_load File "&lt;frozen importlib._bootstrap&gt;", line 955, in _find_and_load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 658, in _load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 571, in module_from_spec File "&lt;frozen importlib._bootstrap_external&gt;", line 922, in create_module File "&lt;frozen importlib._bootstrap&gt;", line 219, in _call_with_frames_removed ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in &lt;module&gt; from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in &lt;module&gt; _pywrap_tensorflow_internal = swig_import_helper() File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper return importlib.import_module('_pywrap_tensorflow_internal') File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ModuleNotFoundError: No module named '_pywrap_tensorflow_internal' Failed to load the native TensorFlow runtime. See https://www.tensorflow.org/install/install_sources#common_installation_problems for some common reasons and solutions. Include the entire stack trace above this error message when asking for help. ------------------------ When running 'tensorflow_self_check.py' this is what is reported. Supposed to have installed the CPU version so cuda is not installed. ERROR: Failed to import the TensorFlow module. - Python version is 3.6. - TensorFlow is installed at: C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow - Could not load 'cudart64_80.dll'. The GPU version of TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 8.0 from this URL: https://developer.nvidia.com/cuda-toolkit - Could not load 'cudnn64_5.dll'. The GPU version of TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Note that installing cuDNN is a separate step from installing CUDA, and it is often found in a different directory from the CUDA DLLs. You may install the necessary DLL by downloading cuDNN 5.1 from this URL: https://developer.nvidia.com/cudnn - Could not find cuDNN. </code></pre></div>
1
<p dir="auto">Over the past 2 months I've sent 3 questions to the mailing <a href="mailto:[email protected]">[email protected]</a> mailing list. It had worked for me before, The questions have been completely ignored, and they don't even appear in the archive.</p> <p dir="auto">I've sent another question earlier, in mid December 2014, and it was archived and responded to. The 3 questions since then have not.</p>
1
<p dir="auto">Enabling disk.threshold_enabled for shard allocation can cause shards to continuously get relocated around the cluster and potentially lead to completely running out of disk space if the shards (including replicas) is at least half of total disk space.</p> <p dir="auto">The mechanism is as follows:</p> <ol dir="auto"> <li>Run a cluster restart or have a substantial percentage of nodes restart, triggering many shards to reinitialize</li> <li>Shards will get allocated onto other nodes and begin initializing. Some of those nodes may trigger the high disk threshold level for the disk allocation.</li> <li>When the high disk threshold is triggered shards will start relocating.</li> <li>Relocation effectively creates a duplicate shard, increasing disk space across the cluster.</li> <li>Because other nodes are also initializing/relocating nodes, new shard relocations may again trigger the high threshold</li> <li>Repeat to step 3. (Slowly increasing the number of simultaneously relocating shards in the cluster.)</li> </ol> <p dir="auto">Here's a graph showing relocating shards continuously increasing:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/820871/2971078/dd98e172-db65-11e3-9ae5-29ac509d10f1.png"><img src="https://cloud.githubusercontent.com/assets/820871/2971078/dd98e172-db65-11e3-9ae5-29ac509d10f1.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">cluster.routing.allocation.cluster_concurrent_rebalance was set to 6. This was observed in ES 1.1.1</p> <p dir="auto">A number of other config options affect the dynamics:</p> <ul dir="auto"> <li>Shard size and number of shards (more likely to happen with big shards that take longer to move)</li> <li>Throttling of recovery/relocation</li> <li>Shard Allocation Awareness limiting where nodes can be moved</li> </ul> <p dir="auto">Some possible solutions:</p> <ul dir="auto"> <li>Treat cluster_concurrent_rebalance as a hard maximum (see also <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="33366767" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/6141" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/6141/hovercard" href="https://github.com/elastic/elasticsearch/issues/6141">#6141</a>)</li> <li>Have the relocation/initialization algorithm calculate what disk space will be once all shards are fully moved rather than what disk space currently is.</li> </ul> <p dir="auto">Maybe related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="25828388" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/4790" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/4790/hovercard" href="https://github.com/elastic/elasticsearch/issues/4790">#4790</a></p>
<p dir="auto"><strong>Elasticsearch version</strong>:<br> 2.3.5</p> <p dir="auto"><strong>Plugins installed</strong>: []<br> Test setup is made of 1 tribe node connecting to two 1-node-clusters</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="abonuccelli@w530 /opt/elk/TEST/tribe_test $ ./tribeNode/elasticsearch-2.3.5/bin/plugin list Installed plugins in /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins: - marvel-agent - license abonuccelli@w530 /opt/elk/TEST/tribe_test $ ./clusterA/elasticsearch-2.3.5/bin/plugin list Installed plugins in /opt/elk/TEST/tribe_test/clusterA/elasticsearch-2.3.5/plugins: - marvel-agent - license abonuccelli@w530 /opt/elk/TEST/tribe_test $ ./clusterB/elasticsearch-2.3.5/bin/plugin list Installed plugins in /opt/elk/TEST/tribe_test/clusterB/elasticsearch-2.3.5/plugins: - marvel-agent - license"><pre class="notranslate"><code class="notranslate">abonuccelli@w530 /opt/elk/TEST/tribe_test $ ./tribeNode/elasticsearch-2.3.5/bin/plugin list Installed plugins in /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins: - marvel-agent - license abonuccelli@w530 /opt/elk/TEST/tribe_test $ ./clusterA/elasticsearch-2.3.5/bin/plugin list Installed plugins in /opt/elk/TEST/tribe_test/clusterA/elasticsearch-2.3.5/plugins: - marvel-agent - license abonuccelli@w530 /opt/elk/TEST/tribe_test $ ./clusterB/elasticsearch-2.3.5/bin/plugin list Installed plugins in /opt/elk/TEST/tribe_test/clusterB/elasticsearch-2.3.5/plugins: - marvel-agent - license </code></pre></div> <p dir="auto"><strong>JVM version</strong>:<br> java version "1.8.0_45"<br> Java(TM) SE Runtime Environment (build 1.8.0_45-b14)<br> Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)</p> <p dir="auto"><strong>OS version</strong>:<br> Mint/Debian Linux w530 3.13.0-24-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="142524" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/47" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/47/hovercard" href="https://github.com/elastic/elasticsearch/issues/47">#47</a>-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux</p> <p dir="auto"><strong>Description of the problem including expected versus actual behavior</strong>:</p> <p dir="auto">Test setup is made of 1 tribe node connecting to two 1-node-clusters</p> <p dir="auto">Config as per below:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="abonuccelli@w530 /opt/elk/TEST/tribe_test $ find . -type f -name elasticsearch.yml | egrep -v monitor | xargs egrep '^[^#]+' ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml:cluster.name: tribe ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml:network.host: 192.168.1.105 ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml:http.port: 9220 ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml:transport.tcp.port: 9320 ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml:tribe: ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: A: ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: cluster.name: clusterA ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: discovery.zen.ping.unicast.hosts: [&quot;192.168.1.105:9300&quot;] ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: network.publish_host: 192.168.1.105 ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: transport.tcp.port: 9340 ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: B: ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: cluster.name: clusterB ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: discovery.zen.ping.unicast.hosts: [&quot;192.168.1.105:9301&quot;] ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: network.publish_host: 192.168.1.105 ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: transport.tcp.port: 9341 ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml:marvel.enabled: false ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml:cluster.name: clusterA ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml:network.host: 192.168.1.105 ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml:http.port: 9200 ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml:transport.tcp.port: 9300 ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml:marvel.agent.exporters: ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml: id1: ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml: type: http ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml: host: [&quot;http://192.168.1.105:9210&quot;] ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml:cluster.name: clusterB ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml:network.host: 192.168.1.105 ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml:http.port: 9201 ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml:transport.tcp.port: 9301 ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml:marvel.agent.exporters: ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml: id1: ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml: type: http ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml: host: [&quot;http://192.168.1.105:9210&quot;] "><pre class="notranslate"><code class="notranslate">abonuccelli@w530 /opt/elk/TEST/tribe_test $ find . -type f -name elasticsearch.yml | egrep -v monitor | xargs egrep '^[^#]+' ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml:cluster.name: tribe ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml:network.host: 192.168.1.105 ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml:http.port: 9220 ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml:transport.tcp.port: 9320 ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml:tribe: ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: A: ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: cluster.name: clusterA ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: discovery.zen.ping.unicast.hosts: ["192.168.1.105:9300"] ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: network.publish_host: 192.168.1.105 ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: transport.tcp.port: 9340 ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: B: ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: cluster.name: clusterB ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: discovery.zen.ping.unicast.hosts: ["192.168.1.105:9301"] ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: network.publish_host: 192.168.1.105 ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml: transport.tcp.port: 9341 ./tribeNode/elasticsearch-2.3.5/config/elasticsearch.yml:marvel.enabled: false ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml:cluster.name: clusterA ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml:network.host: 192.168.1.105 ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml:http.port: 9200 ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml:transport.tcp.port: 9300 ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml:marvel.agent.exporters: ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml: id1: ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml: type: http ./clusterA/elasticsearch-2.3.5/config/elasticsearch.yml: host: ["http://192.168.1.105:9210"] ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml:cluster.name: clusterB ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml:network.host: 192.168.1.105 ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml:http.port: 9201 ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml:transport.tcp.port: 9301 ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml:marvel.agent.exporters: ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml: id1: ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml: type: http ./clusterB/elasticsearch-2.3.5/config/elasticsearch.yml: host: ["http://192.168.1.105:9210"] </code></pre></div> <p dir="auto">Upon startup, TribeNode prints the below exception:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2016-08-10 12:38:42,115][WARN ][cluster.service ] [Aftershock/A] failed to notify ClusterStateListener java.lang.ClassCastException: org.elasticsearch.license.plugin.core.LicensesMetaData cannot be cast to org.elasticsearch.license.plugin.core.LicensesMetaData at org.elasticsearch.license.plugin.core.LicensesService.clusterChanged(LicensesService.java:467) at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:610) at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772) at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231) at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194) 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">2016-08-10 12:38:42,115][WARN ][cluster.service ] [Aftershock/A] failed to notify ClusterStateListener java.lang.ClassCastException: org.elasticsearch.license.plugin.core.LicensesMetaData cannot be cast to org.elasticsearch.license.plugin.core.LicensesMetaData at org.elasticsearch.license.plugin.core.LicensesService.clusterChanged(LicensesService.java:467) at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:610) at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772) at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231) at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194) 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> <p dir="auto"><strong>Steps to reproduce</strong>:</p> <ol dir="auto"> <li>Setup as per the above config</li> <li>Start the 3 nodes up</li> </ol> <p dir="auto"><strong>Provide logs (if relevant)</strong>:</p> <p dir="auto">Full Tribe node debug startup</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="abonuccelli@w530 /opt/elk/TEST/tribe_test/tribeNode $ ./elasticsearch-2.3.5/bin/elasticsearch -Des.logger.level=DEBUG [2016-08-10 12:38:35,995][DEBUG][bootstrap ] seccomp(SECCOMP_SET_MODE_FILTER): Function not implemented, falling back to prctl(PR_SET_SECCOMP)... [2016-08-10 12:38:35,996][DEBUG][bootstrap ] Linux seccomp filter installation successful, threads: [app] [2016-08-10 12:38:35,999][DEBUG][bootstrap ] java.class.path: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:35,999][DEBUG][bootstrap ] sun.boot.class.path: /opt/jdk1.8.0_45/jre/lib/resources.jar:/opt/jdk1.8.0_45/jre/lib/rt.jar:/opt/jdk1.8.0_45/jre/lib/sunrsasign.jar:/opt/jdk1.8.0_45/jre/lib/jsse.jar:/opt/jdk1.8.0_45/jre/lib/jce.jar:/opt/jdk1.8.0_45/jre/lib/charsets.jar:/opt/jdk1.8.0_45/jre/lib/jfr.jar:/opt/jdk1.8.0_45/jre/classes [2016-08-10 12:38:36,000][DEBUG][bootstrap ] classloader urls: [file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar] [2016-08-10 12:38:36,003][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:36,003][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,035][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:36,038][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:36,039][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:36,040][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:36,043][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:36,047][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:36,048][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:36,053][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:36,054][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:36,054][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:36,055][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:36,058][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:36,059][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:36,060][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:36,061][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:36,062][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:36,063][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:36,063][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:36,064][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:36,065][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:36,066][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:36,066][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:36,071][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:36,072][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:36,072][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,072][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:36,073][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:36,073][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:36,074][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:36,080][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:36,080][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:36,081][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:36,081][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:36,085][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:36,086][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:36,088][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:36,092][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:36,175][INFO ][node ] [Aftershock] version[2.3.5], pid[29132], build[90f439f/2016-07-27T10:36:52Z] [2016-08-10 12:38:36,175][INFO ][node ] [Aftershock] initializing ... [2016-08-10 12:38:36,175][DEBUG][node ] [Aftershock] using config [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/config], data [[/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/data]], logs [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/logs], plugins [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins] [2016-08-10 12:38:36,184][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:36,184][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,207][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:36,211][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:36,212][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:36,213][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:36,215][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:36,216][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:36,217][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:36,220][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:36,221][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:36,221][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:36,222][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:36,223][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:36,224][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:36,224][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:36,225][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:36,226][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:36,227][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:36,227][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:36,228][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:36,228][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:36,229][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:36,230][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:36,234][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:36,234][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:36,235][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,235][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:36,236][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:36,236][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:36,236][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:36,237][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:36,238][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:36,238][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:36,238][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:36,241][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:36,242][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:36,243][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:36,244][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:36,245][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/reindex/reindex-2.3.5.jar [2016-08-10 12:38:36,365][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:36,365][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,374][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:36,375][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:36,376][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:36,376][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:36,377][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:36,378][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:36,379][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:36,381][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:36,381][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:36,382][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:36,382][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:36,383][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:36,383][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:36,383][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:36,384][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:36,384][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:36,385][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:36,385][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:36,386][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:36,386][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:36,386][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:36,387][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:36,389][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:36,389][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:36,390][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,390][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:36,390][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:36,390][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:36,391][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:36,391][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:36,391][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:36,392][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:36,392][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:36,393][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:36,394][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:36,395][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:36,395][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:36,396][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-groovy/lang-groovy-2.3.5.jar [2016-08-10 12:38:36,396][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-groovy/groovy-2.4.6-indy.jar [2016-08-10 12:38:36,411][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:36,411][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,420][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:36,422][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:36,422][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:36,423][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:36,424][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:36,425][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:36,426][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:36,428][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:36,428][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:36,428][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:36,429][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:36,429][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:36,430][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:36,430][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:36,431][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:36,431][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:36,431][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:36,432][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:36,432][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:36,432][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:36,433][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:36,433][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:36,435][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:36,435][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:36,436][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,436][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:36,436][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:36,436][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:36,437][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:36,437][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:36,437][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:36,438][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:36,438][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:36,439][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:36,440][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:36,440][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:36,441][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:36,442][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/antlr4-runtime-4.5.1-1.jar [2016-08-10 12:38:36,442][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/lang-expression-2.3.5.jar [2016-08-10 12:38:36,442][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/asm-commons-5.0.4.jar [2016-08-10 12:38:36,443][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/asm-5.0.4.jar [2016-08-10 12:38:36,443][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/lucene-expressions-5.5.0.jar [2016-08-10 12:38:36,620][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:36,620][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,631][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:36,633][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:36,633][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:36,634][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:36,634][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:36,636][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:36,636][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:36,638][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:36,638][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:36,639][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:36,639][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:36,640][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:36,640][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:36,641][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:36,641][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:36,641][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:36,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:36,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:36,643][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:36,643][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:36,644][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:36,644][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:36,647][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:36,648][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:36,648][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,648][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:36,649][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:36,649][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:36,649][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:36,649][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:36,650][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:36,651][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:36,651][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:36,652][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:36,653][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:36,653][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:36,654][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:36,654][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/marvel-agent/marvel-agent-2.3.5.jar [2016-08-10 12:38:36,655][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-core-2.3.5.jar [2016-08-10 12:38:36,655][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-2.3.5.jar [2016-08-10 12:38:36,655][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-plugin-api-2.3.5.jar [2016-08-10 12:38:36,683][INFO ][plugins ] [Aftershock] modules [reindex, lang-expression, lang-groovy], plugins [license, marvel-agent], sites [] [2016-08-10 12:38:36,697][DEBUG][threadpool ] [Aftershock] creating thread_pool [force_merge], type [fixed], size [1], queue_size [null] [2016-08-10 12:38:36,704][DEBUG][threadpool ] [Aftershock] creating thread_pool [percolate], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:36,712][DEBUG][threadpool ] [Aftershock] creating thread_pool [fetch_shard_started], type [scaling], min [1], size [16], keep_alive [5m] [2016-08-10 12:38:36,712][DEBUG][threadpool ] [Aftershock] creating thread_pool [listener], type [fixed], size [4], queue_size [null] [2016-08-10 12:38:36,712][DEBUG][threadpool ] [Aftershock] creating thread_pool [index], type [fixed], size [8], queue_size [200] [2016-08-10 12:38:36,713][DEBUG][threadpool ] [Aftershock] creating thread_pool [refresh], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:36,713][DEBUG][threadpool ] [Aftershock] creating thread_pool [suggest], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:36,713][DEBUG][threadpool ] [Aftershock] creating thread_pool [generic], type [cached], keep_alive [30s] [2016-08-10 12:38:36,713][DEBUG][threadpool ] [Aftershock] creating thread_pool [warmer], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:36,714][DEBUG][threadpool ] [Aftershock] creating thread_pool [search], type [fixed], size [13], queue_size [1k] [2016-08-10 12:38:36,714][DEBUG][threadpool ] [Aftershock] creating thread_pool [flush], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:36,714][DEBUG][threadpool ] [Aftershock] creating thread_pool [fetch_shard_store], type [scaling], min [1], size [16], keep_alive [5m] [2016-08-10 12:38:36,714][DEBUG][threadpool ] [Aftershock] creating thread_pool [management], type [scaling], min [1], size [5], keep_alive [5m] [2016-08-10 12:38:36,714][DEBUG][threadpool ] [Aftershock] creating thread_pool [get], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:36,714][DEBUG][threadpool ] [Aftershock] creating thread_pool [bulk], type [fixed], size [8], queue_size [50] [2016-08-10 12:38:36,714][DEBUG][threadpool ] [Aftershock] creating thread_pool [snapshot], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:37,515][DEBUG][monitor.jvm ] [Aftershock] enabled [true], interval [1s], gc_threshold [{default=GcThreshold{name='default', warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}, young=GcThreshold{name='young', warnThreshold=1000, infoThreshold=700, debugThreshold=400}, old=GcThreshold{name='old', warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}}] [2016-08-10 12:38:37,517][DEBUG][monitor.os ] [Aftershock] Using probe [org.elasticsearch.monitor.os.OsProbe@302edb74] with refresh_interval [1s] [2016-08-10 12:38:37,519][DEBUG][monitor.process ] [Aftershock] Using probe [org.elasticsearch.monitor.process.ProcessProbe@4068102e] with refresh_interval [1s] [2016-08-10 12:38:37,523][DEBUG][monitor.jvm ] [Aftershock] Using refresh_interval [1s] [2016-08-10 12:38:37,523][DEBUG][monitor.fs ] [Aftershock] Using probe [org.elasticsearch.monitor.fs.FsProbe@72f8ae0c] with refresh_interval [1s] [2016-08-10 12:38:37,534][DEBUG][common.network ] configuration: lo inet 127.0.0.1 netmask:255.0.0.0 scope:host inet6 ::1 prefixlen:128 scope:host UP LOOPBACK mtu:65536 index:1 eth0 inet 192.168.1.105 netmask:255.255.255.0 broadcast:192.168.1.255 scope:site hardware 3C:97:0E:28:D4:D0 UP MULTICAST mtu:1000 index:2 docker0 inet 172.17.42.1 netmask:255.255.0.0 broadcast:0.0.0.0 scope:site hardware 56:84:7A:FE:97:99 MULTICAST mtu:1500 index:4 [2016-08-10 12:38:37,536][DEBUG][common.netty ] using gathering [true] [2016-08-10 12:38:37,757][DEBUG][script ] [Aftershock] using script cache with max_size [100], expire [null] [2016-08-10 12:38:37,814][DEBUG][cluster.routing.allocation.decider] [Aftershock] using [cluster.routing.allocation.allow_rebalance] with [indices_all_active] [2016-08-10 12:38:37,815][DEBUG][cluster.routing.allocation.decider] [Aftershock] using node_concurrent_recoveries [2], node_initial_primaries_recoveries [4] [2016-08-10 12:38:37,815][DEBUG][cluster.routing.allocation.decider] [Aftershock] using [cluster_concurrent_rebalance] with [2] [2016-08-10 12:38:37,820][DEBUG][gateway ] [Aftershock] using initial_shards [quorum] [2016-08-10 12:38:37,950][DEBUG][http.netty ] [Aftershock] using max_chunk_size[8kb], max_header_size[8kb], max_initial_line_length[4kb], max_content_length[100mb], receive_predictor[512kb-&gt;512kb], pipelining[true], pipelining_max_events[10000] [2016-08-10 12:38:37,964][DEBUG][indices.recovery ] [Aftershock] using max_bytes_per_sec[40mb], concurrent_streams [3], file_chunk_size [512kb], translog_size [512kb], translog_ops [1000], and compress [true] [2016-08-10 12:38:37,972][DEBUG][indices.store ] [Aftershock] using indices.store.throttle.type [NONE], with index.store.throttle.max_bytes_per_sec [10gb] [2016-08-10 12:38:37,973][DEBUG][indices.memory ] [Aftershock] using indexing buffer size [98.9mb], with indices.memory.min_shard_index_buffer_size [4mb], indices.memory.max_shard_index_buffer_size [512mb], indices.memory.shard_inactive_time [5m], indices.memory.interval [30s] [2016-08-10 12:38:37,978][DEBUG][indices.cache.query ] [Aftershock] using [node] query cache with size [10%], actual_size [98.9mb], max filter count [1000] [2016-08-10 12:38:37,980][DEBUG][indices.fielddata.cache ] [Aftershock] using size [-1] [-1b] [2016-08-10 12:38:37,989][INFO ][node ] [Aftershock/A] version[2.3.5], pid[29132], build[90f439f/2016-07-27T10:36:52Z] [2016-08-10 12:38:37,989][INFO ][node ] [Aftershock/A] initializing ... [2016-08-10 12:38:37,989][DEBUG][node ] [Aftershock/A] using config [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/config], data [[/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/data]], logs [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/logs], plugins [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins] [2016-08-10 12:38:37,993][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:37,993][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,024][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,029][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,029][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,031][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,033][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,036][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,037][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,043][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,044][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,045][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,045][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,047][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,048][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,048][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,049][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,049][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,050][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,050][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,051][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,051][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,052][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,052][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,055][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,056][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,056][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,056][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,057][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,057][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,057][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,057][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,058][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,058][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,058][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,060][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,061][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,062][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,063][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,063][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/reindex/reindex-2.3.5.jar [2016-08-10 12:38:38,075][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:38,075][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,082][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,084][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,084][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,085][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,086][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,087][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,087][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,091][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,093][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,094][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,094][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,096][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,096][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,097][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,097][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,098][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,099][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,099][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,100][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,100][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,101][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,102][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,105][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,105][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,106][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,106][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,106][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,107][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,107][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,107][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,108][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,109][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,109][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,111][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,112][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,128][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,129][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,130][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-groovy/lang-groovy-2.3.5.jar [2016-08-10 12:38:38,130][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-groovy/groovy-2.4.6-indy.jar [2016-08-10 12:38:38,149][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:38,149][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,159][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,161][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,161][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,162][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,163][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,165][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,165][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,168][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,168][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,169][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,169][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,170][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,171][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,171][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,172][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,172][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,173][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,173][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,174][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,174][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,175][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,175][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,178][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,178][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,179][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,179][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,179][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,180][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,180][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,180][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,181][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,181][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,181][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,183][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,184][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,184][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,185][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,186][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/antlr4-runtime-4.5.1-1.jar [2016-08-10 12:38:38,186][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/lang-expression-2.3.5.jar [2016-08-10 12:38:38,187][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/asm-commons-5.0.4.jar [2016-08-10 12:38:38,187][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/asm-5.0.4.jar [2016-08-10 12:38:38,187][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/lucene-expressions-5.5.0.jar [2016-08-10 12:38:38,283][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:38,283][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,293][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,294][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,294][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,294][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,295][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,296][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,296][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,298][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,298][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,298][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,298][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,299][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,299][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,299][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,300][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,300][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,300][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,300][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,301][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,301][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,301][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,301][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,303][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,304][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,304][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,304][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,304][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,305][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,305][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,305][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,305][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,306][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,306][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,307][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,308][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,308][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,309][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,309][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/marvel-agent/marvel-agent-2.3.5.jar [2016-08-10 12:38:38,309][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-core-2.3.5.jar [2016-08-10 12:38:38,310][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-2.3.5.jar [2016-08-10 12:38:38,310][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-plugin-api-2.3.5.jar [2016-08-10 12:38:38,325][INFO ][plugins ] [Aftershock/A] modules [reindex, lang-expression, lang-groovy], plugins [license, marvel-agent], sites [] [2016-08-10 12:38:38,327][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [force_merge], type [fixed], size [1], queue_size [null] [2016-08-10 12:38:38,327][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [percolate], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [fetch_shard_started], type [scaling], min [1], size [16], keep_alive [5m] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [listener], type [fixed], size [4], queue_size [null] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [index], type [fixed], size [8], queue_size [200] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [refresh], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [suggest], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [generic], type [cached], keep_alive [30s] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [warmer], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [search], type [fixed], size [13], queue_size [1k] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [flush], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,329][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [fetch_shard_store], type [scaling], min [1], size [16], keep_alive [5m] [2016-08-10 12:38:38,329][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [management], type [scaling], min [1], size [5], keep_alive [5m] [2016-08-10 12:38:38,329][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [get], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:38,329][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [bulk], type [fixed], size [8], queue_size [50] [2016-08-10 12:38:38,329][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [snapshot], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,477][DEBUG][common.network ] configuration: lo inet 127.0.0.1 netmask:255.0.0.0 scope:host inet6 ::1 prefixlen:128 scope:host UP LOOPBACK mtu:65536 index:1 eth0 inet 192.168.1.105 netmask:255.255.255.0 broadcast:192.168.1.255 scope:site hardware 3C:97:0E:28:D4:D0 UP MULTICAST mtu:1000 index:2 docker0 inet 172.17.42.1 netmask:255.255.0.0 broadcast:0.0.0.0 scope:site hardware 56:84:7A:FE:97:99 MULTICAST mtu:1500 index:4 [2016-08-10 12:38:38,480][DEBUG][discovery.zen.elect ] [Aftershock/A] using minimum_master_nodes [-1] [2016-08-10 12:38:38,481][DEBUG][discovery.zen.ping.unicast] [Aftershock/A] using initial hosts [192.168.1.105:9300], with concurrent_connects [10] [2016-08-10 12:38:38,483][DEBUG][discovery.zen ] [Aftershock/A] using ping.timeout [3s], join.timeout [1m], master_election.filter_client [true], master_election.filter_data [false] [2016-08-10 12:38:38,484][DEBUG][discovery.zen.fd ] [Aftershock/A] [master] uses ping_interval [1s], ping_timeout [30s], ping_retries [3] [2016-08-10 12:38:38,486][DEBUG][discovery.zen.fd ] [Aftershock/A] [node ] uses ping_interval [1s], ping_timeout [30s], ping_retries [3] [2016-08-10 12:38:38,493][DEBUG][monitor.jvm ] [Aftershock/A] enabled [true], interval [1s], gc_threshold [{default=GcThreshold{name='default', warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}, young=GcThreshold{name='young', warnThreshold=1000, infoThreshold=700, debugThreshold=400}, old=GcThreshold{name='old', warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}}] [2016-08-10 12:38:38,493][DEBUG][monitor.os ] [Aftershock/A] Using probe [org.elasticsearch.monitor.os.OsProbe@302edb74] with refresh_interval [1s] [2016-08-10 12:38:38,494][DEBUG][monitor.process ] [Aftershock/A] Using probe [org.elasticsearch.monitor.process.ProcessProbe@4068102e] with refresh_interval [1s] [2016-08-10 12:38:38,494][DEBUG][monitor.jvm ] [Aftershock/A] Using refresh_interval [1s] [2016-08-10 12:38:38,494][DEBUG][monitor.fs ] [Aftershock/A] Using probe [org.elasticsearch.monitor.fs.FsProbe@6629643d] with refresh_interval [1s] [2016-08-10 12:38:38,523][DEBUG][script ] [Aftershock/A] using script cache with max_size [100], expire [null] [2016-08-10 12:38:38,524][DEBUG][cluster.routing.allocation.decider] [Aftershock/A] using [cluster.routing.allocation.allow_rebalance] with [indices_all_active] [2016-08-10 12:38:38,524][DEBUG][cluster.routing.allocation.decider] [Aftershock/A] using node_concurrent_recoveries [2], node_initial_primaries_recoveries [4] [2016-08-10 12:38:38,524][DEBUG][cluster.routing.allocation.decider] [Aftershock/A] using [cluster_concurrent_rebalance] with [2] [2016-08-10 12:38:38,525][DEBUG][gateway ] [Aftershock/A] using initial_shards [quorum] [2016-08-10 12:38:38,539][DEBUG][indices.recovery ] [Aftershock/A] using max_bytes_per_sec[40mb], concurrent_streams [3], file_chunk_size [512kb], translog_size [512kb], translog_ops [1000], and compress [true] [2016-08-10 12:38:38,539][DEBUG][indices.store ] [Aftershock/A] using indices.store.throttle.type [NONE], with index.store.throttle.max_bytes_per_sec [10gb] [2016-08-10 12:38:38,540][DEBUG][indices.memory ] [Aftershock/A] using indexing buffer size [98.9mb], with indices.memory.min_shard_index_buffer_size [4mb], indices.memory.max_shard_index_buffer_size [512mb], indices.memory.shard_inactive_time [5m], indices.memory.interval [30s] [2016-08-10 12:38:38,540][DEBUG][indices.cache.query ] [Aftershock/A] using [node] query cache with size [10%], actual_size [98.9mb], max filter count [1000] [2016-08-10 12:38:38,540][DEBUG][indices.fielddata.cache ] [Aftershock/A] using size [-1] [-1b] [2016-08-10 12:38:38,545][INFO ][node ] [Aftershock/A] initialized [2016-08-10 12:38:38,545][INFO ][node ] [Aftershock/B] version[2.3.5], pid[29132], build[90f439f/2016-07-27T10:36:52Z] [2016-08-10 12:38:38,545][INFO ][node ] [Aftershock/B] initializing ... [2016-08-10 12:38:38,545][DEBUG][node ] [Aftershock/B] using config [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/config], data [[/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/data]], logs [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/logs], plugins [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins] [2016-08-10 12:38:38,547][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:38,547][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,553][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,555][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,555][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,555][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,556][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,557][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,557][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,559][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,559][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,559][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,559][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,560][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,560][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,561][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,561][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,561][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,562][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,562][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,563][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,563][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,563][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,564][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,566][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,566][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,567][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,567][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,567][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,567][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,567][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,568][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,568][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,568][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,568][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,569][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,570][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,570][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,571][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,571][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/reindex/reindex-2.3.5.jar [2016-08-10 12:38:38,579][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:38,579][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,585][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,586][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,586][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,587][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,588][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,589][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,589][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,592][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,592][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,593][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,593][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,595][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,595][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,595][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,596][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,596][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,596][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,597][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,597][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,597][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,597][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,598][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,599][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,600][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,600][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,600][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,600][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,600][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,601][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,601][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,601][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,601][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,601][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,602][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,603][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,603][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,604][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,604][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-groovy/lang-groovy-2.3.5.jar [2016-08-10 12:38:38,604][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-groovy/groovy-2.4.6-indy.jar [2016-08-10 12:38:38,617][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:38,617][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,629][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,631][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,631][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,632][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,632][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,633][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,633][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,635][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,635][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,635][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,635][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,636][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,636][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,637][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,637][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,637][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,638][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,638][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,638][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,639][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,639][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,639][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,641][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,641][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,641][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,641][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,643][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,643][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,644][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,644][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,645][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,645][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/antlr4-runtime-4.5.1-1.jar [2016-08-10 12:38:38,645][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/lang-expression-2.3.5.jar [2016-08-10 12:38:38,646][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/asm-commons-5.0.4.jar [2016-08-10 12:38:38,646][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/asm-5.0.4.jar [2016-08-10 12:38:38,646][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/lucene-expressions-5.5.0.jar [2016-08-10 12:38:38,722][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:38,722][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,728][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,729][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,730][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,730][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,731][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,731][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,732][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,733][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,733][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,734][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,734][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,734][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,735][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,735][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,735][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,736][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,736][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,736][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,737][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,737][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,737][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,737][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,739][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,739][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,740][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,740][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,740][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,740][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,740][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,740][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,741][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,741][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,741][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,742][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,743][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,743][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,744][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,745][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/marvel-agent/marvel-agent-2.3.5.jar [2016-08-10 12:38:38,745][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-core-2.3.5.jar [2016-08-10 12:38:38,745][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-2.3.5.jar [2016-08-10 12:38:38,745][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-plugin-api-2.3.5.jar [2016-08-10 12:38:38,766][INFO ][plugins ] [Aftershock/B] modules [reindex, lang-expression, lang-groovy], plugins [license, marvel-agent], sites [] [2016-08-10 12:38:38,767][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [force_merge], type [fixed], size [1], queue_size [null] [2016-08-10 12:38:38,768][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [percolate], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:38,768][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [fetch_shard_started], type [scaling], min [1], size [16], keep_alive [5m] [2016-08-10 12:38:38,768][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [listener], type [fixed], size [4], queue_size [null] [2016-08-10 12:38:38,768][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [index], type [fixed], size [8], queue_size [200] [2016-08-10 12:38:38,768][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [refresh], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,768][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [suggest], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [generic], type [cached], keep_alive [30s] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [warmer], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [search], type [fixed], size [13], queue_size [1k] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [flush], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [fetch_shard_store], type [scaling], min [1], size [16], keep_alive [5m] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [management], type [scaling], min [1], size [5], keep_alive [5m] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [get], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [bulk], type [fixed], size [8], queue_size [50] [2016-08-10 12:38:38,770][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [snapshot], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,893][DEBUG][common.network ] configuration: lo inet 127.0.0.1 netmask:255.0.0.0 scope:host inet6 ::1 prefixlen:128 scope:host UP LOOPBACK mtu:65536 index:1 eth0 inet 192.168.1.105 netmask:255.255.255.0 broadcast:192.168.1.255 scope:site hardware 3C:97:0E:28:D4:D0 UP MULTICAST mtu:1000 index:2 docker0 inet 172.17.42.1 netmask:255.255.0.0 broadcast:0.0.0.0 scope:site hardware 56:84:7A:FE:97:99 MULTICAST mtu:1500 index:4 [2016-08-10 12:38:38,894][DEBUG][discovery.zen.elect ] [Aftershock/B] using minimum_master_nodes [-1] [2016-08-10 12:38:38,894][DEBUG][discovery.zen.ping.unicast] [Aftershock/B] using initial hosts [192.168.1.105:9301], with concurrent_connects [10] [2016-08-10 12:38:38,895][DEBUG][discovery.zen ] [Aftershock/B] using ping.timeout [3s], join.timeout [1m], master_election.filter_client [true], master_election.filter_data [false] [2016-08-10 12:38:38,895][DEBUG][discovery.zen.fd ] [Aftershock/B] [master] uses ping_interval [1s], ping_timeout [30s], ping_retries [3] [2016-08-10 12:38:38,895][DEBUG][discovery.zen.fd ] [Aftershock/B] [node ] uses ping_interval [1s], ping_timeout [30s], ping_retries [3] [2016-08-10 12:38:38,897][DEBUG][monitor.jvm ] [Aftershock/B] enabled [true], interval [1s], gc_threshold [{default=GcThreshold{name='default', warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}, young=GcThreshold{name='young', warnThreshold=1000, infoThreshold=700, debugThreshold=400}, old=GcThreshold{name='old', warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}}] [2016-08-10 12:38:38,898][DEBUG][monitor.os ] [Aftershock/B] Using probe [org.elasticsearch.monitor.os.OsProbe@302edb74] with refresh_interval [1s] [2016-08-10 12:38:38,898][DEBUG][monitor.process ] [Aftershock/B] Using probe [org.elasticsearch.monitor.process.ProcessProbe@4068102e] with refresh_interval [1s] [2016-08-10 12:38:38,898][DEBUG][monitor.jvm ] [Aftershock/B] Using refresh_interval [1s] [2016-08-10 12:38:38,898][DEBUG][monitor.fs ] [Aftershock/B] Using probe [org.elasticsearch.monitor.fs.FsProbe@63262071] with refresh_interval [1s] [2016-08-10 12:38:38,927][DEBUG][script ] [Aftershock/B] using script cache with max_size [100], expire [null] [2016-08-10 12:38:38,929][DEBUG][cluster.routing.allocation.decider] [Aftershock/B] using [cluster.routing.allocation.allow_rebalance] with [indices_all_active] [2016-08-10 12:38:38,929][DEBUG][cluster.routing.allocation.decider] [Aftershock/B] using node_concurrent_recoveries [2], node_initial_primaries_recoveries [4] [2016-08-10 12:38:38,929][DEBUG][cluster.routing.allocation.decider] [Aftershock/B] using [cluster_concurrent_rebalance] with [2] [2016-08-10 12:38:38,929][DEBUG][gateway ] [Aftershock/B] using initial_shards [quorum] [2016-08-10 12:38:38,946][DEBUG][indices.recovery ] [Aftershock/B] using max_bytes_per_sec[40mb], concurrent_streams [3], file_chunk_size [512kb], translog_size [512kb], translog_ops [1000], and compress [true] [2016-08-10 12:38:38,947][DEBUG][indices.store ] [Aftershock/B] using indices.store.throttle.type [NONE], with index.store.throttle.max_bytes_per_sec [10gb] [2016-08-10 12:38:38,947][DEBUG][indices.memory ] [Aftershock/B] using indexing buffer size [98.9mb], with indices.memory.min_shard_index_buffer_size [4mb], indices.memory.max_shard_index_buffer_size [512mb], indices.memory.shard_inactive_time [5m], indices.memory.interval [30s] [2016-08-10 12:38:38,947][DEBUG][indices.cache.query ] [Aftershock/B] using [node] query cache with size [10%], actual_size [98.9mb], max filter count [1000] [2016-08-10 12:38:38,947][DEBUG][indices.fielddata.cache ] [Aftershock/B] using size [-1] [-1b] [2016-08-10 12:38:38,950][INFO ][node ] [Aftershock/B] initialized [2016-08-10 12:38:38,953][INFO ][node ] [Aftershock] initialized [2016-08-10 12:38:38,953][INFO ][node ] [Aftershock] starting ... [2016-08-10 12:38:38,964][DEBUG][netty.channel.socket.nio.SelectorUtil] Using select timeout of 500 [2016-08-10 12:38:38,964][DEBUG][netty.channel.socket.nio.SelectorUtil] Epoll-bug workaround enabled = false [2016-08-10 12:38:38,980][DEBUG][transport.netty ] [Aftershock] using profile[default], worker_count[16], port[9320], bind_host[null], publish_host[null], compress[false], connect_timeout[30s], connections_per_node[2/3/6/1/1], receive_predictor[512kb-&gt;512kb] [2016-08-10 12:38:38,987][DEBUG][transport.netty ] [Aftershock] binding server bootstrap to: 192.168.1.105 [2016-08-10 12:38:39,002][DEBUG][transport.netty ] [Aftershock] Bound profile [default] to address {192.168.1.105:9320} [2016-08-10 12:38:39,002][INFO ][transport ] [Aftershock] publish_address {192.168.1.105:9320}, bound_addresses {192.168.1.105:9320} [2016-08-10 12:38:39,005][INFO ][discovery ] [Aftershock] tribe/weLxILfuSMOynRBu3d9BQA [2016-08-10 12:38:39,005][DEBUG][discovery.local ] [Aftershock] Connected to cluster [Cluster [tribe]] [2016-08-10 12:38:39,005][WARN ][discovery ] [Aftershock] waited for 0s and no initial state was set by the discovery [2016-08-10 12:38:39,010][DEBUG][http.netty ] [Aftershock] Bound http to address {192.168.1.105:9220} [2016-08-10 12:38:39,011][INFO ][http ] [Aftershock] publish_address {192.168.1.105:9220}, bound_addresses {192.168.1.105:9220} [2016-08-10 12:38:39,011][INFO ][node ] [Aftershock/A] starting ... [2016-08-10 12:38:39,027][DEBUG][transport.netty ] [Aftershock/A] using profile[default], worker_count[16], port[9340], bind_host[null], publish_host[null], compress[false], connect_timeout[30s], connections_per_node[2/3/6/1/1], receive_predictor[512kb-&gt;512kb] [2016-08-10 12:38:39,030][DEBUG][transport.netty ] [Aftershock/A] binding server bootstrap to: 192.168.1.105 [2016-08-10 12:38:39,031][DEBUG][transport.netty ] [Aftershock/A] Bound profile [default] to address {192.168.1.105:9340} [2016-08-10 12:38:39,031][INFO ][transport ] [Aftershock/A] publish_address {192.168.1.105:9340}, bound_addresses {192.168.1.105:9340} [2016-08-10 12:38:39,033][INFO ][discovery ] [Aftershock/A] clusterA/A1wJ-0RiTUiQ_MiDKa2D6g [2016-08-10 12:38:39,035][DEBUG][cluster.service ] [Aftershock/A] processing [initial_join]: execute [2016-08-10 12:38:39,037][DEBUG][cluster.service ] [Aftershock/A] processing [initial_join]: took 1ms no change in cluster_state [2016-08-10 12:38:39,082][DEBUG][transport.netty ] [Aftershock/A] connected to node [{#zen_unicast_1#}{192.168.1.105}{192.168.1.105:9300}] [2016-08-10 12:38:42,046][DEBUG][transport.netty ] [Aftershock/A] disconnecting from [{#zen_unicast_1#}{192.168.1.105}{192.168.1.105:9300}] due to explicit disconnect call [2016-08-10 12:38:42,047][DEBUG][discovery.zen ] [Aftershock/A] filtered ping responses: (filter_client[true], filter_data[false]) --&gt; ping_response{node [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}], id[26], master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}], hasJoinedOnce [true], cluster_name[clusterA]} [2016-08-10 12:38:42,076][DEBUG][transport.netty ] [Aftershock/A] connected to node [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}] [2016-08-10 12:38:42,103][DEBUG][common.compress.lzf ] using decoder[VanillaChunkDecoder] [2016-08-10 12:38:42,105][DEBUG][discovery.zen.publish ] [Aftershock/A] received full cluster state version 12 with size 543 [2016-08-10 12:38:42,106][DEBUG][cluster.service ] [Aftershock/A] processing [zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}])]: execute [2016-08-10 12:38:42,106][DEBUG][discovery.zen.fd ] [Aftershock/A] [master] restarting fault detection against master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}], reason [new cluster state received and we are monitoring the wrong master [null]] [2016-08-10 12:38:42,107][DEBUG][discovery.zen ] [Aftershock/A] got first state from fresh master [qp-zChCbR0CjjCeAKrbPQA] [2016-08-10 12:38:42,108][DEBUG][cluster.service ] [Aftershock/A] cluster state updated, version [12], source [zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}])] [2016-08-10 12:38:42,109][INFO ][cluster.service ] [Aftershock/A] detected_master {Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}, added {{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300},}, reason: zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}]) [2016-08-10 12:38:42,109][DEBUG][cluster.service ] [Aftershock/A] set local cluster state to version 12 [2016-08-10 12:38:42,114][DEBUG][tribe ] [Aftershock] [A] received cluster event, [zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}])] [2016-08-10 12:38:42,115][DEBUG][cluster.service ] [Aftershock] processing [cluster event from A, zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}])]: execute [2016-08-10 12:38:42,115][INFO ][tribe ] [Aftershock] [A] adding node [{Aftershock/A}{A1wJ-0RiTUiQ_MiDKa2D6g}{192.168.1.105}{192.168.1.105:9340}{data=false, tribe.name=A, client=true}] [2016-08-10 12:38:42,115][INFO ][tribe ] [Aftershock] [A] adding node [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}{tribe.name=A}] [2016-08-10 12:38:42,115][WARN ][cluster.service ] [Aftershock/A] failed to notify ClusterStateListener java.lang.ClassCastException: org.elasticsearch.license.plugin.core.LicensesMetaData cannot be cast to org.elasticsearch.license.plugin.core.LicensesMetaData at org.elasticsearch.license.plugin.core.LicensesService.clusterChanged(LicensesService.java:467) at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:610) at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772) at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231) at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194) 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) [2016-08-10 12:38:42,116][DEBUG][cluster.service ] [Aftershock] cluster state updated, version [1], source [cluster event from A, zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}])] [2016-08-10 12:38:42,118][INFO ][cluster.service ] [Aftershock] added {{Aftershock/A}{A1wJ-0RiTUiQ_MiDKa2D6g}{192.168.1.105}{192.168.1.105:9340}{data=false, tribe.name=A, client=true},{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}{tribe.name=A},}, reason: cluster event from A, zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}]) [2016-08-10 12:38:42,118][INFO ][node ] [Aftershock/A] started [2016-08-10 12:38:42,118][INFO ][node ] [Aftershock/B] starting ... [2016-08-10 12:38:42,118][DEBUG][cluster.service ] [Aftershock/A] processing [zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}])]: took 11ms done applying updated cluster_state (version: 12, uuid: pXh9nsjZSmir6izDVwIB7Q) [2016-08-10 12:38:42,124][DEBUG][cluster.service ] [Aftershock/A] processing [finalize_join ({Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300})]: execute [2016-08-10 12:38:42,124][DEBUG][cluster.service ] [Aftershock/A] processing [finalize_join ({Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300})]: took 0s no change in cluster_state [2016-08-10 12:38:42,132][DEBUG][transport.netty ] [Aftershock] connected to node [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}{tribe.name=A}] [2016-08-10 12:38:42,133][DEBUG][cluster.service ] [Aftershock] set local cluster state to version 1 [2016-08-10 12:38:42,139][DEBUG][cluster.service ] [Aftershock] processing [cluster event from A, zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}])]: took 23ms done applying updated cluster_state (version: 1, uuid: V_DDgeFCThCwr8GllnXXQw) [2016-08-10 12:38:42,143][DEBUG][transport.netty ] [Aftershock/B] using profile[default], worker_count[16], port[9341], bind_host[null], publish_host[null], compress[false], connect_timeout[30s], connections_per_node[2/3/6/1/1], receive_predictor[512kb-&gt;512kb] [2016-08-10 12:38:42,156][DEBUG][transport.netty ] [Aftershock/B] binding server bootstrap to: 192.168.1.105 [2016-08-10 12:38:42,157][DEBUG][transport.netty ] [Aftershock/B] Bound profile [default] to address {192.168.1.105:9341} [2016-08-10 12:38:42,157][INFO ][transport ] [Aftershock/B] publish_address {192.168.1.105:9341}, bound_addresses {192.168.1.105:9341} [2016-08-10 12:38:42,158][INFO ][discovery ] [Aftershock/B] clusterB/4yEIs98jRQqgCYPNtpTMOg [2016-08-10 12:38:42,158][DEBUG][cluster.service ] [Aftershock/B] processing [initial_join]: execute [2016-08-10 12:38:42,159][DEBUG][cluster.service ] [Aftershock/B] processing [initial_join]: took 0s no change in cluster_state [2016-08-10 12:38:42,160][DEBUG][transport.netty ] [Aftershock/B] connected to node [{#zen_unicast_1#}{192.168.1.105}{192.168.1.105:9301}] ^C[2016-08-10 12:38:44,965][INFO ][node ] [Aftershock] stopping ... [2016-08-10 12:38:44,978][INFO ][node ] [Aftershock] stopped [2016-08-10 12:38:44,978][INFO ][node ] [Aftershock] closing ... [2016-08-10 12:38:44,979][INFO ][node ] [Aftershock/A] stopping ... [2016-08-10 12:38:44,979][DEBUG][discovery.zen.fd ] [Aftershock/A] [master] stopping fault detection against master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}], reason [zen disco stop] [2016-08-10 12:38:44,989][INFO ][node ] [Aftershock/A] stopped [2016-08-10 12:38:44,989][INFO ][node ] [Aftershock/A] closing ... [2016-08-10 12:38:44,992][INFO ][node ] [Aftershock/A] closed [2016-08-10 12:38:44,992][INFO ][node ] [Aftershock/B] stopping ... [2016-08-10 12:38:45,010][INFO ][node ] [Aftershock/B] stopped [2016-08-10 12:38:45,010][INFO ][node ] [Aftershock/B] closing ... [2016-08-10 12:38:45,012][INFO ][node ] [Aftershock/B] closed [2016-08-10 12:38:45,014][INFO ][node ] [Aftershock] closed"><pre class="notranslate"><code class="notranslate">abonuccelli@w530 /opt/elk/TEST/tribe_test/tribeNode $ ./elasticsearch-2.3.5/bin/elasticsearch -Des.logger.level=DEBUG [2016-08-10 12:38:35,995][DEBUG][bootstrap ] seccomp(SECCOMP_SET_MODE_FILTER): Function not implemented, falling back to prctl(PR_SET_SECCOMP)... [2016-08-10 12:38:35,996][DEBUG][bootstrap ] Linux seccomp filter installation successful, threads: [app] [2016-08-10 12:38:35,999][DEBUG][bootstrap ] java.class.path: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:35,999][DEBUG][bootstrap ] sun.boot.class.path: /opt/jdk1.8.0_45/jre/lib/resources.jar:/opt/jdk1.8.0_45/jre/lib/rt.jar:/opt/jdk1.8.0_45/jre/lib/sunrsasign.jar:/opt/jdk1.8.0_45/jre/lib/jsse.jar:/opt/jdk1.8.0_45/jre/lib/jce.jar:/opt/jdk1.8.0_45/jre/lib/charsets.jar:/opt/jdk1.8.0_45/jre/lib/jfr.jar:/opt/jdk1.8.0_45/jre/classes [2016-08-10 12:38:36,000][DEBUG][bootstrap ] classloader urls: [file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar, file:/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar] [2016-08-10 12:38:36,003][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:36,003][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,035][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:36,038][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:36,039][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:36,040][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:36,043][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:36,047][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:36,048][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:36,053][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:36,054][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:36,054][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:36,055][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:36,058][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:36,059][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:36,060][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:36,061][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:36,062][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:36,063][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:36,063][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:36,064][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:36,065][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:36,066][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:36,066][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:36,071][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:36,072][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:36,072][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,072][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:36,073][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:36,073][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:36,074][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:36,080][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:36,080][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:36,081][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:36,081][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:36,085][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:36,086][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:36,088][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:36,092][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:36,175][INFO ][node ] [Aftershock] version[2.3.5], pid[29132], build[90f439f/2016-07-27T10:36:52Z] [2016-08-10 12:38:36,175][INFO ][node ] [Aftershock] initializing ... [2016-08-10 12:38:36,175][DEBUG][node ] [Aftershock] using config [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/config], data [[/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/data]], logs [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/logs], plugins [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins] [2016-08-10 12:38:36,184][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:36,184][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,207][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:36,211][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:36,212][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:36,213][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:36,215][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:36,216][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:36,217][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:36,220][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:36,221][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:36,221][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:36,222][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:36,223][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:36,224][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:36,224][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:36,225][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:36,226][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:36,227][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:36,227][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:36,228][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:36,228][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:36,229][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:36,230][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:36,234][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:36,234][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:36,235][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,235][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:36,236][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:36,236][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:36,236][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:36,237][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:36,238][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:36,238][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:36,238][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:36,241][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:36,242][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:36,243][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:36,244][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:36,245][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/reindex/reindex-2.3.5.jar [2016-08-10 12:38:36,365][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:36,365][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,374][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:36,375][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:36,376][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:36,376][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:36,377][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:36,378][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:36,379][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:36,381][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:36,381][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:36,382][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:36,382][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:36,383][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:36,383][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:36,383][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:36,384][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:36,384][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:36,385][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:36,385][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:36,386][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:36,386][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:36,386][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:36,387][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:36,389][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:36,389][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:36,390][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,390][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:36,390][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:36,390][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:36,391][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:36,391][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:36,391][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:36,392][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:36,392][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:36,393][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:36,394][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:36,395][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:36,395][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:36,396][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-groovy/lang-groovy-2.3.5.jar [2016-08-10 12:38:36,396][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-groovy/groovy-2.4.6-indy.jar [2016-08-10 12:38:36,411][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:36,411][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,420][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:36,422][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:36,422][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:36,423][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:36,424][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:36,425][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:36,426][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:36,428][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:36,428][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:36,428][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:36,429][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:36,429][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:36,430][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:36,430][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:36,431][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:36,431][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:36,431][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:36,432][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:36,432][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:36,432][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:36,433][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:36,433][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:36,435][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:36,435][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:36,436][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,436][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:36,436][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:36,436][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:36,437][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:36,437][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:36,437][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:36,438][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:36,438][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:36,439][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:36,440][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:36,440][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:36,441][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:36,442][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/antlr4-runtime-4.5.1-1.jar [2016-08-10 12:38:36,442][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/lang-expression-2.3.5.jar [2016-08-10 12:38:36,442][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/asm-commons-5.0.4.jar [2016-08-10 12:38:36,443][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/asm-5.0.4.jar [2016-08-10 12:38:36,443][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/lucene-expressions-5.5.0.jar [2016-08-10 12:38:36,620][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:36,620][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,631][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:36,633][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:36,633][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:36,634][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:36,634][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:36,636][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:36,636][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:36,638][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:36,638][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:36,639][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:36,639][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:36,640][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:36,640][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:36,641][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:36,641][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:36,641][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:36,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:36,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:36,643][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:36,643][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:36,644][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:36,644][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:36,647][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:36,648][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:36,648][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:36,648][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:36,649][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:36,649][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:36,649][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:36,649][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:36,650][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:36,651][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:36,651][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:36,652][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:36,653][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:36,653][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:36,654][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:36,654][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/marvel-agent/marvel-agent-2.3.5.jar [2016-08-10 12:38:36,655][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-core-2.3.5.jar [2016-08-10 12:38:36,655][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-2.3.5.jar [2016-08-10 12:38:36,655][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-plugin-api-2.3.5.jar [2016-08-10 12:38:36,683][INFO ][plugins ] [Aftershock] modules [reindex, lang-expression, lang-groovy], plugins [license, marvel-agent], sites [] [2016-08-10 12:38:36,697][DEBUG][threadpool ] [Aftershock] creating thread_pool [force_merge], type [fixed], size [1], queue_size [null] [2016-08-10 12:38:36,704][DEBUG][threadpool ] [Aftershock] creating thread_pool [percolate], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:36,712][DEBUG][threadpool ] [Aftershock] creating thread_pool [fetch_shard_started], type [scaling], min [1], size [16], keep_alive [5m] [2016-08-10 12:38:36,712][DEBUG][threadpool ] [Aftershock] creating thread_pool [listener], type [fixed], size [4], queue_size [null] [2016-08-10 12:38:36,712][DEBUG][threadpool ] [Aftershock] creating thread_pool [index], type [fixed], size [8], queue_size [200] [2016-08-10 12:38:36,713][DEBUG][threadpool ] [Aftershock] creating thread_pool [refresh], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:36,713][DEBUG][threadpool ] [Aftershock] creating thread_pool [suggest], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:36,713][DEBUG][threadpool ] [Aftershock] creating thread_pool [generic], type [cached], keep_alive [30s] [2016-08-10 12:38:36,713][DEBUG][threadpool ] [Aftershock] creating thread_pool [warmer], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:36,714][DEBUG][threadpool ] [Aftershock] creating thread_pool [search], type [fixed], size [13], queue_size [1k] [2016-08-10 12:38:36,714][DEBUG][threadpool ] [Aftershock] creating thread_pool [flush], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:36,714][DEBUG][threadpool ] [Aftershock] creating thread_pool [fetch_shard_store], type [scaling], min [1], size [16], keep_alive [5m] [2016-08-10 12:38:36,714][DEBUG][threadpool ] [Aftershock] creating thread_pool [management], type [scaling], min [1], size [5], keep_alive [5m] [2016-08-10 12:38:36,714][DEBUG][threadpool ] [Aftershock] creating thread_pool [get], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:36,714][DEBUG][threadpool ] [Aftershock] creating thread_pool [bulk], type [fixed], size [8], queue_size [50] [2016-08-10 12:38:36,714][DEBUG][threadpool ] [Aftershock] creating thread_pool [snapshot], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:37,515][DEBUG][monitor.jvm ] [Aftershock] enabled [true], interval [1s], gc_threshold [{default=GcThreshold{name='default', warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}, young=GcThreshold{name='young', warnThreshold=1000, infoThreshold=700, debugThreshold=400}, old=GcThreshold{name='old', warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}}] [2016-08-10 12:38:37,517][DEBUG][monitor.os ] [Aftershock] Using probe [org.elasticsearch.monitor.os.OsProbe@302edb74] with refresh_interval [1s] [2016-08-10 12:38:37,519][DEBUG][monitor.process ] [Aftershock] Using probe [org.elasticsearch.monitor.process.ProcessProbe@4068102e] with refresh_interval [1s] [2016-08-10 12:38:37,523][DEBUG][monitor.jvm ] [Aftershock] Using refresh_interval [1s] [2016-08-10 12:38:37,523][DEBUG][monitor.fs ] [Aftershock] Using probe [org.elasticsearch.monitor.fs.FsProbe@72f8ae0c] with refresh_interval [1s] [2016-08-10 12:38:37,534][DEBUG][common.network ] configuration: lo inet 127.0.0.1 netmask:255.0.0.0 scope:host inet6 ::1 prefixlen:128 scope:host UP LOOPBACK mtu:65536 index:1 eth0 inet 192.168.1.105 netmask:255.255.255.0 broadcast:192.168.1.255 scope:site hardware 3C:97:0E:28:D4:D0 UP MULTICAST mtu:1000 index:2 docker0 inet 172.17.42.1 netmask:255.255.0.0 broadcast:0.0.0.0 scope:site hardware 56:84:7A:FE:97:99 MULTICAST mtu:1500 index:4 [2016-08-10 12:38:37,536][DEBUG][common.netty ] using gathering [true] [2016-08-10 12:38:37,757][DEBUG][script ] [Aftershock] using script cache with max_size [100], expire [null] [2016-08-10 12:38:37,814][DEBUG][cluster.routing.allocation.decider] [Aftershock] using [cluster.routing.allocation.allow_rebalance] with [indices_all_active] [2016-08-10 12:38:37,815][DEBUG][cluster.routing.allocation.decider] [Aftershock] using node_concurrent_recoveries [2], node_initial_primaries_recoveries [4] [2016-08-10 12:38:37,815][DEBUG][cluster.routing.allocation.decider] [Aftershock] using [cluster_concurrent_rebalance] with [2] [2016-08-10 12:38:37,820][DEBUG][gateway ] [Aftershock] using initial_shards [quorum] [2016-08-10 12:38:37,950][DEBUG][http.netty ] [Aftershock] using max_chunk_size[8kb], max_header_size[8kb], max_initial_line_length[4kb], max_content_length[100mb], receive_predictor[512kb-&gt;512kb], pipelining[true], pipelining_max_events[10000] [2016-08-10 12:38:37,964][DEBUG][indices.recovery ] [Aftershock] using max_bytes_per_sec[40mb], concurrent_streams [3], file_chunk_size [512kb], translog_size [512kb], translog_ops [1000], and compress [true] [2016-08-10 12:38:37,972][DEBUG][indices.store ] [Aftershock] using indices.store.throttle.type [NONE], with index.store.throttle.max_bytes_per_sec [10gb] [2016-08-10 12:38:37,973][DEBUG][indices.memory ] [Aftershock] using indexing buffer size [98.9mb], with indices.memory.min_shard_index_buffer_size [4mb], indices.memory.max_shard_index_buffer_size [512mb], indices.memory.shard_inactive_time [5m], indices.memory.interval [30s] [2016-08-10 12:38:37,978][DEBUG][indices.cache.query ] [Aftershock] using [node] query cache with size [10%], actual_size [98.9mb], max filter count [1000] [2016-08-10 12:38:37,980][DEBUG][indices.fielddata.cache ] [Aftershock] using size [-1] [-1b] [2016-08-10 12:38:37,989][INFO ][node ] [Aftershock/A] version[2.3.5], pid[29132], build[90f439f/2016-07-27T10:36:52Z] [2016-08-10 12:38:37,989][INFO ][node ] [Aftershock/A] initializing ... [2016-08-10 12:38:37,989][DEBUG][node ] [Aftershock/A] using config [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/config], data [[/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/data]], logs [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/logs], plugins [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins] [2016-08-10 12:38:37,993][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:37,993][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,024][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,029][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,029][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,031][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,033][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,036][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,037][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,043][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,044][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,045][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,045][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,047][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,048][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,048][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,049][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,049][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,050][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,050][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,051][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,051][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,052][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,052][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,055][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,056][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,056][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,056][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,057][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,057][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,057][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,057][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,058][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,058][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,058][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,060][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,061][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,062][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,063][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,063][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/reindex/reindex-2.3.5.jar [2016-08-10 12:38:38,075][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:38,075][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,082][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,084][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,084][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,085][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,086][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,087][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,087][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,091][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,093][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,094][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,094][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,096][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,096][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,097][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,097][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,098][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,099][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,099][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,100][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,100][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,101][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,102][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,105][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,105][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,106][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,106][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,106][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,107][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,107][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,107][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,108][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,109][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,109][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,111][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,112][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,128][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,129][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,130][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-groovy/lang-groovy-2.3.5.jar [2016-08-10 12:38:38,130][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-groovy/groovy-2.4.6-indy.jar [2016-08-10 12:38:38,149][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:38,149][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,159][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,161][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,161][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,162][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,163][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,165][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,165][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,168][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,168][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,169][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,169][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,170][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,171][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,171][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,172][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,172][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,173][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,173][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,174][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,174][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,175][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,175][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,178][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,178][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,179][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,179][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,179][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,180][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,180][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,180][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,181][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,181][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,181][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,183][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,184][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,184][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,185][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,186][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/antlr4-runtime-4.5.1-1.jar [2016-08-10 12:38:38,186][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/lang-expression-2.3.5.jar [2016-08-10 12:38:38,187][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/asm-commons-5.0.4.jar [2016-08-10 12:38:38,187][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/asm-5.0.4.jar [2016-08-10 12:38:38,187][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/lucene-expressions-5.5.0.jar [2016-08-10 12:38:38,283][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:38,283][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,293][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,294][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,294][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,294][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,295][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,296][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,296][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,298][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,298][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,298][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,298][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,299][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,299][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,299][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,300][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,300][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,300][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,300][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,301][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,301][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,301][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,301][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,303][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,304][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,304][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,304][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,304][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,305][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,305][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,305][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,305][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,306][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,306][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,307][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,308][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,308][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,309][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,309][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/marvel-agent/marvel-agent-2.3.5.jar [2016-08-10 12:38:38,309][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-core-2.3.5.jar [2016-08-10 12:38:38,310][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-2.3.5.jar [2016-08-10 12:38:38,310][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-plugin-api-2.3.5.jar [2016-08-10 12:38:38,325][INFO ][plugins ] [Aftershock/A] modules [reindex, lang-expression, lang-groovy], plugins [license, marvel-agent], sites [] [2016-08-10 12:38:38,327][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [force_merge], type [fixed], size [1], queue_size [null] [2016-08-10 12:38:38,327][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [percolate], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [fetch_shard_started], type [scaling], min [1], size [16], keep_alive [5m] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [listener], type [fixed], size [4], queue_size [null] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [index], type [fixed], size [8], queue_size [200] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [refresh], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [suggest], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [generic], type [cached], keep_alive [30s] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [warmer], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [search], type [fixed], size [13], queue_size [1k] [2016-08-10 12:38:38,328][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [flush], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,329][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [fetch_shard_store], type [scaling], min [1], size [16], keep_alive [5m] [2016-08-10 12:38:38,329][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [management], type [scaling], min [1], size [5], keep_alive [5m] [2016-08-10 12:38:38,329][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [get], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:38,329][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [bulk], type [fixed], size [8], queue_size [50] [2016-08-10 12:38:38,329][DEBUG][threadpool ] [Aftershock/A] creating thread_pool [snapshot], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,477][DEBUG][common.network ] configuration: lo inet 127.0.0.1 netmask:255.0.0.0 scope:host inet6 ::1 prefixlen:128 scope:host UP LOOPBACK mtu:65536 index:1 eth0 inet 192.168.1.105 netmask:255.255.255.0 broadcast:192.168.1.255 scope:site hardware 3C:97:0E:28:D4:D0 UP MULTICAST mtu:1000 index:2 docker0 inet 172.17.42.1 netmask:255.255.0.0 broadcast:0.0.0.0 scope:site hardware 56:84:7A:FE:97:99 MULTICAST mtu:1500 index:4 [2016-08-10 12:38:38,480][DEBUG][discovery.zen.elect ] [Aftershock/A] using minimum_master_nodes [-1] [2016-08-10 12:38:38,481][DEBUG][discovery.zen.ping.unicast] [Aftershock/A] using initial hosts [192.168.1.105:9300], with concurrent_connects [10] [2016-08-10 12:38:38,483][DEBUG][discovery.zen ] [Aftershock/A] using ping.timeout [3s], join.timeout [1m], master_election.filter_client [true], master_election.filter_data [false] [2016-08-10 12:38:38,484][DEBUG][discovery.zen.fd ] [Aftershock/A] [master] uses ping_interval [1s], ping_timeout [30s], ping_retries [3] [2016-08-10 12:38:38,486][DEBUG][discovery.zen.fd ] [Aftershock/A] [node ] uses ping_interval [1s], ping_timeout [30s], ping_retries [3] [2016-08-10 12:38:38,493][DEBUG][monitor.jvm ] [Aftershock/A] enabled [true], interval [1s], gc_threshold [{default=GcThreshold{name='default', warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}, young=GcThreshold{name='young', warnThreshold=1000, infoThreshold=700, debugThreshold=400}, old=GcThreshold{name='old', warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}}] [2016-08-10 12:38:38,493][DEBUG][monitor.os ] [Aftershock/A] Using probe [org.elasticsearch.monitor.os.OsProbe@302edb74] with refresh_interval [1s] [2016-08-10 12:38:38,494][DEBUG][monitor.process ] [Aftershock/A] Using probe [org.elasticsearch.monitor.process.ProcessProbe@4068102e] with refresh_interval [1s] [2016-08-10 12:38:38,494][DEBUG][monitor.jvm ] [Aftershock/A] Using refresh_interval [1s] [2016-08-10 12:38:38,494][DEBUG][monitor.fs ] [Aftershock/A] Using probe [org.elasticsearch.monitor.fs.FsProbe@6629643d] with refresh_interval [1s] [2016-08-10 12:38:38,523][DEBUG][script ] [Aftershock/A] using script cache with max_size [100], expire [null] [2016-08-10 12:38:38,524][DEBUG][cluster.routing.allocation.decider] [Aftershock/A] using [cluster.routing.allocation.allow_rebalance] with [indices_all_active] [2016-08-10 12:38:38,524][DEBUG][cluster.routing.allocation.decider] [Aftershock/A] using node_concurrent_recoveries [2], node_initial_primaries_recoveries [4] [2016-08-10 12:38:38,524][DEBUG][cluster.routing.allocation.decider] [Aftershock/A] using [cluster_concurrent_rebalance] with [2] [2016-08-10 12:38:38,525][DEBUG][gateway ] [Aftershock/A] using initial_shards [quorum] [2016-08-10 12:38:38,539][DEBUG][indices.recovery ] [Aftershock/A] using max_bytes_per_sec[40mb], concurrent_streams [3], file_chunk_size [512kb], translog_size [512kb], translog_ops [1000], and compress [true] [2016-08-10 12:38:38,539][DEBUG][indices.store ] [Aftershock/A] using indices.store.throttle.type [NONE], with index.store.throttle.max_bytes_per_sec [10gb] [2016-08-10 12:38:38,540][DEBUG][indices.memory ] [Aftershock/A] using indexing buffer size [98.9mb], with indices.memory.min_shard_index_buffer_size [4mb], indices.memory.max_shard_index_buffer_size [512mb], indices.memory.shard_inactive_time [5m], indices.memory.interval [30s] [2016-08-10 12:38:38,540][DEBUG][indices.cache.query ] [Aftershock/A] using [node] query cache with size [10%], actual_size [98.9mb], max filter count [1000] [2016-08-10 12:38:38,540][DEBUG][indices.fielddata.cache ] [Aftershock/A] using size [-1] [-1b] [2016-08-10 12:38:38,545][INFO ][node ] [Aftershock/A] initialized [2016-08-10 12:38:38,545][INFO ][node ] [Aftershock/B] version[2.3.5], pid[29132], build[90f439f/2016-07-27T10:36:52Z] [2016-08-10 12:38:38,545][INFO ][node ] [Aftershock/B] initializing ... [2016-08-10 12:38:38,545][DEBUG][node ] [Aftershock/B] using config [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/config], data [[/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/data]], logs [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/logs], plugins [/opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins] [2016-08-10 12:38:38,547][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:38,547][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,553][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,555][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,555][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,555][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,556][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,557][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,557][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,559][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,559][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,559][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,559][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,560][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,560][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,561][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,561][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,561][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,562][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,562][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,563][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,563][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,563][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,564][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,566][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,566][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,567][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,567][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,567][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,567][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,567][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,568][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,568][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,568][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,568][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,569][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,570][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,570][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,571][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,571][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/reindex/reindex-2.3.5.jar [2016-08-10 12:38:38,579][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:38,579][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,585][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,586][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,586][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,587][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,588][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,589][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,589][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,592][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,592][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,593][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,593][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,595][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,595][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,595][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,596][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,596][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,596][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,597][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,597][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,597][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,597][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,598][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,599][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,600][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,600][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,600][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,600][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,600][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,601][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,601][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,601][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,601][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,601][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,602][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,603][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,603][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,604][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,604][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-groovy/lang-groovy-2.3.5.jar [2016-08-10 12:38:38,604][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-groovy/groovy-2.4.6-indy.jar [2016-08-10 12:38:38,617][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:38,617][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,629][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,631][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,631][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,632][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,632][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,633][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,633][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,635][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,635][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,635][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,635][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,636][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,636][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,637][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,637][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,637][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,638][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,638][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,638][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,639][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,639][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,639][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,641][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,641][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,641][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,641][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,642][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,643][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,643][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,644][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,644][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,645][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,645][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/antlr4-runtime-4.5.1-1.jar [2016-08-10 12:38:38,645][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/lang-expression-2.3.5.jar [2016-08-10 12:38:38,646][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/asm-commons-5.0.4.jar [2016-08-10 12:38:38,646][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/asm-5.0.4.jar [2016-08-10 12:38:38,646][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/modules/lang-expression/lucene-expressions-5.5.0.jar [2016-08-10 12:38:38,722][DEBUG][bootstrap ] java.home: /opt/jdk1.8.0_45/jre [2016-08-10 12:38:38,722][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,728][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/netty-3.10.5.Final.jar [2016-08-10 12:38:38,729][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-convert-1.2.jar [2016-08-10 12:38:38,730][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queryparser-5.5.0.jar [2016-08-10 12:38:38,730][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jts-1.13.jar [2016-08-10 12:38:38,731][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-analyzers-common-5.5.0.jar [2016-08-10 12:38:38,731][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-cbor-2.6.6.jar [2016-08-10 12:38:38,732][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-core-5.5.0.jar [2016-08-10 12:38:38,733][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jsr166e-1.1.0.jar [2016-08-10 12:38:38,733][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-grouping-5.5.0.jar [2016-08-10 12:38:38,734][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/t-digest-3.0.jar [2016-08-10 12:38:38,734][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/joda-time-2.9.4.jar [2016-08-10 12:38:38,734][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/HdrHistogram-2.1.6.jar [2016-08-10 12:38:38,735][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/snakeyaml-1.15.jar [2016-08-10 12:38:38,735][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-queries-5.5.0.jar [2016-08-10 12:38:38,735][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-suggest-5.5.0.jar [2016-08-10 12:38:38,736][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-backward-codecs-5.5.0.jar [2016-08-10 12:38:38,736][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compress-lzf-1.0.2.jar [2016-08-10 12:38:38,736][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-misc-5.5.0.jar [2016-08-10 12:38:38,737][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-highlighter-5.5.0.jar [2016-08-10 12:38:38,737][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial3d-5.5.0.jar [2016-08-10 12:38:38,737][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-join-5.5.0.jar [2016-08-10 12:38:38,737][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/guava-18.0.jar [2016-08-10 12:38:38,739][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/compiler-0.8.13.jar [2016-08-10 12:38:38,739][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-core-2.6.6.jar [2016-08-10 12:38:38,740][DEBUG][bootstrap ] excluding duplicate classpath element: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/elasticsearch-2.3.5.jar [2016-08-10 12:38:38,740][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jna-4.1.0.jar [2016-08-10 12:38:38,740][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/securesm-1.0.jar [2016-08-10 12:38:38,740][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/spatial4j-0.5.jar [2016-08-10 12:38:38,740][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/commons-cli-1.3.1.jar [2016-08-10 12:38:38,740][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-spatial-5.5.0.jar [2016-08-10 12:38:38,741][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-smile-2.6.6.jar [2016-08-10 12:38:38,741][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-memory-5.5.0.jar [2016-08-10 12:38:38,741][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/hppc-0.7.1.jar [2016-08-10 12:38:38,742][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/jackson-dataformat-yaml-2.6.6.jar [2016-08-10 12:38:38,743][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/log4j-1.2.17.jar [2016-08-10 12:38:38,743][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/apache-log4j-extras-1.2.17.jar [2016-08-10 12:38:38,744][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/lib/lucene-sandbox-5.5.0.jar [2016-08-10 12:38:38,745][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/marvel-agent/marvel-agent-2.3.5.jar [2016-08-10 12:38:38,745][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-core-2.3.5.jar [2016-08-10 12:38:38,745][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-2.3.5.jar [2016-08-10 12:38:38,745][DEBUG][bootstrap ] examining jar: /opt/elk/TEST/tribe_test/tribeNode/elasticsearch-2.3.5/plugins/license/license-plugin-api-2.3.5.jar [2016-08-10 12:38:38,766][INFO ][plugins ] [Aftershock/B] modules [reindex, lang-expression, lang-groovy], plugins [license, marvel-agent], sites [] [2016-08-10 12:38:38,767][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [force_merge], type [fixed], size [1], queue_size [null] [2016-08-10 12:38:38,768][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [percolate], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:38,768][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [fetch_shard_started], type [scaling], min [1], size [16], keep_alive [5m] [2016-08-10 12:38:38,768][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [listener], type [fixed], size [4], queue_size [null] [2016-08-10 12:38:38,768][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [index], type [fixed], size [8], queue_size [200] [2016-08-10 12:38:38,768][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [refresh], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,768][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [suggest], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [generic], type [cached], keep_alive [30s] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [warmer], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [search], type [fixed], size [13], queue_size [1k] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [flush], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [fetch_shard_store], type [scaling], min [1], size [16], keep_alive [5m] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [management], type [scaling], min [1], size [5], keep_alive [5m] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [get], type [fixed], size [8], queue_size [1k] [2016-08-10 12:38:38,769][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [bulk], type [fixed], size [8], queue_size [50] [2016-08-10 12:38:38,770][DEBUG][threadpool ] [Aftershock/B] creating thread_pool [snapshot], type [scaling], min [1], size [4], keep_alive [5m] [2016-08-10 12:38:38,893][DEBUG][common.network ] configuration: lo inet 127.0.0.1 netmask:255.0.0.0 scope:host inet6 ::1 prefixlen:128 scope:host UP LOOPBACK mtu:65536 index:1 eth0 inet 192.168.1.105 netmask:255.255.255.0 broadcast:192.168.1.255 scope:site hardware 3C:97:0E:28:D4:D0 UP MULTICAST mtu:1000 index:2 docker0 inet 172.17.42.1 netmask:255.255.0.0 broadcast:0.0.0.0 scope:site hardware 56:84:7A:FE:97:99 MULTICAST mtu:1500 index:4 [2016-08-10 12:38:38,894][DEBUG][discovery.zen.elect ] [Aftershock/B] using minimum_master_nodes [-1] [2016-08-10 12:38:38,894][DEBUG][discovery.zen.ping.unicast] [Aftershock/B] using initial hosts [192.168.1.105:9301], with concurrent_connects [10] [2016-08-10 12:38:38,895][DEBUG][discovery.zen ] [Aftershock/B] using ping.timeout [3s], join.timeout [1m], master_election.filter_client [true], master_election.filter_data [false] [2016-08-10 12:38:38,895][DEBUG][discovery.zen.fd ] [Aftershock/B] [master] uses ping_interval [1s], ping_timeout [30s], ping_retries [3] [2016-08-10 12:38:38,895][DEBUG][discovery.zen.fd ] [Aftershock/B] [node ] uses ping_interval [1s], ping_timeout [30s], ping_retries [3] [2016-08-10 12:38:38,897][DEBUG][monitor.jvm ] [Aftershock/B] enabled [true], interval [1s], gc_threshold [{default=GcThreshold{name='default', warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}, young=GcThreshold{name='young', warnThreshold=1000, infoThreshold=700, debugThreshold=400}, old=GcThreshold{name='old', warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}}] [2016-08-10 12:38:38,898][DEBUG][monitor.os ] [Aftershock/B] Using probe [org.elasticsearch.monitor.os.OsProbe@302edb74] with refresh_interval [1s] [2016-08-10 12:38:38,898][DEBUG][monitor.process ] [Aftershock/B] Using probe [org.elasticsearch.monitor.process.ProcessProbe@4068102e] with refresh_interval [1s] [2016-08-10 12:38:38,898][DEBUG][monitor.jvm ] [Aftershock/B] Using refresh_interval [1s] [2016-08-10 12:38:38,898][DEBUG][monitor.fs ] [Aftershock/B] Using probe [org.elasticsearch.monitor.fs.FsProbe@63262071] with refresh_interval [1s] [2016-08-10 12:38:38,927][DEBUG][script ] [Aftershock/B] using script cache with max_size [100], expire [null] [2016-08-10 12:38:38,929][DEBUG][cluster.routing.allocation.decider] [Aftershock/B] using [cluster.routing.allocation.allow_rebalance] with [indices_all_active] [2016-08-10 12:38:38,929][DEBUG][cluster.routing.allocation.decider] [Aftershock/B] using node_concurrent_recoveries [2], node_initial_primaries_recoveries [4] [2016-08-10 12:38:38,929][DEBUG][cluster.routing.allocation.decider] [Aftershock/B] using [cluster_concurrent_rebalance] with [2] [2016-08-10 12:38:38,929][DEBUG][gateway ] [Aftershock/B] using initial_shards [quorum] [2016-08-10 12:38:38,946][DEBUG][indices.recovery ] [Aftershock/B] using max_bytes_per_sec[40mb], concurrent_streams [3], file_chunk_size [512kb], translog_size [512kb], translog_ops [1000], and compress [true] [2016-08-10 12:38:38,947][DEBUG][indices.store ] [Aftershock/B] using indices.store.throttle.type [NONE], with index.store.throttle.max_bytes_per_sec [10gb] [2016-08-10 12:38:38,947][DEBUG][indices.memory ] [Aftershock/B] using indexing buffer size [98.9mb], with indices.memory.min_shard_index_buffer_size [4mb], indices.memory.max_shard_index_buffer_size [512mb], indices.memory.shard_inactive_time [5m], indices.memory.interval [30s] [2016-08-10 12:38:38,947][DEBUG][indices.cache.query ] [Aftershock/B] using [node] query cache with size [10%], actual_size [98.9mb], max filter count [1000] [2016-08-10 12:38:38,947][DEBUG][indices.fielddata.cache ] [Aftershock/B] using size [-1] [-1b] [2016-08-10 12:38:38,950][INFO ][node ] [Aftershock/B] initialized [2016-08-10 12:38:38,953][INFO ][node ] [Aftershock] initialized [2016-08-10 12:38:38,953][INFO ][node ] [Aftershock] starting ... [2016-08-10 12:38:38,964][DEBUG][netty.channel.socket.nio.SelectorUtil] Using select timeout of 500 [2016-08-10 12:38:38,964][DEBUG][netty.channel.socket.nio.SelectorUtil] Epoll-bug workaround enabled = false [2016-08-10 12:38:38,980][DEBUG][transport.netty ] [Aftershock] using profile[default], worker_count[16], port[9320], bind_host[null], publish_host[null], compress[false], connect_timeout[30s], connections_per_node[2/3/6/1/1], receive_predictor[512kb-&gt;512kb] [2016-08-10 12:38:38,987][DEBUG][transport.netty ] [Aftershock] binding server bootstrap to: 192.168.1.105 [2016-08-10 12:38:39,002][DEBUG][transport.netty ] [Aftershock] Bound profile [default] to address {192.168.1.105:9320} [2016-08-10 12:38:39,002][INFO ][transport ] [Aftershock] publish_address {192.168.1.105:9320}, bound_addresses {192.168.1.105:9320} [2016-08-10 12:38:39,005][INFO ][discovery ] [Aftershock] tribe/weLxILfuSMOynRBu3d9BQA [2016-08-10 12:38:39,005][DEBUG][discovery.local ] [Aftershock] Connected to cluster [Cluster [tribe]] [2016-08-10 12:38:39,005][WARN ][discovery ] [Aftershock] waited for 0s and no initial state was set by the discovery [2016-08-10 12:38:39,010][DEBUG][http.netty ] [Aftershock] Bound http to address {192.168.1.105:9220} [2016-08-10 12:38:39,011][INFO ][http ] [Aftershock] publish_address {192.168.1.105:9220}, bound_addresses {192.168.1.105:9220} [2016-08-10 12:38:39,011][INFO ][node ] [Aftershock/A] starting ... [2016-08-10 12:38:39,027][DEBUG][transport.netty ] [Aftershock/A] using profile[default], worker_count[16], port[9340], bind_host[null], publish_host[null], compress[false], connect_timeout[30s], connections_per_node[2/3/6/1/1], receive_predictor[512kb-&gt;512kb] [2016-08-10 12:38:39,030][DEBUG][transport.netty ] [Aftershock/A] binding server bootstrap to: 192.168.1.105 [2016-08-10 12:38:39,031][DEBUG][transport.netty ] [Aftershock/A] Bound profile [default] to address {192.168.1.105:9340} [2016-08-10 12:38:39,031][INFO ][transport ] [Aftershock/A] publish_address {192.168.1.105:9340}, bound_addresses {192.168.1.105:9340} [2016-08-10 12:38:39,033][INFO ][discovery ] [Aftershock/A] clusterA/A1wJ-0RiTUiQ_MiDKa2D6g [2016-08-10 12:38:39,035][DEBUG][cluster.service ] [Aftershock/A] processing [initial_join]: execute [2016-08-10 12:38:39,037][DEBUG][cluster.service ] [Aftershock/A] processing [initial_join]: took 1ms no change in cluster_state [2016-08-10 12:38:39,082][DEBUG][transport.netty ] [Aftershock/A] connected to node [{#zen_unicast_1#}{192.168.1.105}{192.168.1.105:9300}] [2016-08-10 12:38:42,046][DEBUG][transport.netty ] [Aftershock/A] disconnecting from [{#zen_unicast_1#}{192.168.1.105}{192.168.1.105:9300}] due to explicit disconnect call [2016-08-10 12:38:42,047][DEBUG][discovery.zen ] [Aftershock/A] filtered ping responses: (filter_client[true], filter_data[false]) --&gt; ping_response{node [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}], id[26], master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}], hasJoinedOnce [true], cluster_name[clusterA]} [2016-08-10 12:38:42,076][DEBUG][transport.netty ] [Aftershock/A] connected to node [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}] [2016-08-10 12:38:42,103][DEBUG][common.compress.lzf ] using decoder[VanillaChunkDecoder] [2016-08-10 12:38:42,105][DEBUG][discovery.zen.publish ] [Aftershock/A] received full cluster state version 12 with size 543 [2016-08-10 12:38:42,106][DEBUG][cluster.service ] [Aftershock/A] processing [zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}])]: execute [2016-08-10 12:38:42,106][DEBUG][discovery.zen.fd ] [Aftershock/A] [master] restarting fault detection against master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}], reason [new cluster state received and we are monitoring the wrong master [null]] [2016-08-10 12:38:42,107][DEBUG][discovery.zen ] [Aftershock/A] got first state from fresh master [qp-zChCbR0CjjCeAKrbPQA] [2016-08-10 12:38:42,108][DEBUG][cluster.service ] [Aftershock/A] cluster state updated, version [12], source [zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}])] [2016-08-10 12:38:42,109][INFO ][cluster.service ] [Aftershock/A] detected_master {Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}, added {{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300},}, reason: zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}]) [2016-08-10 12:38:42,109][DEBUG][cluster.service ] [Aftershock/A] set local cluster state to version 12 [2016-08-10 12:38:42,114][DEBUG][tribe ] [Aftershock] [A] received cluster event, [zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}])] [2016-08-10 12:38:42,115][DEBUG][cluster.service ] [Aftershock] processing [cluster event from A, zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}])]: execute [2016-08-10 12:38:42,115][INFO ][tribe ] [Aftershock] [A] adding node [{Aftershock/A}{A1wJ-0RiTUiQ_MiDKa2D6g}{192.168.1.105}{192.168.1.105:9340}{data=false, tribe.name=A, client=true}] [2016-08-10 12:38:42,115][INFO ][tribe ] [Aftershock] [A] adding node [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}{tribe.name=A}] [2016-08-10 12:38:42,115][WARN ][cluster.service ] [Aftershock/A] failed to notify ClusterStateListener java.lang.ClassCastException: org.elasticsearch.license.plugin.core.LicensesMetaData cannot be cast to org.elasticsearch.license.plugin.core.LicensesMetaData at org.elasticsearch.license.plugin.core.LicensesService.clusterChanged(LicensesService.java:467) at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:610) at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772) at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231) at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194) 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) [2016-08-10 12:38:42,116][DEBUG][cluster.service ] [Aftershock] cluster state updated, version [1], source [cluster event from A, zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}])] [2016-08-10 12:38:42,118][INFO ][cluster.service ] [Aftershock] added {{Aftershock/A}{A1wJ-0RiTUiQ_MiDKa2D6g}{192.168.1.105}{192.168.1.105:9340}{data=false, tribe.name=A, client=true},{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}{tribe.name=A},}, reason: cluster event from A, zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}]) [2016-08-10 12:38:42,118][INFO ][node ] [Aftershock/A] started [2016-08-10 12:38:42,118][INFO ][node ] [Aftershock/B] starting ... [2016-08-10 12:38:42,118][DEBUG][cluster.service ] [Aftershock/A] processing [zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}])]: took 11ms done applying updated cluster_state (version: 12, uuid: pXh9nsjZSmir6izDVwIB7Q) [2016-08-10 12:38:42,124][DEBUG][cluster.service ] [Aftershock/A] processing [finalize_join ({Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300})]: execute [2016-08-10 12:38:42,124][DEBUG][cluster.service ] [Aftershock/A] processing [finalize_join ({Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300})]: took 0s no change in cluster_state [2016-08-10 12:38:42,132][DEBUG][transport.netty ] [Aftershock] connected to node [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}{tribe.name=A}] [2016-08-10 12:38:42,133][DEBUG][cluster.service ] [Aftershock] set local cluster state to version 1 [2016-08-10 12:38:42,139][DEBUG][cluster.service ] [Aftershock] processing [cluster event from A, zen-disco-receive(from master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}])]: took 23ms done applying updated cluster_state (version: 1, uuid: V_DDgeFCThCwr8GllnXXQw) [2016-08-10 12:38:42,143][DEBUG][transport.netty ] [Aftershock/B] using profile[default], worker_count[16], port[9341], bind_host[null], publish_host[null], compress[false], connect_timeout[30s], connections_per_node[2/3/6/1/1], receive_predictor[512kb-&gt;512kb] [2016-08-10 12:38:42,156][DEBUG][transport.netty ] [Aftershock/B] binding server bootstrap to: 192.168.1.105 [2016-08-10 12:38:42,157][DEBUG][transport.netty ] [Aftershock/B] Bound profile [default] to address {192.168.1.105:9341} [2016-08-10 12:38:42,157][INFO ][transport ] [Aftershock/B] publish_address {192.168.1.105:9341}, bound_addresses {192.168.1.105:9341} [2016-08-10 12:38:42,158][INFO ][discovery ] [Aftershock/B] clusterB/4yEIs98jRQqgCYPNtpTMOg [2016-08-10 12:38:42,158][DEBUG][cluster.service ] [Aftershock/B] processing [initial_join]: execute [2016-08-10 12:38:42,159][DEBUG][cluster.service ] [Aftershock/B] processing [initial_join]: took 0s no change in cluster_state [2016-08-10 12:38:42,160][DEBUG][transport.netty ] [Aftershock/B] connected to node [{#zen_unicast_1#}{192.168.1.105}{192.168.1.105:9301}] ^C[2016-08-10 12:38:44,965][INFO ][node ] [Aftershock] stopping ... [2016-08-10 12:38:44,978][INFO ][node ] [Aftershock] stopped [2016-08-10 12:38:44,978][INFO ][node ] [Aftershock] closing ... [2016-08-10 12:38:44,979][INFO ][node ] [Aftershock/A] stopping ... [2016-08-10 12:38:44,979][DEBUG][discovery.zen.fd ] [Aftershock/A] [master] stopping fault detection against master [{Danvers Carol}{qp-zChCbR0CjjCeAKrbPQA}{192.168.1.105}{192.168.1.105:9300}], reason [zen disco stop] [2016-08-10 12:38:44,989][INFO ][node ] [Aftershock/A] stopped [2016-08-10 12:38:44,989][INFO ][node ] [Aftershock/A] closing ... [2016-08-10 12:38:44,992][INFO ][node ] [Aftershock/A] closed [2016-08-10 12:38:44,992][INFO ][node ] [Aftershock/B] stopping ... [2016-08-10 12:38:45,010][INFO ][node ] [Aftershock/B] stopped [2016-08-10 12:38:45,010][INFO ][node ] [Aftershock/B] closing ... [2016-08-10 12:38:45,012][INFO ][node ] [Aftershock/B] closed [2016-08-10 12:38:45,014][INFO ][node ] [Aftershock] closed </code></pre></div> <p dir="auto"><strong>Describe the feature</strong>:</p> <p dir="auto">What does that exception mean?</p>
0
<h3 dir="auto">Is there an existing issue for this?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the existing issues</li> </ul> <h3 dir="auto">Current Behavior</h3> <p dir="auto"><code class="notranslate">npm x -q --yes --package=&lt;package&gt;@&lt;version&gt; -- &lt;command&gt;</code> doesn't honor <code class="notranslate">&lt;version&gt;</code>, uses incompatible package that is locally available instead.</p> <h3 dir="auto">Expected Behavior</h3> <p dir="auto"><code class="notranslate">npm x -q --yes --package=&lt;package&gt;@&lt;version&gt; -- &lt;command&gt;</code> honors <code class="notranslate">&lt;version&gt;</code>, does not uses incompatible package that is locally available instead.</p> <h3 dir="auto">Steps To Reproduce</h3> <ol dir="auto"> <li>Write this <code class="notranslate">package.json</code>: <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;private&quot;: true, &quot;devDependencies&quot;: { &quot;pnpm&quot;: &quot;=6.12.1&quot; } }"><pre class="notranslate">{ <span class="pl-ent">"private"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"devDependencies"</span>: { <span class="pl-ent">"pnpm"</span>: <span class="pl-s"><span class="pl-pds">"</span>=6.12.1<span class="pl-pds">"</span></span> } }</pre></div> </li> <li>Run <code class="notranslate">npm i</code></li> <li><code class="notranslate">[email protected]</code> is now installed locally. <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ npm x -q --yes -- pnpm --version 6.12.1"><pre class="notranslate">$ npm x -q --yes -- pnpm --version 6.12.1</pre></div> </li> <li>Run pnpm 6.13.0 now: <code class="notranslate">npm x</code> won't honor the version <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ npm x -q --yes --package=&quot;[email protected]&quot; -- pnpm --version 6.12.1"><pre class="notranslate">$ npm x -q --yes --package=<span class="pl-s"><span class="pl-pds">"</span>[email protected]<span class="pl-pds">"</span></span> -- pnpm --version 6.12.1</pre></div> </li> </ol> <p dir="auto">The docs for <code class="notranslate">npm exec</code> state:</p> <blockquote> <p dir="auto">Package names provided without a specifier will be matched with whatever version exists in the local project. <strong>Package names with a specifier will only be considered a match if they have the exact same name and version as the local dependency.</strong></p> </blockquote> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>OS: macOS 11.4</li> <li>Node: 16.5.0</li> <li>npm: 7.21.0</li> </ul>
<h3 dir="auto">Current Behavior:</h3> <p dir="auto">running <code class="notranslate">npx @package@version</code> generate it with the current install version</p> <h3 dir="auto">Expected Behavior:</h3> <p dir="auto">it should be generated with the given version</p> <h3 dir="auto">Steps To Reproduce:</h3> <p dir="auto">ex. steps to reproduce the behavior:</p> <ol dir="auto"> <li>run <code class="notranslate">npm i -g npm@latest</code> to install npm 7</li> <li>run <code class="notranslate">npx @angular/cli@next new</code></li> <li>answer all questions of the angular cli, it doesn't matter what the answers are</li> <li>it will install angular 11 (while next is 12)</li> </ol> <h3 dir="auto">Environment:</h3> <ul dir="auto"> <li>OS: Windows 10</li> <li>Node: 14.16.1</li> <li>npm: 7.12.0 (working fine with 6.14.13)</li> </ul>
1
<p dir="auto">When specifying one index only, it makes sense to throw this. When querying on multiple indexes, this should be thrown only if none of the indexes were found. Details on non-existing indices can be embedded in the response, letting the consumer decide if this result is desired or not.</p> <p dir="auto">At least have the option of having this configurable.</p> <p dir="auto">This is very important to have for scenarios like the "log file indexing" scenario <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kimchy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kimchy">@kimchy</a> talks about</p>
<p dir="auto">For applications using daily indexes it would be useful if elasticsearch didn't return an error if at least one of the specified indexes existed. Currently before each query I need to check what indexes exist incase a daily index was removed outside my application . If the current behavior is required, then maybe add a flag for new behavior?</p> <p dir="auto">Reproduce:<br> curl <a href="http://localhost:9200/sessions-120813/session/1" rel="nofollow">http://localhost:9200/sessions-120813/session/1</a> -d '{"test": 1}'<br> curl '<a href="http://localhost:9200/sessions-120812,sessions-120813/session/_search?query=test:1" rel="nofollow">http://localhost:9200/sessions-120812,sessions-120813/session/_search?query=test:1</a>'<br> {"error":"IndexMissingException[[sessions-120812] missing]","status":404}</p> <p dir="auto">Desired response:<br> {"took":2,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"sessions-120813","_type":"session","_id":"1","_score":1.0, "_source" : {"test": 1}}]}}</p>
1
<p dir="auto">The definition of <code class="notranslate">argmax</code> from <a href="https://en.wikipedia.org/wiki/Arg_max" rel="nofollow">Wikipedia</a>,<br> Given a collection of elements (domain), which map to an ordered set (range), what is the subset containing those elements in the domain whose image is the frontier.</p> <p dir="auto">Currently, <code class="notranslate">argmax</code> is actually <code class="notranslate">indmax</code> which is defined for indexed collections and returns the index of the first encountered element whose image is equal to the frontier. The generalization of <code class="notranslate">keymax</code> (discussed, but not implemented) extends the supported collections from indexed to <code class="notranslate">pairs</code>-implemented collections. This is the result of renaming <code class="notranslate">indmax</code> to <code class="notranslate">argmax</code>. A current proposal is for <code class="notranslate">argmax</code> to be defined for <code class="notranslate">Generator</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="333000377" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/27613" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/27613/hovercard" href="https://github.com/JuliaLang/julia/issues/27613">#27613</a>),</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="argmax(f(x) for x ∈ domain)"><pre class="notranslate"><code class="notranslate">argmax(f(x) for x ∈ domain) </code></pre></div> <p dir="auto">with that change, we could fix the implementation with something like</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import Base: Generator, argmax function argmax(f::Function, domain::Generator) T = eltype(domain) tested = Set{T}() output = Set{T}() frontier = nothing for elem ∈ domain if !(elem ∈ tested) push!(tested, elem) value = f(elem) if (frontier === nothing) || (value &gt; frontier) frontier = value output = Set(elem) elseif value == frontier push!(output, elem) end end end return output end"><pre class="notranslate"><code class="notranslate">import Base: Generator, argmax function argmax(f::Function, domain::Generator) T = eltype(domain) tested = Set{T}() output = Set{T}() frontier = nothing for elem ∈ domain if !(elem ∈ tested) push!(tested, elem) value = f(elem) if (frontier === nothing) || (value &gt; frontier) frontier = value output = Set(elem) elseif value == frontier push!(output, elem) end end end return output end </code></pre></div> <p dir="auto">and call it with the following syntax</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="argmax(abs2, elem for elem ∈ -3:3) == Set([-3, 3])"><pre class="notranslate"><code class="notranslate">argmax(abs2, elem for elem ∈ -3:3) == Set([-3, 3]) </code></pre></div>
<p dir="auto">From <a href="https://discourse.julialang.org/t/serialization-serialize-strings-are-not-interned-de-duplication/35626" rel="nofollow">https://discourse.julialang.org/t/serialization-serialize-strings-are-not-interned-de-duplication/35626</a></p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vtjnash/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vtjnash">@vtjnash</a> asked me to open this as an Issue on the repo. Can we implement string interning when serializing (large) strings? Can we maybe share this logic with the interning for Symbols? Thanks!</p> <p dir="auto">--<br> Copied from discourse:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; using Humanize # For pretty printing, not necessary for reproduction julia&gt; using Serialization julia&gt; struct StringHolder a::String b::String end julia&gt; s = join(rand('a':'z', 1024*1024)); # 1 MiB string julia&gt; sh = StringHolder(s, s); julia&gt; Humanize.datasize(Base.summarysize(sh), style=:bin) # The string is shared in memory. &quot;1.0 MiB&quot; julia&gt; serialize(&quot;/tmp/sh&quot;, sh) julia&gt; run(`ls -lh /tmp/sh`) # Size on disk is 2 MiB! (duplicated!) -rw-r--r-- 1 nathan.daly wheel 2.0M Mar 6 00:06 /tmp/sh Process(`ls -lh /tmp/sh`, ProcessExited(0)) julia&gt; sh_deserialized = deserialize(&quot;/tmp/sh&quot;); # It's big now! :'( julia&gt; Humanize.datasize(Base.summarysize(sh_deserialized), style=:bin) &quot;2.0 MiB&quot;"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-k">using</span> Humanize <span class="pl-c"><span class="pl-c">#</span> For pretty printing, not necessary for reproduction</span> julia<span class="pl-k">&gt;</span> <span class="pl-k">using</span> Serialization julia<span class="pl-k">&gt;</span> <span class="pl-k">struct</span> StringHolder a<span class="pl-k">::</span><span class="pl-c1">String</span> b<span class="pl-k">::</span><span class="pl-c1">String</span> <span class="pl-k">end</span> julia<span class="pl-k">&gt;</span> s <span class="pl-k">=</span> <span class="pl-c1">join</span>(<span class="pl-c1">rand</span>(<span class="pl-s"><span class="pl-pds">'</span>a<span class="pl-pds">'</span></span>:<span class="pl-s"><span class="pl-pds">'</span>z<span class="pl-pds">'</span></span>, <span class="pl-c1">1024</span><span class="pl-k">*</span><span class="pl-c1">1024</span>)); <span class="pl-c"><span class="pl-c">#</span> 1 MiB string</span> julia<span class="pl-k">&gt;</span> sh <span class="pl-k">=</span> <span class="pl-c1">StringHolder</span>(s, s); julia<span class="pl-k">&gt;</span> Humanize<span class="pl-k">.</span><span class="pl-c1">datasize</span>(Base<span class="pl-k">.</span><span class="pl-c1">summarysize</span>(sh), style<span class="pl-k">=</span><span class="pl-c1">:bin</span>) <span class="pl-c"><span class="pl-c">#</span> The string is shared in memory.</span> <span class="pl-s"><span class="pl-pds">"</span>1.0 MiB<span class="pl-pds">"</span></span> julia<span class="pl-k">&gt;</span> <span class="pl-c1">serialize</span>(<span class="pl-s"><span class="pl-pds">"</span>/tmp/sh<span class="pl-pds">"</span></span>, sh) julia<span class="pl-k">&gt;</span> <span class="pl-c1">run</span>(<span class="pl-s"><span class="pl-pds">`</span>ls -lh /tmp/sh<span class="pl-pds">`</span></span>) <span class="pl-c"><span class="pl-c">#</span> Size on disk is 2 MiB! (duplicated!)</span> <span class="pl-k">-</span>rw<span class="pl-k">-</span>r<span class="pl-k">--</span>r<span class="pl-k">--</span> <span class="pl-c1">1</span> nathan<span class="pl-k">.</span>daly wheel <span class="pl-c1">2.0</span>M Mar <span class="pl-c1">6</span> <span class="pl-c1">00</span><span class="pl-k">:</span><span class="pl-c1">06</span> <span class="pl-k">/</span>tmp<span class="pl-k">/</span>sh <span class="pl-c1">Process</span>(<span class="pl-s"><span class="pl-pds">`</span>ls -lh /tmp/sh<span class="pl-pds">`</span></span>, <span class="pl-c1">ProcessExited</span>(<span class="pl-c1">0</span>)) julia<span class="pl-k">&gt;</span> sh_deserialized <span class="pl-k">=</span> <span class="pl-c1">deserialize</span>(<span class="pl-s"><span class="pl-pds">"</span>/tmp/sh<span class="pl-pds">"</span></span>); <span class="pl-c"><span class="pl-c">#</span> It's big now! :'(</span> julia<span class="pl-k">&gt;</span> Humanize<span class="pl-k">.</span><span class="pl-c1">datasize</span>(Base<span class="pl-k">.</span><span class="pl-c1">summarysize</span>(sh_deserialized), style<span class="pl-k">=</span><span class="pl-c1">:bin</span>) <span class="pl-s"><span class="pl-pds">"</span>2.0 MiB<span class="pl-pds">"</span></span></pre></div>
0
<h1 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h1> <h2 dir="auto">Information</h2> <p dir="auto">Model I am using TFBertEncoder:</p> <p dir="auto">Language I am using the model on English:</p> <p dir="auto">The problem arises when using:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> my own modified scripts: (give details below)</li> </ul> <p dir="auto">The tasks I am working on is:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> my own task or dataset: (give details below)</li> </ul> <h2 dir="auto">To reproduce</h2> <p dir="auto">Steps to reproduce the behavior:</p> <ol dir="auto"> <li>When I use, TFBertEncoder, I get an error.</li> </ol> <p dir="auto">Here is my code.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import tensorflow as tf import numpy as np from transformers.modeling_tf_bert import BertConfig, TFBertEncoder print(tf.__name__, tf.__version__) input_a = tf.keras.layers.Input(shape=(91, 128)) config = BertConfig() config.hidden_size = 128 config.num_attention_heads = 4 # config.output_attentions = False # config.output_hidden_states = False head_mask = [None for _ in range(config.num_hidden_layers)] encoder_output = TFBertEncoder(config=config)([input_a, None, head_mask])[0] print(encoder_output.shape) test_out = tf.keras.layers.Dense(128)(encoder_output) print(test_out.shape)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">tensorflow</span> <span class="pl-k">as</span> <span class="pl-s1">tf</span> <span class="pl-k">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">transformers</span>.<span class="pl-s1">modeling_tf_bert</span> <span class="pl-k">import</span> <span class="pl-v">BertConfig</span>, <span class="pl-v">TFBertEncoder</span> <span class="pl-en">print</span>(<span class="pl-s1">tf</span>.<span class="pl-s1">__name__</span>, <span class="pl-s1">tf</span>.<span class="pl-s1">__version__</span>) <span class="pl-s1">input_a</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-s1">keras</span>.<span class="pl-s1">layers</span>.<span class="pl-v">Input</span>(<span class="pl-s1">shape</span><span class="pl-c1">=</span>(<span class="pl-c1">91</span>, <span class="pl-c1">128</span>)) <span class="pl-s1">config</span> <span class="pl-c1">=</span> <span class="pl-v">BertConfig</span>() <span class="pl-s1">config</span>.<span class="pl-s1">hidden_size</span> <span class="pl-c1">=</span> <span class="pl-c1">128</span> <span class="pl-s1">config</span>.<span class="pl-s1">num_attention_heads</span> <span class="pl-c1">=</span> <span class="pl-c1">4</span> <span class="pl-c"># config.output_attentions = False</span> <span class="pl-c"># config.output_hidden_states = False</span> <span class="pl-s1">head_mask</span> <span class="pl-c1">=</span> [<span class="pl-c1">None</span> <span class="pl-k">for</span> <span class="pl-s1">_</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-s1">config</span>.<span class="pl-s1">num_hidden_layers</span>)] <span class="pl-s1">encoder_output</span> <span class="pl-c1">=</span> <span class="pl-v">TFBertEncoder</span>(<span class="pl-s1">config</span><span class="pl-c1">=</span><span class="pl-s1">config</span>)([<span class="pl-s1">input_a</span>, <span class="pl-c1">None</span>, <span class="pl-s1">head_mask</span>])[<span class="pl-c1">0</span>] <span class="pl-en">print</span>(<span class="pl-s1">encoder_output</span>.<span class="pl-s1">shape</span>) <span class="pl-s1">test_out</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-s1">keras</span>.<span class="pl-s1">layers</span>.<span class="pl-v">Dense</span>(<span class="pl-c1">128</span>)(<span class="pl-s1">encoder_output</span>) <span class="pl-en">print</span>(<span class="pl-s1">test_out</span>.<span class="pl-s1">shape</span>)</pre></div> <h2 dir="auto">Expected behavior</h2> <p dir="auto">Here is the error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(None, 91, 128) 2020-06-03 11:18:10.160647: W tensorflow/core/common_runtime/base_collective_executor.cc:217] BaseCollectiveExecutor::StartAbort Failed precondition: Error while reading resource variable _AnonymousVar189 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar189/class tensorflow::Var does not exist. [[{{node output_23/dense/BiasAdd/ReadVariableOp}}]] Traceback (most recent call last): File &quot;D:/python/tx/TEST.py&quot;, line 16, in &lt;module&gt; a = tf.keras.layers.Dense(128)(encoder_output) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer.py&quot;, line 720, in __call__ base_layer_utils.create_keras_history(inputs) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py&quot;, line 187, in create_keras_history _, created_layers = _create_keras_history_helper(tensors, set(), []) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py&quot;, line 249, in _create_keras_history_helper layer_inputs, processed_ops, created_layers) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py&quot;, line 249, in _create_keras_history_helper layer_inputs, processed_ops, created_layers) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py&quot;, line 249, in _create_keras_history_helper layer_inputs, processed_ops, created_layers) [Previous line repeated 5 more times] File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py&quot;, line 247, in _create_keras_history_helper constants[i] = backend.function([], op_input)([]) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\backend.py&quot;, line 3727, in __call__ outputs = self._graph_fn(*converted_inputs) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py&quot;, line 1551, in __call__ return self._call_impl(args, kwargs) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py&quot;, line 1591, in _call_impl return self._call_flat(args, self.captured_inputs, cancellation_manager) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py&quot;, line 1692, in _call_flat ctx, args, cancellation_manager=cancellation_manager)) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py&quot;, line 545, in call ctx=ctx) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\execute.py&quot;, line 67, in quick_execute six.raise_from(core._status_to_exception(e.code, message), None) File &quot;&lt;string&gt;&quot;, line 3, in raise_from tensorflow.python.framework.errors_impl.FailedPreconditionError: Error while reading resource variable _AnonymousVar189 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar189/class tensorflow::Var does not exist. [[node output_23/dense/BiasAdd/ReadVariableOp (defined at /python/tx/TEST.py:16) ]] [Op:__inference_keras_scratch_graph_5205] Function call stack: keras_scratch_graph"><pre class="notranslate"><code class="notranslate">(None, 91, 128) 2020-06-03 11:18:10.160647: W tensorflow/core/common_runtime/base_collective_executor.cc:217] BaseCollectiveExecutor::StartAbort Failed precondition: Error while reading resource variable _AnonymousVar189 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar189/class tensorflow::Var does not exist. [[{{node output_23/dense/BiasAdd/ReadVariableOp}}]] Traceback (most recent call last): File "D:/python/tx/TEST.py", line 16, in &lt;module&gt; a = tf.keras.layers.Dense(128)(encoder_output) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer.py", line 720, in __call__ base_layer_utils.create_keras_history(inputs) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py", line 187, in create_keras_history _, created_layers = _create_keras_history_helper(tensors, set(), []) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py", line 249, in _create_keras_history_helper layer_inputs, processed_ops, created_layers) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py", line 249, in _create_keras_history_helper layer_inputs, processed_ops, created_layers) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py", line 249, in _create_keras_history_helper layer_inputs, processed_ops, created_layers) [Previous line repeated 5 more times] File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py", line 247, in _create_keras_history_helper constants[i] = backend.function([], op_input)([]) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\backend.py", line 3727, in __call__ outputs = self._graph_fn(*converted_inputs) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py", line 1551, in __call__ return self._call_impl(args, kwargs) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py", line 1591, in _call_impl return self._call_flat(args, self.captured_inputs, cancellation_manager) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py", line 1692, in _call_flat ctx, args, cancellation_manager=cancellation_manager)) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py", line 545, in call ctx=ctx) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\execute.py", line 67, in quick_execute six.raise_from(core._status_to_exception(e.code, message), None) File "&lt;string&gt;", line 3, in raise_from tensorflow.python.framework.errors_impl.FailedPreconditionError: Error while reading resource variable _AnonymousVar189 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar189/class tensorflow::Var does not exist. [[node output_23/dense/BiasAdd/ReadVariableOp (defined at /python/tx/TEST.py:16) ]] [Op:__inference_keras_scratch_graph_5205] Function call stack: keras_scratch_graph </code></pre></div> <h2 dir="auto">Environment info</h2> <ul dir="auto"> <li><code class="notranslate">transformers</code> version: 2.3.0 (in conda list)</li> <li>Platform:</li> <li>Python version:3.7</li> <li>PyTorch version (GPU?):</li> <li>Tensorflow version (GPU?):TF2.1.0(GPU)</li> <li>Using GPU in script?:</li> <li>Using distributed or parallel set-up in script?:No</li> </ul>
<h1 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h1> <h2 dir="auto">Information</h2> <p dir="auto">Model I am using TFBertEncoder:</p> <p dir="auto">Language I am using the model on English:</p> <p dir="auto">The problem arises when using:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> my own modified scripts: (give details below)</li> </ul> <p dir="auto">The tasks I am working on is:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> my own task or dataset: (give details below)</li> </ul> <h2 dir="auto">To reproduce</h2> <p dir="auto">Steps to reproduce the behavior:</p> <ol dir="auto"> <li>When I use, TFBertEncoder, I get an error.</li> </ol> <p dir="auto">Here is my code.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import tensorflow as tf import numpy as np from transformers.modeling_tf_bert import BertConfig, TFBertEncoder print(tf.__name__, tf.__version__) input_a = tf.keras.layers.Input(shape=(91, 128)) config = BertConfig() config.hidden_size = 128 config.num_attention_heads = 4 # config.output_attentions = False # config.output_hidden_states = False head_mask = [None for _ in range(config.num_hidden_layers)] encoder_output = TFBertEncoder(config=config)([input_a, None, head_mask])[0] print(encoder_output.shape) test_out = tf.keras.layers.Dense(128)(encoder_output) print(test_out.shape)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">tensorflow</span> <span class="pl-k">as</span> <span class="pl-s1">tf</span> <span class="pl-k">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">transformers</span>.<span class="pl-s1">modeling_tf_bert</span> <span class="pl-k">import</span> <span class="pl-v">BertConfig</span>, <span class="pl-v">TFBertEncoder</span> <span class="pl-en">print</span>(<span class="pl-s1">tf</span>.<span class="pl-s1">__name__</span>, <span class="pl-s1">tf</span>.<span class="pl-s1">__version__</span>) <span class="pl-s1">input_a</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-s1">keras</span>.<span class="pl-s1">layers</span>.<span class="pl-v">Input</span>(<span class="pl-s1">shape</span><span class="pl-c1">=</span>(<span class="pl-c1">91</span>, <span class="pl-c1">128</span>)) <span class="pl-s1">config</span> <span class="pl-c1">=</span> <span class="pl-v">BertConfig</span>() <span class="pl-s1">config</span>.<span class="pl-s1">hidden_size</span> <span class="pl-c1">=</span> <span class="pl-c1">128</span> <span class="pl-s1">config</span>.<span class="pl-s1">num_attention_heads</span> <span class="pl-c1">=</span> <span class="pl-c1">4</span> <span class="pl-c"># config.output_attentions = False</span> <span class="pl-c"># config.output_hidden_states = False</span> <span class="pl-s1">head_mask</span> <span class="pl-c1">=</span> [<span class="pl-c1">None</span> <span class="pl-k">for</span> <span class="pl-s1">_</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-s1">config</span>.<span class="pl-s1">num_hidden_layers</span>)] <span class="pl-s1">encoder_output</span> <span class="pl-c1">=</span> <span class="pl-v">TFBertEncoder</span>(<span class="pl-s1">config</span><span class="pl-c1">=</span><span class="pl-s1">config</span>)([<span class="pl-s1">input_a</span>, <span class="pl-c1">None</span>, <span class="pl-s1">head_mask</span>])[<span class="pl-c1">0</span>] <span class="pl-en">print</span>(<span class="pl-s1">encoder_output</span>.<span class="pl-s1">shape</span>) <span class="pl-s1">test_out</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-s1">keras</span>.<span class="pl-s1">layers</span>.<span class="pl-v">Dense</span>(<span class="pl-c1">128</span>)(<span class="pl-s1">encoder_output</span>) <span class="pl-en">print</span>(<span class="pl-s1">test_out</span>.<span class="pl-s1">shape</span>)</pre></div> <h2 dir="auto">Expected behavior</h2> <p dir="auto">Here is the error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(None, 91, 128) 2020-06-03 11:18:10.160647: W tensorflow/core/common_runtime/base_collective_executor.cc:217] BaseCollectiveExecutor::StartAbort Failed precondition: Error while reading resource variable _AnonymousVar189 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar189/class tensorflow::Var does not exist. [[{{node output_23/dense/BiasAdd/ReadVariableOp}}]] Traceback (most recent call last): File &quot;D:/python/tx/TEST.py&quot;, line 16, in &lt;module&gt; a = tf.keras.layers.Dense(128)(encoder_output) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer.py&quot;, line 720, in __call__ base_layer_utils.create_keras_history(inputs) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py&quot;, line 187, in create_keras_history _, created_layers = _create_keras_history_helper(tensors, set(), []) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py&quot;, line 249, in _create_keras_history_helper layer_inputs, processed_ops, created_layers) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py&quot;, line 249, in _create_keras_history_helper layer_inputs, processed_ops, created_layers) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py&quot;, line 249, in _create_keras_history_helper layer_inputs, processed_ops, created_layers) [Previous line repeated 5 more times] File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py&quot;, line 247, in _create_keras_history_helper constants[i] = backend.function([], op_input)([]) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\backend.py&quot;, line 3727, in __call__ outputs = self._graph_fn(*converted_inputs) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py&quot;, line 1551, in __call__ return self._call_impl(args, kwargs) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py&quot;, line 1591, in _call_impl return self._call_flat(args, self.captured_inputs, cancellation_manager) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py&quot;, line 1692, in _call_flat ctx, args, cancellation_manager=cancellation_manager)) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py&quot;, line 545, in call ctx=ctx) File &quot;D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\execute.py&quot;, line 67, in quick_execute six.raise_from(core._status_to_exception(e.code, message), None) File &quot;&lt;string&gt;&quot;, line 3, in raise_from tensorflow.python.framework.errors_impl.FailedPreconditionError: Error while reading resource variable _AnonymousVar189 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar189/class tensorflow::Var does not exist. [[node output_23/dense/BiasAdd/ReadVariableOp (defined at /python/tx/TEST.py:16) ]] [Op:__inference_keras_scratch_graph_5205] Function call stack: keras_scratch_graph"><pre class="notranslate"><code class="notranslate">(None, 91, 128) 2020-06-03 11:18:10.160647: W tensorflow/core/common_runtime/base_collective_executor.cc:217] BaseCollectiveExecutor::StartAbort Failed precondition: Error while reading resource variable _AnonymousVar189 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar189/class tensorflow::Var does not exist. [[{{node output_23/dense/BiasAdd/ReadVariableOp}}]] Traceback (most recent call last): File "D:/python/tx/TEST.py", line 16, in &lt;module&gt; a = tf.keras.layers.Dense(128)(encoder_output) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer.py", line 720, in __call__ base_layer_utils.create_keras_history(inputs) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py", line 187, in create_keras_history _, created_layers = _create_keras_history_helper(tensors, set(), []) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py", line 249, in _create_keras_history_helper layer_inputs, processed_ops, created_layers) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py", line 249, in _create_keras_history_helper layer_inputs, processed_ops, created_layers) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py", line 249, in _create_keras_history_helper layer_inputs, processed_ops, created_layers) [Previous line repeated 5 more times] File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py", line 247, in _create_keras_history_helper constants[i] = backend.function([], op_input)([]) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\keras\backend.py", line 3727, in __call__ outputs = self._graph_fn(*converted_inputs) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py", line 1551, in __call__ return self._call_impl(args, kwargs) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py", line 1591, in _call_impl return self._call_flat(args, self.captured_inputs, cancellation_manager) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py", line 1692, in _call_flat ctx, args, cancellation_manager=cancellation_manager)) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\function.py", line 545, in call ctx=ctx) File "D:\Anaconda3\lib\site-packages\tensorflow_core\python\eager\execute.py", line 67, in quick_execute six.raise_from(core._status_to_exception(e.code, message), None) File "&lt;string&gt;", line 3, in raise_from tensorflow.python.framework.errors_impl.FailedPreconditionError: Error while reading resource variable _AnonymousVar189 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar189/class tensorflow::Var does not exist. [[node output_23/dense/BiasAdd/ReadVariableOp (defined at /python/tx/TEST.py:16) ]] [Op:__inference_keras_scratch_graph_5205] Function call stack: keras_scratch_graph </code></pre></div> <h2 dir="auto">Environment info</h2> <ul dir="auto"> <li><code class="notranslate">transformers</code> version: 2.3.0 (in conda list)</li> <li>Platform:</li> <li>Python version:3.7</li> <li>PyTorch version (GPU?):</li> <li>Tensorflow version (GPU?):TF2.1.0(GPU)</li> <li>Using GPU in script?:</li> <li>Using distributed or parallel set-up in script?:No</li> </ul>
1
<p dir="auto">Sometimes "child" docs have a common parent ID but are missing a physical parent doc - <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/paullovessearch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/paullovessearch">@paullovessearch</a> would like to see these "orphans" grouped in search results to achieve pagination of top-ranking groups.</p> <h3 dir="auto">Background</h3> <p dir="auto">Number-one-voted issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="26393327" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/4915" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/4915/hovercard" href="https://github.com/elastic/elasticsearch/issues/4915">#4915</a> contained several requests for <strong>paging</strong> in aggregations. Several different use cases were tied up on that issue so it was closed and this issue has been opened to focus on the use case of <em>paginating top-ranked groups</em>. However, my assumption here is that pagination of ranked groups should be achieved by search and not the aggregations framework.</p> <h3 dir="auto">Pagination = search API</h3> <p dir="auto">What we established in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="191563378" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/21785" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/21785/hovercard" href="https://github.com/elastic/elasticsearch/issues/21785">#21785</a> is that efficient search (and especially efficient <em>paginated</em> search) depends on heavy down-selection of results at the local level. "Local" can mean same document, same segment (nested docs) or same shard (parent/child). We can rank and page related items only if they are grouped locally (i.e. we do not attempt inefficient pagination on related content that is spread across multiple shards).</p> <p dir="auto">The existing parent/Child construct is our means of:</p> <ol dir="auto"> <li>Routing related items to the same shard at index-time</li> <li>Ensuring a child has exactly one parent and therefore shard</li> <li>Producing paginated search results for the grouped items</li> </ol> <p dir="auto">This is why I think Parent/Child might be the answer to tackling the "top group pagination" requirement.</p> <h3 dir="auto">Support for "Orphans"</h3> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/paullovessearch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/paullovessearch">@paullovessearch</a> suggested that in some systems the parent ID for child docs may serve only as a grouping key and there is no physical parent document to group child docs around at query-time. Some suggested using <code class="notranslate">terms</code> aggs and <code class="notranslate">top_hits</code> but this does not provide the pagination support that is required (or the required indexing discipline which means we can rely on the fact related items are held on the same shard).</p> <h3 dir="auto">Next steps.</h3> <p dir="auto">I think we have two possible solutions:</p> <ol dir="auto"> <li>Parent/Child queries are adapted to work with missing physical parent docs</li> <li>Users wanting pagination should provide physical parent docs</li> </ol> <p dir="auto">As with most things this is a cost/benefit analysis:</p> <p dir="auto">Re costs: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/martijnvg/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/martijnvg">@martijnvg</a> - we spoke briefly. How insanely complex is 1) to implement?</p> <p dir="auto">Re benefits: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/paullovessearch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/paullovessearch">@paullovessearch</a> - I'd assume parent IDs nearly always have an authoritative data source simply to generate the unique numbers (order numbers, transaction IDs..) and are likely to hold other useful "who/when?" type info e.g. inception dates and instigators. Can you list the use cases where a solution is unlikely to incorporate a data source for parent info?</p>
<p dir="auto">running a term facet on a large string field runs into an OutOfMemoryError (-Xmx50g -Xms50g).</p> <p dir="auto">Would be great to have the the field cache access disk or that a facet query does not load all the terms of a field into the cache but only the terms of a query.<br> The second would allow to run multiple facet term query's within different forms and aggregate at the end.</p> <p dir="auto">Opened issue as discussed in irc.</p>
0
<p dir="auto">...................................................................................................</p> <p dir="auto">Sorry, I have to reopen this because I think this is a bug within the RNN module and I could't get help from discuss.pytorch</p> <p dir="auto">I run a similar experiment with one linear layer neural network and the output is correct. So a reasonable explanation would be the RNN module keep different set of parameters (for optimization reason?) and didn't mix up at the end of the batch training. The following code will duplicate this problem.</p> <p dir="auto">........................................................................................................</p> <p dir="auto">I encounter this problem when I am trying to implement seq2seq to familiarize with this new framework. This issue seems related to parameters sharing in mini-batch. I setup a dummy training set with only one mini-batch. This mini-batch has 3 data entries in it. All with the same input, and different outputs:</p> <p dir="auto">training_data = [<br> [[[4,5,1,7,8],[4,5,1,7,8],[4,5,1,7,8]], (input 1)<br> [[0],[0],[0]], (input 2)<br> [[1],[3],[5]]] (target)<br> ]</p> <p dir="auto">In theory, the model will never learn this data because the contradiction. However, the loss reach near 0 after only a few hundred epochs. But if I split 3 data entries into 3 mini-batch, the model will not learn the data set which should be the correct result.</p> <p dir="auto">So the model must be keeping different set of parameter for each position in mini-batch? And the parameters are not updated to be the same after each mini-batch forward-backward? Can someone tell me if I misunderstood something?</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import torch import torch.autograd as autograd import torch.nn as nn import torch.nn.functional as F import torch.optim as optim training_data = [ [[[4,5,1,7,8],[4,5,1,7,8],[4,5,1,7,8]], [[0],[0],[0]], [[1],[3],[5]]] ] def prepare_sequence(all_seq): return autograd.Variable(torch.LongTensor(all_seq)).cuda() class Seq2seqLSTM(nn.Module): def __init__(self, vocab_size, target_size, embed_dim, hidden_dim, num_layers): super(Seq2seqLSTM, self).__init__() self.hidden_dim = hidden_dim self.embed_dim = embed_dim self.vocab_size = vocab_size self.target_size = target_size self.num_layers = num_layers self.word_embeddings = nn.Embedding(vocab_size, embed_dim) self.encoder = nn.LSTM(embed_dim, hidden_dim, num_layers) self.decoder = nn.LSTM(embed_dim, hidden_dim, num_layers) self.curr_hidden = None self.hidden2tag = nn.Linear(hidden_dim, target_size) def init_hidden(self, batch_size): return (autograd.Variable(torch.zeros(self.num_layers, batch_size, self.hidden_dim)).cuda(), autograd.Variable(torch.zeros(self.num_layers, batch_size, self.hidden_dim)).cuda()) def forward(self, enc_seq, dec_seq): batch_size = enc_seq.size()[0] self.curr_hidden = self.init_hidden(batch_size) enc_embeds = self.word_embeddings(enc_seq) dec_embeds = self.word_embeddings(dec_seq) enc_out, self.curr_hidden = self.encoder( enc_embeds.view(-1, batch_size, self.embed_dim), self.curr_hidden) dec_out, self.curr_hidden = self.decoder( dec_embeds.view(-1, batch_size, self.embed_dim), self.curr_hidden) tag_space = self.hidden2tag(dec_out.view(batch_size * len(dec_out), -1)) tag_scores = F.log_softmax(tag_space) return tag_scores EMBED_DIM = 10 HIDDEN_DIM = 10 VOCAB_SIZE = 10 TARGET_SIZE = 10 NUM_LAYERS = 2 model = Seq2seqLSTM(VOCAB_SIZE, TARGET_SIZE, EMBED_DIM, HIDDEN_DIM, NUM_LAYERS).cuda() loss_function = nn.NLLLoss() optimizer = optim.Adam(model.parameters()) print model for epoch in range(1000): one_batch = map(lambda x:prepare_sequence(x), training_data[epoch%len(training_data)]) enc_inp = one_batch[0] dec_inp = one_batch[1] target = one_batch[2] model.zero_grad() tag_scores = model(enc_inp, dec_inp) loss = loss_function(tag_scores, target.view(-1)) loss.backward() optimizer.step() print loss"><pre class="notranslate"><code class="notranslate">import torch import torch.autograd as autograd import torch.nn as nn import torch.nn.functional as F import torch.optim as optim training_data = [ [[[4,5,1,7,8],[4,5,1,7,8],[4,5,1,7,8]], [[0],[0],[0]], [[1],[3],[5]]] ] def prepare_sequence(all_seq): return autograd.Variable(torch.LongTensor(all_seq)).cuda() class Seq2seqLSTM(nn.Module): def __init__(self, vocab_size, target_size, embed_dim, hidden_dim, num_layers): super(Seq2seqLSTM, self).__init__() self.hidden_dim = hidden_dim self.embed_dim = embed_dim self.vocab_size = vocab_size self.target_size = target_size self.num_layers = num_layers self.word_embeddings = nn.Embedding(vocab_size, embed_dim) self.encoder = nn.LSTM(embed_dim, hidden_dim, num_layers) self.decoder = nn.LSTM(embed_dim, hidden_dim, num_layers) self.curr_hidden = None self.hidden2tag = nn.Linear(hidden_dim, target_size) def init_hidden(self, batch_size): return (autograd.Variable(torch.zeros(self.num_layers, batch_size, self.hidden_dim)).cuda(), autograd.Variable(torch.zeros(self.num_layers, batch_size, self.hidden_dim)).cuda()) def forward(self, enc_seq, dec_seq): batch_size = enc_seq.size()[0] self.curr_hidden = self.init_hidden(batch_size) enc_embeds = self.word_embeddings(enc_seq) dec_embeds = self.word_embeddings(dec_seq) enc_out, self.curr_hidden = self.encoder( enc_embeds.view(-1, batch_size, self.embed_dim), self.curr_hidden) dec_out, self.curr_hidden = self.decoder( dec_embeds.view(-1, batch_size, self.embed_dim), self.curr_hidden) tag_space = self.hidden2tag(dec_out.view(batch_size * len(dec_out), -1)) tag_scores = F.log_softmax(tag_space) return tag_scores EMBED_DIM = 10 HIDDEN_DIM = 10 VOCAB_SIZE = 10 TARGET_SIZE = 10 NUM_LAYERS = 2 model = Seq2seqLSTM(VOCAB_SIZE, TARGET_SIZE, EMBED_DIM, HIDDEN_DIM, NUM_LAYERS).cuda() loss_function = nn.NLLLoss() optimizer = optim.Adam(model.parameters()) print model for epoch in range(1000): one_batch = map(lambda x:prepare_sequence(x), training_data[epoch%len(training_data)]) enc_inp = one_batch[0] dec_inp = one_batch[1] target = one_batch[2] model.zero_grad() tag_scores = model(enc_inp, dec_inp) loss = loss_function(tag_scores, target.view(-1)) loss.backward() optimizer.step() print loss </code></pre></div>
<p dir="auto">This happens when the index tensor contains duplicate elements. If this is not allowed index_copy_ should raise an exception when this happens and we should fix the test. Otherwise we need to fix the autograd op.</p> <p dir="auto">Here's an example:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import torch from torch.autograd import * x = Variable(torch.zeros(5, 5), requires_grad=True) print(x) y = Variable(torch.range(1, 25).view(5, 5), requires_grad=True) print(y) idx = Variable(torch.LongTensor([0, 0, 0, 0, 0])) z = x.index_copy(0, idx, y) print(z) # Note only the last row of y is copied to the first row of z. No other rows of y are used. z.backward(torch.ones(5, 5)) print(y.grad) # Incorrectly all ones. Only the last row of y.grad should be non-zero."><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">torch</span> <span class="pl-k">from</span> <span class="pl-s1">torch</span>.<span class="pl-s1">autograd</span> <span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-v">Variable</span>(<span class="pl-s1">torch</span>.<span class="pl-en">zeros</span>(<span class="pl-c1">5</span>, <span class="pl-c1">5</span>), <span class="pl-s1">requires_grad</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-en">print</span>(<span class="pl-s1">x</span>) <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-v">Variable</span>(<span class="pl-s1">torch</span>.<span class="pl-en">range</span>(<span class="pl-c1">1</span>, <span class="pl-c1">25</span>).<span class="pl-en">view</span>(<span class="pl-c1">5</span>, <span class="pl-c1">5</span>), <span class="pl-s1">requires_grad</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-en">print</span>(<span class="pl-s1">y</span>) <span class="pl-s1">idx</span> <span class="pl-c1">=</span> <span class="pl-v">Variable</span>(<span class="pl-s1">torch</span>.<span class="pl-v">LongTensor</span>([<span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>])) <span class="pl-s1">z</span> <span class="pl-c1">=</span> <span class="pl-s1">x</span>.<span class="pl-en">index_copy</span>(<span class="pl-c1">0</span>, <span class="pl-s1">idx</span>, <span class="pl-s1">y</span>) <span class="pl-en">print</span>(<span class="pl-s1">z</span>) <span class="pl-c"># Note only the last row of y is copied to the first row of z. No other rows of y are used.</span> <span class="pl-s1">z</span>.<span class="pl-en">backward</span>(<span class="pl-s1">torch</span>.<span class="pl-en">ones</span>(<span class="pl-c1">5</span>, <span class="pl-c1">5</span>)) <span class="pl-en">print</span>(<span class="pl-s1">y</span>.<span class="pl-s1">grad</span>) <span class="pl-c"># Incorrectly all ones. Only the last row of y.grad should be non-zero.</span></pre></div> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/albanD/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/albanD">@albanD</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zou3519/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zou3519">@zou3519</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/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/pearu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pearu">@pearu</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nikitaved/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nikitaved">@nikitaved</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/soulitzer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/soulitzer">@soulitzer</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lezcano/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lezcano">@lezcano</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Varal7/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Varal7">@Varal7</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ssnl/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ssnl">@ssnl</a></p>
0
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1]: import pandas as pd In [2]: pd.__version__ Out[2]: '0.23.0rc2' In [3]: dates = [pd.Timestamp(&quot;2016-01-0%d 12:00:00&quot; % i, tz='US/Pacific') ...: for i in range(1, 5)] ...: df = pd.DataFrame({'A': ['a', 'b'] * 2, 'B': dates}) ...: grouped = df.groupby('A') ...: In [4]: df Out[4]: A B 0 a 2016-01-01 12:00:00-08:00 1 b 2016-01-02 12:00:00-08:00 2 a 2016-01-03 12:00:00-08:00 3 b 2016-01-04 12:00:00-08:00 In [5]: grouped.apply(lambda x: x.iloc[0])[0] --------------------------------------------------------------------------- KeyError Traceback (most recent call last) C:\EclipseWorkspaces\LiClipseWorkspace\pandas-dev\pandas36\pandas\core\indexes\base.py in get_loc(self, key, method, tolerance) 3062 try: -&gt; 3063 return self._engine.get_loc(key) 3064 except KeyError: C:\EclipseWorkspaces\LiClipseWorkspace\pandas-dev\pandas36\pandas\_libs\index.pyx in pandas._libs.index.IndexEngine.get_loc (pandas\_libs\index.c:5720)() 138 --&gt; 139 cpdef get_loc(self, object val): 140 if is_definitely_invalid_key(val): C:\EclipseWorkspaces\LiClipseWorkspace\pandas-dev\pandas36\pandas\_libs\index.pyx in pandas._libs.index.IndexEngine.get_loc (pandas\_libs\index.c:5566)() 160 try: --&gt; 161 return self.mapping.get_item(val) 162 except (TypeError, ValueError): C:\EclipseWorkspaces\LiClipseWorkspace\pandas-dev\pandas36\pandas\_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item (pandas\_libs\hashtable.c:22442)() 1491 -&gt; 1492 cpdef get_item(self, object val): 1493 cdef khiter_t k C:\EclipseWorkspaces\LiClipseWorkspace\pandas-dev\pandas36\pandas\_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item (pandas\_libs\hashtable.c:22396)() 1499 else: -&gt; 1500 raise KeyError(val) 1501 KeyError: 0 During handling of the above exception, another exception occurred: KeyError Traceback (most recent call last) &lt;ipython-input-5-2b16555d6e05&gt; in &lt;module&gt;() ----&gt; 1 grouped.apply(lambda x: x.iloc[0])[0] C:\EclipseWorkspaces\LiClipseWorkspace\pandas-dev\pandas36\pandas\core\frame.py in __getitem__(self, key) 2685 return self._getitem_multilevel(key) 2686 else: -&gt; 2687 return self._getitem_column(key) 2688 2689 def _getitem_column(self, key): C:\EclipseWorkspaces\LiClipseWorkspace\pandas-dev\pandas36\pandas\core\frame.py in _getitem_column(self, key) 2692 # get column 2693 if self.columns.is_unique: -&gt; 2694 return self._get_item_cache(key) 2695 2696 # duplicate columns &amp; possible reduce dimensionality C:\EclipseWorkspaces\LiClipseWorkspace\pandas-dev\pandas36\pandas\core\generic.py in _get_item_cache(self, item) 2485 res = cache.get(item) 2486 if res is None: -&gt; 2487 values = self._data.get(item) 2488 res = self._box_item_values(item, values) 2489 cache[item] = res C:\EclipseWorkspaces\LiClipseWorkspace\pandas-dev\pandas36\pandas\core\internals.py in get(self, item, fastpath) 4113 4114 if not isna(item): -&gt; 4115 loc = self.items.get_loc(item) 4116 else: 4117 indexer = np.arange(len(self.items))[isna(self.items)] C:\EclipseWorkspaces\LiClipseWorkspace\pandas-dev\pandas36\pandas\core\indexes\base.py in get_loc(self, key, method, tolerance) 3063 return self._engine.get_loc(key) 3064 except KeyError: -&gt; 3065 return self._engine.get_loc(self._maybe_cast_indexer(key)) 3066 3067 indexer = self.get_indexer([key], method=method, tolerance=tolerance) C:\EclipseWorkspaces\LiClipseWorkspace\pandas-dev\pandas36\pandas\_libs\index.pyx in pandas._libs.index.IndexEngine.get_loc (pandas\_libs\index.c:5720)() 137 util.set_value_at(arr, loc, value) 138 --&gt; 139 cpdef get_loc(self, object val): 140 if is_definitely_invalid_key(val): 141 raise TypeError(&quot;'{val}' is an invalid key&quot;.format(val=val)) C:\EclipseWorkspaces\LiClipseWorkspace\pandas-dev\pandas36\pandas\_libs\index.pyx in pandas._libs.index.IndexEngine.get_loc (pandas\_libs\index.c:5566)() 159 160 try: --&gt; 161 return self.mapping.get_item(val) 162 except (TypeError, ValueError): 163 raise KeyError(val) C:\EclipseWorkspaces\LiClipseWorkspace\pandas-dev\pandas36\pandas\_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item (pandas\_libs\hashtable.c:22442)() 1490 sizeof(uint32_t)) # flags 1491 -&gt; 1492 cpdef get_item(self, object val): 1493 cdef khiter_t k 1494 if val != val or val is None: C:\EclipseWorkspaces\LiClipseWorkspace\pandas-dev\pandas36\pandas\_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item (pandas\_libs\hashtable.c:22396)() 1498 return self.table.vals[k] 1499 else: -&gt; 1500 raise KeyError(val) 1501 1502 cpdef set_item(self, object key, Py_ssize_t val): KeyError: 0"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">pd</span>.<span class="pl-s1">__version__</span> <span class="pl-v">Out</span>[<span class="pl-c1">2</span>]: <span class="pl-s">'0.23.0rc2'</span> <span class="pl-v">In</span> [<span class="pl-c1">3</span>]: <span class="pl-s1">dates</span> <span class="pl-c1">=</span> [<span class="pl-s1">pd</span>.<span class="pl-v">Timestamp</span>(<span class="pl-s">"2016-01-0%d 12:00:00"</span> <span class="pl-c1">%</span> <span class="pl-s1">i</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'US/Pacific'</span>) ...: <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">1</span>, <span class="pl-c1">5</span>)] ...: <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'A'</span>: [<span class="pl-s">'a'</span>, <span class="pl-s">'b'</span>] <span class="pl-c1">*</span> <span class="pl-c1">2</span>, <span class="pl-s">'B'</span>: <span class="pl-s1">dates</span>}) ...: <span class="pl-s1">grouped</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-v">In</span> [<span class="pl-c1">4</span>]: <span class="pl-s1">df</span> <span class="pl-v">Out</span>[<span class="pl-c1">4</span>]: <span class="pl-v">A</span> <span class="pl-v">B</span> <span class="pl-c1">0</span> <span class="pl-s1">a</span> <span class="pl-c1">2016</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">12</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00</span><span class="pl-c1">-</span><span class="pl-c1">08</span>:<span class="pl-c1">00</span> <span class="pl-c1">1</span> <span class="pl-s1">b</span> <span class="pl-c1">2016</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">02</span> <span class="pl-c1">12</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00</span><span class="pl-c1">-</span><span class="pl-c1">08</span>:<span class="pl-c1">00</span> <span class="pl-c1">2</span> <span class="pl-s1">a</span> <span class="pl-c1">2016</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">03</span> <span class="pl-c1">12</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00</span><span class="pl-c1">-</span><span class="pl-c1">08</span>:<span class="pl-c1">00</span> <span class="pl-c1">3</span> <span class="pl-s1">b</span> <span class="pl-c1">2016</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">04</span> <span class="pl-c1">12</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00</span><span class="pl-c1">-</span><span class="pl-c1">08</span>:<span class="pl-c1">00</span> <span class="pl-v">In</span> [<span class="pl-c1">5</span>]: <span class="pl-s1">grouped</span>.<span class="pl-en">apply</span>(<span class="pl-k">lambda</span> <span class="pl-s1">x</span>: <span class="pl-s1">x</span>.<span class="pl-s1">iloc</span>[<span class="pl-c1">0</span>])[<span class="pl-c1">0</span>] <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</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">KeyError</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">C</span>:\E<span class="pl-s1">clipseWorkspaces</span>\L<span class="pl-s1">iClipseWorkspace</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dev</span>\p<span class="pl-s1">andas36</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\i<span class="pl-s1">ndexes</span>\b<span class="pl-s1">ase</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">get_loc</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>, <span class="pl-s1">method</span>, <span class="pl-s1">tolerance</span>) <span class="pl-c1">3062</span> <span class="pl-k">try</span>: <span class="pl-c1">-&gt;</span> <span class="pl-c1">3063</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-s1">_engine</span>.<span class="pl-en">get_loc</span>(<span class="pl-s1">key</span>) <span class="pl-c1">3064</span> <span class="pl-k">except</span> <span class="pl-v">KeyError</span>: <span class="pl-v">C</span>:\E<span class="pl-s1">clipseWorkspaces</span>\L<span class="pl-s1">iClipseWorkspace</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dev</span>\p<span class="pl-s1">andas36</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\i<span class="pl-s1">ndex</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">index</span>.<span class="pl-v">IndexEngine</span>.<span class="pl-en">get_loc</span> (<span class="pl-s1">pandas</span>\_<span class="pl-s1">libs</span>\i<span class="pl-s1">ndex</span>.<span class="pl-s1">c</span>:<span class="pl-c1">5720</span>)() <span class="pl-c1">138</span> <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">139</span> <span class="pl-s1">cpdef</span> <span class="pl-en">get_loc</span>(<span class="pl-s1">self</span>, <span class="pl-s1">object</span> <span class="pl-s1">val</span>): <span class="pl-c1">140</span> <span class="pl-k">if</span> <span class="pl-en">is_definitely_invalid_key</span>(<span class="pl-s1">val</span>): <span class="pl-v">C</span>:\E<span class="pl-s1">clipseWorkspaces</span>\L<span class="pl-s1">iClipseWorkspace</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dev</span>\p<span class="pl-s1">andas36</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\i<span class="pl-s1">ndex</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">index</span>.<span class="pl-v">IndexEngine</span>.<span class="pl-en">get_loc</span> (<span class="pl-s1">pandas</span>\_<span class="pl-s1">libs</span>\i<span class="pl-s1">ndex</span>.<span class="pl-s1">c</span>:<span class="pl-c1">5566</span>)() <span class="pl-c1">160</span> <span class="pl-k">try</span>: <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">161</span> <span class="pl-s1">return</span> <span class="pl-s1">self</span>.<span class="pl-s1">mapping</span>.<span class="pl-en">get_item</span>(<span class="pl-s1">val</span>) <span class="pl-c1">162</span> <span class="pl-en">except</span> (<span class="pl-v">TypeError</span>, <span class="pl-v">ValueError</span>): <span class="pl-v">C</span>:\E<span class="pl-s1">clipseWorkspaces</span>\L<span class="pl-s1">iClipseWorkspace</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dev</span>\p<span class="pl-s1">andas36</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\h<span class="pl-s1">ashtable_class_helper</span>.<span class="pl-s1">pxi</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">hashtable</span>.<span class="pl-v">PyObjectHashTable</span>.<span class="pl-en">get_item</span> (<span class="pl-s1">pandas</span>\_<span class="pl-s1">libs</span>\h<span class="pl-s1">ashtable</span>.<span class="pl-s1">c</span>:<span class="pl-c1">22442</span>)() <span class="pl-c1">1491</span> <span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1492</span> <span class="pl-s1">cpdef</span> <span class="pl-en">get_item</span>(<span class="pl-s1">self</span>, <span class="pl-s1">object</span> <span class="pl-s1">val</span>): <span class="pl-c1">1493</span> <span class="pl-s1">cdef</span> <span class="pl-s1">khiter_t</span> <span class="pl-s1">k</span> <span class="pl-v">C</span>:\E<span class="pl-s1">clipseWorkspaces</span>\L<span class="pl-s1">iClipseWorkspace</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dev</span>\p<span class="pl-s1">andas36</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\h<span class="pl-s1">ashtable_class_helper</span>.<span class="pl-s1">pxi</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">hashtable</span>.<span class="pl-v">PyObjectHashTable</span>.<span class="pl-en">get_item</span> (<span class="pl-s1">pandas</span>\_<span class="pl-s1">libs</span>\h<span class="pl-s1">ashtable</span>.<span class="pl-s1">c</span>:<span class="pl-c1">22396</span>)() <span class="pl-c1">1499</span> <span class="pl-k">else</span>: <span class="pl-c1">-&gt;</span> <span class="pl-c1">1500</span> <span class="pl-s1">raise</span> <span class="pl-v">KeyError</span>(<span class="pl-s1">val</span>) <span class="pl-c1">1501</span> <span class="pl-v">KeyError</span>: <span class="pl-c1">0</span> <span class="pl-v">During</span> <span class="pl-s1">handling</span> <span class="pl-s1">of</span> <span class="pl-s1">the</span> <span class="pl-s1">above</span> <span class="pl-s1">exception</span>, <span class="pl-s1">another</span> <span class="pl-s1">exception</span> <span class="pl-s1">occurred</span>: <span class="pl-v">KeyError</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">&lt;</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">5</span><span class="pl-c1">-</span><span class="pl-c1">2</span><span class="pl-s1">b16555d6e05</span><span class="pl-c1">&gt;</span> <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span>() <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1</span> <span class="pl-s1">grouped</span>.<span class="pl-en">apply</span>(<span class="pl-k">lambda</span> <span class="pl-s1">x</span>: <span class="pl-s1">x</span>.<span class="pl-s1">iloc</span>[<span class="pl-c1">0</span>])[<span class="pl-c1">0</span>] <span class="pl-v">C</span>:\E<span class="pl-s1">clipseWorkspaces</span>\L<span class="pl-s1">iClipseWorkspace</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dev</span>\p<span class="pl-s1">andas36</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\f<span class="pl-s1">rame</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">__getitem__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>) <span class="pl-c1">2685</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_getitem_multilevel</span>(<span class="pl-s1">key</span>) <span class="pl-c1">2686</span> <span class="pl-s1">else</span>: <span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">2687</span> <span class="pl-s1">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_getitem_column</span>(<span class="pl-s1">key</span>) <span class="pl-c1">2688</span> <span class="pl-c1">2689</span> <span class="pl-k">def</span> <span class="pl-en">_getitem_column</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>): <span class="pl-v">C</span>:\E<span class="pl-s1">clipseWorkspaces</span>\L<span class="pl-s1">iClipseWorkspace</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dev</span>\p<span class="pl-s1">andas36</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\f<span class="pl-s1">rame</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_getitem_column</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>) <span class="pl-c1">2692</span> <span class="pl-c"># get column</span> <span class="pl-c1">2693</span> <span class="pl-k">if</span> <span class="pl-s1">self</span>.<span class="pl-s1">columns</span>.<span class="pl-s1">is_unique</span>: <span class="pl-c1">-&gt;</span> <span class="pl-c1">2694</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_get_item_cache</span>(<span class="pl-s1">key</span>) <span class="pl-c1">2695</span> <span class="pl-c1">2696</span> <span class="pl-c"># duplicate columns &amp; possible reduce dimensionality</span> <span class="pl-v">C</span>:\E<span class="pl-s1">clipseWorkspaces</span>\L<span class="pl-s1">iClipseWorkspace</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dev</span>\p<span class="pl-s1">andas36</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\g<span class="pl-s1">eneric</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_get_item_cache</span>(<span class="pl-s1">self</span>, <span class="pl-s1">item</span>) <span class="pl-c1">2485</span> <span class="pl-s1">res</span> <span class="pl-c1">=</span> <span class="pl-s1">cache</span>.<span class="pl-en">get</span>(<span class="pl-s1">item</span>) <span class="pl-c1">2486</span> <span class="pl-k">if</span> <span class="pl-s1">res</span> <span class="pl-c1">is</span> <span class="pl-c1">None</span>: <span class="pl-c1">-&gt;</span> <span class="pl-c1">2487</span> <span class="pl-s1">values</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">_data</span>.<span class="pl-en">get</span>(<span class="pl-s1">item</span>) <span class="pl-c1">2488</span> <span class="pl-s1">res</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_box_item_values</span>(<span class="pl-s1">item</span>, <span class="pl-s1">values</span>) <span class="pl-c1">2489</span> <span class="pl-s1">cache</span>[<span class="pl-s1">item</span>] <span class="pl-c1">=</span> <span class="pl-s1">res</span> <span class="pl-v">C</span>:\E<span class="pl-s1">clipseWorkspaces</span>\L<span class="pl-s1">iClipseWorkspace</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dev</span>\p<span class="pl-s1">andas36</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\i<span class="pl-s1">nternals</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">get</span>(<span class="pl-s1">self</span>, <span class="pl-s1">item</span>, <span class="pl-s1">fastpath</span>) <span class="pl-c1">4113</span> <span class="pl-c1">4114</span> <span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-en">isna</span>(<span class="pl-s1">item</span>): <span class="pl-c1">-&gt;</span> <span class="pl-c1">4115</span> <span class="pl-s1">loc</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">items</span>.<span class="pl-en">get_loc</span>(<span class="pl-s1">item</span>) <span class="pl-c1">4116</span> <span class="pl-k">else</span>: <span class="pl-c1">4117</span> <span class="pl-s1">indexer</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-en">len</span>(<span class="pl-s1">self</span>.<span class="pl-s1">items</span>))[<span class="pl-en">isna</span>(<span class="pl-s1">self</span>.<span class="pl-s1">items</span>)] <span class="pl-v">C</span>:\E<span class="pl-s1">clipseWorkspaces</span>\L<span class="pl-s1">iClipseWorkspace</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dev</span>\p<span class="pl-s1">andas36</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\i<span class="pl-s1">ndexes</span>\b<span class="pl-s1">ase</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">get_loc</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>, <span class="pl-s1">method</span>, <span class="pl-s1">tolerance</span>) <span class="pl-c1">3063</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-s1">_engine</span>.<span class="pl-en">get_loc</span>(<span class="pl-s1">key</span>) <span class="pl-c1">3064</span> <span class="pl-k">except</span> <span class="pl-v">KeyError</span>: <span class="pl-c1">-&gt;</span> <span class="pl-c1">3065</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-s1">_engine</span>.<span class="pl-en">get_loc</span>(<span class="pl-s1">self</span>.<span class="pl-en">_maybe_cast_indexer</span>(<span class="pl-s1">key</span>)) <span class="pl-c1">3066</span> <span class="pl-c1">3067</span> <span class="pl-s1">indexer</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">get_indexer</span>([<span class="pl-s1">key</span>], <span class="pl-s1">method</span><span class="pl-c1">=</span><span class="pl-s1">method</span>, <span class="pl-s1">tolerance</span><span class="pl-c1">=</span><span class="pl-s1">tolerance</span>) <span class="pl-v">C</span>:\E<span class="pl-s1">clipseWorkspaces</span>\L<span class="pl-s1">iClipseWorkspace</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dev</span>\p<span class="pl-s1">andas36</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\i<span class="pl-s1">ndex</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">index</span>.<span class="pl-v">IndexEngine</span>.<span class="pl-en">get_loc</span> (<span class="pl-s1">pandas</span>\_<span class="pl-s1">libs</span>\i<span class="pl-s1">ndex</span>.<span class="pl-s1">c</span>:<span class="pl-c1">5720</span>)() <span class="pl-c1">137</span> <span class="pl-s1">util</span>.<span class="pl-en">set_value_at</span>(<span class="pl-s1">arr</span>, <span class="pl-s1">loc</span>, <span class="pl-s1">value</span>) <span class="pl-c1">138</span> <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">139</span> <span class="pl-s1">cpdef</span> <span class="pl-en">get_loc</span>(<span class="pl-s1">self</span>, <span class="pl-s1">object</span> <span class="pl-s1">val</span>): <span class="pl-c1">140</span> <span class="pl-k">if</span> <span class="pl-en">is_definitely_invalid_key</span>(<span class="pl-s1">val</span>): <span class="pl-c1">141</span> <span class="pl-s1">raise</span> <span class="pl-v">TypeError</span>(<span class="pl-s">"'{val}' is an invalid key"</span>.<span class="pl-en">format</span>(<span class="pl-s1">val</span><span class="pl-c1">=</span><span class="pl-s1">val</span>)) <span class="pl-v">C</span>:\E<span class="pl-s1">clipseWorkspaces</span>\L<span class="pl-s1">iClipseWorkspace</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dev</span>\p<span class="pl-s1">andas36</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\i<span class="pl-s1">ndex</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">index</span>.<span class="pl-v">IndexEngine</span>.<span class="pl-en">get_loc</span> (<span class="pl-s1">pandas</span>\_<span class="pl-s1">libs</span>\i<span class="pl-s1">ndex</span>.<span class="pl-s1">c</span>:<span class="pl-c1">5566</span>)() <span class="pl-c1">159</span> <span class="pl-c1">160</span> <span class="pl-k">try</span>: <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">161</span> <span class="pl-s1">return</span> <span class="pl-s1">self</span>.<span class="pl-s1">mapping</span>.<span class="pl-en">get_item</span>(<span class="pl-s1">val</span>) <span class="pl-c1">162</span> <span class="pl-en">except</span> (<span class="pl-v">TypeError</span>, <span class="pl-v">ValueError</span>): <span class="pl-c1">163</span> <span class="pl-s1">raise</span> <span class="pl-v">KeyError</span>(<span class="pl-s1">val</span>) <span class="pl-v">C</span>:\E<span class="pl-s1">clipseWorkspaces</span>\L<span class="pl-s1">iClipseWorkspace</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dev</span>\p<span class="pl-s1">andas36</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\h<span class="pl-s1">ashtable_class_helper</span>.<span class="pl-s1">pxi</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">hashtable</span>.<span class="pl-v">PyObjectHashTable</span>.<span class="pl-en">get_item</span> (<span class="pl-s1">pandas</span>\_<span class="pl-s1">libs</span>\h<span class="pl-s1">ashtable</span>.<span class="pl-s1">c</span>:<span class="pl-c1">22442</span>)() <span class="pl-c1">1490</span> <span class="pl-s1">sizeof</span>(<span class="pl-s1">uint32_t</span>)) <span class="pl-c"># flags</span> <span class="pl-c1">1491</span> <span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1492</span> <span class="pl-s1">cpdef</span> <span class="pl-en">get_item</span>(<span class="pl-s1">self</span>, <span class="pl-s1">object</span> <span class="pl-s1">val</span>): <span class="pl-c1">1493</span> <span class="pl-s1">cdef</span> <span class="pl-s1">khiter_t</span> <span class="pl-s1">k</span> <span class="pl-c1">1494</span> <span class="pl-k">if</span> <span class="pl-s1">val</span> <span class="pl-c1">!=</span> <span class="pl-s1">val</span> <span class="pl-c1">or</span> <span class="pl-s1">val</span> <span class="pl-c1">is</span> <span class="pl-c1">None</span>: <span class="pl-v">C</span>:\E<span class="pl-s1">clipseWorkspaces</span>\L<span class="pl-s1">iClipseWorkspace</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dev</span>\p<span class="pl-s1">andas36</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\h<span class="pl-s1">ashtable_class_helper</span>.<span class="pl-s1">pxi</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">hashtable</span>.<span class="pl-v">PyObjectHashTable</span>.<span class="pl-en">get_item</span> (<span class="pl-s1">pandas</span>\_<span class="pl-s1">libs</span>\h<span class="pl-s1">ashtable</span>.<span class="pl-s1">c</span>:<span class="pl-c1">22396</span>)() <span class="pl-c1">1498</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-s1">table</span>.<span class="pl-s1">vals</span>[<span class="pl-s1">k</span>] <span class="pl-c1">1499</span> <span class="pl-k">else</span>: <span class="pl-c1">-&gt;</span> <span class="pl-c1">1500</span> <span class="pl-s1">raise</span> <span class="pl-v">KeyError</span>(<span class="pl-s1">val</span>) <span class="pl-c1">1501</span> <span class="pl-c1">1502</span> <span class="pl-s1">cpdef</span> <span class="pl-en">set_item</span>(<span class="pl-s1">self</span>, <span class="pl-s1">object</span> <span class="pl-s1">key</span>, <span class="pl-v">Py_ssize_t</span> <span class="pl-s1">val</span>): <span class="pl-v">KeyError</span>: <span class="pl-c1">0</span></pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">Related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="320236174" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/20949" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/20949/hovercard" href="https://github.com/pandas-dev/pandas/issues/20949">#20949</a> (and moved from there at request).</p> <p dir="auto">Note that if you do the following, it works:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [6]: grouped.nth(0)['B'].iloc[0] Out[6]: Timestamp('2016-01-01 12:00:00-0800', tz='US/Pacific') In [7]: grouped.apply(lambda x: x.iloc[0])[0] Out[7]: Timestamp('2016-01-01 12:00:00-0800', tz='US/Pacific')"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">6</span>]: <span class="pl-s1">grouped</span>.<span class="pl-en">nth</span>(<span class="pl-c1">0</span>)[<span class="pl-s">'B'</span>].<span class="pl-s1">iloc</span>[<span class="pl-c1">0</span>] <span class="pl-v">Out</span>[<span class="pl-c1">6</span>]: <span class="pl-v">Timestamp</span>(<span class="pl-s">'2016-01-01 12:00:00-0800'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'US/Pacific'</span>) <span class="pl-v">In</span> [<span class="pl-c1">7</span>]: <span class="pl-s1">grouped</span>.<span class="pl-en">apply</span>(<span class="pl-k">lambda</span> <span class="pl-s1">x</span>: <span class="pl-s1">x</span>.<span class="pl-s1">iloc</span>[<span class="pl-c1">0</span>])[<span class="pl-c1">0</span>] <span class="pl-v">Out</span>[<span class="pl-c1">7</span>]: <span class="pl-v">Timestamp</span>(<span class="pl-s">'2016-01-01 12:00:00-0800'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'US/Pacific'</span>)</pre></div> <p dir="auto">So doing one operation (in this case <code class="notranslate">nth</code>) prior to the <code class="notranslate">apply</code> then makes the <code class="notranslate">apply</code> work.</p> <h4 dir="auto">Expected Output</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [5]: grouped.apply(lambda x: x.iloc[0])[0] Out[5]: Timestamp('2016-01-01 12:00:00-0800', tz='US/Pacific')"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">5</span>]: <span class="pl-s1">grouped</span>.<span class="pl-en">apply</span>(<span class="pl-k">lambda</span> <span class="pl-s1">x</span>: <span class="pl-s1">x</span>.<span class="pl-s1">iloc</span>[<span class="pl-c1">0</span>])[<span class="pl-c1">0</span>] <span class="pl-v">Out</span>[<span class="pl-c1">5</span>]: <span class="pl-v">Timestamp</span>(<span class="pl-s">'2016-01-01 12:00:00-0800'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'US/Pacific'</span>)</pre></div> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> <h2 dir="auto">INSTALLED VERSIONS</h2> <p dir="auto">commit: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pandas-dev/pandas/commit/b02c69ac7309ccf63a17471b25475bf0c0ebe3c3/hovercard" href="https://github.com/pandas-dev/pandas/commit/b02c69ac7309ccf63a17471b25475bf0c0ebe3c3"><tt>b02c69a</tt></a><br> python: 3.6.4.final.0<br> python-bits: 64<br> OS: Windows<br> OS-release: 10<br> machine: AMD64<br> processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel<br> byteorder: little<br> LC_ALL: None<br> LANG: None<br> LOCALE: None.None</p> <p dir="auto">pandas: 0.23.0rc2<br> pytest: 3.4.0<br> pip: 9.0.1<br> setuptools: 38.5.1<br> Cython: 0.25.1<br> numpy: 1.14.1<br> scipy: 1.0.0<br> pyarrow: 0.8.0<br> xarray: None<br> IPython: 6.2.1<br> sphinx: 1.7.1<br> patsy: 0.5.0<br> dateutil: 2.6.1<br> pytz: 2018.3<br> blosc: 1.5.1<br> bottleneck: 1.2.1<br> tables: 3.4.2<br> numexpr: 2.6.4<br> feather: None<br> matplotlib: 2.2.0<br> openpyxl: 2.5.0<br> xlrd: 1.1.0<br> xlwt: 1.3.0<br> xlsxwriter: 1.0.2<br> lxml: 4.1.1<br> bs4: 4.6.0<br> html5lib: 1.0.1<br> sqlalchemy: 1.2.5<br> pymysql: 0.8.0<br> psycopg2: None<br> jinja2: 2.10<br> s3fs: 0.1.3<br> fastparquet: None<br> pandas_gbq: None<br> pandas_datareader: None</p> </details>
<h4 dir="auto">Bug description</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In[1]: import pandas as pd In[2]: df = pd.DataFrame({&quot;key&quot;: [&quot;a&quot;, &quot;a&quot;, &quot;b&quot;, &quot;b&quot;, &quot;b&quot;], &quot;value_str&quot;: [&quot;u1&quot;, &quot;u2&quot;, &quot;u3&quot;, &quot;u4&quot;, &quot;u5&quot;], &quot;value_int&quot;: range(5)}) In[3]: df Out[3]: key value_str value_int 0 a u1 0 1 a u2 1 2 b u3 2 3 b u4 3 4 b u5 4"><pre class="notranslate"><span class="pl-v">In</span>[<span class="pl-c1">1</span>]: <span class="pl-s1">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-v">In</span>[<span class="pl-c1">2</span>]: <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">"key"</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">"b"</span>], <span class="pl-s">"value_str"</span>: [<span class="pl-s">"u1"</span>, <span class="pl-s">"u2"</span>, <span class="pl-s">"u3"</span>, <span class="pl-s">"u4"</span>, <span class="pl-s">"u5"</span>], <span class="pl-s">"value_int"</span>: <span class="pl-en">range</span>(<span class="pl-c1">5</span>)}) <span class="pl-v">In</span>[<span class="pl-c1">3</span>]: <span class="pl-s1">df</span> <span class="pl-v">Out</span>[<span class="pl-c1">3</span>]: <span class="pl-s1">key</span> <span class="pl-s1">value_str</span> <span class="pl-s1">value_int</span> <span class="pl-c1">0</span> <span class="pl-s1">a</span> <span class="pl-s1">u1</span> <span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-s1">a</span> <span class="pl-s1">u2</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-s1">b</span> <span class="pl-s1">u3</span> <span class="pl-c1">2</span> <span class="pl-c1">3</span> <span class="pl-s1">b</span> <span class="pl-s1">u4</span> <span class="pl-c1">3</span> <span class="pl-c1">4</span> <span class="pl-s1">b</span> <span class="pl-s1">u5</span> <span class="pl-c1">4</span></pre></div> <p dir="auto">when groupby "key" and rank "value_str", error presents</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In[4]: df.groupby(&quot;key&quot;)[&quot;value_str&quot;].rank() # error Out[4]: Traceback (most recent call last): File &quot;/Users/wangqian/anaconda3/lib/python3.6/site-packages/IPython/core/interactiveshell.py&quot;, line 2862, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File &quot;&lt;ipython-input-9-5357c8abb14f&gt;&quot;, line 1, in &lt;module&gt; df.groupby(&quot;key&quot;)[&quot;value_str&quot;].rank() File &quot;/Users/wangqian/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/groupby.py&quot;, line 1906, in rank na_option=na_option, pct=pct, axis=axis) File &quot;/Users/wangqian/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/groupby.py&quot;, line 1025, in _cython_transform **kwargs) File &quot;/Users/wangqian/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/groupby.py&quot;, line 2630, in transform return self._cython_operation('transform', values, how, axis, **kwargs) File &quot;/Users/wangqian/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/groupby.py&quot;, line 2590, in _cython_operation **kwargs) File &quot;/Users/wangqian/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/groupby.py&quot;, line 2664, in _transform transform_func(result, values, comp_ids, is_datetimelike, **kwargs) File &quot;/Users/wangqian/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/groupby.py&quot;, line 2479, in wrapper return f(afunc, *args, **kwargs) File &quot;/Users/wangqian/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/groupby.py&quot;, line 2431, in &lt;lambda&gt; kwargs.get('na_option', 'keep') TypeError: 'NoneType' object is not callable "><pre class="notranslate"><code class="notranslate">In[4]: df.groupby("key")["value_str"].rank() # error Out[4]: Traceback (most recent call last): File "/Users/wangqian/anaconda3/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2862, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "&lt;ipython-input-9-5357c8abb14f&gt;", line 1, in &lt;module&gt; df.groupby("key")["value_str"].rank() File "/Users/wangqian/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/groupby.py", line 1906, in rank na_option=na_option, pct=pct, axis=axis) File "/Users/wangqian/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/groupby.py", line 1025, in _cython_transform **kwargs) File "/Users/wangqian/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/groupby.py", line 2630, in transform return self._cython_operation('transform', values, how, axis, **kwargs) File "/Users/wangqian/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/groupby.py", line 2590, in _cython_operation **kwargs) File "/Users/wangqian/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/groupby.py", line 2664, in _transform transform_func(result, values, comp_ids, is_datetimelike, **kwargs) File "/Users/wangqian/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/groupby.py", line 2479, in wrapper return f(afunc, *args, **kwargs) File "/Users/wangqian/anaconda3/lib/python3.6/site-packages/pandas/core/groupby/groupby.py", line 2431, in &lt;lambda&gt; kwargs.get('na_option', 'keep') TypeError: 'NoneType' object is not callable </code></pre></div> <p dir="auto">but, if group by "key" and rank "value_int", the error doesn't present:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In[10]: df.groupby(&quot;key&quot;)[&quot;value_int&quot;].rank() Out[10]: 0 1.0 1 2.0 2 1.0 3 2.0 4 3.0 Name: value_int, dtype: float64"><pre class="notranslate"><code class="notranslate">In[10]: df.groupby("key")["value_int"].rank() Out[10]: 0 1.0 1 2.0 2 1.0 3 2.0 4 3.0 Name: value_int, dtype: float64 </code></pre></div> <p dir="auto">if we just rank "value_str", the error dosen't present either:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In[11]: df[&quot;value_str&quot;].rank() Out[11]: 0 1.0 1 2.0 2 3.0 3 4.0 4 5.0 Name: value_str, dtype: float64"><pre class="notranslate"><code class="notranslate">In[11]: df["value_str"].rank() Out[11]: 0 1.0 1 2.0 2 3.0 3 4.0 4 5.0 Name: value_str, dtype: float64 </code></pre></div>
0
<p dir="auto">Not sure on best way to describe this bug, but get llvm::StoreInst::AssertOK() exception compiling. Too new to rust to describe expected behavior other than not llvm exception.</p> <p dir="auto">Code example at <a href="http://is.gd/dOuQoI" rel="nofollow">http://is.gd/dOuQoI</a></p> <p dir="auto">Produces result:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rustc: /build/rust-git/src/rust/src/llvm/lib/IR/Instructions.cpp:1086: void llvm::StoreInst::AssertOK(): Assertion `getOperand(0)-&gt;getType() == cast&lt;PointerType&gt;(getOperand(1)-&gt;getType())-&gt;getElementType() &amp;&amp; &quot;Ptr must be a pointer to Val type!&quot;' failed. Aborted"><pre class="notranslate"><code class="notranslate">rustc: /build/rust-git/src/rust/src/llvm/lib/IR/Instructions.cpp:1086: void llvm::StoreInst::AssertOK(): Assertion `getOperand(0)-&gt;getType() == cast&lt;PointerType&gt;(getOperand(1)-&gt;getType())-&gt;getElementType() &amp;&amp; "Ptr must be a pointer to Val type!"' failed. Aborted </code></pre></div> <p dir="auto">Code duplicated below</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pub trait Color { fn desc(&amp;self) -&gt; &amp;str; } pub struct ColorImpl { desc: &amp;'static str, } impl Color for ColorImpl { fn desc(&amp;self) -&gt; &amp;str { return self.desc } } pub static RED: ColorImpl = ColorImpl{desc:&quot;red&quot;}; pub trait Suit { fn color(&amp;self) -&gt; &amp;Color; fn desc(&amp;self) -&gt; &amp;str; } pub struct SuitImpl { desc: &amp;'static str, c: &amp;'static ColorImpl, } impl Suit for SuitImpl { fn desc(&amp;self) -&gt; &amp;str { return self.desc } fn color(&amp;self) -&gt; &amp;Color { return self.c } } static HEART: SuitImpl = SuitImpl{desc:&quot;heart&quot;, c: &amp;RED}; fn main() { assert_eq!(&quot;heart&quot;, HEART.desc()); }"><pre class="notranslate"><span class="pl-k">pub</span> <span class="pl-k">trait</span> <span class="pl-smi">Color</span> <span class="pl-kos">{</span> <span class="pl-k">fn</span> <span class="pl-en">desc</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-smi">self</span><span class="pl-kos">)</span> -&gt; <span class="pl-c1">&amp;</span><span class="pl-smi">str</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">pub</span> <span class="pl-k">struct</span> <span class="pl-smi">ColorImpl</span> <span class="pl-kos">{</span> <span class="pl-c1">desc</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-c1">'</span><span class="pl-ent">static</span> <span class="pl-smi">str</span><span class="pl-kos">,</span> <span class="pl-kos">}</span> <span class="pl-k">impl</span> <span class="pl-smi">Color</span> <span class="pl-k">for</span> <span class="pl-smi">ColorImpl</span> <span class="pl-kos">{</span> <span class="pl-k">fn</span> <span class="pl-en">desc</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-smi">self</span><span class="pl-kos">)</span> -&gt; <span class="pl-c1">&amp;</span><span class="pl-smi">str</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">self</span><span class="pl-kos">.</span><span class="pl-c1">desc</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">pub</span> <span class="pl-k">static</span> <span class="pl-v">RED</span><span class="pl-kos">:</span> <span class="pl-smi">ColorImpl</span> = <span class="pl-smi">ColorImpl</span><span class="pl-kos">{</span><span class="pl-c1">desc</span><span class="pl-kos">:</span><span class="pl-s">"red"</span><span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">pub</span> <span class="pl-k">trait</span> <span class="pl-smi">Suit</span> <span class="pl-kos">{</span> <span class="pl-k">fn</span> <span class="pl-en">color</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-smi">self</span><span class="pl-kos">)</span> -&gt; <span class="pl-c1">&amp;</span><span class="pl-smi">Color</span><span class="pl-kos">;</span> <span class="pl-k">fn</span> <span class="pl-en">desc</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-smi">self</span><span class="pl-kos">)</span> -&gt; <span class="pl-c1">&amp;</span><span class="pl-smi">str</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">pub</span> <span class="pl-k">struct</span> <span class="pl-smi">SuitImpl</span> <span class="pl-kos">{</span> <span class="pl-c1">desc</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-c1">'</span><span class="pl-ent">static</span> <span class="pl-smi">str</span><span class="pl-kos">,</span> <span class="pl-c1">c</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-c1">'</span><span class="pl-ent">static</span> <span class="pl-smi">ColorImpl</span><span class="pl-kos">,</span> <span class="pl-kos">}</span> <span class="pl-k">impl</span> <span class="pl-smi">Suit</span> <span class="pl-k">for</span> <span class="pl-smi">SuitImpl</span> <span class="pl-kos">{</span> <span class="pl-k">fn</span> <span class="pl-en">desc</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-smi">self</span><span class="pl-kos">)</span> -&gt; <span class="pl-c1">&amp;</span><span class="pl-smi">str</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">self</span><span class="pl-kos">.</span><span class="pl-c1">desc</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">color</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-smi">self</span><span class="pl-kos">)</span> -&gt; <span class="pl-c1">&amp;</span><span class="pl-smi">Color</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">self</span><span class="pl-kos">.</span><span class="pl-c1">c</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">static</span> <span class="pl-v">HEART</span><span class="pl-kos">:</span> <span class="pl-smi">SuitImpl</span> = <span class="pl-smi">SuitImpl</span><span class="pl-kos">{</span><span class="pl-c1">desc</span><span class="pl-kos">:</span><span class="pl-s">"heart"</span><span class="pl-kos">,</span> <span class="pl-c1">c</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-v">RED</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">assert_eq</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"heart"</span>, <span class="pl-v">HEART</span>.desc<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">EDIT: this issue has been stalled on disagreements about how to handle a nasty problem found during implementation. <a href="https://internals.rust-lang.org/t/interaction-of-user-defined-and-integral-fallbacks-with-inference/2496" rel="nofollow">See the internals thread where this was detailed and discussed</a>.</p> <hr> <p dir="auto">This is a tracking issue for <a href="https://github.com/rust-lang/rfcs/blob/master/text/0213-defaulted-type-params.md">RFC 213</a>.</p> <p dir="auto">The initial implementation of this feature has <a href="https://github.com/rust-lang/rust/pull/26870" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/26870/hovercard">landed</a>.</p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nikomatsakis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nikomatsakis">@nikomatsakis</a></p>
0
<p dir="auto">All the Three.js samples involving at least a texture have this issue:</p> <p dir="auto"><strong>Error: WebGL: texImage2D: Chosen format/type incured an expensive reformat: 0x1908/0x1401</strong></p>
<p dir="auto">hi.<br> DirectGeometry -&gt; fromGeometry,forget to save index data</p>
0
<h2 dir="auto">Question</h2> <p dir="auto">In our application, there are some uses of "select ...... for update", when we use sharding-jdbc, these sqls is routed to the slave datasource, which is set read-only, and thus these sqls cannot be exeucted. We solve the problem by using HintManager and setMasterRouteOnly。</p> <p dir="auto"><strong>My question is, why sharding-jdbc do not route "select ...... for update" to master datasouce by default?</strong></p>
<p dir="auto">When I insert data into a field of text type in the database, I report the following error. It seems that sharding has rewritten this field. How to solve this problem?</p> <p dir="auto">java.io.NotSerializableException: java.io.StringReader<br> at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)<br> at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)<br> at com.mysql.jdbc.PreparedStatement.setSerializableObject(PreparedStatement.java:3824)<br> at io.shardingsphere.shardingjdbc.jdbc.adapter.invocation.JdbcMethodInvocation.invoke(JdbcMethodInvocation.java:47)<br> at io.shardingsphere.shardingjdbc.jdbc.adapter.AbstractShardingPreparedStatementAdapter.replaySetParameter(AbstractShardingPreparedStatementAdapter.java:264)<br> at io.shardingsphere.shardingjdbc.jdbc.core.statement.ShardingPreparedStatement.setParametersForStatements(ShardingPreparedStatement.java:194)<br> at io.shardingsphere.shardingjdbc.jdbc.core.statement.ShardingPreparedStatement.initPreparedStatementExecutor(ShardingPreparedStatement.java:189)<br> at io.shardingsphere.shardingjdbc.jdbc.core.statement.ShardingPreparedStatement.execute(ShardingPreparedStatement.java:136)</p>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=cnelson" rel="nofollow">Christian Nelson</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1274?redirect=false" rel="nofollow">SPR-1274</a></strong> and commented</p> <p dir="auto">If the map key contains nested brackets, the key is not properly extracted from the string by BeanWrapperImpl.getPropertyNameTokens(String propertyName).</p> <p dir="auto">For example, consider these 'paths':</p> <ol dir="auto"> <li>"entries[some text[abc]]", key = "some text[abc" (missing ])</li> <li>"entries['some text[abc]']", key = "'some text[abc" (missing ]')</li> <li>"entries["some text[abc]"]", key = ""some text[abc" (missing ]")</li> </ol> <p dir="auto">The first one is kinda a stretch, and I didn't expect it to work. My natural reaction was to try the second and third, thinking that grouping it would do the trick. It didn't though.</p> <p dir="auto">This came up in the web application I'm working on. There's a form with let's the user assign IDs to textual names. The name sometimes contain brackets, which triggered this issue.</p> <p dir="auto">BeanWrapperImpl.java:610 (1.2.4 source) is the cause. The parser could count braces, and return the key when it's found the first matching pair. In the example above, the first ] would be part of the key, and the second, which completes the initial pair, would complete the key. This solution would work regardless of the single or double quotes. An alternative would be to ignore braces that are in quoted ections of the string. This naturally would only work for scenarios <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1575150" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/2" data-hovercard-type="pull_request" data-hovercard-url="/spring-projects/spring-framework/pull/2/hovercard" href="https://github.com/spring-projects/spring-framework/pull/2">#2</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2332826" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/3" data-hovercard-type="pull_request" data-hovercard-url="/spring-projects/spring-framework/pull/3/hovercard" href="https://github.com/spring-projects/spring-framework/pull/3">#3</a> above.</p> <p dir="auto">I will try to update BeanWrapperImpl.java with a sllightly more sophisticated bracket parser and submit a patch with tests. If you think it's a waste of time, or if there's something obvious I'm missing, feel free to point out my error. Regards, Christian</p> <hr> <p dir="auto"><strong>Affects:</strong> 1.2.4</p> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/11129/MapBindingTests.java" rel="nofollow">MapBindingTests.java</a> (<em>2.04 kB</em>)</li> <li><a href="https://jira.spring.io/secure/attachment/11127/spr-1274-patch-1.txt" rel="nofollow">spr-1274-patch-1.txt</a> (<em>7.68 kB</em>)</li> <li><a href="https://jira.spring.io/secure/attachment/11128/spr-1274-patch-2.txt" rel="nofollow">spr-1274-patch-2.txt</a> (<em>8.51 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="398068359" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/6983" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/6983/hovercard" href="https://github.com/spring-projects/spring-framework/issues/6983">#6983</a> Incorrect string parsing of mapped property names (<em><strong>"is duplicated by"</strong></em>)</li> </ul> <p dir="auto">5 votes, 4 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=skaffman" rel="nofollow">Kenny MacLeod</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6159?redirect=false" rel="nofollow">SPR-6159</a></strong> and commented</p> <p dir="auto">Between 3.0.0 M4 and RC1, the protected parseStrongValue method disappeared from PropertyPlaceholderConfigurer. For custom subclasses, this method was the main entry point into the superclass functionality. Since it had not been deprecated, it seemed like the correct thing to do, but has now been removed, breaking compile-time compatibility between 2.5 and 3.0.</p> <p dir="auto">Can the method be reinstated somehow, that perhaps invokes the new methods that do the work? It can then be marked as deprecated.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.0 RC1</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="398098956" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10981" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10981/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10981">#10981</a> parseStringValue gone from PropertyPlaceholderConfigurer (<em><strong>"is duplicated by"</strong></em>)</li> </ul> <p dir="auto">2 votes, 2 watchers</p>
0
<p dir="auto">Instead of editor.acceptSuggestionOnEnter. I would like to have something like this</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;editor.acceptSuggestion&quot; : [&quot;Enter&quot; , &quot;Tab&quot; , &quot;Space&quot; ] }"><pre class="notranslate">{ <span class="pl-ent">"editor.acceptSuggestion"</span> : [<span class="pl-s"><span class="pl-pds">"</span>Enter<span class="pl-pds">"</span></span> , <span class="pl-s"><span class="pl-pds">"</span>Tab<span class="pl-pds">"</span></span> , <span class="pl-s"><span class="pl-pds">"</span>Space<span class="pl-pds">"</span></span> ] }</pre></div> <p dir="auto">or maybe</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;editor.acceptSuggestion&quot; : { &quot;Enter&quot; : true, &quot;Tab&quot; : false } }"><pre class="notranslate">{ <span class="pl-ent">"editor.acceptSuggestion"</span> : { <span class="pl-ent">"Enter"</span> : <span class="pl-c1">true</span>, <span class="pl-ent">"Tab"</span> : <span class="pl-c1">false</span> } }</pre></div> <p dir="auto">This can be used to inherit from default</p>
<p dir="auto">It would be nice if the files/folders text was colorized within the file tree based on the <code class="notranslate">.gitignore</code> files.</p> <p dir="auto">For example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Blue = File Updated Green = File Added Gray = File Ignored"><pre class="notranslate"><code class="notranslate">Blue = File Updated Green = File Added Gray = File Ignored </code></pre></div> <p dir="auto">Here is an example that shows added files and ignored files:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1571806/11642352/0ffe4d7c-9d03-11e5-900d-5e8b1d61d010.jpg"><img src="https://cloud.githubusercontent.com/assets/1571806/11642352/0ffe4d7c-9d03-11e5-900d-5e8b1d61d010.jpg" alt="git file highlight" style="max-width: 100%;"></a></p>
0
<h2 dir="auto">Steps to Reproduce</h2> <p dir="auto">When a Fullscreen dialog is opened after a file was received from <code class="notranslate">ImagePicker</code>, the layout of the Fullscreen Dialog is broken.</p> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="final File _ = await ImagePicker.pickImage(); Navigator .of(context) .push(new MaterialPageRoute&lt;Null&gt;( builder: (final BuildContext context) { return new TestPage(); }, ));"><pre class="notranslate"><span class="pl-k">final</span> <span class="pl-c1">File</span> _ <span class="pl-k">=</span> <span class="pl-k">await</span> <span class="pl-c1">ImagePicker</span>.<span class="pl-en">pickImage</span>(); <span class="pl-c1">Navigator</span> .<span class="pl-en">of</span>(context) .<span class="pl-en">push</span>(<span class="pl-k">new</span> <span class="pl-c1">MaterialPageRoute</span>&lt;<span class="pl-c1">Null</span>&gt;( builder<span class="pl-k">:</span> (<span class="pl-k">final</span> <span class="pl-c1">BuildContext</span> context) { <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-c1">TestPage</span>(); }, ));</pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2204708/34037290-8c7f1c84-e188-11e7-8301-7b88fb382d69.png"><img src="https://user-images.githubusercontent.com/2204708/34037290-8c7f1c84-e188-11e7-8301-7b88fb382d69.png" alt="device-2017-12-15-105913" style="max-width: 100%;"></a></p> <p dir="auto">However, wrapping the call to <code class="notranslate">Navigator.push</code> into a new <code class="notranslate">Future</code> fixes the issue.</p> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="final File _ = await ImagePicker.pickImage(); new Future(() { Navigator .of(context) .push(new MaterialPageRoute&lt;Null&gt;( builder: (final BuildContext context) { return new TestPage(); }, )); });"><pre class="notranslate"><span class="pl-k">final</span> <span class="pl-c1">File</span> _ <span class="pl-k">=</span> <span class="pl-k">await</span> <span class="pl-c1">ImagePicker</span>.<span class="pl-en">pickImage</span>(); <span class="pl-k">new</span> <span class="pl-c1">Future</span>(() { <span class="pl-c1">Navigator</span> .<span class="pl-en">of</span>(context) .<span class="pl-en">push</span>(<span class="pl-k">new</span> <span class="pl-c1">MaterialPageRoute</span>&lt;<span class="pl-c1">Null</span>&gt;( builder<span class="pl-k">:</span> (<span class="pl-k">final</span> <span class="pl-c1">BuildContext</span> context) { <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-c1">TestPage</span>(); }, )); });</pre></div> <p dir="auto">See <a href="https://github.com/lschmierer/flutter_test">this</a> project if you want to reproduce the issue.</p> <h2 dir="auto">Flutter Doctor</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (on Mac OS X 10.13.1 17B1003, locale en-DE, channel master) • Flutter at /Users/lschmierer/flutter • Framework revision 6299dbada8 (13 hours ago), 2017-12-14 13:19:26 -0800 • Engine revision e0d19e2897 • Tools Dart version 1.25.0-dev.11.0 • Engine Dart version 2.0.0-edge.cf1de7d46cd88e204380e8f96a993439be56b24c [✓] Android toolchain - develop for Android devices (Android SDK 27.0.1) • Android SDK at /Users/lschmierer/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.1 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [✓] iOS toolchain - develop for iOS devices (Xcode 9.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.2, Build version 9C40b • ios-deploy 1.9.2 • CocoaPods version 1.3.1 [✓] Android Studio (version 3.0) • Android Studio at /Applications/Android Studio.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [✓] Connected devices • Pixel • FA69N0312108 • android-arm • Android 8.1.0 (API 27)"><pre class="notranslate"><code class="notranslate">[✓] Flutter (on Mac OS X 10.13.1 17B1003, locale en-DE, channel master) • Flutter at /Users/lschmierer/flutter • Framework revision 6299dbada8 (13 hours ago), 2017-12-14 13:19:26 -0800 • Engine revision e0d19e2897 • Tools Dart version 1.25.0-dev.11.0 • Engine Dart version 2.0.0-edge.cf1de7d46cd88e204380e8f96a993439be56b24c [✓] Android toolchain - develop for Android devices (Android SDK 27.0.1) • Android SDK at /Users/lschmierer/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.1 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [✓] iOS toolchain - develop for iOS devices (Xcode 9.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.2, Build version 9C40b • ios-deploy 1.9.2 • CocoaPods version 1.3.1 [✓] Android Studio (version 3.0) • Android Studio at /Applications/Android Studio.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [✓] Connected devices • Pixel • FA69N0312108 • android-arm • Android 8.1.0 (API 27) </code></pre></div>
<h2 dir="auto">Steps to Reproduce</h2> <ol dir="auto"> <li>Attach a function to the button onTap</li> <li>Invoke an <em>ImagePicker</em> to select an image from the gallery (<a href="https://pub.dartlang.org/packages/image_picker" rel="nofollow">image_picker</a> package)</li> <li>Initiate <em>Navigator.push</em> to a new screen after image is picked.</li> <li>application is frozen. navigation did not happen.</li> </ol> <p dir="auto">Observations:</p> <ul dir="auto"> <li>Removing Image Picker from equation solves the problem.</li> <li>Tested in iOS simulator and real device - similar behavior</li> <li>the issue appeared after recent <code class="notranslate">flutter update</code> i.e. it woeked on 4 weeks old flutter (dev branch)).</li> </ul> <p dir="auto">This is the code that hangs (full sample app can be found here <a href="https://github.com/FastNinja/imagepickerissue">https://github.com/FastNinja/imagepickerissue</a><br> ):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Future&lt;Null&gt; _freezesAfterNavigation(BuildContext context) async { var _imageFile = await ImagePicker.pickImage(); // this navigation freezes and the whole app Navigator .of(context, rootNavigator: true) .push(new MaterialPageRoute&lt;String&gt;( settings: const RouteSettings(name: '/screen2'), builder: (BuildContext context) { return new Screen2Page(); })); } //... somewhere in the app... new RaisedButton( child: new Text(&quot;Select Image and Freezes&quot;), onPressed: () =&gt; _freezesAfterNavigation(context), ),"><pre class="notranslate"><code class="notranslate">Future&lt;Null&gt; _freezesAfterNavigation(BuildContext context) async { var _imageFile = await ImagePicker.pickImage(); // this navigation freezes and the whole app Navigator .of(context, rootNavigator: true) .push(new MaterialPageRoute&lt;String&gt;( settings: const RouteSettings(name: '/screen2'), builder: (BuildContext context) { return new Screen2Page(); })); } //... somewhere in the app... new RaisedButton( child: new Text("Select Image and Freezes"), onPressed: () =&gt; _freezesAfterNavigation(context), ), </code></pre></div> <p dir="auto">I have created the following repository to easily reproduce the issue.<br> <a href="https://github.com/FastNinja/imagepickerissue">https://github.com/FastNinja/imagepickerissue</a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/13673826/34467136-90c0ecf2-ef3c-11e7-9656-005c61d36693.png"><img src="https://user-images.githubusercontent.com/13673826/34467136-90c0ecf2-ef3c-11e7-9656-005c61d36693.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">It is the Minimum Possible App that reproduces the issue - single page with 2 buttons.<br> 1st button just navigates to new screen. 2nd button picks an image and then navigates to new screen.<br> Using the image picker does not initiate navigation into new screen and the whole application gots frozen.</p> <h2 dir="auto">Logs</h2> <p dir="auto">Run your application with <code class="notranslate">flutter run</code> and attach all the log output:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib/main.dart on iPhone 6 in debug mode... Running pod install... 1.1s Running Xcode build... 12.2s Syncing files to device iPhone 6... 0.9s 🔥 To hot reload your app on the fly, press &quot;r&quot;. To restart the app entirely, press &quot;R&quot;. An Observatory debugger and profiler on iPhone 6 is available at: http://127.0.0.1:8105/ For a more detailed help message, press &quot;h&quot;. To quit, press &quot;q&quot;. PlatformException(multiple_request, Cancelled by a second request, null) #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:514:7) #1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:154:18) &lt;asynchronous suspension&gt; #2 ImagePicker.pickImage (package:image_picker/image_picker.dart:63:40) &lt;asynchronous suspension&gt; #3 _MyHomePageState._freezesAfterNavigation (/Users/user/Documents/sandpit/imagepickerissue/lib/main.dart:41:40) &lt;asynchronous suspension&gt; #4 _MyHomePageState.build.&lt;anonymous closure&gt; (/Users/user/Documents/sandpit/imagepickerissue/lib/main.dart:78:32) #5 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:323:14) #6 _InkResponseState.build.&lt;anonymous closure&gt; (package:flutter/src/material/ink_well.dart:375:30) #7 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102&lt;…&gt;"><pre class="notranslate"><code class="notranslate">Launching lib/main.dart on iPhone 6 in debug mode... Running pod install... 1.1s Running Xcode build... 12.2s Syncing files to device iPhone 6... 0.9s 🔥 To hot reload your app on the fly, press "r". To restart the app entirely, press "R". An Observatory debugger and profiler on iPhone 6 is available at: http://127.0.0.1:8105/ For a more detailed help message, press "h". To quit, press "q". PlatformException(multiple_request, Cancelled by a second request, null) #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:514:7) #1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:154:18) &lt;asynchronous suspension&gt; #2 ImagePicker.pickImage (package:image_picker/image_picker.dart:63:40) &lt;asynchronous suspension&gt; #3 _MyHomePageState._freezesAfterNavigation (/Users/user/Documents/sandpit/imagepickerissue/lib/main.dart:41:40) &lt;asynchronous suspension&gt; #4 _MyHomePageState.build.&lt;anonymous closure&gt; (/Users/user/Documents/sandpit/imagepickerissue/lib/main.dart:78:32) #5 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:323:14) #6 _InkResponseState.build.&lt;anonymous closure&gt; (package:flutter/src/material/ink_well.dart:375:30) #7 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102&lt;…&gt; </code></pre></div> <p dir="auto">Run <code class="notranslate">flutter analyze</code> and attach any output of that command also:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter analyze Analyzing /imagepickerissue... hint • The value of the local variable '_imageFile' isn't used at lib/main.dart:41:9 • unused_local_variable 1 issue found. (Ran in 5.0s)"><pre class="notranslate"><code class="notranslate">flutter analyze Analyzing /imagepickerissue... hint • The value of the local variable '_imageFile' isn't used at lib/main.dart:41:9 • unused_local_variable 1 issue found. (Ran in 5.0s) </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 doctor [✓] Flutter (on Mac OS X 10.12.6 16G1114, locale en-US, channel alpha) • Flutter at /Users/user/Documents/flutter • Framework revision 8f65fec5f5 (3 weeks ago), 2017-12-12 09:50:14 -0800 • Engine revision edaecdc8b8 • Tools Dart version 1.25.0-dev.11.0 • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e [✓] Android toolchain - develop for Android devices (Android SDK 27.0.1) • Android SDK at /Users/userhere/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.1 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [✓] iOS toolchain - develop for iOS devices (Xcode 9.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.2, Build version 9C40b • ios-deploy 1.9.2 • CocoaPods version 1.3.1 [✓] Android Studio (version 3.0) • Android Studio at /Applications/Android Studio.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [✓] Connected devices • iPhone 6 • 2F890940-D8CE-40A0-B937-A93115097CDE • ios • iOS 11.2 (simulator)"><pre class="notranslate"><code class="notranslate">flutter doctor [✓] Flutter (on Mac OS X 10.12.6 16G1114, locale en-US, channel alpha) • Flutter at /Users/user/Documents/flutter • Framework revision 8f65fec5f5 (3 weeks ago), 2017-12-12 09:50:14 -0800 • Engine revision edaecdc8b8 • Tools Dart version 1.25.0-dev.11.0 • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e [✓] Android toolchain - develop for Android devices (Android SDK 27.0.1) • Android SDK at /Users/userhere/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.1 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [✓] iOS toolchain - develop for iOS devices (Xcode 9.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.2, Build version 9C40b • ios-deploy 1.9.2 • CocoaPods version 1.3.1 [✓] Android Studio (version 3.0) • Android Studio at /Applications/Android Studio.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [✓] Connected devices • iPhone 6 • 2F890940-D8CE-40A0-B937-A93115097CDE • ios • iOS 11.2 (simulator) </code></pre></div> <blockquote> <p dir="auto">For more information about diagnosing and reporting Flutter bugs, please see <a href="https://flutter.io/bug-reports/" rel="nofollow">https://flutter.io/bug-reports/</a>.</p> </blockquote>
1
<p dir="auto"><strong>Description</strong><br> For structuring Yaml files we want to use a custom include tag (in our case <code class="notranslate">!inc/file 'my_file.yml'</code>). This is working just fine by having a custom <code class="notranslate">YamlFileLoader</code> that recursively parses any <code class="notranslate">TaggedValue</code> and having it make a <code class="notranslate">new Parser()</code> to handle the sub-document (or <code class="notranslate">self::load()</code> on the sub-document).</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$loaderResolver = new LoaderResolver([new YamlFileLoader()]); $delegatingLoader = new DelegatingLoader($loaderResolver); $config = $delegatingLoader-&gt;load('my-base.yml');"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>loaderResolver</span> = <span class="pl-k">new</span> <span class="pl-v">LoaderResolver</span>([<span class="pl-k">new</span> <span class="pl-v">YamlFileLoader</span>()]); <span class="pl-s1"><span class="pl-c1">$</span>delegatingLoader</span> = <span class="pl-k">new</span> <span class="pl-v">DelegatingLoader</span>(<span class="pl-s1"><span class="pl-c1">$</span>loaderResolver</span>); <span class="pl-s1"><span class="pl-c1">$</span>config</span> = <span class="pl-s1"><span class="pl-c1">$</span>delegatingLoader</span>-&gt;<span class="pl-en">load</span>(<span class="pl-s">'my-base.yml'</span>);</pre></div> <p dir="auto">But if your parent document has references, e.g.: <code class="notranslate">&amp;foo</code> and you want to reference that within an included file with <code class="notranslate">*foo</code>, the sub-parser has no access to the refs from the main document.</p> <p dir="auto">At least two ways to solve it:</p> <ol dir="auto"> <li>a way to pass refs to a parser</li> <li>don't make a new parser, but calling <code class="notranslate">parse()</code> on the same instance as the parent document</li> </ol> <p dir="auto">Here option 2 seems a nice solution, but: <code class="notranslate">parse()</code> sets <code class="notranslate">$this-&gt;refs = []</code> before and after every call to <code class="notranslate">doParse()</code>.</p> <p dir="auto">The feature request is to either support option 1, or a flag (e.g.: <code class="notranslate">Yaml::PARSE_KEEP_REFS</code>) that disables setting <code class="notranslate">$this-&gt;refs = []</code> before and after every call to <code class="notranslate">doParse()</code>.</p> <p dir="auto"><strong>Example</strong></p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const PARSE_KEEP_REFS = 2048; /** * Parses a YAML string to a PHP value. * * @param string $value A YAML string * @param int $flags A bit field of PARSE_* constants to customize the YAML parser behavior * * @return mixed A PHP value * * @throws ParseException If the YAML is not valid */ public function parse(string $value, int $flags = 0) { if (false === preg_match('//u', $value)) { throw new ParseException('The YAML value does not appear to be valid UTF-8.', -1, null, $this-&gt;filename); } if (!(Yaml::PARSE_KEEP_REFS &amp; $flags)) { $this-&gt;refs = []; } $mbEncoding = null; $data = null; if (2 /* MB_OVERLOAD_STRING */ &amp; (int) ini_get('mbstring.func_overload')) { $mbEncoding = mb_internal_encoding(); mb_internal_encoding('UTF-8'); } try { $data = $this-&gt;doParse($value, $flags); } finally { if (null !== $mbEncoding) { mb_internal_encoding($mbEncoding); } $this-&gt;lines = []; $this-&gt;currentLine = ''; if (!(Yaml::PARSE_KEEP_REFS &amp; $flags)) { $this-&gt;refs = []; } $this-&gt;skippedLineNumbers = []; $this-&gt;locallySkippedLineNumbers = []; } return $data; }"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-c1">PARSE_KEEP_REFS</span> = <span class="pl-c1">2048</span>; <span class="pl-c">/**</span> <span class="pl-c"> * Parses a YAML string to a PHP value.</span> <span class="pl-c"> *</span> <span class="pl-c"> * @param string $value A YAML string</span> <span class="pl-c"> * @param int $flags A bit field of PARSE_* constants to customize the YAML parser behavior</span> <span class="pl-c"> *</span> <span class="pl-c"> * @return mixed A PHP value</span> <span class="pl-c"> *</span> <span class="pl-c"> * @throws ParseException If the YAML is not valid</span> <span class="pl-c"> */</span> <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">parse</span>(<span class="pl-smi">string</span> <span class="pl-s1"><span class="pl-c1">$</span>value</span>, <span class="pl-smi">int</span> <span class="pl-s1"><span class="pl-c1">$</span>flags</span> = <span class="pl-c1">0</span>) { <span class="pl-k">if</span> (<span class="pl-c1">false</span> === preg_match(<span class="pl-s">'//u'</span>, <span class="pl-s1"><span class="pl-c1">$</span>value</span>)) { <span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-v">ParseException</span>(<span class="pl-s">'The YAML value does not appear to be valid UTF-8.'</span>, -<span class="pl-c1">1</span>, <span class="pl-c1">null</span>, <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">filename</span>); } <span class="pl-k">if</span> (!(<span class="pl-v">Yaml</span>::<span class="pl-c1">PARSE_KEEP_REFS</span> &amp; <span class="pl-s1"><span class="pl-c1">$</span>flags</span>)) { <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">refs</span> = []; } <span class="pl-s1"><span class="pl-c1">$</span>mbEncoding</span> = <span class="pl-c1">null</span>; <span class="pl-s1"><span class="pl-c1">$</span>data</span> = <span class="pl-c1">null</span>; <span class="pl-k">if</span> (<span class="pl-c1">2</span> <span class="pl-c">/* MB_OVERLOAD_STRING */</span> &amp; (<span class="pl-smi">int</span>) ini_get(<span class="pl-s">'mbstring.func_overload'</span>)) { <span class="pl-s1"><span class="pl-c1">$</span>mbEncoding</span> = mb_internal_encoding(); mb_internal_encoding(<span class="pl-s">'UTF-8'</span>); } <span class="pl-k">try</span> { <span class="pl-s1"><span class="pl-c1">$</span>data</span> = <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-en">doParse</span>(<span class="pl-s1"><span class="pl-c1">$</span>value</span>, <span class="pl-s1"><span class="pl-c1">$</span>flags</span>); } <span class="pl-k">finally</span> { <span class="pl-k">if</span> (<span class="pl-c1">null</span> !== <span class="pl-s1"><span class="pl-c1">$</span>mbEncoding</span>) { mb_internal_encoding(<span class="pl-s1"><span class="pl-c1">$</span>mbEncoding</span>); } <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">lines</span> = []; <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">currentLine</span> = <span class="pl-s">''</span>; <span class="pl-k">if</span> (!(<span class="pl-v">Yaml</span>::<span class="pl-c1">PARSE_KEEP_REFS</span> &amp; <span class="pl-s1"><span class="pl-c1">$</span>flags</span>)) { <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">refs</span> = []; } <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">skippedLineNumbers</span> = []; <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">locallySkippedLineNumbers</span> = []; } <span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>data</span>; }</pre></div> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$configValues = $parser-&gt;parseFile($resource, Yaml::PARSE_CUSTOM_TAGS|Yaml::PARSE_KEEP_REFS);"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>configValues</span> = <span class="pl-s1"><span class="pl-c1">$</span>parser</span>-&gt;<span class="pl-en">parseFile</span>(<span class="pl-s1"><span class="pl-c1">$</span>resource</span>, <span class="pl-v">Yaml</span>::<span class="pl-c1">PARSE_CUSTOM_TAGS</span>|<span class="pl-v">Yaml</span>::<span class="pl-c1">PARSE_KEEP_REFS</span>);</pre></div> <p dir="auto">Of course it's very possible there is a completely other solution that I missed. Since pretty much everything is private, extending the class with your own parser brings too much to the table.</p> <p dir="auto">PS: using Symfony config import (<a href="https://symfony.com/doc/current/configuration/configuration_organization.html#mix-and-match-configuration-formats" rel="nofollow">https://symfony.com/doc/current/configuration/configuration_organization.html#mix-and-match-configuration-formats</a>) is not applicable for our use case. We need something more in the line of the <code class="notranslate">$ref</code> method of json-schema.</p>
<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>no</td> </tr> <tr> <td>Symfony version</td> <td>4.1</td> </tr> </tbody> </table> <p dir="auto">This is a <a href="https://www.google.sk/search?client=ubuntu&amp;channel=fs&amp;q=symfony+form+render+multiple+times&amp;ie=utf-8&amp;oe=utf-8&amp;gfe_rd=cr&amp;dcr=0&amp;ei=szCpWvGNEuvf8geps6z4CA" rel="nofollow">common problem</a>. Only workarounds exists is not using form_* functions for subsequent fields.</p> <p dir="auto">Wanted to solve this by doing</p> <div class="highlight highlight-text-html-twig notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{{ form_row(form.save) }} {% do form.save.setRendered(false) %} {{ form_row(form.save) }}"><pre class="notranslate">{{ form_row(<span class="pl-smi">form</span>.<span class="pl-smi">save</span>) }} {% <span class="pl-k">do</span> <span class="pl-smi">form</span>.<span class="pl-smi">save</span>.<span class="pl-smi">setRendered</span>(<span class="pl-c1">false</span>) %} {{ form_row(<span class="pl-smi">form</span>.<span class="pl-smi">save</span>) }}</pre></div> <p dir="auto">quickly found <a href="https://github.com/ostrolucky/symfony/blob/3c0693de23ea30c1a54ff7179ebf3168e1328793/src/Symfony/Component/Form/FormView.php#L86">setRendered does not accept arguments</a> and PRs for multiple different use cases has been <a href="https://github.com/symfony/symfony/issues/10898" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/10898/hovercard">rejected<sup>1</sup></a> <a href="https://github.com/symfony/symfony/pull/8128" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/8128/hovercard">in<sup>2</sup></a> <a href="https://github.com/symfony/symfony/pull/8676" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/8676/hovercard">past<sup>3</sup></a>. Is this use case good enough for this change now?</p> <p dir="auto">This is specifically very useful to split form visually to two, where one block is just for RepeatedType and SubmitType. Here was the requirement from our designer</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/496233/37410483-0ade9ef2-27a1-11e8-8574-3726d147a32c.jpg"><img src="https://user-images.githubusercontent.com/496233/37410483-0ade9ef2-27a1-11e8-8574-3726d147a32c.jpg" alt="37027104-b990ff70-2130-11e8-9f2b-469c0a1c2b03" style="max-width: 100%;"></a></p> <p dir="auto">If I could render same field twice, I could reuse same button field and be done with it.</p>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=hal10001" rel="nofollow">Brian Reindel</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8402?redirect=false" rel="nofollow">SPR-8402</a></strong> and commented</p> <p dir="auto">For instance:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Controller public class MyController { @RequestMapping(value={&quot;/user/id/{id}/delete&quot;, &quot;/user/id/{id}/deleted/{deleted}/delete&quot;}, method=RequestMethod.GET) public ModelAndView updateUserHandler(@PathVariable String id, @PathVariable String deleted) { /* Implementation */ } }"><pre class="notranslate"><code class="notranslate">@Controller public class MyController { @RequestMapping(value={"/user/id/{id}/delete", "/user/id/{id}/deleted/{deleted}/delete"}, method=RequestMethod.GET) public ModelAndView updateUserHandler(@PathVariable String id, @PathVariable String deleted) { /* Implementation */ } } </code></pre></div> <p dir="auto">That code above will throw an IllegalStateException. Instead, only the following is allowed if I want access to deleted:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Controller public class MyController { @RequestMapping(value=&quot;/user/id/{id}/deleted/{deleted}/delete&quot;, method=RequestMethod.GET) public ModelAndView updateUserHandler(@PathVariable String id, @PathVariable String deleted) { /* Implementation */ } }"><pre class="notranslate"><code class="notranslate">@Controller public class MyController { @RequestMapping(value="/user/id/{id}/deleted/{deleted}/delete", method=RequestMethod.GET) public ModelAndView updateUserHandler(@PathVariable String id, @PathVariable String deleted) { /* Implementation */ } } </code></pre></div> <p dir="auto">However, this necessitates always providing a value for the deleted parameter. This should instead be treated like request.getParameter(), in that if you try to access a request parameter (or path variable in the case of Spring) that doesn't exist on the path, the value defaults to null.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.0.5</p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398110324" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12639" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12639/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12639">#12639</a> Allow optional <code class="notranslate">@PathVariable</code> (<em><strong>"duplicates"</strong></em>)</li> </ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=senoctar" rel="nofollow">Patras Vlad Sebastian</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7984?redirect=false" rel="nofollow">SPR-7984</a></strong> and commented</p> <p dir="auto">Allow mapping the same method to multiple URL's that differ in respect to what path variables they use.<br> For example we do not want to transfer the id of the logged in user in the URL for security reasons and simplicity, but there are pages that can either show data for the logged in user or an other user, like a profile page.<br> I would like to be able to map a method like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@RequestMapping(value = {&quot;/profile&quot;, &quot;/profile/{userId}&quot;}) public String showProfile(@PathVariable(&quot;userId&quot;) Integer userId) { if (userId == null) { userId = &lt;get id of logged in user from session&gt;; } //do stuff }"><pre class="notranslate"><code class="notranslate">@RequestMapping(value = {"/profile", "/profile/{userId}"}) public String showProfile(@PathVariable("userId") Integer userId) { if (userId == null) { userId = &lt;get id of logged in user from session&gt;; } //do stuff } </code></pre></div> <p dir="auto">The first path of the request mapping to does not have a "userId" path variable, and it would be nice if userId (the method parameter) would be null in this case, rather than throwing IllegalStateException.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.0.5</p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112689" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13049" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13049/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13049">#13049</a> A <code class="notranslate">@PathVariable</code> provided in the method parameter, but not in the <code class="notranslate">@RequestMapping</code>, will throw an IllegalStateException. (<em><strong>"is duplicated by"</strong></em>)</li> </ul> <p dir="auto">1 votes, 4 watchers</p>
1
<p dir="auto">With these settings in browserlist build failed:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;= 1%"><pre class="notranslate"><code class="notranslate">&gt;= 1% </code></pre></div> <p dir="auto">or</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;= 2.5%"><pre class="notranslate"><code class="notranslate">&gt;= 2.5% </code></pre></div> <p dir="auto">but works with</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;= 1.1%"><pre class="notranslate"><code class="notranslate">&gt;= 1.1% </code></pre></div> <p dir="auto">or</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;= 2.5% ie 11"><pre class="notranslate"><code class="notranslate">&gt;= 2.5% ie 11 </code></pre></div> <p dir="auto">which both differs only for <code class="notranslate">ie 11</code></p> <p dir="auto">error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR in ./src/containers/Employees/EditEmployeeContainer.js Module build failed (from ./node_modules/babel-loader/lib/index.js): TypeError: C:\Projects\topcase\hrketing\src\Web\WebSPA\src\containers\Employees\EditEmployeeContainer.js: Duplicate declaration &quot;modifiedAlternativeNames&quot; (This is an error on an internal node. Probably an at File.buildCodeFrameError (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\core\lib\transformation\file\file.js:250:12) at Scope.checkBlockScopedCollisions (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:419:22) at Scope.registerBinding (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:579:16) at Scope.registerDeclaration (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:521:14) at Object.BlockScoped (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:250:12) at Object.newFn (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\visitors.js:216:17) at NodePath._call (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\path\context.js:55:20) at NodePath.call (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\path\context.js:38:14) at NodePath.visit (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\path\context.js:92:31) at TraversalContext.visitQueue (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\context.js:112:16) @ ./src/containers/Router.js 28:54-97 @ ./src/containers/App.js 22:0-73 155:24-35 156:27-38 200:54-65 207:42-48 @ ./src/containers/Root.js 21:36-51 @ ./src/index.js 26:0-37 51:38-42 ERROR in ./src/containers/Trips/CreateEditTripContainer.js Module build failed (from ./node_modules/babel-loader/lib/index.js): TypeError: C:\Projects\topcase\hrketing\src\Web\WebSPA\src\containers\Trips\CreateEditTripContainer.js: Duplicate declaration &quot;origin&quot; (This is an error on an internal node. Probably an internal error.) at File.buildCodeFrameError (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\core\lib\transformation\file\file.js:250:12) at Scope.checkBlockScopedCollisions (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:419:22) at Scope.registerBinding (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:579:16) at Scope.registerDeclaration (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:521:14) at Object.BlockScoped (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:250:12) at Object.newFn (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\visitors.js:216:17) at NodePath._call (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\path\context.js:55:20) at NodePath.call (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\path\context.js:38:14) at NodePath.visit (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\path\context.js:92:31) at TraversalContext.visitQueue (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\context.js:112:16) @ ./src/containers/Router.js 25:56-97 @ ./src/containers/App.js 22:0-73 155:24-35 156:27-38 200:54-65 207:42-48 @ ./src/containers/Root.js 21:36-51 @ ./src/index.js 26:0-37 51:38-42 "><pre class="notranslate"><code class="notranslate">ERROR in ./src/containers/Employees/EditEmployeeContainer.js Module build failed (from ./node_modules/babel-loader/lib/index.js): TypeError: C:\Projects\topcase\hrketing\src\Web\WebSPA\src\containers\Employees\EditEmployeeContainer.js: Duplicate declaration "modifiedAlternativeNames" (This is an error on an internal node. Probably an at File.buildCodeFrameError (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\core\lib\transformation\file\file.js:250:12) at Scope.checkBlockScopedCollisions (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:419:22) at Scope.registerBinding (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:579:16) at Scope.registerDeclaration (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:521:14) at Object.BlockScoped (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:250:12) at Object.newFn (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\visitors.js:216:17) at NodePath._call (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\path\context.js:55:20) at NodePath.call (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\path\context.js:38:14) at NodePath.visit (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\path\context.js:92:31) at TraversalContext.visitQueue (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\context.js:112:16) @ ./src/containers/Router.js 28:54-97 @ ./src/containers/App.js 22:0-73 155:24-35 156:27-38 200:54-65 207:42-48 @ ./src/containers/Root.js 21:36-51 @ ./src/index.js 26:0-37 51:38-42 ERROR in ./src/containers/Trips/CreateEditTripContainer.js Module build failed (from ./node_modules/babel-loader/lib/index.js): TypeError: C:\Projects\topcase\hrketing\src\Web\WebSPA\src\containers\Trips\CreateEditTripContainer.js: Duplicate declaration "origin" (This is an error on an internal node. Probably an internal error.) at File.buildCodeFrameError (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\core\lib\transformation\file\file.js:250:12) at Scope.checkBlockScopedCollisions (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:419:22) at Scope.registerBinding (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:579:16) at Scope.registerDeclaration (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:521:14) at Object.BlockScoped (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\scope\index.js:250:12) at Object.newFn (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\visitors.js:216:17) at NodePath._call (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\path\context.js:55:20) at NodePath.call (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\path\context.js:38:14) at NodePath.visit (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\path\context.js:92:31) at TraversalContext.visitQueue (C:\Projects\topcase\hrketing\src\Web\WebSPA\node_modules\@babel\traverse\lib\context.js:112:16) @ ./src/containers/Router.js 25:56-97 @ ./src/containers/App.js 22:0-73 155:24-35 156:27-38 200:54-65 207:42-48 @ ./src/containers/Root.js 21:36-51 @ ./src/index.js 26:0-37 51:38-42 </code></pre></div> <p dir="auto">system:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="λ npx envinfo --preset babel System: OS: Windows 10 10.0.19041 Binaries: Node: 12.18.4 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD npmPackages: @babel/cli: ^7.12.1 =&gt; 7.12.1 @babel/core: ^7.12.3 =&gt; 7.12.3 @babel/eslint-parser: ^7.12.1 =&gt; 7.12.1 @babel/eslint-plugin: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-class-properties: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-decorators: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-do-expressions: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-export-default-from: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-export-namespace-from: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-function-bind: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-function-sent: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-json-strings: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-logical-assignment-operators: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-nullish-coalescing-operator: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-numeric-separator: ^7.12.1 =&gt; 7.12.5 @babel/plugin-proposal-optional-chaining: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-pipeline-operator: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-throw-expressions: ^7.12.1 =&gt; 7.12.1 @babel/plugin-syntax-dynamic-import: ^7.8.3 =&gt; 7.8.3 @babel/plugin-syntax-import-meta: ^7.10.4 =&gt; 7.10.4 @babel/plugin-transform-flow-strip-types: ^7.12.1 =&gt; 7.12.1 @babel/preset-env: ^7.12.1 =&gt; 7.12.1 @babel/preset-flow: ^7.12.1 =&gt; 7.12.1 @babel/preset-react: ^7.12.1 =&gt; 7.12.5 @babel/register: ^7.12.1 =&gt; 7.12.1 babel-jest: ^26.6.1 =&gt; 26.6.3 babel-loader: ^8.1.0 =&gt; 8.1.0 babel-plugin-import: ^1.13.1 =&gt; 1.13.1 babel-plugin-macros: ^2.8.0 =&gt; 2.8.0 babel-plugin-module-resolver: ^4.0.0 =&gt; 4.0.0 babel-plugin-react-intl: ^8.2.10 =&gt; 8.2.13 babel-plugin-styled-components: ^1.11.1 =&gt; 1.11.1 babel-plugin-transform-react-remove-prop-types: ^0.4.24 =&gt; 0.4.24 eslint: ^7.12.1 =&gt; 7.12.1 eslint-import-resolver-babel-module: ^5.2.0 =&gt; 5.2.0 jest: ^26.6.1 =&gt; 26.6.3 webpack: ^5.4.0 =&gt; 5.4.0"><pre class="notranslate"><code class="notranslate">λ npx envinfo --preset babel System: OS: Windows 10 10.0.19041 Binaries: Node: 12.18.4 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD npmPackages: @babel/cli: ^7.12.1 =&gt; 7.12.1 @babel/core: ^7.12.3 =&gt; 7.12.3 @babel/eslint-parser: ^7.12.1 =&gt; 7.12.1 @babel/eslint-plugin: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-class-properties: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-decorators: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-do-expressions: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-export-default-from: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-export-namespace-from: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-function-bind: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-function-sent: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-json-strings: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-logical-assignment-operators: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-nullish-coalescing-operator: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-numeric-separator: ^7.12.1 =&gt; 7.12.5 @babel/plugin-proposal-optional-chaining: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-pipeline-operator: ^7.12.1 =&gt; 7.12.1 @babel/plugin-proposal-throw-expressions: ^7.12.1 =&gt; 7.12.1 @babel/plugin-syntax-dynamic-import: ^7.8.3 =&gt; 7.8.3 @babel/plugin-syntax-import-meta: ^7.10.4 =&gt; 7.10.4 @babel/plugin-transform-flow-strip-types: ^7.12.1 =&gt; 7.12.1 @babel/preset-env: ^7.12.1 =&gt; 7.12.1 @babel/preset-flow: ^7.12.1 =&gt; 7.12.1 @babel/preset-react: ^7.12.1 =&gt; 7.12.5 @babel/register: ^7.12.1 =&gt; 7.12.1 babel-jest: ^26.6.1 =&gt; 26.6.3 babel-loader: ^8.1.0 =&gt; 8.1.0 babel-plugin-import: ^1.13.1 =&gt; 1.13.1 babel-plugin-macros: ^2.8.0 =&gt; 2.8.0 babel-plugin-module-resolver: ^4.0.0 =&gt; 4.0.0 babel-plugin-react-intl: ^8.2.10 =&gt; 8.2.13 babel-plugin-styled-components: ^1.11.1 =&gt; 1.11.1 babel-plugin-transform-react-remove-prop-types: ^0.4.24 =&gt; 0.4.24 eslint: ^7.12.1 =&gt; 7.12.1 eslint-import-resolver-babel-module: ^5.2.0 =&gt; 5.2.0 jest: ^26.6.1 =&gt; 26.6.3 webpack: ^5.4.0 =&gt; 5.4.0 </code></pre></div>
<p dir="auto"><strong>I did not check the specs on the scopes, but I am assuming that v8 behavior is correct and that in <code class="notranslate">for (let a of/in b)</code> part <code class="notranslate">b</code> should be outside of the <code class="notranslate">for</code> scope. This is how v8 does things. This is also how babel does things in <code class="notranslate">for of</code> blocks.</strong></p> <h1 dir="auto"></h1> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; var a = [[], [1, 2, 3]]; var i = 1; for (let i in a[i]) { console.log(i); }"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">a</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-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-k">var</span> <span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">;</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">i</span> <span class="pl-k">in</span> <span class="pl-s1">a</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-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</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></pre></div> <p dir="auto">is translated to</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; var a = [[], [1, 2, 3]]; var i = 1; for (var _i in a[_i]) { console.log(_i); }"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">a</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-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-k">var</span> <span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">;</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">var</span> <span class="pl-s1">_i</span> <span class="pl-k">in</span> <span class="pl-s1">a</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-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</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></pre></div> <p dir="auto">when it should be translated to</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; var a = [[], [1, 2, 3]]; var i = 1; for (var _i in a[i]) { console.log(_i); }"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">a</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-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-k">var</span> <span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">;</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">var</span> <span class="pl-s1">_i</span> <span class="pl-k">in</span> <span class="pl-s1">a</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-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</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></pre></div> <h1 dir="auto"></h1> <p dir="auto">A similar (or the same) issue:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; { let i = [1, 2, 3]; } for (let i in i) { console.log(i); }"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">i</span> <span class="pl-k">in</span> <span class="pl-s1">i</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">i</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">should have the same variable renames (not the same code) as in</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; { let i = [1, 2, 3]; } var i; for (let i in i) { console.log(i); }"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">var</span> <span class="pl-s1">i</span><span class="pl-kos">;</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">i</span> <span class="pl-k">in</span> <span class="pl-s1">i</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">i</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">but no variables are renamed in the first variant.</p>
0
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/523" rel="nofollow">http://projects.scipy.org/numpy/ticket/523</a> on 2007-05-17 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mdehoon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mdehoon">@mdehoon</a>, assigned to unknown.</em></p> <p dir="auto">In numpy/numarray/_capi.c, for a number of platforms fenv.h or fenv.c is #included twice.</p> <p dir="auto">Lines 227-232 in current source:</p> <h1 dir="auto">if defined(<strong>GLIBC</strong>) || defined(<strong>APPLE</strong>) || defined(<strong>CYGWIN</strong>) || defined(<strong>MINGW32</strong>)</h1> <h1 dir="auto">if defined(<strong>GLIBC</strong>) || defined(<strong>APPLE</strong>) || defined(<strong>MINGW32</strong>)</h1> <h1 dir="auto">include &lt;fenv.h&gt;</h1> <h1 dir="auto">elif defined(<strong>CYGWIN</strong>)</h1> <h1 dir="auto">include "numpy/fenv/fenv.c"</h1> <h1 dir="auto">endif</h1> <p dir="auto">and further down in lines 2940-2945:</p> <h1 dir="auto">elif defined(<strong>GLIBC</strong>) || defined(<strong>APPLE</strong>) || defined(<strong>CYGWIN</strong>) || defined(<strong>MINGW32</strong>)</h1> <h1 dir="auto">if defined(<strong>GLIBC</strong>) || defined(darwin) || defined(<strong>MINGW32</strong>)</h1> <h1 dir="auto">include &lt;fenv.h&gt;</h1> <h1 dir="auto">elif defined(<strong>CYGWIN</strong>)</h1> <h1 dir="auto">include "numpy/fenv/fenv.h"</h1> <h1 dir="auto">endif</h1> <p dir="auto">In numpy release 1.0.2, the second #include for <strong>CYGWIN</strong> actually reads</p> <h1 dir="auto">include "numpy/fenv/fenv.c"</h1> <p dir="auto">so it includes fenv.c instead of fenv.h twice. This causes the somewhat cryptic error message:</p> <p dir="auto">In file included from numpy/numarray/_capi.c:2945:<br> numpy/core/include/numpy/fenv/fenv.c:32: error: redefinition of '__fe_dfl_env'<br> numpy/core/include/numpy/fenv/fenv.c:32: error: previous definition of '__fe_dfl<br> _env' was here</p> <p dir="auto">In the latest revision of numpy/numarray/_capi.c, the second #include reads fenv.h instead of fenv.c. This appears to be a lucky typo, which actually allows the compilation to proceed. Nevertheless, the second set of #include's seem to be unnecessary.</p>
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/513" rel="nofollow">http://projects.scipy.org/numpy/ticket/513</a> on 2007-05-07 by trac user jenisys, assigned to unknown.</em></p> <p dir="auto"><strong>VERSION:</strong> 1.0.2<br> <strong>PLATFORM:</strong> Cygwin 1.5.24-2<br> <strong>PYTHON:</strong> 2.5.1</p> <p dir="auto">file:numpy/core/include/numpy/fenv/fenv.c seems to be included multiple times in some source files. Compilation fails because symbol "__fe_dfl_env" exists twice in same source/object file.</p> <p dir="auto"><strong>QUICKFIX:</strong> Add header-like multi-include protection to source file.</p>
1
<p dir="auto">It would be nice to have Generator.integers match the functionality of Generator.random by allowing usage of the <code class="notranslate">out</code> parameter.</p> <p dir="auto">Use case: Repeatedly generating large arrays of indices, without needing to allocate new memory each time.</p>
<p dir="auto">I encountered a curious performance issue in numpy.dot multiplication of an N-dimensional array with a 2-dimensional array. I consistently found it to be a factor 15-20 faster to first reshape arrays to 2-dimensional arrays, do the multiplication on the reshaped arrays, and then reshape back.</p> <p dir="auto">I'm including my code at the end of this message. It appears that the same observation has been made by hpaulj and buried in a StackOverflow question: <a href="http://stackoverflow.com/questions/33004551/why-is-b-numpy-dota-x-so-much-slower-looping-through-doing-bi-numpy" rel="nofollow">http://stackoverflow.com/questions/33004551/why-is-b-numpy-dota-x-so-much-slower-looping-through-doing-bi-numpy</a>. I would love to have numpy.dot automatically do the reshaping, it's much more user-friendly.</p> <p dir="auto">Here is a related post: <a href="https://www.huyng.com/posts/faster-numpy-dot-product" rel="nofollow">https://www.huyng.com/posts/faster-numpy-dot-product</a>. I believe it is better to invoke BLAS through reshaping than the solution proposed there.</p> <p dir="auto">Thanks!</p> <p dir="auto">(tested on: numpy 1.12.1 on anaconda with python 3.6.0, mac on intel)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np n1 = 400 n2 = 50 n3 = 100 n4 = 200 A = np.random.random((n1,n2,n3)) B = np.random.random((n3,n4)) direct = A @ B # result has shape (n1,n2,n4) indirect = (A.reshape((n1*n2,n3)) @ B).reshape((n1,n2,n4)) np.allclose(direct,indirect) # True %timeit A @ B #1 loop, best of 3: 195 ms per loop %timeit (A.reshape((n1*n2,n3)) @ B).reshape((n1,n2,n4)) #10 loops, best of 3: 27.7 ms per loop "><pre class="notranslate"><code class="notranslate">import numpy as np n1 = 400 n2 = 50 n3 = 100 n4 = 200 A = np.random.random((n1,n2,n3)) B = np.random.random((n3,n4)) direct = A @ B # result has shape (n1,n2,n4) indirect = (A.reshape((n1*n2,n3)) @ B).reshape((n1,n2,n4)) np.allclose(direct,indirect) # True %timeit A @ B #1 loop, best of 3: 195 ms per loop %timeit (A.reshape((n1*n2,n3)) @ B).reshape((n1,n2,n4)) #10 loops, best of 3: 27.7 ms per loop </code></pre></div>
0
<p dir="auto">As an Javascript developer, I tried to implement the dependency injection, by using the tool introduced in rbuckton/ReflectDecorators (<a href="https://github.com/rbuckton/ReflectDecorators.git">https://github.com/rbuckton/ReflectDecorators.git</a>). However, I just found the following code will be compiled into an anonymous class declaration in js file.</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" @log class A { constructor() { Debug.log('A created'); } afunc() {} bfunc() {} }"><pre class="notranslate"> @<span class="pl-s1">log</span> <span class="pl-k">class</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">Debug</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'A created'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">afunc</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-en">bfunc</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">The decorator <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/log/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/log">@log</a> is quite simple, it is to print the class name.</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// class decorator function log(target: any) { console.log(target.name); .... }"><pre class="notranslate"><span class="pl-c">// class decorator</span> <span class="pl-k">function</span> <span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-smi">any</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">target</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">)</span><span class="pl-kos">;</span> ...<span class="pl-kos">.</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">The generated javascript is as follows. I turned "emitDecoratorMetadata" to true in tsconfig.json</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" let A = class { constructor() { Debug_1.Debug.log('A created'); } afunc() { } bfunc() { } }; A = __decorate([ decorators_1.log, __metadata('design:paramtypes', []) ], A);"><pre class="notranslate"> <span class="pl-k">let</span> <span class="pl-v">A</span> <span class="pl-c1">=</span> <span class="pl-k">class</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-v">Debug_1</span><span class="pl-kos">.</span><span class="pl-c1">Debug</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'A created'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">afunc</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span> <span class="pl-en">bfunc</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-v">A</span> <span class="pl-c1">=</span> <span class="pl-en">__decorate</span><span class="pl-kos">(</span><span class="pl-kos">[</span> <span class="pl-s1">decorators_1</span><span class="pl-kos">.</span><span class="pl-c1">log</span><span class="pl-kos">,</span> <span class="pl-en">__metadata</span><span class="pl-kos">(</span><span class="pl-s">'design:paramtypes'</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">)</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-v">A</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">I am so frustrated to see that constructor A is actually a class without name - the target in decorator code is an actually anonymous constructor function.</p> <p dir="auto">I do not know why. I can not figure out why make it anonymous if one decorator is there. As a result, I have to implement it like the following, which looks really odd and confusing, by using metadata Reflect API:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" @logClass('A') class A { constructor() { Debug.log('A created'); } afunc() {} bfunc() {} }"><pre class="notranslate"> @<span class="pl-en">logClass</span><span class="pl-kos">(</span><span class="pl-s">'A'</span><span class="pl-kos">)</span> <span class="pl-k">class</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">Debug</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'A created'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">afunc</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-en">bfunc</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">After investigation in sources of Typescript, I found the following lines related to this issue:<br> in function emitClassLikeDeclarationForES6AndHigher(node), it reads:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" ... write(&quot;class&quot;); if ((node.name || (node.flags &amp; 1024 &amp;&amp; staticProperties.length &gt; 0)) &amp;&amp; !thisNodeIsDecorated) { write(&quot; &quot;); emitDeclarationName(node); }"><pre class="notranslate"> ... <span class="pl-en">write</span><span class="pl-kos">(</span><span class="pl-s">"class"</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-kos">(</span><span class="pl-s1">node</span><span class="pl-kos">.</span><span class="pl-c1">name</span> <span class="pl-c1">||</span> <span class="pl-kos">(</span><span class="pl-s1">node</span><span class="pl-kos">.</span><span class="pl-c1">flags</span> <span class="pl-c1">&amp;</span> <span class="pl-c1">1024</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">staticProperties</span><span class="pl-kos">.</span><span class="pl-c1">length</span> <span class="pl-c1">&gt;</span> <span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-c1">!</span><span class="pl-s1">thisNodeIsDecorated</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">write</span><span class="pl-kos">(</span><span class="pl-s">" "</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">emitDeclarationName</span><span class="pl-kos">(</span><span class="pl-s1">node</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">So while compiling class A, thisNodeIsDecorated is true and the name is never emitted. May I ask why? Would it better to just emit class name, like the following? Please let me know, if I missed something. Thanks very much.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" let A = class A { constructor() { Debug_1.Debug.log('A created'); } afunc() { } bfunc() { } }; A = __decorate([ decorators_1.log, __metadata('design:paramtypes', []) ], A); "><pre class="notranslate"> <span class="pl-k">let</span> <span class="pl-v">A</span> <span class="pl-c1">=</span> <span class="pl-k">class</span> <span class="pl-v">A</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-v">Debug_1</span><span class="pl-kos">.</span><span class="pl-c1">Debug</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'A created'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">afunc</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span> <span class="pl-en">bfunc</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-v">A</span> <span class="pl-c1">=</span> <span class="pl-en">__decorate</span><span class="pl-kos">(</span><span class="pl-kos">[</span> <span class="pl-s1">decorators_1</span><span class="pl-kos">.</span><span class="pl-c1">log</span><span class="pl-kos">,</span> <span class="pl-en">__metadata</span><span class="pl-kos">(</span><span class="pl-s">'design:paramtypes'</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">)</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-v">A</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">I have decorator:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export function Document() { return function(objectConstructor: Function) { console.log(objectConstructor.name); // when targeting es5 it gives me what I want - the name of my class. When targeting es6 it does not give anything } }"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">function</span> <span class="pl-smi">Document</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-k">function</span><span class="pl-kos">(</span><span class="pl-s1">objectConstructor</span>: <span class="pl-smi">Function</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">objectConstructor</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// when targeting es5 it gives me what I want - the name of my class. When targeting es6 it does not give anything</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Here is decorator usage:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Document() export class User { }"><pre class="notranslate">@<span class="pl-smi">Document</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-smi">User</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Im using "User" class name to create a document called "User", I need information how class is called. I always used es5, but now when I switched to es6 compile target I dont have information about class name anymore. Is it a bug, or it by design? If second then what is the way to get the class name?</p>
1
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-local-scope-and-functions#?solution=function%20myFunction%28%29%20%7B%0A%20%20var%20myVar%20%3D%20%22foo%22%3B%0A%20%20console.log%28myVar%29%3B%0A%7D%0AmyFunction%28%29%3B%0A%0A%2F%2F%20run%20and%20check%20the%20console%20%0A%2F%2F%20myVar%20is%20not%20defined%20outside%20of%20myFunction%0A%0A%2F%2F%20now%20remove%20the%20console.log%20line%20to%20pass%20the%20test%0A%0A" rel="nofollow">Waypoint: Local Scope and Functions</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36</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 myFunction() { var myVar = &quot;foo&quot;; console.log(myVar); } myFunction(); // run and check the console // myVar is not defined outside of myFunction // now remove the console.log line to pass the test "><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">myFunction</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">myVar</span> <span class="pl-c1">=</span> <span class="pl-s">"foo"</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">myVar</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">myFunction</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// run and check the console </span> <span class="pl-c">// myVar is not defined outside of myFunction</span> <span class="pl-c">// now remove the console.log line to pass the test</span> </pre></div>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-local-scope-and-functions#?solution=function%20myFunction%28%29%20%7B%0A%20%20var%20myVar%20%3D%205%3B%20%20%0A%20%20console.log%28myVar%29%3B%0A%7D%0AmyFunction%28%29%3B%0A%0A%2F%2F%20run%20and%20check%20the%20console%20%0A%2F%2F%20myVar%20is%20not%20defined%20outside%20of%20myFunction%0A%0A%2F%2F%20now%20remove%20the%20console.log%20line%20to%20pass%20the%20test%0A%0A" rel="nofollow">Waypoint: Local Scope and Functions</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.48 Safari/537.36</code>.</p> <p dir="auto">The test asks you to remove the second console.log() to pass. When you remove the second console.log() it still fails. You have to remove both console.log() calls to pass(including the one inside myFunction().)</p> <p dir="auto">Reproducible every time by removing the console.log() outside of myFunction(), as asked by test. I'm assuming this is a bug in the test and not the text as there's no reason to remove the console.log() call within myFunction().</p>
1
<p dir="auto">I used the neo4j-admin command to import the csv file to initialize the database, but an exception occurred when I executed the command. The exception message indicates that the <strong>:TYPE</strong> column is a empty value, but I checked all the csv files, and no empty value was found.</p> <p dir="auto"><strong>Neo4j Version:</strong> 4.3.2-enterprise<br> <strong>Operating System:</strong> RHEL7 (physical server)<br> <strong>JDK:</strong> 11.0.12, Name:OpenJDK 64-Bit Server VM, Vendor:Red Hat, Inc</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">Imported successfully</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">I'm getting the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="WARNING Import failed. The store files in /opt/neo4j-enterprise-4.3.2/data/databases/neo4j are left as they are, although they are likely in an unusable state. Starting a database on these store files will likely fail or observe inconsistent records so start at your own risk or delete the store manually java.lang.IllegalArgumentException: org.neo4j.internal.kernel.api.exceptions.schema.IllegalTokenNameException: '' is not a valid token name. Token names cannot be empty or contain any null-bytes. at org.neo4j.internal.batchimport.store.BatchingTokenRepository.getOrCreateId(BatchingTokenRepository.java:94) at org.neo4j.internal.batchimport.store.BatchingTokenRepository.getOrCreateId(BatchingTokenRepository.java:76) at org.neo4j.internal.batchimport.RelationshipImporter.type(RelationshipImporter.java:155) at org.neo4j.internal.batchimport.input.InputEntity.replayOnto(InputEntity.java:354) at org.neo4j.internal.batchimport.input.csv.EagerCsvInputChunk.next(EagerCsvInputChunk.java:45) at org.neo4j.internal.batchimport.input.csv.CsvInputChunkProxy.next(CsvInputChunkProxy.java:75) at org.neo4j.internal.batchimport.ExhaustingEntityImporterRunnable.run(ExhaustingEntityImporterRunnable.java:57) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) at org.neo4j.internal.helpers.NamedThreadFactory$2.run(NamedThreadFactory.java:110) Caused by: org.neo4j.internal.kernel.api.exceptions.schema.IllegalTokenNameException: '' is not a valid token name. Token names cannot be empty or contain any null-bytes. at org.neo4j.internal.kernel.api.TokenWrite.checkValidTokenName(TokenWrite.java:139) at org.neo4j.internal.batchimport.store.BatchingTokenRepository.getOrCreateId(BatchingTokenRepository.java:90) ... 12 more "><pre class="notranslate"><code class="notranslate">WARNING Import failed. The store files in /opt/neo4j-enterprise-4.3.2/data/databases/neo4j are left as they are, although they are likely in an unusable state. Starting a database on these store files will likely fail or observe inconsistent records so start at your own risk or delete the store manually java.lang.IllegalArgumentException: org.neo4j.internal.kernel.api.exceptions.schema.IllegalTokenNameException: '' is not a valid token name. Token names cannot be empty or contain any null-bytes. at org.neo4j.internal.batchimport.store.BatchingTokenRepository.getOrCreateId(BatchingTokenRepository.java:94) at org.neo4j.internal.batchimport.store.BatchingTokenRepository.getOrCreateId(BatchingTokenRepository.java:76) at org.neo4j.internal.batchimport.RelationshipImporter.type(RelationshipImporter.java:155) at org.neo4j.internal.batchimport.input.InputEntity.replayOnto(InputEntity.java:354) at org.neo4j.internal.batchimport.input.csv.EagerCsvInputChunk.next(EagerCsvInputChunk.java:45) at org.neo4j.internal.batchimport.input.csv.CsvInputChunkProxy.next(CsvInputChunkProxy.java:75) at org.neo4j.internal.batchimport.ExhaustingEntityImporterRunnable.run(ExhaustingEntityImporterRunnable.java:57) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) at org.neo4j.internal.helpers.NamedThreadFactory$2.run(NamedThreadFactory.java:110) Caused by: org.neo4j.internal.kernel.api.exceptions.schema.IllegalTokenNameException: '' is not a valid token name. Token names cannot be empty or contain any null-bytes. at org.neo4j.internal.kernel.api.TokenWrite.checkValidTokenName(TokenWrite.java:139) at org.neo4j.internal.batchimport.store.BatchingTokenRepository.getOrCreateId(BatchingTokenRepository.java:90) ... 12 more </code></pre></div> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">The header being like</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ID,Address,_source_id,_target_id,:START_ID,:END_ID,:TYPE"><pre class="notranslate"><code class="notranslate">ID,Address,_source_id,_target_id,:START_ID,:END_ID,:TYPE </code></pre></div> <p dir="auto">The data being like</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="XXXXXXXX1,&quot;#12-11 XXXX XXXXX XXXX XXXXX, XXXXX XXXXX&quot;,XXXXXXXX1,&quot;#12-11 XXXX XXXXX XXXX XXXXX, XXXXX XXXXX&quot;,XXXXXXXX1,&quot;#12-11 XXXX XXXXX XXXX XXXXX, XXXXX XXXXX&quot;,Address XXXXXXXX2,&quot;#35-00 XXXX XXXXX XXXX XXXXX, XXXXX XXXXX&quot;,XXXXXXXX2,&quot;#35-00 XXXX XXXXX XXXX XXXXX, XXXXX XXXXX&quot;,XXXXXXXX2,&quot;#35-00 XXXX XXXXX XXXX XXXXX, XXXXX XXXXX&quot;,Address"><pre class="notranslate"><code class="notranslate">XXXXXXXX1,"#12-11 XXXX XXXXX XXXX XXXXX, XXXXX XXXXX",XXXXXXXX1,"#12-11 XXXX XXXXX XXXX XXXXX, XXXXX XXXXX",XXXXXXXX1,"#12-11 XXXX XXXXX XXXX XXXXX, XXXXX XXXXX",Address XXXXXXXX2,"#35-00 XXXX XXXXX XXXX XXXXX, XXXXX XXXXX",XXXXXXXX2,"#35-00 XXXX XXXXX XXXX XXXXX, XXXXX XXXXX",XXXXXXXX2,"#35-00 XXXX XXXXX XXXX XXXXX, XXXXX XXXXX",Address </code></pre></div> <p dir="auto">Command used like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="neo4j-admin import --database=neo4j --multiline-fields=true --skip-bad-relationships=true --skip-duplicate-nodes=true --nodes import/tmp0dxbylxm.csv,import/tmp7e7712_l.csv --relationships import/tmpagndf1k5.csv,import/tmp51gid3pj.csv,import/tmpb669w63v.csv"><pre class="notranslate"><code class="notranslate">neo4j-admin import --database=neo4j --multiline-fields=true --skip-bad-relationships=true --skip-duplicate-nodes=true --nodes import/tmp0dxbylxm.csv,import/tmp7e7712_l.csv --relationships import/tmpagndf1k5.csv,import/tmp51gid3pj.csv,import/tmpb669w63v.csv </code></pre></div> <h3 dir="auto">Additional information</h3> <p dir="auto">Sorry that the original data cannot be provided for security reasons.<br> I can be sure that the type column in the csv is not empty, but there will be spaces between words.<br> All csv is generated based on the to_csv method of the pandas library in python.<br> <code class="notranslate">dataframe.to_csv(temp_file, sep=',', header=True, index=False, encoding='utf-8', quotechar='"')</code><br> I will be very appreciate if you can provide more information that may cause the exception.</p>
<h3 dir="auto">Environment</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="neo4j-enterprise-3.4.1-windows.zip &amp; neo4j-enterprise-3.4.4-windows.zip neo4j.conf dbms.memory.heap.initial_size=5g dbms.memory.heap.max_size=5g dbms.memory.pagecache.size=7g # dbms.directories.import=import PC: Surface Pro 4 OS: Microsoft Windows 10 Professional 64bit 10.0.15063 CPU: Intel(R) Core(TM) i7-6650U CPU @ 2.20GHz 2208Mhz, 2 cores, 4 logic processors HD: 1 TB SSD + 1 TB SSD RAM: 16 GB Data Source: https://snap.stanford.edu/data/twitter-2010.txt.gz twitter-2010.txt.gz (5,501,785,223 bytes, 1,468,365,182 lines)"><pre class="notranslate"><code class="notranslate">neo4j-enterprise-3.4.1-windows.zip &amp; neo4j-enterprise-3.4.4-windows.zip neo4j.conf dbms.memory.heap.initial_size=5g dbms.memory.heap.max_size=5g dbms.memory.pagecache.size=7g # dbms.directories.import=import PC: Surface Pro 4 OS: Microsoft Windows 10 Professional 64bit 10.0.15063 CPU: Intel(R) Core(TM) i7-6650U CPU @ 2.20GHz 2208Mhz, 2 cores, 4 logic processors HD: 1 TB SSD + 1 TB SSD RAM: 16 GB Data Source: https://snap.stanford.edu/data/twitter-2010.txt.gz twitter-2010.txt.gz (5,501,785,223 bytes, 1,468,365,182 lines) </code></pre></div> <h3 dir="auto">Steps to reproduce</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Step 0: CREATE CONSTRAINT ON (person:Person) ASSERT person.id IS UNIQUE Step 1: (did complete in 8,210,673 ms) USING PERIODIC COMMIT 1000 LOAD CSV FROM &quot;file:///C:/poc/import/twitter-2010.txt.gz&quot; AS line FIELDTERMINATOR ' ' WITH DISTINCT toInt(line[0]) as id MERGE (n:Person {id:id}) ON CREATE SET n.name = toString(id), n.sex = [&quot;Male&quot;, &quot;Female&quot;][(id % 2)], n.age = (id % 50) + 15, n.country = [&quot;China&quot;, &quot;U.S.A&quot;, &quot;France&quot;, &quot;Britain&quot;, &quot;Russia&quot;, &quot;Canada&quot;, &quot;Germany&quot;, &quot;Japan&quot;, &quot;Italy&quot;][(id % 9)] Step 2: (did complete in 3,803,455 ms) USING PERIODIC COMMIT 1000 LOAD CSV FROM &quot;file:///C:/poc/import/twitter-2010.txt.gz&quot; AS line FIELDTERMINATOR ' ' WITH DISTINCT toInt(line[1]) as id MERGE (n:Person {id:id}) ON CREATE SET n.name = toString(id), n.sex = [&quot;Male&quot;, &quot;Female&quot;][(id % 2)], n.age = (id % 50) + 15, n.country = [&quot;China&quot;, &quot;U.S.A&quot;, &quot;France&quot;, &quot;Britain&quot;, &quot;Russia&quot;, &quot;Canada&quot;, &quot;Germany&quot;, &quot;Japan&quot;, &quot;Italy&quot;][(id % 9)] Step 3: (didn't complete even after 2 days or longer with no error report either) USING PERIODIC COMMIT 1000 LOAD CSV FROM &quot;file:///C:/poc/import/twitter-2010.txt.gz&quot; AS line FIELDTERMINATOR ' ' WITH toInt(line[0]) as id, toInt(line[1]) as id1 MATCH (n:Person {id:id}), (n1:Person {id:id1}) MERGE (n)-[r:FOLLOWS]-&gt;(n1) ON CREATE SET r.degree = (id+id1)%100"><pre class="notranslate"><code class="notranslate">Step 0: CREATE CONSTRAINT ON (person:Person) ASSERT person.id IS UNIQUE Step 1: (did complete in 8,210,673 ms) USING PERIODIC COMMIT 1000 LOAD CSV FROM "file:///C:/poc/import/twitter-2010.txt.gz" AS line FIELDTERMINATOR ' ' WITH DISTINCT toInt(line[0]) as id MERGE (n:Person {id:id}) ON CREATE SET n.name = toString(id), n.sex = ["Male", "Female"][(id % 2)], n.age = (id % 50) + 15, n.country = ["China", "U.S.A", "France", "Britain", "Russia", "Canada", "Germany", "Japan", "Italy"][(id % 9)] Step 2: (did complete in 3,803,455 ms) USING PERIODIC COMMIT 1000 LOAD CSV FROM "file:///C:/poc/import/twitter-2010.txt.gz" AS line FIELDTERMINATOR ' ' WITH DISTINCT toInt(line[1]) as id MERGE (n:Person {id:id}) ON CREATE SET n.name = toString(id), n.sex = ["Male", "Female"][(id % 2)], n.age = (id % 50) + 15, n.country = ["China", "U.S.A", "France", "Britain", "Russia", "Canada", "Germany", "Japan", "Italy"][(id % 9)] Step 3: (didn't complete even after 2 days or longer with no error report either) USING PERIODIC COMMIT 1000 LOAD CSV FROM "file:///C:/poc/import/twitter-2010.txt.gz" AS line FIELDTERMINATOR ' ' WITH toInt(line[0]) as id, toInt(line[1]) as id1 MATCH (n:Person {id:id}), (n1:Person {id:id1}) MERGE (n)-[r:FOLLOWS]-&gt;(n1) ON CREATE SET r.degree = (id+id1)%100 </code></pre></div> <h3 dir="auto">Actual behavior</h3> <p dir="auto">Step 0, 1, 2 proves to be successful where step 1 took 8,210,673 ms, step 2 took 3,803,455 ms, but step 3 <strong>didn't complete even after 2 days or longer with no error report either</strong>.</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">Step 3 are exprected to be complete within a few hrs or within a day max and if not it should at least generating an error report.</p> <h3 dir="auto">Log Files</h3> <p dir="auto"><a href="https://github.com/neo4j/neo4j/files/2211038/debug.log">debug.log</a><br> <a href="https://github.com/neo4j/neo4j/files/2211039/security.log">security.log</a></p>
0
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/scipy/ticket/1237" rel="nofollow">http://projects.scipy.org/scipy/ticket/1237</a> on 2010-07-17 by trac user cjgohlke, assigned to unknown.</em></p> <p dir="auto">The attached patches enable ndimage to work on Python 3.1. All tests pass on Python for Windows 2,6, 2.7, and 3.1, 32 and 64 bit.</p>
<p dir="auto">I'm unable to install scipy using pip3. I only have one version of python installed.<br> python3 version 3.9.0<br> pip3 version 20.2.4<br> I am able to install pandas and numpy but facing some error (link below) while trying to install scipy / seaborn.</p> <p dir="auto"><a href="https://www.codepile.net/pile/M1a0nVgD" rel="nofollow">https://www.codepile.net/pile/M1a0nVgD</a></p>
0
<p dir="auto">The specific renderer depends on a global variable named 'camera'. If in any of the three deferred testcases you rename the 'camera' variable to lets say 'my_camera' then the renderer does not work giving the error "Uncaught ReferenceError: camera is not defined"</p>
<p dir="auto">If you don't have a global camera named <code class="notranslate">camera</code>, <code class="notranslate">WebGLDeferredRenderer</code> will throw an exception: <code class="notranslate">Uncaught ReferenceError: camera is not defined WebGLDeferredRenderer.js:335</code></p> <p dir="auto">Test case: Search&amp;replace (i.e. change) the name of the variable <code class="notranslate">camera</code> in e.g. <code class="notranslate">webgldeferred_animation.html</code></p>
1
<p dir="auto">Some notes about configuration:</p> <ul dir="auto"> <li>pip install celery -U (3.0.19 and deps, with python-dateutil 1.5.0)</li> <li>CELERYD_TASK_TIME_LIMIT = 1800 # 30 minutes</li> <li>CELERYD_MAX_TASKS_PER_CHILD = 100000</li> </ul> <p dir="auto">Here's some (hopefully) helpful diagnostic information:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(Pdb) hp.heap().get_rp() Reference Pattern by &lt;[dict of] class&gt;. 0: _ --- [-] 425547 (__builtin__.cell | __builtin__.weakcallableproxy | __bu... 1: a [-] 34934 dict (no owner): 0x38e1ee0*32, 0x4fd8040*3, 0x4fd8160*16... 2: aa ---- [-] 15515 dict of billiard.pool.ApplyResult: 0x3aabd10..., 0x4fae190 3: a3 [-] 15515 billiard.pool.ApplyResult: 0x37fc0d0, 0x3a4c410... 4: a4 ------ [-] 15490 tuple: 0x1240f50*1, 0x38b7850*1, 0x3a4c190*1... 5: a5 [-] 15490 celery.utils.timer2.Entry: 0x38aed50, 0x38aedb8... 6: a6 -------- [-] 15490 tuple: 0x38bc280*3, 0x38bc320*3, 0x3a540a0*3... 7: a7 [+] 1 list: 0x38920e0*15491 8: a5b ------- [-] 7 dict of billiard.pool.ApplyResult: 0xcfccd90..., 0xcfd3cd0 9: a5ba [+] 7 billiard.pool.ApplyResult: 0xcfccd90, 0xcfd3690... &lt;Type e.g. '_.more' for more.&gt; (Pdb) hp.heap().get_rp() Reference Pattern by &lt;[dict of] class&gt;. 0: _ --- [-] 796231 (__builtin__.cell | __builtin__.weakcallableproxy | __bu... 1: a [-] 66062 dict (no owner): 0x38e1ee0*40, 0x4fd8040*3, 0x4fd8160*16... 2: aa ---- [-] 21741 dict of billiard.pool.ApplyResult: 0x3aabd10..., 0x4fae190 3: a3 [-] 21741 billiard.pool.ApplyResult: 0x37fc0d0, 0x3a4c410... 4: a4 ------ [-] 21709 tuple: 0x1240f50*1, 0x38b7850*1, 0x3a4c190*1... 5: a5 [-] 21709 celery.utils.timer2.Entry: 0x38aed50, 0x38aedb8... 6: a6 -------- [-] 21709 tuple: 0x38bc280*3, 0x38bc320*3, 0x3a540a0*3... 7: a7 [+] 1 list: 0x38920e0*21709 8: a5b ------- [-] 8 dict of billiard.pool.ApplyResult: 0x10789a50... 9: a5ba [+] 8 billiard.pool.ApplyResult: 0x10789a50, 0x10789b90... &lt;Type e.g. '_.more' for more.&gt; (Pdb) hp.heap().get_rp() Reference Pattern by &lt;[dict of] class&gt;. 0: _ --- [-] 2767466 (__builtin__.cell | __builtin__.weakcallableproxy | __b... 1: a [-] 213471 dict (no owner): 0x38e1ee0*10, 0x4fd8040*3... 2: aa ---- [-] 51209 dict of billiard.pool.ApplyResult: 0x3aabd10..., 0x4fae190 3: a3 [-] 51209 billiard.pool.ApplyResult: 0x37fc0d0, 0x3a4c410... 4: a4 ------ [-] 51207 tuple: 0x1240f50*1, 0x38b7850*1, 0x3a4c190*1... 5: a5 [-] 51207 celery.utils.timer2.Entry: 0x38aed50, 0x38aedb8... 6: a6 -------- [-] 51207 tuple: 0x38bc280*3, 0x38bc320*3, 0x3a540a0*3... 7: a7 [+] 1 list: 0x38920e0*51212 8: a5b ------- [-] 8 dict of billiard.pool.ApplyResult: 0x21c8bcd0... 9: a5ba [+] 8 billiard.pool.ApplyResult: 0x21c8bcd0, 0x21d46150... &lt;Type e.g. '_.more' for more.&gt; (Pdb) heap = hp.heap() (Pdb) heap[0] Partition of a set of 367501 objects. Total size = 159517240 bytes. Index Count % Size % Cumulative % Kind (class / dict of class) 0 367501 100 159517240 100 159517240 100 dict (no owner) (Pdb) heap[0].byrcs Partition of a set of 367501 objects. Total size = 159517240 bytes. Index Count % Size % Cumulative % Referrers by Kind (class / dict of class) 0 45910 12 48113680 30 48113680 30 celery.worker.job.Request 1 91820 25 47047712 29 95161392 60 celery.worker.job.Request, dict (no owner) 2 137730 37 38564400 24 133725792 84 kombu.transport.librabbitmq.Message 3 45942 13 12863760 8 146589552 92 celery.utils.timer2.Entry 4 45911 12 12855080 8 159444632 100 dict (no owner) 5 138 0 39408 0 159484040 100 dict of guppy.etc.Glue.Owner 6 42 0 24048 0 159508088 100 dict of guppy.etc.Glue.Share 7 3 0 6984 0 159515072 100 dict of guppy.heapy.UniSet.Summary_str 8 1 0 1048 0 159516120 100 __builtin__.cell 9 2 0 560 0 159516680 100 &lt;Nothing&gt; &lt;2 more rows. Type e.g. '_.more' to view.&gt;"><pre class="notranslate"><code class="notranslate">(Pdb) hp.heap().get_rp() Reference Pattern by &lt;[dict of] class&gt;. 0: _ --- [-] 425547 (__builtin__.cell | __builtin__.weakcallableproxy | __bu... 1: a [-] 34934 dict (no owner): 0x38e1ee0*32, 0x4fd8040*3, 0x4fd8160*16... 2: aa ---- [-] 15515 dict of billiard.pool.ApplyResult: 0x3aabd10..., 0x4fae190 3: a3 [-] 15515 billiard.pool.ApplyResult: 0x37fc0d0, 0x3a4c410... 4: a4 ------ [-] 15490 tuple: 0x1240f50*1, 0x38b7850*1, 0x3a4c190*1... 5: a5 [-] 15490 celery.utils.timer2.Entry: 0x38aed50, 0x38aedb8... 6: a6 -------- [-] 15490 tuple: 0x38bc280*3, 0x38bc320*3, 0x3a540a0*3... 7: a7 [+] 1 list: 0x38920e0*15491 8: a5b ------- [-] 7 dict of billiard.pool.ApplyResult: 0xcfccd90..., 0xcfd3cd0 9: a5ba [+] 7 billiard.pool.ApplyResult: 0xcfccd90, 0xcfd3690... &lt;Type e.g. '_.more' for more.&gt; (Pdb) hp.heap().get_rp() Reference Pattern by &lt;[dict of] class&gt;. 0: _ --- [-] 796231 (__builtin__.cell | __builtin__.weakcallableproxy | __bu... 1: a [-] 66062 dict (no owner): 0x38e1ee0*40, 0x4fd8040*3, 0x4fd8160*16... 2: aa ---- [-] 21741 dict of billiard.pool.ApplyResult: 0x3aabd10..., 0x4fae190 3: a3 [-] 21741 billiard.pool.ApplyResult: 0x37fc0d0, 0x3a4c410... 4: a4 ------ [-] 21709 tuple: 0x1240f50*1, 0x38b7850*1, 0x3a4c190*1... 5: a5 [-] 21709 celery.utils.timer2.Entry: 0x38aed50, 0x38aedb8... 6: a6 -------- [-] 21709 tuple: 0x38bc280*3, 0x38bc320*3, 0x3a540a0*3... 7: a7 [+] 1 list: 0x38920e0*21709 8: a5b ------- [-] 8 dict of billiard.pool.ApplyResult: 0x10789a50... 9: a5ba [+] 8 billiard.pool.ApplyResult: 0x10789a50, 0x10789b90... &lt;Type e.g. '_.more' for more.&gt; (Pdb) hp.heap().get_rp() Reference Pattern by &lt;[dict of] class&gt;. 0: _ --- [-] 2767466 (__builtin__.cell | __builtin__.weakcallableproxy | __b... 1: a [-] 213471 dict (no owner): 0x38e1ee0*10, 0x4fd8040*3... 2: aa ---- [-] 51209 dict of billiard.pool.ApplyResult: 0x3aabd10..., 0x4fae190 3: a3 [-] 51209 billiard.pool.ApplyResult: 0x37fc0d0, 0x3a4c410... 4: a4 ------ [-] 51207 tuple: 0x1240f50*1, 0x38b7850*1, 0x3a4c190*1... 5: a5 [-] 51207 celery.utils.timer2.Entry: 0x38aed50, 0x38aedb8... 6: a6 -------- [-] 51207 tuple: 0x38bc280*3, 0x38bc320*3, 0x3a540a0*3... 7: a7 [+] 1 list: 0x38920e0*51212 8: a5b ------- [-] 8 dict of billiard.pool.ApplyResult: 0x21c8bcd0... 9: a5ba [+] 8 billiard.pool.ApplyResult: 0x21c8bcd0, 0x21d46150... &lt;Type e.g. '_.more' for more.&gt; (Pdb) heap = hp.heap() (Pdb) heap[0] Partition of a set of 367501 objects. Total size = 159517240 bytes. Index Count % Size % Cumulative % Kind (class / dict of class) 0 367501 100 159517240 100 159517240 100 dict (no owner) (Pdb) heap[0].byrcs Partition of a set of 367501 objects. Total size = 159517240 bytes. Index Count % Size % Cumulative % Referrers by Kind (class / dict of class) 0 45910 12 48113680 30 48113680 30 celery.worker.job.Request 1 91820 25 47047712 29 95161392 60 celery.worker.job.Request, dict (no owner) 2 137730 37 38564400 24 133725792 84 kombu.transport.librabbitmq.Message 3 45942 13 12863760 8 146589552 92 celery.utils.timer2.Entry 4 45911 12 12855080 8 159444632 100 dict (no owner) 5 138 0 39408 0 159484040 100 dict of guppy.etc.Glue.Owner 6 42 0 24048 0 159508088 100 dict of guppy.etc.Glue.Share 7 3 0 6984 0 159515072 100 dict of guppy.heapy.UniSet.Summary_str 8 1 0 1048 0 159516120 100 __builtin__.cell 9 2 0 560 0 159516680 100 &lt;Nothing&gt; &lt;2 more rows. Type e.g. '_.more' to view.&gt; </code></pre></div>
<p dir="auto">the dependency on future-0.18.2 adds many packages that squat on py3 stdlib names eg:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/_dummy_thread/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/_markupbase/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/_thread/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/builtins/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/copyreg/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/future-0.18.2.dist-info/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/future/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/html/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/http/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/libfuturize/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/libpasteurize/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/past/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/queue/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/reprlib/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/socketserver/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/tkinter/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/winreg/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/xmlrpc/*"><pre class="notranslate"><code class="notranslate"> /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/_dummy_thread/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/_markupbase/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/_thread/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/builtins/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/copyreg/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/future-0.18.2.dist-info/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/future/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/html/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/http/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/libfuturize/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/libpasteurize/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/past/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/queue/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/reprlib/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/socketserver/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/tkinter/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/winreg/* /home/graingert/.virtualenvs/celery2/lib/python2.7/site-packages/xmlrpc/* </code></pre></div> <p dir="auto">this breaks packages that rely on feature detection of these modules.</p> <p dir="auto">I propose replacing future with six because:</p> <ul dir="auto"> <li>future does not provide a wheel, six has a wheel</li> <li>future last release Oct 31, 2019, six released Oct 31, 2019</li> <li>future is 829.2 kB, six is (11.0 kB)</li> <li>celery already depends on six, via kombu and importlib-metadata, and so swapping out future with six would save 829.2 kB, rather than just 818.2 kB</li> </ul> <h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br> <a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br> on reporting bugs.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br> for similar or identical bug reports.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br> for existing proposed fixes.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br> to find out if the bug was already fixed in the master branch.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all related issues and possible duplicate issues<br> in this issue (If there are none, check this box anyway).</li> </ul> <h2 dir="auto">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.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 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"> 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 &amp; 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 &amp; Settings</h2> <p dir="auto"><strong>Celery version</strong>:</p> <details> <summary><b><code class="notranslate">celery report</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Steps to Reproduce</h1> <h2 dir="auto">Required Dependencies</h2> <ul dir="auto"> <li><strong>Minimal Python Version</strong>: N/A or Unknown</li> <li><strong>Minimal Celery Version</strong>: N/A or Unknown</li> <li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li> <li><strong>Minimal Broker Version</strong>: N/A or Unknown</li> <li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li> <li><strong>Minimal OS and/or Kernel Version</strong>: N/A or Unknown</li> <li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li> <li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li> </ul> <h3 dir="auto">Python Packages</h3> <details> <summary><b><code class="notranslate">pip freeze</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></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> <h1 dir="auto">Actual Behavior</h1>
0
<h6 dir="auto">Related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="708391094" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/7660" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/7660/hovercard" href="https://github.com/denoland/deno/issues/7660">#7660</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="713323770" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/7789" data-hovercard-type="pull_request" data-hovercard-url="/denoland/deno/pull/7789/hovercard" href="https://github.com/denoland/deno/pull/7789">#7789</a></h6> <p dir="auto">If we attempt to send a http request to any plain ip over https we receive an 'invalid dnsname' error, this can be demonstrated by running</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="deno eval &quot;await fetch('https://8.8.8.8')&quot;"><pre class="notranslate">deno <span class="pl-c1">eval</span> <span class="pl-s"><span class="pl-pds">"</span>await fetch('https://8.8.8.8')<span class="pl-pds">"</span></span></pre></div> <p dir="auto">which returns the following error</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: Uncaught Http: error sending request for url (https://8.8.8.8/): error trying to connect: invalid dnsname at Object.jsonOpAsync (core.js:236:13) at async fetch (deno:op_crates/fetch/26_fetch.js:1272:29) at async file:///C:/home/$deno$eval.ts:1:1"><pre class="notranslate"><code class="notranslate">error: Uncaught Http: error sending request for url (https://8.8.8.8/): error trying to connect: invalid dnsname at Object.jsonOpAsync (core.js:236:13) at async fetch (deno:op_crates/fetch/26_fetch.js:1272:29) at async file:///C:/home/$deno$eval.ts:1:1 </code></pre></div> <p dir="auto">Deno's fetch implementation uses reqwest to send the http requests, which has been configured to use rustls for the TLS implementation.</p> <p dir="auto">This error seems to be a common issue when using rustls as it doesn't want to resolve plain ip addresses over https.</p> <p dir="auto">From <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="708391094" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/7660" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/7660/hovercard" href="https://github.com/denoland/deno/issues/7660">#7660</a>:</p> <blockquote> <p dir="auto">There is currently a limitation using Rustls when sending http requests to plain ip addresses (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="473155612" data-permission-text="Title is private" data-url="https://github.com/rustls/rustls/issues/281" data-hovercard-type="issue" data-hovercard-url="/rustls/rustls/issues/281/hovercard" href="https://github.com/rustls/rustls/issues/281">rustls/rustls#281</a>) which seems to stem from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="243165177" data-permission-text="Title is private" data-url="https://github.com/briansmith/webpki/issues/54" data-hovercard-type="issue" data-hovercard-url="/briansmith/webpki/issues/54/hovercard" href="https://github.com/briansmith/webpki/issues/54">briansmith/webpki#54</a></p> </blockquote> <p dir="auto">This most likely means the issue stems from a dependency of a dependency of Deno which could take some time to fix as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="243165177" data-permission-text="Title is private" data-url="https://github.com/briansmith/webpki/issues/54" data-hovercard-type="issue" data-hovercard-url="/briansmith/webpki/issues/54/hovercard" href="https://github.com/briansmith/webpki/issues/54">briansmith/webpki#54</a> hasn't seen any changes for the 3 years the issue has been alive.</p> <h2 dir="auto">Should this be fixed/resolved?</h2> <p dir="auto">I think this a valid concern and should be discussed because the rfc for X.509 certificates state that ip addresses are valid identifiers plus there are multiple reasons to send requests over https to ip addresses.</p> <h6 dir="auto">RFC 5280, 5.2.2 (<a href="https://tools.ietf.org/html/rfc5280#section-5.2.2" rel="nofollow">https://tools.ietf.org/html/rfc5280#section-5.2.2</a>)</h6> <blockquote> <p dir="auto">The issuer alternative name extension allows additional identities to be associated with the issuer of the CRL. Defined options include an electronic mail address (rfc822Name), a DNS name, an IP address, and a URI. Multiple instances of a name form and multiple name forms may be included.</p> </blockquote> <h2 dir="auto">Possible Fixes</h2> <ul dir="auto"> <li>Moving away from Rustls: As seen and tested in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="713323770" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/7789" data-hovercard-type="pull_request" data-hovercard-url="/denoland/deno/pull/7789/hovercard" href="https://github.com/denoland/deno/pull/7789">#7789</a> this issue seems to be resolved if we move away from rustls, but that's a fairly large change which as mentioned in above thread, needs to be discussed first and we would have to look at possible regressions between different TLS implementations.</li> <li>Fork and patch reqwest/rustls/webpki: There are some proposed solutions if we look into these threads (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="473155612" data-permission-text="Title is private" data-url="https://github.com/rustls/rustls/issues/281" data-hovercard-type="issue" data-hovercard-url="/rustls/rustls/issues/281/hovercard" href="https://github.com/rustls/rustls/issues/281">rustls/rustls#281</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="505720751" data-permission-text="Title is private" data-url="https://github.com/rustls/hyper-rustls/issues/84" data-hovercard-type="issue" data-hovercard-url="/rustls/hyper-rustls/issues/84/hovercard" href="https://github.com/rustls/hyper-rustls/issues/84">rustls/hyper-rustls#84</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="243165177" data-permission-text="Title is private" data-url="https://github.com/briansmith/webpki/issues/54" data-hovercard-type="issue" data-hovercard-url="/briansmith/webpki/issues/54/hovercard" href="https://github.com/briansmith/webpki/issues/54">briansmith/webpki#54</a>) but there has been little activity recently from the maintainers of the webpki repository and I think patching a dependency of a dependency of a dependency is less optimal.</li> </ul>
<p dir="auto">HTTPS fetch with bare IPv4 address fails:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt; deno run --allow-net https://deno.land/[email protected]/examples/curl.ts https://1.1.1.1/ error: Uncaught Http: error sending request for url (https://1.1.1.1/): error trying to connect: invalid dnsname at Object.jsonOpAsync (core.js:236:13) at async fetch (deno:op_crates/fetch/26_fetch.js:1272:29) at async https://deno.land/[email protected]/examples/curl.ts:3:13"><pre class="notranslate"><code class="notranslate">&gt; deno run --allow-net https://deno.land/[email protected]/examples/curl.ts https://1.1.1.1/ error: Uncaught Http: error sending request for url (https://1.1.1.1/): error trying to connect: invalid dnsname at Object.jsonOpAsync (core.js:236:13) at async fetch (deno:op_crates/fetch/26_fetch.js:1272:29) at async https://deno.land/[email protected]/examples/curl.ts:3:13 </code></pre></div> <p dir="auto">HTTPS fetch with bare IPv6 address fails:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt; deno run --allow-net https://deno.land/[email protected]/examples/curl.ts https://[2606:4700:4700::1111] error: Uncaught Http: error sending request for url (https://[2606:4700:4700::1111]/): error trying to connect: invalid dnsname at Object.jsonOpAsync (core.js:236:13) at async fetch (deno:op_crates/fetch/26_fetch.js:1272:29) at async https://deno.land/[email protected]/examples/curl.ts:3:13"><pre class="notranslate"><code class="notranslate">&gt; deno run --allow-net https://deno.land/[email protected]/examples/curl.ts https://[2606:4700:4700::1111] error: Uncaught Http: error sending request for url (https://[2606:4700:4700::1111]/): error trying to connect: invalid dnsname at Object.jsonOpAsync (core.js:236:13) at async fetch (deno:op_crates/fetch/26_fetch.js:1272:29) at async https://deno.land/[email protected]/examples/curl.ts:3:13 </code></pre></div> <p dir="auto">Real curl is fine:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt; curl -sI https://[2606:4700:4700::1111] | head -n1 HTTP/1.1 200 OK &gt; curl -sI https://1.1.1.1/ | head -n1 HTTP/1.1 200 OK"><pre class="notranslate"><code class="notranslate">&gt; curl -sI https://[2606:4700:4700::1111] | head -n1 HTTP/1.1 200 OK &gt; curl -sI https://1.1.1.1/ | head -n1 HTTP/1.1 200 OK </code></pre></div> <p dir="auto">HTTPS fetch with DNS name that resolves to said IP addresses works:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt; deno run --allow-net https://deno.land/[email protected]/examples/curl.ts https://one.one.one.one | grep \\.\\. ............................................................ .........1............1............1............1........... ........11...........11...........11...........11........... .......111..........111..........111..........111........... ......1111.........1111.........1111.........1111........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11....ooo....11....ooo....11....ooo....11........... ......111111..ooo..111111..ooo..111111..ooo..111111......... ............................................................"><pre class="notranslate"><code class="notranslate">&gt; deno run --allow-net https://deno.land/[email protected]/examples/curl.ts https://one.one.one.one | grep \\.\\. ............................................................ .........1............1............1............1........... ........11...........11...........11...........11........... .......111..........111..........111..........111........... ......1111.........1111.........1111.........1111........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11...........11...........11...........11........... ........11....ooo....11....ooo....11....ooo....11........... ......111111..ooo..111111..ooo..111111..ooo..111111......... ............................................................ </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt; deno --version deno 1.4.1 v8 8.7.75 typescript 4.0.2"><pre class="notranslate"><code class="notranslate">&gt; deno --version deno 1.4.1 v8 8.7.75 typescript 4.0.2 </code></pre></div>
1
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong><br> When using loglog plot for plotting gain/phase vs. frequency and setting yticks and labels, the ylim([min max]) writes as powers, whereas I try to set the end-points in whole numbers.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np import matplotlib.pyplot as plt freq = np.linspace(20, 20e3, 1000) # Frequency vector # Generate gain vector gain = [] for frequency in freq: gain.append(27.4) gain = np.array(gain) fig = plt.figure(dpi=300) plt.yscale('log') plt.xticks([20, 100, 1000, 10000, 20000], ['20', '100', '1k', '10k', '20k']) plt.loglog(freq, gain, color='red', lw=1.3) ytickval = [] yticknotate = [] for i in range(20, 31): ytickval.append(i) yticknotate.append(str(i)) plt.yticks(ytickval, yticknotate) plt.xlim(20, 75000) plt.ylim(20,30) plt.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-s1">freq</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">linspace</span>(<span class="pl-c1">20</span>, <span class="pl-c1">20e3</span>, <span class="pl-c1">1000</span>) <span class="pl-c"># Frequency vector</span> <span class="pl-c"># Generate gain vector</span> <span class="pl-s1">gain</span> <span class="pl-c1">=</span> [] <span class="pl-k">for</span> <span class="pl-s1">frequency</span> <span class="pl-c1">in</span> <span class="pl-s1">freq</span>: <span class="pl-s1">gain</span>.<span class="pl-en">append</span>(<span class="pl-c1">27.4</span>) <span class="pl-s1">gain</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>(<span class="pl-s1">gain</span>) <span class="pl-s1">fig</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">figure</span>(<span class="pl-s1">dpi</span><span class="pl-c1">=</span><span class="pl-c1">300</span>) <span class="pl-s1">plt</span>.<span class="pl-en">yscale</span>(<span class="pl-s">'log'</span>) <span class="pl-s1">plt</span>.<span class="pl-en">xticks</span>([<span class="pl-c1">20</span>, <span class="pl-c1">100</span>, <span class="pl-c1">1000</span>, <span class="pl-c1">10000</span>, <span class="pl-c1">20000</span>], [<span class="pl-s">'20'</span>, <span class="pl-s">'100'</span>, <span class="pl-s">'1k'</span>, <span class="pl-s">'10k'</span>, <span class="pl-s">'20k'</span>]) <span class="pl-s1">plt</span>.<span class="pl-en">loglog</span>(<span class="pl-s1">freq</span>, <span class="pl-s1">gain</span>, <span class="pl-s1">color</span><span class="pl-c1">=</span><span class="pl-s">'red'</span>, <span class="pl-s1">lw</span><span class="pl-c1">=</span><span class="pl-c1">1.3</span>) <span class="pl-s1">ytickval</span> <span class="pl-c1">=</span> [] <span class="pl-s1">yticknotate</span> <span class="pl-c1">=</span> [] <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">20</span>, <span class="pl-c1">31</span>): <span class="pl-s1">ytickval</span>.<span class="pl-en">append</span>(<span class="pl-s1">i</span>) <span class="pl-s1">yticknotate</span>.<span class="pl-en">append</span>(<span class="pl-en">str</span>(<span class="pl-s1">i</span>)) <span class="pl-s1">plt</span>.<span class="pl-en">yticks</span>(<span class="pl-s1">ytickval</span>, <span class="pl-s1">yticknotate</span>) <span class="pl-s1">plt</span>.<span class="pl-en">xlim</span>(<span class="pl-c1">20</span>, <span class="pl-c1">75000</span>) <span class="pl-s1">plt</span>.<span class="pl-en">ylim</span>(<span class="pl-c1">20</span>,<span class="pl-c1">30</span>) <span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div> <p dir="auto"><strong>Actual outcome</strong><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22648097/51820000-afd69e80-22d4-11e9-818c-fd5a786ac10c.png"><img src="https://user-images.githubusercontent.com/22648097/51820000-afd69e80-22d4-11e9-818c-fd5a786ac10c.png" alt="error" style="max-width: 100%;"></a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" **Expected outcome** The expected outcome is end-points (20dB and 30dB) written as 20 and 30 respectively, instead of 2*10^1 and 3*10^1 **Matplotlib version** &lt;!--Please specify your platform and versions of the relevant libraries you are using:--&gt; * Operating system: Windows 10 Education * Matplotlib version: 3.0.2 * Matplotlib backend (`print(matplotlib.get_backend())`): Qt5Agg * Python version: 3.6.8 (anaconda) * Jupyter version (if applicable): 4.4.0 * Other libraries: Numpy &lt;!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--&gt; &lt;!--If you installed from conda, please specify which channel you used if not the default--&gt; Used the default conda channel."><pre class="notranslate"><code class="notranslate"> **Expected outcome** The expected outcome is end-points (20dB and 30dB) written as 20 and 30 respectively, instead of 2*10^1 and 3*10^1 **Matplotlib version** &lt;!--Please specify your platform and versions of the relevant libraries you are using:--&gt; * Operating system: Windows 10 Education * Matplotlib version: 3.0.2 * Matplotlib backend (`print(matplotlib.get_backend())`): Qt5Agg * Python version: 3.6.8 (anaconda) * Jupyter version (if applicable): 4.4.0 * Other libraries: Numpy &lt;!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--&gt; &lt;!--If you installed from conda, please specify which channel you used if not the default--&gt; Used the default conda channel. </code></pre></div>
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">Setting axis ticks in a small log scale produces duplicate tick labels.</p> <p dir="auto"><strong>Code for reproduction</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt fig, ax = plt.subplots() s = 10 ax.axis([s, 100, 10, 100]) ax.loglog([20, 30], [30, 40]) from matplotlib.ticker import ScalarFormatter for axis in [ax.xaxis, ax.yaxis]: axis.set_major_formatter(ScalarFormatter()) ax.set_xticks([20, 55]) ax.set_yticks([20, 55]) plt.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>() <span class="pl-s1">s</span> <span class="pl-c1">=</span> <span class="pl-c1">10</span> <span class="pl-s1">ax</span>.<span class="pl-en">axis</span>([<span class="pl-s1">s</span>, <span class="pl-c1">100</span>, <span class="pl-c1">10</span>, <span class="pl-c1">100</span>]) <span class="pl-s1">ax</span>.<span class="pl-en">loglog</span>([<span class="pl-c1">20</span>, <span class="pl-c1">30</span>], [<span class="pl-c1">30</span>, <span class="pl-c1">40</span>]) <span class="pl-k">from</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">ticker</span> <span class="pl-k">import</span> <span class="pl-v">ScalarFormatter</span> <span class="pl-k">for</span> <span class="pl-s1">axis</span> <span class="pl-c1">in</span> [<span class="pl-s1">ax</span>.<span class="pl-s1">xaxis</span>, <span class="pl-s1">ax</span>.<span class="pl-s1">yaxis</span>]: <span class="pl-s1">axis</span>.<span class="pl-en">set_major_formatter</span>(<span class="pl-v">ScalarFormatter</span>()) <span class="pl-s1">ax</span>.<span class="pl-en">set_xticks</span>([<span class="pl-c1">20</span>, <span class="pl-c1">55</span>]) <span class="pl-s1">ax</span>.<span class="pl-en">set_yticks</span>([<span class="pl-c1">20</span>, <span class="pl-c1">55</span>]) <span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div> <p dir="auto"><strong>Actual outcome</strong><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6657200/42314213-26c86c36-8077-11e8-853e-47a387d7d72a.png"><img src="https://user-images.githubusercontent.com/6657200/42314213-26c86c36-8077-11e8-853e-47a387d7d72a.png" alt="figure_1" style="max-width: 100%;"></a></p> <p dir="auto"><strong>change code a little bit</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt fig, ax = plt.subplots() s = 9 ax.axis([s, 100, 10, 100]) ax.loglog([20, 30], [30, 40]) from matplotlib.ticker import ScalarFormatter for axis in [ax.xaxis, ax.yaxis]: axis.set_major_formatter(ScalarFormatter()) ax.set_xticks([20, 55]) ax.set_yticks([20, 55]) plt.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>() <span class="pl-s1">s</span> <span class="pl-c1">=</span> <span class="pl-c1">9</span> <span class="pl-s1">ax</span>.<span class="pl-en">axis</span>([<span class="pl-s1">s</span>, <span class="pl-c1">100</span>, <span class="pl-c1">10</span>, <span class="pl-c1">100</span>]) <span class="pl-s1">ax</span>.<span class="pl-en">loglog</span>([<span class="pl-c1">20</span>, <span class="pl-c1">30</span>], [<span class="pl-c1">30</span>, <span class="pl-c1">40</span>]) <span class="pl-k">from</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">ticker</span> <span class="pl-k">import</span> <span class="pl-v">ScalarFormatter</span> <span class="pl-k">for</span> <span class="pl-s1">axis</span> <span class="pl-c1">in</span> [<span class="pl-s1">ax</span>.<span class="pl-s1">xaxis</span>, <span class="pl-s1">ax</span>.<span class="pl-s1">yaxis</span>]: <span class="pl-s1">axis</span>.<span class="pl-en">set_major_formatter</span>(<span class="pl-v">ScalarFormatter</span>()) <span class="pl-s1">ax</span>.<span class="pl-en">set_xticks</span>([<span class="pl-c1">20</span>, <span class="pl-c1">55</span>]) <span class="pl-s1">ax</span>.<span class="pl-en">set_yticks</span>([<span class="pl-c1">20</span>, <span class="pl-c1">55</span>]) <span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div> <p dir="auto"><strong>Expected outcome</strong><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6657200/42314434-91b84156-8077-11e8-8409-aac5a95962c4.png"><img src="https://user-images.githubusercontent.com/6657200/42314434-91b84156-8077-11e8-8409-aac5a95962c4.png" alt="figure_2" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: Ubuntu 16.04</li> <li>Matplotlib version: 2.2.2</li> <li>Matplotlib backend: Qt5Agg</li> <li>Python version: 3.6</li> </ul>
1
<p dir="auto">I don’t know exactly what it’s connected with. But when I type in the "Search" panel something related to Flask to everything that the documentation finds, it attaches broken links.<br> Tested in the latest version and 2.1</p>
<p dir="auto">Search on the newly rendered docs is causing a 404/infinite redirect error. This happens on both RTD and locally, it doesn't appear to be an issue with RTD. It seems that <code class="notranslate">{{ url_root }}</code> is empty for some reason, at this line:</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/pallets/pallets-sphinx-themes/blob/50414a15c3278044838c57f5531a6c3feede7f92/src/pallets_sphinx_themes/themes/pocoo/layout.html#L12">pallets-sphinx-themes/src/pallets_sphinx_themes/themes/pocoo/layout.html</a> </p> <p class="mb-0 color-fg-muted"> Line 12 in <a data-pjax="true" class="commit-tease-sha" href="/pallets/pallets-sphinx-themes/commit/50414a15c3278044838c57f5531a6c3feede7f92">50414a1</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="L12" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="12"></td> <td id="LC12" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span><span class="pl-c1">DOCUMENTATION_OPTIONS</span><span class="pl-kos">.</span><span class="pl-c1">URL_ROOT</span> <span class="pl-c1">=</span> <span class="pl-s">'{{ url_root }}'</span><span class="pl-kos">;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> </td> </tr> </tbody></table> </div> </div> <p></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1242887/118175177-9cd43380-b3e4-11eb-8df2-df59f2366004.png"><img src="https://user-images.githubusercontent.com/1242887/118175177-9cd43380-b3e4-11eb-8df2-df59f2366004.png" alt="Screenshot from 2021-05-13 08-54-10" style="max-width: 100%;"></a></p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">The drawer component should apply the right border depending on which side is anchored when it is docked i.e. <code class="notranslate">permanent</code> or <code class="notranslate">persistent</code>.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">The border is always applied to the right side of the drawer even when it is not anchored left.</p> <p dir="auto">See picture, and the CSS rules applied:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6626225/30772056-b80ce57c-a054-11e7-9389-89e4419b88a7.png"><img width="1024" alt="screen shot 2017-09-23 at 11 40 49" src="https://user-images.githubusercontent.com/6626225/30772056-b80ce57c-a054-11e7-9389-89e4419b88a7.png" style="max-width: 100%;"></a></p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>Use the following drawer:</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;Drawer type=&quot;permanent&quot; anchored=&quot;right&quot;&gt;&lt;div&gt;Hello, World!&lt;/div&gt;&lt;/Drawer"><pre class="notranslate"><code class="notranslate">&lt;Drawer type="permanent" anchored="right"&gt;&lt;div&gt;Hello, World!&lt;/div&gt;&lt;/Drawer </code></pre></div> <ol start="2" dir="auto"> <li>Check CSS rules applied</li> </ol> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>1.0.0-beta11</td> </tr> <tr> <td>React</td> <td>15.6.2</td> </tr> <tr> <td>browser</td> <td>Chrome</td> </tr> <tr> <td>etc</td> <td>Mac OS</td> </tr> </tbody> </table>
<p dir="auto">Server side rendering won't work in production because of these lines ( src/utils/styles.js )</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if (process.env.NODE_ENV !== 'production') { warning(!style.didFlip, `You're calling ensureDirection() on the same style object twice.`); style = ImmutabilityHelper.merge({ didFlip: 'true', }, style); }"><pre class="notranslate"><code class="notranslate">if (process.env.NODE_ENV !== 'production') { warning(!style.didFlip, `You're calling ensureDirection() on the same style object twice.`); style = ImmutabilityHelper.merge({ didFlip: 'true', }, style); } </code></pre></div> <p dir="auto">Is there a reason why didFlip should be different depending on NODE_ENV ?</p>
0
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong><br> calling scatter with marker="None" results in ValueError.</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="# Paste your code here # # from matplotlib import pyplot as plt plt.scatter([1], [1], marker=&quot;None&quot;)"><pre class="notranslate"><span class="pl-c"># Paste your code here</span> <span class="pl-c">#</span> <span class="pl-c">#</span> <span class="pl-k">from</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">import</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">scatter</span>([<span class="pl-c1">1</span>], [<span class="pl-c1">1</span>], <span class="pl-s1">marker</span><span class="pl-c1">=</span><span class="pl-s">"None"</span>)</pre></div> <p dir="auto"><strong>Actual outcome</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# If applicable, paste the console output here # # Traceback (most recent call last): File &quot;/usr/lib/python3.7/tkinter/__init__.py&quot;, line 1705, in __call__ return self.func(*args) File &quot;path_to_venv/env/lib/python3.7/site-packages/matplotlib/backends/_backend_tk.py&quot;, line 242, in resize self.draw() File &quot;path_to_venv/env/lib/python3.7/site-packages/matplotlib/backends/backend_tkagg.py&quot;, line 9, in draw super(FigureCanvasTkAgg, self).draw() File &quot;path_to_venv/env/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py&quot;, line 407, in draw self.figure.draw(self.renderer) File &quot;path_to_venv/env/lib/python3.7/site-packages/matplotlib/artist.py&quot;, line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File &quot;path_to_venv/env/lib/python3.7/site-packages/matplotlib/figure.py&quot;, line 1864, in draw renderer, self, artists, self.suppressComposite) File &quot;path_to_venv/env/lib/python3.7/site-packages/matplotlib/image.py&quot;, line 131, in _draw_list_compositing_images a.draw(renderer) File &quot;path_to_venv/env/lib/python3.7/site-packages/matplotlib/artist.py&quot;, line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File &quot;path_to_venv/env/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py&quot;, line 411, in wrapper return func(*inner_args, **inner_kwargs) File &quot;path_to_venv/env/lib/python3.7/site-packages/matplotlib/axes/_base.py&quot;, line 2748, in draw mimage._draw_list_compositing_images(renderer, self, artists) File &quot;path_to_venv/env/lib/python3.7/site-packages/matplotlib/image.py&quot;, line 131, in _draw_list_compositing_images a.draw(renderer) File &quot;path_to_venv/env/lib/python3.7/site-packages/matplotlib/artist.py&quot;, line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File &quot;path_to_venv/env/lib/python3.7/site-packages/matplotlib/collections.py&quot;, line 931, in draw Collection.draw(self, renderer) File &quot;path_to_venv/env/lib/python3.7/site-packages/matplotlib/artist.py&quot;, line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File &quot;path_to_venv/env/lib/python3.7/site-packages/matplotlib/collections.py&quot;, line 385, in draw extents = paths[0].get_extents(combined_transform) File &quot;path_to_venv/env/lib/python3.7/site-packages/matplotlib/path.py&quot;, line 603, in get_extents return Bbox([xys.min(axis=0), xys.max(axis=0)]) File &quot;path_to_venv/env/lib/python3.7/site-packages/numpy/core/_methods.py&quot;, line 43, in _amin return umr_minimum(a, axis, None, out, keepdims, initial, where) ValueError: zero-size array to reduction operation minimum which has no identity"><pre class="notranslate"><code class="notranslate"># If applicable, paste the console output here # # Traceback (most recent call last): File "/usr/lib/python3.7/tkinter/__init__.py", line 1705, in __call__ return self.func(*args) File "path_to_venv/env/lib/python3.7/site-packages/matplotlib/backends/_backend_tk.py", line 242, in resize self.draw() File "path_to_venv/env/lib/python3.7/site-packages/matplotlib/backends/backend_tkagg.py", line 9, in draw super(FigureCanvasTkAgg, self).draw() File "path_to_venv/env/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw self.figure.draw(self.renderer) File "path_to_venv/env/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "path_to_venv/env/lib/python3.7/site-packages/matplotlib/figure.py", line 1864, in draw renderer, self, artists, self.suppressComposite) File "path_to_venv/env/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "path_to_venv/env/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "path_to_venv/env/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper return func(*inner_args, **inner_kwargs) File "path_to_venv/env/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 2748, in draw mimage._draw_list_compositing_images(renderer, self, artists) File "path_to_venv/env/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "path_to_venv/env/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "path_to_venv/env/lib/python3.7/site-packages/matplotlib/collections.py", line 931, in draw Collection.draw(self, renderer) File "path_to_venv/env/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "path_to_venv/env/lib/python3.7/site-packages/matplotlib/collections.py", line 385, in draw extents = paths[0].get_extents(combined_transform) File "path_to_venv/env/lib/python3.7/site-packages/matplotlib/path.py", line 603, in get_extents return Bbox([xys.min(axis=0), xys.max(axis=0)]) File "path_to_venv/env/lib/python3.7/site-packages/numpy/core/_methods.py", line 43, in _amin return umr_minimum(a, axis, None, out, keepdims, initial, where) ValueError: zero-size array to reduction operation minimum which has no identity </code></pre></div> <p dir="auto"><strong>Expected outcome</strong><br> Blank plot. Same as if <code class="notranslate">alpha=0</code> was specified.</p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: Ubuntu 18.04.4 LTS</li> <li>Matplotlib version: 3.3.1</li> <li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): TkAgg</li> <li>Python version: 3.7.5</li> <li>Jupyter version (if applicable):</li> <li>Other libraries:</li> </ul> Installed with pip
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto"><code class="notranslate">plt.scatter()</code> raises upon drawing when called with <code class="notranslate">marker=''</code> (no errors with 3.3.0).<br> This change of behavior broke seaborn.</p> <p dir="auto"><strong>Code for reproduction</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt plt.scatter([], [], marker='') # fails also with plt.scatter([1,2,3], [1,2,3], marker='') plt.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-s1">plt</span>.<span class="pl-en">scatter</span>([], [], <span class="pl-s1">marker</span><span class="pl-c1">=</span><span class="pl-s">''</span>) <span class="pl-c"># fails also with plt.scatter([1,2,3], [1,2,3], marker='')</span> <span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div> <p dir="auto"><strong>Actual outcome</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/backends/backend_macosx.py&quot;, line 61, in _draw self.figure.draw(renderer) File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py&quot;, line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/figure.py&quot;, line 1863, in draw mimage._draw_list_compositing_images( File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/image.py&quot;, line 131, in _draw_list_compositing_images a.draw(renderer) File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py&quot;, line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/cbook/deprecation.py&quot;, line 411, in wrapper return func(*inner_args, **inner_kwargs) File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/axes/_base.py&quot;, line 2748, in draw mimage._draw_list_compositing_images(renderer, self, artists) File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/image.py&quot;, line 131, in _draw_list_compositing_images a.draw(renderer) File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py&quot;, line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/collections.py&quot;, line 931, in draw Collection.draw(self, renderer) File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py&quot;, line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/collections.py&quot;, line 385, in draw extents = paths[0].get_extents(combined_transform) File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/path.py&quot;, line 603, in get_extents return Bbox([xys.min(axis=0), xys.max(axis=0)]) File &quot;/Users/maoz/miniconda/envs/seaborn_devenv/lib/python3.8/site-packages/numpy/core/_methods.py&quot;, line 43, in _amin return umr_minimum(a, axis, None, out, keepdims, initial, where) ValueError: zero-size array to reduction operation minimum which has no identity"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/backends/backend_macosx.py", line 61, in _draw self.figure.draw(renderer) File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/figure.py", line 1863, in draw mimage._draw_list_compositing_images( File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper return func(*inner_args, **inner_kwargs) File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/axes/_base.py", line 2748, in draw mimage._draw_list_compositing_images(renderer, self, artists) File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/collections.py", line 931, in draw Collection.draw(self, renderer) File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/collections.py", line 385, in draw extents = paths[0].get_extents(combined_transform) File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/path.py", line 603, in get_extents return Bbox([xys.min(axis=0), xys.max(axis=0)]) File "/Users/maoz/miniconda/envs/seaborn_devenv/lib/python3.8/site-packages/numpy/core/_methods.py", line 43, in _amin return umr_minimum(a, axis, None, out, keepdims, initial, where) ValueError: zero-size array to reduction operation minimum which has no identity </code></pre></div> <p dir="auto"><strong>Expected outcome</strong></p> <p dir="auto">Not to fail.</p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: MacOS</li> <li>Matplotlib version: 3.3.1</li> <li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): MacOSX (also reproduces with %inline)</li> <li>Python version: 3.8.3</li> <li>Jupyter version (if applicable):</li> <li>Other libraries: numpy 1.19.1</li> </ul> <p dir="auto">matplotlib installed through pip</p>
1
<p dir="auto">Hey, was wondering how to get gif thumbnails working? Basically I have a recyclerview of card items containing a gif, and would like a preview image/thumbnail image of the gif to load with the view.</p>
<p dir="auto">Hi</p> <p dir="auto">i am getting the error below using this library.</p> <p dir="auto">java.lang.NoSuchMethodError: No static method getFont</p> <p dir="auto">it crashes as soon as i open up a UI.</p> <p dir="auto">If i remove // implementation 'com.github.bumptech.glide:glide:4.5.0'<br> // annotationProcessor 'com.github.bumptech.glide:compiler:4.5.0' it works fine</p> <p dir="auto">Its something to do with the library using vversion 27 of the support library while i am using version 26</p>
0
<p dir="auto"><a href="https://github.com/FormidableLabs/radium">https://github.com/FormidableLabs/radium</a> adds "interactive" styles (hover etc) to inline styles, and also allows hierachical styles and automatic vendor prefixing. It's fast and pretty light-weight (32KB minimized).</p>
<p dir="auto">Failed to compile since theme seems to be missing in the styles folder.</p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">Install latest version of Material-ui v.1 and try to compile</p> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: 1.0.0-beta.7</li> <li>React: 15.6.1</li> <li>Browser: chrome 60.0.3112.90 and Firefox 55.0.2</li> </ul> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9610681/29994883-39c33dd0-8fdb-11e7-8488-85f2789cdb47.png"><img src="https://user-images.githubusercontent.com/9610681/29994883-39c33dd0-8fdb-11e7-8488-85f2789cdb47.png" alt="print" style="max-width: 100%;"></a></p>
0
<h3 dir="auto">Input Code</h3> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function assert(holds, message) { if (!holds) { throw new Error(message || `Assertion does not hold`); } } class A {} class FromA extends A { constructor(...args) { super(...args) assert(this.constructor.name === `FromA`, `the constructor of FromA should be &quot;FromA&quot; and is ${this.constructor.name}`); } } class FromError extends Error { constructor(...args) { super(...args) assert(this.constructor.name === `FromError`, `the constructor of FromError should be &quot;FromError&quot; and is ${this.constructor.name}`); } } const a = new FromA(); const e = new FromError();"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">assert</span><span class="pl-kos">(</span><span class="pl-s1">holds</span><span class="pl-kos">,</span> <span class="pl-s1">message</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">holds</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">Error</span><span class="pl-kos">(</span><span class="pl-s1">message</span> <span class="pl-c1">||</span> <span class="pl-s">`Assertion does not hold`</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">class</span> <span class="pl-v">A</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">FromA</span> <span class="pl-k">extends</span> <span class="pl-v">A</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">super</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span><span class="pl-kos">)</span> <span class="pl-en">assert</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">constructor</span><span class="pl-kos">.</span><span class="pl-c1">name</span> <span class="pl-c1">===</span> <span class="pl-s">`FromA`</span><span class="pl-kos">,</span> <span class="pl-s">`the constructor of FromA should be "FromA" and is <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">constructor</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">FromError</span> <span class="pl-k">extends</span> <span class="pl-v">Error</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">super</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span><span class="pl-kos">)</span> <span class="pl-en">assert</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">constructor</span><span class="pl-kos">.</span><span class="pl-c1">name</span> <span class="pl-c1">===</span> <span class="pl-s">`FromError`</span><span class="pl-kos">,</span> <span class="pl-s">`the constructor of FromError should be "FromError" and is <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">constructor</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">FromA</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">e</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">FromError</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/#?babili=false&amp;evaluate=true&amp;lineWrap=false&amp;presets=es2015&amp;targets=&amp;browsers=&amp;builtIns=false&amp;code=function%20assert(holds%2C%20message)%20%7B%0A%20%20if%20(!holds)%20%7B%0A%20%20%20%20throw%20new%20Error(message%20%7C%7C%20%60Assertion%20does%20not%20hold%60)%3B%0A%20%20%7D%0A%7D%0A%0Aclass%20A%20%7B%7D%0Aclass%20FromA%20extends%20A%20%7B%0A%20%20constructor(...args)%20%7B%0A%20%20%20%20super(...args)%0A%20%20%20%20assert(this.constructor.name%20%3D%3D%3D%20%60FromA%60%2C%20%60the%20constructor%20of%20FromA%20should%20be%20%22FromA%22%20and%20is%20%24%7Bthis.constructor.name%7D%60)%3B%0A%20%20%7D%0A%7D%0A%0Aclass%20FromError%20extends%20Error%20%7B%0A%20%20constructor(...args)%20%7B%0A%20%20%20%20super(...args)%0A%20%20%20%20assert(this.constructor.name%20%3D%3D%3D%20%60FromError%60%2C%20%60the%20constructor%20of%20FromError%20should%20be%20%22FromError%22%20and%20is%20%24%7Bthis.constructor.name%7D%60)%3B%0A%20%20%7D%0A%7D%0A%0Aconst%20a%20%3D%20new%20FromA()%3B%0Aconst%20e%20%3D%20new%20FromError()%3B" rel="nofollow">REPL Link</a></p> <h3 dir="auto">Babel Configuration (.babelrc, package.json, cli command)</h3> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;presets&quot;: [ &quot;es2015&quot; ] }"><pre class="notranslate"><span class="pl-kos">{</span> <span class="pl-s">"presets"</span>: <span class="pl-kos">[</span> <span class="pl-s">"es2015"</span> <span class="pl-kos">]</span> <span class="pl-kos">}</span></pre></div> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">When extending from <code class="notranslate">Error</code>, the new class's <code class="notranslate">this.constructor.name</code> should be the new class's name.</p> <h3 dir="auto">Current Behavior</h3> <p dir="auto">When extending from <code class="notranslate">Error</code>, the new class's <code class="notranslate">this.constructor.name</code> is <code class="notranslate">Error</code></p> <h3 dir="auto">Context</h3> <p dir="auto">I'm currently using <a href="https://github.com/ianwremmel/extend-error">https://github.com/ianwremmel/extend-error</a> (which has its own set of issues) to create subclassed Errors. Stringifying with the error name is very helpful for a debug process (in particular, subclassing for each http response code). In order to make that work, something like</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Exception extends Error { constructor(...args) { super(...args) this.name = `Exception` } } console.log(new Exception(`blarg`));"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">Exception</span> <span class="pl-k">extends</span> <span class="pl-v">Error</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">super</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span><span class="pl-kos">)</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">name</span> <span class="pl-c1">=</span> <span class="pl-s">`Exception`</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-k">new</span> <span class="pl-v">Exception</span><span class="pl-kos">(</span><span class="pl-s">`blarg`</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">will produce <code class="notranslate">[Exception: blarg]</code>. Ideally, I would be able to use <code class="notranslate">this.name = this.constructor.name</code> instead of <code class="notranslate">this.name = \</code>Exception``.</p> <h3 dir="auto">Your Environment</h3> <p dir="auto">I've mostly been debugging this in the repl, but my local environment is:</p> <table role="table"> <thead> <tr> <th>software</th> <th>version</th> </tr> </thead> <tbody> <tr> <td>Babel</td> <td>6.22.1</td> </tr> <tr> <td>node</td> <td>7.2.0</td> </tr> <tr> <td>npm</td> <td>3.10.9</td> </tr> <tr> <td>Operating System</td> <td>macOs Sierra</td> </tr> </tbody> </table>
<p dir="auto">index.js</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Exception extends Object { //Array, Number, String, Function, Error, RegExp, Boolean all of base type has this program constructor() { super('Exception'); } } module.exports = Exception;"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">Exception</span> <span class="pl-k">extends</span> <span class="pl-v">Object</span> <span class="pl-kos">{</span> <span class="pl-c">//Array, Number, String, Function, Error, RegExp, Boolean all of base type has this program</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-s">'Exception'</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">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-v">Exception</span><span class="pl-kos">;</span></pre></div> <p dir="auto">gulpfile.js</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const gulp = require('gulp'); const browserify = require('browserify'); const babelify = require('babelify'); const source = require('vinyl-source-stream'); const buffer = require('vinyl-buffer'); gulp.task('default', () =&gt; { browserify({ entries: &quot;./index.js&quot;, standalone: 'Exception', debug: true }) .transform(babelify.configure({ presets: [&quot;es2015&quot;, &quot;stage-3&quot;], sourceMaps: true })) .bundle() .pipe(source('index.js')) .pipe(buffer()) .pipe(gulp.dest('./dest')); });"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">gulp</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'gulp'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">browserify</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'browserify'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">babelify</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'babelify'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">source</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'vinyl-source-stream'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">buffer</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'vinyl-buffer'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">gulp</span><span class="pl-kos">.</span><span class="pl-en">task</span><span class="pl-kos">(</span><span class="pl-s">'default'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-s1">browserify</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">entries</span>: <span class="pl-s">"./index.js"</span><span class="pl-kos">,</span> <span class="pl-c1">standalone</span>: <span class="pl-s">'Exception'</span><span class="pl-kos">,</span> <span class="pl-c1">debug</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">transform</span><span class="pl-kos">(</span><span class="pl-s1">babelify</span><span class="pl-kos">.</span><span class="pl-en">configure</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">presets</span>: <span class="pl-kos">[</span><span class="pl-s">"es2015"</span><span class="pl-kos">,</span> <span class="pl-s">"stage-3"</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">sourceMaps</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">bundle</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">pipe</span><span class="pl-kos">(</span><span class="pl-s1">source</span><span class="pl-kos">(</span><span class="pl-s">'index.js'</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">pipe</span><span class="pl-kos">(</span><span class="pl-s1">buffer</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">pipe</span><span class="pl-kos">(</span><span class="pl-s1">gulp</span><span class="pl-kos">.</span><span class="pl-en">dest</span><span class="pl-kos">(</span><span class="pl-s">'./dest'</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">test.js</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const Exception = require('./dest/index'); console.log(new Exception() instanceof Exception);"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-v">Exception</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'./dest/index'</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-k">new</span> <span class="pl-v">Exception</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-k">instanceof</span> <span class="pl-v">Exception</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">the result is <code class="notranslate">false</code></p> <p dir="auto">new Exception() is not instanceof Exception, but only instanceof Error</p>
1
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p> <p dir="auto">When tuple is passed to query() method I get the error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" File &quot;sqlalchemy/orm/query.py&quot;, line 3062, in __init__ &quot;expected - got '%r'&quot; % column TypeError: not all arguments converted during string formatting"><pre class="notranslate"><code class="notranslate"> File "sqlalchemy/orm/query.py", line 3062, in __init__ "expected - got '%r'" % column TypeError: not all arguments converted during string formatting </code></pre></div> <p dir="auto">The fix is simple, just use single item tuple as right operand:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &quot;expected - got '%r'&quot; % (column,)"><pre class="notranslate"><code class="notranslate"> "expected - got '%r'" % (column,) </code></pre></div>
<p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p> <p dir="auto">no clue what's going on here. I've moved in a "good" searchtools.js onto the site for now. Local sphinx builds seem to be doing it also all the sudden.</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>no</td> </tr> <tr> <td>Symfony version</td> <td>2.8.12</td> </tr> </tbody> </table> <p dir="auto">I created a FormType that extends the <code class="notranslate">AbstractType</code>. I have only a <code class="notranslate">buildForm</code> method in it which adds some fields. There are some fields which are other custom form types of mine, but those also only have the <code class="notranslate">buildForm</code> method, and if they have the <code class="notranslate">configureOptions</code> method, it's only to set a <code class="notranslate">data_class</code>.</p> <p dir="auto">However, when opening the page which uses this form, I'm getting the warnings</p> <blockquote> <p dir="auto">The form option "read_only" is deprecated since version 2.8 and will be removed in 3.0. Use "attr['readonly']" instead.<br> The "cascade_validation" option is deprecated since version 2.8 and will be removed in 3.0. Use "constraints" with a Valid constraint instead.<br> The form option "csrf_provider" is deprecated since version 2.8 and will be removed in 3.0. Use "csrf_token_manager" instead.</p> </blockquote> <p dir="auto">But I'm not using any of these options. I'm even using the correct one for <code class="notranslate">cascade_validations</code>. These are the options of one form field I'm adding</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ 'data' =&gt; new Address(), 'validation_groups' =&gt; ['productPreliminaryDeliveryAddress'], 'mapped' =&gt; false, 'constraints' =&gt; [new Valid()], 'label' =&gt; false, ]"><pre class="notranslate"><code class="notranslate">[ 'data' =&gt; new Address(), 'validation_groups' =&gt; ['productPreliminaryDeliveryAddress'], 'mapped' =&gt; false, 'constraints' =&gt; [new Valid()], 'label' =&gt; false, ] </code></pre></div> <p dir="auto">As you can see I'm using the correct option for constraint. Where does that error come from and how can I supress it?</p>
<p dir="auto">When i use the forward request in my "action" the route name "app.request.attributes.get('_route')" is empty is that normal?</p>
0
<p dir="auto">Current situation<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/59395893/80971805-926c7a80-8e1d-11ea-8c8b-80abcac2908d.PNG"><img src="https://user-images.githubusercontent.com/59395893/80971805-926c7a80-8e1d-11ea-8c8b-80abcac2908d.PNG" alt="Powertoys - How it is" style="max-width: 100%;"></a></p> <p dir="auto">How it should be<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/59395893/80971817-97312e80-8e1d-11ea-922c-20f63b3acb51.PNG"><img src="https://user-images.githubusercontent.com/59395893/80971817-97312e80-8e1d-11ea-922c-20f63b3acb51.PNG" alt="Powertoys - Like it should be" style="max-width: 100%;"></a></p> <p dir="auto">I hope you can see what the issue is.<br> Normally I swith a lot between programs with groupy and without so it is annoying that I still have to resize the top of the window everytime I move it.</p>
<p dir="auto">Hi Guys</p> <p dir="auto">when PT starts, for a fraction of a second "Start typing..." text is showing up then it dissapears. It shows up without the frame, just text. I guess it is a bug...</p> <p dir="auto">Thank you.</p>
0
<p dir="auto">I think its pretty standard for material design. Can we add the ability to put icons on the left or right hand side of a text field?<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/11220243/12538214/d611976a-c299-11e5-93f9-fdac48aa5a38.png"><img width="873" alt="screen shot 2016-01-24 at 12 55 58 pm" src="https://cloud.githubusercontent.com/assets/11220243/12538214/d611976a-c299-11e5-93f9-fdac48aa5a38.png" style="max-width: 100%;"></a></p>
<p dir="auto">As referenced in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="120873556" data-permission-text="Title is private" data-url="https://github.com/mui/material-ui/issues/2416" data-hovercard-type="issue" data-hovercard-url="/mui/material-ui/issues/2416/hovercard" href="https://github.com/mui/material-ui/issues/2416">#2416</a>, we currently don't have a way to add a left icon to the Text Field component. I'd like to work on a PR for this.</p> <p dir="auto">TextField would be called like<code class="notranslate">&lt;TextField icon={icon} /&gt;</code> and would render the icon on the left side in the textField before the input.</p>
1
<p dir="auto"><strong>Need help<br> Notification in the debug console is showing this :</strong></p> <p dir="auto">Launching lib/main.dart on iPhone 8 in debug mode...<br> Xcode build done.<br> [VERBOSE-2:dart_error.cc(16)] Dart_LoadScriptFromKernel: The binary program does not contain 'main'.<br> [VERBOSE-2:engine.cc(147)] Could not prepare to run the isolate.<br> [VERBOSE-2:engine.cc(112)] Engine not prepare and launch isolate.</p> <p dir="auto"><strong>And the log file is showing this :</strong></p> <p dir="auto">Flutter crash report; please file at <a href="https://github.com/flutter/flutter/issues">https://github.com/flutter/flutter/issues</a>.</p> <h2 dir="auto">command</h2> <p dir="auto">flutter build bundle --suppress-analytics --target /Users/mymac/Documents/Code/Flutter/navigation_routes/lib/main.dart --preview-dart-2 --filesystem-scheme org-dartlang-root --depfile /Users/mymac/Documents/Code/Flutter/navigation_routes/build/app/intermediates/flutter/debug/snapshot_blob.bin.d --asset-dir /Users/mymac/Documents/Code/Flutter/navigation_routes/build/app/intermediates/flutter/debug/flutter_assets</p> <h2 dir="auto">exception</h2> <p dir="auto">RangeError: RangeError (index): Invalid value: Only valid value is 0: 1</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#0 List.[] (dart:core-patch/dart:core/growable_array.dart:141) #1 readDepfile (package:flutter_tools/src/base/fingerprint.dart:174) &lt;asynchronous suspension&gt; #2 Fingerprinter._getPaths (package:flutter_tools/src/base/fingerprint.dart:88) &lt;asynchronous suspension&gt; #3 Fingerprinter.doesFingerprintMatch (package:flutter_tools/src/base/fingerprint.dart:60) &lt;asynchronous suspension&gt; #4 KernelCompiler.compile (package:flutter_tools/src/compile.dart:104) &lt;asynchronous suspension&gt; #5 build (package:flutter_tools/src/bundle.dart:74) &lt;asynchronous suspension&gt; #6 BuildBundleCommand.runCommand (package:flutter_tools/src/commands/build_bundle.dart:67) &lt;asynchronous suspension&gt; #7 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344) &lt;asynchronous suspension&gt; #8 FlutterCommand.run.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command.dart:279) &lt;asynchronous suspension&gt; #9 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142) &lt;asynchronous suspension&gt; #10 _rootRun (dart:async/zone.dart:1126) #11 _CustomZone.run (dart:async/zone.dart:1023) #12 runZoned (dart:async/zone.dart:1501) #13 AppContext.run (package:flutter_tools/src/base/context.dart:141) &lt;asynchronous suspension&gt; #14 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270) #15 CommandRunner.runCommand (package:args/command_runner.dart:194) &lt;asynchronous suspension&gt; #16 FlutterCommandRunner.runCommand.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command_runner.dart:309) &lt;asynchronous suspension&gt; #17 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142) &lt;asynchronous suspension&gt; #18 _rootRun (dart:async/zone.dart:1126) #19 _CustomZone.run (dart:async/zone.dart:1023) #20 runZoned (dart:async/zone.dart:1501) #21 AppContext.run (package:flutter_tools/src/base/context.dart:141) &lt;asynchronous suspension&gt; #22 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265) &lt;asynchronous suspension&gt; #23 CommandRunner.run.&lt;anonymous closure&gt; (package:args/command_runner.dart:109) #24 new Future.sync (dart:async/future.dart:222) #25 CommandRunner.run (package:args/command_runner.dart:109) #26 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174) #27 run.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:54) &lt;asynchronous suspension&gt; #28 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142) &lt;asynchronous suspension&gt; #29 _rootRun (dart:async/zone.dart:1126) #30 _CustomZone.run (dart:async/zone.dart:1023) #31 runZoned (dart:async/zone.dart:1501) #32 AppContext.run (package:flutter_tools/src/base/context.dart:141) &lt;asynchronous suspension&gt; #33 runInContext (package:flutter_tools/src/context_runner.dart:43) &lt;asynchronous suspension&gt; #34 run (package:flutter_tools/runner.dart:49) #35 main (package:flutter_tools/executable.dart:49) &lt;asynchronous suspension&gt; #36 main (file:///b/build/slave/Mac_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8) #37 _startIsolate.&lt;anonymous closure&gt; (dart:isolate-patch/dart:isolate/isolate_patch.dart:277) #38 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)"><pre class="notranslate"><code class="notranslate">#0 List.[] (dart:core-patch/dart:core/growable_array.dart:141) #1 readDepfile (package:flutter_tools/src/base/fingerprint.dart:174) &lt;asynchronous suspension&gt; #2 Fingerprinter._getPaths (package:flutter_tools/src/base/fingerprint.dart:88) &lt;asynchronous suspension&gt; #3 Fingerprinter.doesFingerprintMatch (package:flutter_tools/src/base/fingerprint.dart:60) &lt;asynchronous suspension&gt; #4 KernelCompiler.compile (package:flutter_tools/src/compile.dart:104) &lt;asynchronous suspension&gt; #5 build (package:flutter_tools/src/bundle.dart:74) &lt;asynchronous suspension&gt; #6 BuildBundleCommand.runCommand (package:flutter_tools/src/commands/build_bundle.dart:67) &lt;asynchronous suspension&gt; #7 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344) &lt;asynchronous suspension&gt; #8 FlutterCommand.run.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command.dart:279) &lt;asynchronous suspension&gt; #9 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142) &lt;asynchronous suspension&gt; #10 _rootRun (dart:async/zone.dart:1126) #11 _CustomZone.run (dart:async/zone.dart:1023) #12 runZoned (dart:async/zone.dart:1501) #13 AppContext.run (package:flutter_tools/src/base/context.dart:141) &lt;asynchronous suspension&gt; #14 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270) #15 CommandRunner.runCommand (package:args/command_runner.dart:194) &lt;asynchronous suspension&gt; #16 FlutterCommandRunner.runCommand.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command_runner.dart:309) &lt;asynchronous suspension&gt; #17 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142) &lt;asynchronous suspension&gt; #18 _rootRun (dart:async/zone.dart:1126) #19 _CustomZone.run (dart:async/zone.dart:1023) #20 runZoned (dart:async/zone.dart:1501) #21 AppContext.run (package:flutter_tools/src/base/context.dart:141) &lt;asynchronous suspension&gt; #22 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265) &lt;asynchronous suspension&gt; #23 CommandRunner.run.&lt;anonymous closure&gt; (package:args/command_runner.dart:109) #24 new Future.sync (dart:async/future.dart:222) #25 CommandRunner.run (package:args/command_runner.dart:109) #26 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174) #27 run.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:54) &lt;asynchronous suspension&gt; #28 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142) &lt;asynchronous suspension&gt; #29 _rootRun (dart:async/zone.dart:1126) #30 _CustomZone.run (dart:async/zone.dart:1023) #31 runZoned (dart:async/zone.dart:1501) #32 AppContext.run (package:flutter_tools/src/base/context.dart:141) &lt;asynchronous suspension&gt; #33 runInContext (package:flutter_tools/src/context_runner.dart:43) &lt;asynchronous suspension&gt; #34 run (package:flutter_tools/runner.dart:49) #35 main (package:flutter_tools/executable.dart:49) &lt;asynchronous suspension&gt; #36 main (file:///b/build/slave/Mac_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8) #37 _startIsolate.&lt;anonymous closure&gt; (dart:isolate-patch/dart:isolate/isolate_patch.dart:277) #38 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165) </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 (Channel beta, v0.4.4, on Mac OS X 10.13.4 17E202, locale en-US) • Flutter version 0.4.4 at /flutter • Framework revision f9bb4289e9 (3 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 /Users/mymac/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.4, Build version 9F1027a • ios-deploy 1.9.2 • CocoaPods version 1.5.3 [✓] Android Studio (version 3.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 25.0.1 • Dart plugin version 173.4700 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) [✓] VS Code (version 1.23.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Dart Code extension version 2.13.0 [✓] Connected devices (1 available) • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator) • No issues found!"><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel beta, v0.4.4, on Mac OS X 10.13.4 17E202, locale en-US) • Flutter version 0.4.4 at /flutter • Framework revision f9bb4289e9 (3 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 /Users/mymac/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.4, Build version 9F1027a • ios-deploy 1.9.2 • CocoaPods version 1.5.3 [✓] Android Studio (version 3.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 25.0.1 • Dart plugin version 173.4700 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) [✓] VS Code (version 1.23.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Dart Code extension version 2.13.0 [✓] Connected devices (1 available) • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator) • No issues found! </code></pre></div>
<p dir="auto">a very simple start-up app, and runs good, but suddenly crash, then can never run again:</p> <h2 dir="auto">Source (main.dart):</h2> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'dart:math'; import 'package:flutter/material.dart'; void main() { runApp(new MaterialApp(home: new ChartPage())); } class ChartPage extends StatefulWidget { @override ChartPageState createState() =&gt; new ChartPageState(); } class ChartPageState extends State&lt;ChartPage&gt; { final random = new Random(); int dataSet; void changeData() { setState(() { dataSet = random.nextInt(100); }); } @override Widget build(BuildContext context) { return new Scaffold( body: new Center( child: new Text('Data set: $dataSet'), ), floatingActionButton: new FloatingActionButton( child: new Icon(Icons.refresh), onPressed: changeData, ), ); } }"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'dart:math'</span>; <span class="pl-k">import</span> <span class="pl-s">'package:flutter/material.dart'</span>; <span class="pl-k">void</span> <span class="pl-en">main</span>() { <span class="pl-en">runApp</span>(<span class="pl-k">new</span> <span class="pl-c1">MaterialApp</span>(home<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">ChartPage</span>())); } <span class="pl-k">class</span> <span class="pl-c1">ChartPage</span> <span class="pl-k">extends</span> <span class="pl-c1">StatefulWidget</span> { <span class="pl-k">@override</span> <span class="pl-c1">ChartPageState</span> <span class="pl-en">createState</span>() <span class="pl-k">=&gt;</span> <span class="pl-k">new</span> <span class="pl-c1">ChartPageState</span>(); } <span class="pl-k">class</span> <span class="pl-c1">ChartPageState</span> <span class="pl-k">extends</span> <span class="pl-c1">State</span>&lt;<span class="pl-c1">ChartPage</span>&gt; { <span class="pl-k">final</span> random <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">Random</span>(); <span class="pl-c1">int</span> dataSet; <span class="pl-k">void</span> <span class="pl-en">changeData</span>() { <span class="pl-en">setState</span>(() { dataSet <span class="pl-k">=</span> random.<span class="pl-en">nextInt</span>(<span class="pl-c1">100</span>); }); } <span class="pl-k">@override</span> <span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) { <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-c1">Scaffold</span>( body<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Center</span>( child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Text</span>(<span class="pl-s">'Data set: $<span class="pl-v">dataSet</span>'</span>), ), floatingActionButton<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">FloatingActionButton</span>( child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Icon</span>(<span class="pl-c1">Icons</span>.refresh), onPressed<span class="pl-k">:</span> changeData, ), ); } }</pre></div> <h2 dir="auto">Logs</h2> <p dir="auto">Flutter crash report; please file at <a href="https://github.com/flutter/flutter/issues">https://github.com/flutter/flutter/issues</a>.</p> <h2 dir="auto">command</h2> <p dir="auto">flutter run -d D98B467B-1756-436B-9DAF-98E915394BA3</p> <h2 dir="auto">exception</h2> <p dir="auto">RangeError: RangeError (index): Invalid value: Only valid value is 0: 1</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#0 List.[] (dart:core-patch/dart:core/growable_array.dart:141) #1 readDepfile (package:flutter_tools/src/base/fingerprint.dart:174) &lt;asynchronous suspension&gt; #2 Fingerprinter._getPaths (package:flutter_tools/src/base/fingerprint.dart:88) &lt;asynchronous suspension&gt; #3 Fingerprinter.doesFingerprintMatch (package:flutter_tools/src/base/fingerprint.dart:60) &lt;asynchronous suspension&gt; #4 KernelCompiler.compile (package:flutter_tools/src/compile.dart:104) &lt;asynchronous suspension&gt; #5 build (package:flutter_tools/src/bundle.dart:74) &lt;asynchronous suspension&gt; #6 IOSSimulator._sideloadUpdatedAssetsForInstalledApplicationBundle (package:flutter_tools/src/ios/simulators.dart:388) #7 IOSSimulator._setupUpdatedApplicationBundle (package:flutter_tools/src/ios/simulators.dart:354) &lt;asynchronous suspension&gt; #8 IOSSimulator.startApp (package:flutter_tools/src/ios/simulators.dart:286) &lt;asynchronous suspension&gt; #9 FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:289) &lt;asynchronous suspension&gt; #10 HotRunner.run (package:flutter_tools/src/run_hot.dart:216) &lt;asynchronous suspension&gt; #11 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:399) &lt;asynchronous suspension&gt; #12 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344) &lt;asynchronous suspension&gt; #13 FlutterCommand.run.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command.dart:279) &lt;asynchronous suspension&gt; #14 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142) &lt;asynchronous suspension&gt; #15 _rootRun (dart:async/zone.dart:1126) #16 _CustomZone.run (dart:async/zone.dart:1023) #17 runZoned (dart:async/zone.dart:1501) #18 AppContext.run (package:flutter_tools/src/base/context.dart:141) &lt;asynchronous suspension&gt; #19 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270) #20 CommandRunner.runCommand (package:args/command_runner.dart:194) &lt;asynchronous suspension&gt; #21 FlutterCommandRunner.runCommand.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command_runner.dart:309) &lt;asynchronous suspension&gt; #22 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142) &lt;asynchronous suspension&gt; #23 _rootRun (dart:async/zone.dart:1126) #24 _CustomZone.run (dart:async/zone.dart:1023) #25 runZoned (dart:async/zone.dart:1501) #26 AppContext.run (package:flutter_tools/src/base/context.dart:141) &lt;asynchronous suspension&gt; #27 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265) &lt;asynchronous suspension&gt; #28 CommandRunner.run.&lt;anonymous closure&gt; (package:args/command_runner.dart:109) #29 new Future.sync (dart:async/future.dart:222) #30 CommandRunner.run (package:args/command_runner.dart:109) #31 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174) #32 run.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:54) &lt;asynchronous suspension&gt; #33 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142) &lt;asynchronous suspension&gt; #34 _rootRun (dart:async/zone.dart:1126) #35 _CustomZone.run (dart:async/zone.dart:1023) #36 runZoned (dart:async/zone.dart:1501) #37 AppContext.run (package:flutter_tools/src/base/context.dart:141) &lt;asynchronous suspension&gt; #38 runInContext (package:flutter_tools/src/context_runner.dart:43) &lt;asynchronous suspension&gt; #39 run (package:flutter_tools/runner.dart:49) #40 main (package:flutter_tools/executable.dart:49) &lt;asynchronous suspension&gt; #41 main (file:///b/build/slave/Mac_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8) #42 _startIsolate.&lt;anonymous closure&gt; (dart:isolate-patch/dart:isolate/isolate_patch.dart:277) #43 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)"><pre class="notranslate"><code class="notranslate">#0 List.[] (dart:core-patch/dart:core/growable_array.dart:141) #1 readDepfile (package:flutter_tools/src/base/fingerprint.dart:174) &lt;asynchronous suspension&gt; #2 Fingerprinter._getPaths (package:flutter_tools/src/base/fingerprint.dart:88) &lt;asynchronous suspension&gt; #3 Fingerprinter.doesFingerprintMatch (package:flutter_tools/src/base/fingerprint.dart:60) &lt;asynchronous suspension&gt; #4 KernelCompiler.compile (package:flutter_tools/src/compile.dart:104) &lt;asynchronous suspension&gt; #5 build (package:flutter_tools/src/bundle.dart:74) &lt;asynchronous suspension&gt; #6 IOSSimulator._sideloadUpdatedAssetsForInstalledApplicationBundle (package:flutter_tools/src/ios/simulators.dart:388) #7 IOSSimulator._setupUpdatedApplicationBundle (package:flutter_tools/src/ios/simulators.dart:354) &lt;asynchronous suspension&gt; #8 IOSSimulator.startApp (package:flutter_tools/src/ios/simulators.dart:286) &lt;asynchronous suspension&gt; #9 FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:289) &lt;asynchronous suspension&gt; #10 HotRunner.run (package:flutter_tools/src/run_hot.dart:216) &lt;asynchronous suspension&gt; #11 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:399) &lt;asynchronous suspension&gt; #12 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344) &lt;asynchronous suspension&gt; #13 FlutterCommand.run.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command.dart:279) &lt;asynchronous suspension&gt; #14 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142) &lt;asynchronous suspension&gt; #15 _rootRun (dart:async/zone.dart:1126) #16 _CustomZone.run (dart:async/zone.dart:1023) #17 runZoned (dart:async/zone.dart:1501) #18 AppContext.run (package:flutter_tools/src/base/context.dart:141) &lt;asynchronous suspension&gt; #19 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270) #20 CommandRunner.runCommand (package:args/command_runner.dart:194) &lt;asynchronous suspension&gt; #21 FlutterCommandRunner.runCommand.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command_runner.dart:309) &lt;asynchronous suspension&gt; #22 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142) &lt;asynchronous suspension&gt; #23 _rootRun (dart:async/zone.dart:1126) #24 _CustomZone.run (dart:async/zone.dart:1023) #25 runZoned (dart:async/zone.dart:1501) #26 AppContext.run (package:flutter_tools/src/base/context.dart:141) &lt;asynchronous suspension&gt; #27 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265) &lt;asynchronous suspension&gt; #28 CommandRunner.run.&lt;anonymous closure&gt; (package:args/command_runner.dart:109) #29 new Future.sync (dart:async/future.dart:222) #30 CommandRunner.run (package:args/command_runner.dart:109) #31 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174) #32 run.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:54) &lt;asynchronous suspension&gt; #33 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142) &lt;asynchronous suspension&gt; #34 _rootRun (dart:async/zone.dart:1126) #35 _CustomZone.run (dart:async/zone.dart:1023) #36 runZoned (dart:async/zone.dart:1501) #37 AppContext.run (package:flutter_tools/src/base/context.dart:141) &lt;asynchronous suspension&gt; #38 runInContext (package:flutter_tools/src/context_runner.dart:43) &lt;asynchronous suspension&gt; #39 run (package:flutter_tools/runner.dart:49) #40 main (package:flutter_tools/executable.dart:49) &lt;asynchronous suspension&gt; #41 main (file:///b/build/slave/Mac_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8) #42 _startIsolate.&lt;anonymous closure&gt; (dart:isolate-patch/dart:isolate/isolate_patch.dart:277) #43 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165) </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 (Channel dev, v0.4.4, on Mac OS X 10.13.4 17E202, locale en-CN) • Flutter version 0.4.4 at /Users/walker/Documents/libs/flutter • Framework revision f9bb4289e9 (11 days 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 /Users/walker/Documents/libs/android-sdk-macosx • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • ANDROID_HOME = /Users/walker/Documents/libs/android-sdk-macosx • Java binary at: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java • Java version Java(TM) SE Runtime Environment (build 1.8.0_131-b11) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.3, Build version 9E145 • ios-deploy 1.9.2 • CocoaPods version 1.5.2 [✗] 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). [✓] VS Code (version 1.23.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Dart Code extension version 2.12.1 [✓] Connected devices (2 available) • • b6fac6f62dbfba496a084ce56ddc80d94121385b • ios • iOS • iPhone X • D98B467B-1756-436B-9DAF-98E915394BA3 • ios • iOS 11.3 (simulator) ! Doctor found issues in 1 category."><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel dev, v0.4.4, on Mac OS X 10.13.4 17E202, locale en-CN) • Flutter version 0.4.4 at /Users/walker/Documents/libs/flutter • Framework revision f9bb4289e9 (11 days 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 /Users/walker/Documents/libs/android-sdk-macosx • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • ANDROID_HOME = /Users/walker/Documents/libs/android-sdk-macosx • Java binary at: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java • Java version Java(TM) SE Runtime Environment (build 1.8.0_131-b11) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.3, Build version 9E145 • ios-deploy 1.9.2 • CocoaPods version 1.5.2 [✗] 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). [✓] VS Code (version 1.23.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Dart Code extension version 2.12.1 [✓] Connected devices (2 available) • • b6fac6f62dbfba496a084ce56ddc80d94121385b • ios • iOS • iPhone X • D98B467B-1756-436B-9DAF-98E915394BA3 • ios • iOS 11.3 (simulator) ! Doctor found issues in 1 category. </code></pre></div> <h3 dir="auto">flutter analyze</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter analyze Analyzing animation... No issues found! (ran in 1.8s)"><pre class="notranslate"><code class="notranslate">flutter analyze Analyzing animation... No issues found! (ran in 1.8s) </code></pre></div>
1
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1896620/11261236/87592644-8ead-11e5-9c29-246b3d7aa922.png"><img src="https://cloud.githubusercontent.com/assets/1896620/11261236/87592644-8ead-11e5-9c29-246b3d7aa922.png" alt="image" style="max-width: 100%;"></a></p>
1
<p dir="auto">Index.html</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;webview id=&quot;MainPage&quot; src=&quot;https://www.google.com/&quot;&gt;&lt;/webview&gt; &lt;script src=&quot;main.js&quot;&gt;&lt;/script&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">webview</span> <span class="pl-c1">id</span>="<span class="pl-s">MainPage</span>" <span class="pl-c1">src</span>="<span class="pl-s">https://www.google.com/</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">webview</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">main.js</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">Main.js</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$Document.ready(function(){ $Document.on(&quot;keydown&quot;, function(e){ if (e.ctrlKey &amp;&amp; e.altKey &amp;&amp; e.which === 82) { window.location.reload(); } }); });"><pre class="notranslate"><span class="pl-s1">$Document</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span> <span class="pl-s1">$Document</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">"keydown"</span><span class="pl-kos">,</span> <span class="pl-k">function</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-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">ctrlKey</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">altKey</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">which</span> <span class="pl-c1">===</span> <span class="pl-c1">82</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-c1">location</span><span class="pl-kos">.</span><span class="pl-en">reload</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">The web view renders perfectly on first start.<br> But when the window is reloaded via CTRL + ALT + R<br> The webview remains blank.</p>
<p dir="auto">I have a repeatable problem when an existing webview tag is hidden and then shown, but only in a specific situation (see instructions to repeat the problem below). The webview does a reload even though nothing in my code told it to. And then it shows an empty white area. If I resize the containing DIV it is repaired and the page appears again.</p> <p dir="auto">I'm not sure exactly what triggers this. It happens when Atom splits a pane and then I go back to a tab with a webview. I've walked through the split code and it just creates a new pane and then attaches a new text editor to it.</p> <p dir="auto">To recreate the problem ...</p> <ul dir="auto"> <li>Install the package <code class="notranslate">web-browser</code>, branch <code class="notranslate">blank-webview</code>.</li> <li>open any text file in one pane</li> <li>add a webpage to that pane (ctrl-alt-b)</li> <li>select the text file and split right</li> <li>select the original text file again</li> <li>select web page tab</li> </ul> <p dir="auto">Then the webpage shows a reload indicator and comes up all white. Resizing the page fixes it..</p> <p dir="auto"><strong>Edit:</strong> branch is at <a href="https://github.com/mark-hahn/web-browser/tree/blank-webview">https://github.com/mark-hahn/web-browser/tree/blank-webview</a>.</p>
1
<p dir="auto">Hi everyone,</p> <p dir="auto">I thought this was addressed in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="494868673" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/2797" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/terminal/pull/2797/hovercard" href="https://github.com/microsoft/terminal/pull/2797">#2797</a>, but it didn't. It might be a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="322014163" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/174" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/174/hovercard" href="https://github.com/microsoft/terminal/issues/174">#174</a>.</p> <h2 dir="auto">The problem</h2> <p dir="auto">In short, copying + pasting is very weird with newlines. In some cases, it seems to copy only <em>some</em> of them:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7847742/65805801-55555100-e187-11e9-9216-89556dfeaad7.png"><img src="https://user-images.githubusercontent.com/7847742/65805801-55555100-e187-11e9-9216-89556dfeaad7.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">But using <code class="notranslate">clear</code> in the WSL seems to reliably and effectively completely break copying.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7847742/65806217-cf3a0a00-e188-11e9-84ba-5ee17b1ceaae.png"><img src="https://user-images.githubusercontent.com/7847742/65806217-cf3a0a00-e188-11e9-84ba-5ee17b1ceaae.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">It doesn't copy any whitespaces, instead, it copies the buffer as-is.</p> <p dir="auto">The same effect seems to occur with PowerShell. Here without a <code class="notranslate">clear</code> beforehand:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7847742/65806287-1e803a80-e189-11e9-9c2c-c335a3e34def.png"><img src="https://user-images.githubusercontent.com/7847742/65806287-1e803a80-e189-11e9-9c2c-c335a3e34def.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">And here with a clear beforehand:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7847742/65806308-2e981a00-e189-11e9-8b07-c0a0c198180d.png"><img src="https://user-images.githubusercontent.com/7847742/65806308-2e981a00-e189-11e9-8b07-c0a0c198180d.png" alt="image" style="max-width: 100%;"></a></p> <h2 dir="auto">System info</h2> <p dir="auto">The selected console is a standard WSL Ubuntu, as detected by the terminal:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" { &quot;guid&quot;: &quot;{2c4de342-38b7-51cf-b940-2309a097f518}&quot;, &quot;hidden&quot;: false, &quot;name&quot;: &quot;Ubuntu&quot;, &quot;source&quot;: &quot;Windows.Terminal.Wsl&quot; }"><pre class="notranslate"> <span class="pl-kos">{</span> <span class="pl-s">"guid"</span>: <span class="pl-s">"{2c4de342-38b7-51cf-b940-2309a097f518}"</span><span class="pl-kos">,</span> <span class="pl-s">"hidden"</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span> <span class="pl-s">"name"</span>: <span class="pl-s">"Ubuntu"</span><span class="pl-kos">,</span> <span class="pl-s">"source"</span>: <span class="pl-s">"Windows.Terminal.Wsl"</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">If it's a powershell, it's similar:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" { // Make changes here to the powershell.exe profile &quot;guid&quot;: &quot;{61c54bbd-c2c6-5271-96e7-009a87ff44bf}&quot;, &quot;name&quot;: &quot;Windows PowerShell&quot;, &quot;commandline&quot;: &quot;powershell.exe&quot;, &quot;hidden&quot;: false },"><pre class="notranslate"> <span class="pl-kos">{</span> <span class="pl-c">// Make changes here to the powershell.exe profile</span> <span class="pl-s">"guid"</span>: <span class="pl-s">"{61c54bbd-c2c6-5271-96e7-009a87ff44bf}"</span><span class="pl-kos">,</span> <span class="pl-s">"name"</span>: <span class="pl-s">"Windows PowerShell"</span><span class="pl-kos">,</span> <span class="pl-s">"commandline"</span>: <span class="pl-s">"powershell.exe"</span><span class="pl-kos">,</span> <span class="pl-s">"hidden"</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span><span class="pl-kos">,</span></pre></div> <p dir="auto">Nothing in the config has been changed, besides adding two (unrelated) profiles. In the screenshot, the Windows Terminal was freshly opened.</p> <p dir="auto">Version information of Windows Terminal:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows Terminal (Preview) Version: 0.5.2681.0"><pre class="notranslate"><code class="notranslate">Windows Terminal (Preview) Version: 0.5.2681.0 </code></pre></div> <p dir="auto">System + Build Info:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7847742/65805934-d3195c80-e187-11e9-9f7a-2b9b07fe42c7.png"><img src="https://user-images.githubusercontent.com/7847742/65805934-d3195c80-e187-11e9-9f7a-2b9b07fe42c7.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">If I can help with providing anything else, please do ask.</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.476 Windows Terminal version (if applicable): 0.6.2951.0 Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18363.476 Windows Terminal version (if applicable): 0.6.2951.0 Any other software? </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <ul dir="auto"> <li>Open cmd</li> <li>Type any chars until line breaks</li> <li>Type <code class="notranslate">Backspace</code> until the cursor gets back to the previous row</li> </ul> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Every <code class="notranslate">Backspace</code> should delete one char</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">When cursor changes line there is one additional space to delete and the typing position is off by one afterward.<br> PS seems to work correctly<br> Deleting chars with <code class="notranslate">Del</code> seems to work correctly</p>
0
<p dir="auto">This would enable people to specify how long the local cache version of a repo is valid for (default would be 0 meaning things are always pulled from the remote).</p> <p dir="auto">This would mean that if the version: was set to a branch or tag name (or maybe even a hash) we would only look at checking out the most recent version in the local repo, unless the cache time was invalid.</p> <p dir="auto">This would drastically speed up / give the options to speed up ansible playbooks that have a lot of git module / repo usage.</p>
<p dir="auto">When the git module is given a hash as the version of the repo to checkout the git module should first do a quick check to see if we are already on the given hash!<br> Currently even if the repo is already on the version / hash we want it seems to pull from the remote and update.<br> Instead we should make sure the repo exists (pull if it doesn't) and then check the current hash of HEAD and if it matches the hash version we want, do nothing, if it doesn't, pull said hash version.</p> <p dir="auto">This would drastically increase the speed of playbooks that depend on, say 100 git repos and specify a given version hash</p>
1
<p dir="auto">There is a problem with the doc generation when generating it for external crates and coupled with versioning. As an example, the term-related items will 404 on this search <a href="http://doc.rust-lang.org/std/index.html?search=term" rel="nofollow">http://doc.rust-lang.org/std/index.html?search=term</a> because it lacks the /nightly/ part.</p>
<p dir="auto">Entering the above search term or just going <a href="http://doc.rust-lang.org/std/?search=term%3A%3Astdout" rel="nofollow">here</a> and clicking the first (and only) search result leads you to a Github Pages 404 page.</p> <p dir="auto">Note that <a href="http://doc.rust-lang.org/term/term/fn.stdout.html" rel="nofollow">this</a> link works just fine.</p>
1
<p dir="auto">by <strong>sebi.koch</strong>:</p> <pre class="notranslate">What steps will reproduce the problem? 1. cd test/bench 2. ./run What is the expected output? What do you see instead? expected: to run and print information about the tests what I see: Runs without output, using about 50% of both cores running "killall 8.out" several times it finally prints the following output: &gt; &gt; == ./ &gt; &gt; =========== ./cmp2.go &gt; comparing uncomparable type []int &gt; throw: interface compare &gt; &gt; panic PC=xxx &gt; &gt; =========== ./cmp3.go &gt; comparing uncomparable type []int &gt; throw: interface compare &gt; &gt; panic PC=xxx &gt; &gt; =========== ./cmp4.go &gt; hash of unhashable type []int &gt; throw: interface hash &gt; &gt; panic PC=xxx &gt; &gt; =========== ./cmp5.go &gt; hash of unhashable type []int &gt; throw: interface hash &gt; &gt; panic PC=xxx &gt; &gt; =========== ./helloworld.go &gt; hello, world &gt; &gt; =========== ./peano.go &gt; 0! = 1 &gt; 1! = 1 &gt; 2! = 2 &gt; 3! = 6 &gt; 4! = 24 &gt; 5! = 120 &gt; 6! = 720 &gt; 7! = 5040 &gt; 8! = 40320 &gt; 9! = 362880 &gt; &gt; =========== ./printbig.go &gt; -9223372036854775808 &gt; 9223372036854775807 &gt; &gt; =========== ./sigchld.go &gt; survived SIGCHLD &gt; &gt; =========== ./turing.go &gt; Hello World! &gt; &gt; == ken/ &gt; &gt; =========== ken/intervar.go &gt; print 1 bio 2 file 3 -- abc &gt; &gt; =========== ken/label.go &gt; 100 &gt; &gt; =========== ken/rob1.go &gt; 9876543210 &gt; &gt; =========== ken/rob2.go &gt; (defn foo (add 12 34)) &gt; &gt; =========== ken/simpprint.go &gt; hello world &gt; &gt; =========== ken/simpswitch.go &gt; 0out01out12out2aout34out4fiveout56out6aout78out89out9 &gt; &gt; =========== ken/string.go &gt; abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz &gt; &gt; == chan/ &gt; &gt; =========== chan/nonblock.go &gt; PASS &gt; &gt; == interface/ &gt; &gt; =========== interface/fail.go &gt; *main.S is not main.I: missing method Foo &gt; throw: interface conversion &gt; &gt; panic PC=xxx &gt; &gt; =========== interface/returntype.go &gt; *main.S is not main.I2: missing method Name &gt; throw: interface conversion &gt; &gt; panic PC=xxx &gt; &gt; == nilptr/ &gt; &gt; == fixedbugs/ &gt; &gt; =========== fixedbugs/bug016.go &gt; fixedbugs/bug016.go:11: constant -3 overflows uint &gt; &gt; =========== fixedbugs/bug027.go &gt; hi &gt; 0 44444 &gt; 1 3333 &gt; 2 222 &gt; 3 11 &gt; 4 0 &gt; 0 44444 &gt; 1 3333 &gt; 2 222 &gt; 3 11 &gt; 4 0 &gt; &gt; =========== fixedbugs/bug067.go &gt; ok &gt; &gt; =========== fixedbugs/bug070.go &gt; outer loop top k 0 &gt; inner loop top i 0 &gt; do break &gt; broke &gt; &gt; =========== fixedbugs/bug081.go &gt; fixedbugs/bug081.go:9: fatal error: typecheck loop &gt; &gt; =========== fixedbugs/bug093.go &gt; M &gt; &gt; =========== fixedbugs/bug113.go &gt; interface is int, not int32 &gt; throw: interface conversion &gt; &gt; panic PC=xxx &gt; &gt; =========== fixedbugs/bug148.go &gt; 2 3 &gt; interface is main.T, not main.T·1 &gt; throw: interface conversion &gt; &gt; panic PC=xxx &gt; &gt; == bugs/ &gt; &gt; =========== bugs/bug218.go &gt; &lt;epoch&gt;: fatal error: dowidth: unknown type: blank &gt; BUG: bug218 0 known bugs; 0 unexpected bugs; test output differs What is your $GOOS? $GOARCH? $GOOS darwin $GOARCH 386 Which revision are you sync'ed to? (hg log -l 1) changeset: 4148:b56be100e580 tag: tip user: Rob Pike &lt;[email protected]&gt; date: Wed Nov 18 19:58:32 2009 -0800 summary: replace custom findByte with bytes.IndexByte Please provide any additional information below. 1st gen MacBook (32bit) with MacOS.</pre>
<pre class="notranslate">What steps will reproduce the problem? 1. run attached timefor with flags -l and -s Usage of ./timefor: -l=false: run long-term sleeper -s=false: use time.Sleep instead of time.After What is the expected output? all time.Sleep sleeper goroutines work well What do you see instead? all time.Sleep sleeper gorutines stalled</pre> <p dir="auto">Attachments:</p> <ol dir="auto"> <li><a href="https://storage.googleapis.com/go-attachment/5439/0/timefor.go" rel="nofollow">timefor.go</a> (908 bytes)</li> </ol>
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.5.2(test),but there are many different versions inside the company.</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &lt;dependency&gt; &lt;groupId&gt;com.alibaba&lt;/groupId&gt; &lt;artifactId&gt;dubbo&lt;/artifactId&gt; &lt;version&gt;2.5.2&lt;/version&gt; &lt;exclusions&gt; &lt;exclusion&gt; &lt;artifactId&gt;javassist&lt;/artifactId&gt; &lt;groupId&gt;org.javassist&lt;/groupId&gt; &lt;/exclusion&gt; &lt;/exclusions&gt; &lt;/dependency&gt;"><pre class="notranslate"><code class="notranslate"> &lt;dependency&gt; &lt;groupId&gt;com.alibaba&lt;/groupId&gt; &lt;artifactId&gt;dubbo&lt;/artifactId&gt; &lt;version&gt;2.5.2&lt;/version&gt; &lt;exclusions&gt; &lt;exclusion&gt; &lt;artifactId&gt;javassist&lt;/artifactId&gt; &lt;groupId&gt;org.javassist&lt;/groupId&gt; &lt;/exclusion&gt; &lt;/exclusions&gt; &lt;/dependency&gt; </code></pre></div> <ul dir="auto"> <li>Operating System version: <code class="notranslate">uname -a</code></li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Darwin tes.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64"><pre class="notranslate"><code class="notranslate">Darwin tes.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64 </code></pre></div> <ul dir="auto"> <li>Java version: java -version ,but there are many different versions(1.6,1.7) inside the company.</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java version &quot;1.8.0_161&quot; Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)"><pre class="notranslate"><code class="notranslate">java version "1.8.0_161" Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode) </code></pre></div> <h3 dir="auto">Reason</h3> <p dir="auto">The low version of dubbo does not provide elegant closure of the dubbo service network, so we are compatible with reflection, but now we don't know the number of consumers.</p> <p dir="auto">i can get provider bu using reflect,but can't get consumer. Thanks in advance. please<br> forgive my lame English</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/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.0</li> <li>Operating System version: macOS Mojave 10.14.3 18D42 x86_64</li> <li>Java version: 1.8.0_202</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>boot (<a href="https://github.com/guxingke/demo/blob/master/dubbo-demo/p2p-group-bug-demo/src/main/java/com/gxk/demo/boot/BugServerApp.java">https://github.com/guxingke/demo/blob/master/dubbo-demo/p2p-group-bug-demo/src/main/java/com/gxk/demo/boot/BugServerApp.java</a>)</li> <li>boot (<a href="https://github.com/guxingke/demo/blob/master/dubbo-demo/p2p-group-bug-demo/src/main/java/com/gxk/demo/boot/ClientApp.java">https://github.com/guxingke/demo/blob/master/dubbo-demo/p2p-group-bug-demo/src/main/java/com/gxk/demo/boot/ClientApp.java</a>)</li> </ol> <h3 dir="auto">Expected Result</h3> <p dir="auto">like "Hello dubbo, response from provider: 192.168.136.176:52159"</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">nothing, but exception.</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="[NettyServerWorker-3-1] INFO org.apache.dubbo.rpc.protocol.dubbo.CallbackServiceCodec - [DUBBO] Not found exported service: com.gxk.demo.service.HelloService:20880 in [test/com.gxk.demo.service.HelloService:20880], may be version or group mismatch , channel: consumer: /192.168.136.176:51666 --&gt; provider: /192.168.136.176:20880, message:RpcInvocation [methodName=hello, parameterTypes=[class java.lang.String], arguments=null, attachments={path=com.gxk.demo.service.HelloService, dubbo=2.0.2, interface=com.gxk.demo.service.HelloService, version=0.0.0}], dubbo version: 2.7.0, current host: 192.168.136.176 org.apache.dubbo.remoting.RemotingException: Not found exported service: com.gxk.demo.service.HelloService:20880 in [test/com.gxk.demo.service.HelloService:20880], may be version or group mismatch , channel: consumer: /192.168.136.176:51666 --&gt; provider: /192.168.136.176:20880, message:RpcInvocation [methodName=hello, parameterTypes=[class java.lang.String], arguments=null, attachments={path=com.gxk.demo.service.HelloService, dubbo=2.0.2, interface=com.gxk.demo.service.HelloService, version=0.0.0}] at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol.getInvoker(DubboProtocol.java:223) at org.apache.dubbo.rpc.protocol.dubbo.CallbackServiceCodec.decodeInvocationArgument(CallbackServiceCodec.java:270) at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:134) at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:70) at org.apache.dubbo.rpc.protocol.dubbo.DubboCodec.decodeBody(DubboCodec.java:132) at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:125) at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:85) at org.apache.dubbo.rpc.protocol.dubbo.DubboCountCodec.decode(DubboCountCodec.java:46) at org.apache.dubbo.remoting.transport.netty4.NettyCodecAdapter$InternalDecoder.decode(NettyCodecAdapter.java:95) at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:489) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:428) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:647) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:582) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:461) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748)"><pre class="notranslate"><code class="notranslate">[NettyServerWorker-3-1] INFO org.apache.dubbo.rpc.protocol.dubbo.CallbackServiceCodec - [DUBBO] Not found exported service: com.gxk.demo.service.HelloService:20880 in [test/com.gxk.demo.service.HelloService:20880], may be version or group mismatch , channel: consumer: /192.168.136.176:51666 --&gt; provider: /192.168.136.176:20880, message:RpcInvocation [methodName=hello, parameterTypes=[class java.lang.String], arguments=null, attachments={path=com.gxk.demo.service.HelloService, dubbo=2.0.2, interface=com.gxk.demo.service.HelloService, version=0.0.0}], dubbo version: 2.7.0, current host: 192.168.136.176 org.apache.dubbo.remoting.RemotingException: Not found exported service: com.gxk.demo.service.HelloService:20880 in [test/com.gxk.demo.service.HelloService:20880], may be version or group mismatch , channel: consumer: /192.168.136.176:51666 --&gt; provider: /192.168.136.176:20880, message:RpcInvocation [methodName=hello, parameterTypes=[class java.lang.String], arguments=null, attachments={path=com.gxk.demo.service.HelloService, dubbo=2.0.2, interface=com.gxk.demo.service.HelloService, version=0.0.0}] at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol.getInvoker(DubboProtocol.java:223) at org.apache.dubbo.rpc.protocol.dubbo.CallbackServiceCodec.decodeInvocationArgument(CallbackServiceCodec.java:270) at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:134) at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:70) at org.apache.dubbo.rpc.protocol.dubbo.DubboCodec.decodeBody(DubboCodec.java:132) at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:125) at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:85) at org.apache.dubbo.rpc.protocol.dubbo.DubboCountCodec.decode(DubboCountCodec.java:46) at org.apache.dubbo.remoting.transport.netty4.NettyCodecAdapter$InternalDecoder.decode(NettyCodecAdapter.java:95) at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:489) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:428) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:647) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:582) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:461) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) </code></pre></div>
0
<p dir="auto">Greetings to all! I have a suggestion to create the possibility of rendering js scripts in requests. Yes, I know that there is a requests-html project, but it is abandoned, and somehow you need to cope with js</p>
<p dir="auto">When implementing time based throttle mechanism, the start of request time is quite useful, please consider expose it as instance property, so we don't need to wrap requests in a multiple <code class="notranslate">time.utctime()</code> calls. It's a waste of syscall and duplicated code.</p> <p dir="auto"><a href="https://github.com/kennethreitz/requests/blob/master/requests/sessions.py#L570">https://github.com/kennethreitz/requests/blob/master/requests/sessions.py#L570</a></p>
0
<p dir="auto">Remove all my api’s and reset all my accounts and balance to zero. Since, I was bugged and hacked.</p> <p dir="auto">Thank you I really appreciate all the hard work and effort.</p> <p dir="auto"><strong>Originally posted by @F0o0De in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="952293222" data-permission-text="Title is private" data-url="https://github.com/Coinigy/api/issues/45" data-hovercard-type="pull_request" data-hovercard-url="/Coinigy/api/pull/45/hovercard" href="https://github.com/Coinigy/api/pull/45">Coinigy/api#45</a></strong></p>
<p dir="auto">Remove all my api’s and reset all my accounts and balance to zero. Since, I was bugged and hacked.</p> <p dir="auto">Thank you I really appreciate all the hard work and effort.</p>
1
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p> <p dir="auto"><strong>What is the current behavior?</strong></p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p> <p dir="auto"><strong>What is the expected behavior?</strong></p> <p dir="auto"><strong>If this is a feature request, what is motivation or use case for changing the behavior?</strong></p> <p dir="auto"><strong>Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.</strong></p> <p dir="auto">Hi guys,</p> <p dir="auto">I'm using Webpack 4 and wanted to split two entry points and avoid duplication. So, I have react and react-dom in both chunks.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="entry: { index: ['babel-polyfill', './app/app.jsx'], vendor: [ 'react', 'react-dom' ] }"><pre class="notranslate">entry: <span class="pl-kos">{</span> <span class="pl-c1">index</span>: <span class="pl-kos">[</span><span class="pl-s">'babel-polyfill'</span><span class="pl-kos">,</span> <span class="pl-s">'./app/app.jsx'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">vendor</span>: <span class="pl-kos">[</span> <span class="pl-s">'react'</span><span class="pl-kos">,</span> <span class="pl-s">'react-dom'</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=" splitChunks: { cacheGroups: { index: { minChunks: 2, priority: -20, reuseExistingChunk: true }, vendor: { test: /[\\/]node_modules[\\/]/, priority: -10 } } }"><pre class="notranslate"> splitChunks: <span class="pl-kos">{</span> <span class="pl-c1">cacheGroups</span>: <span class="pl-kos">{</span> <span class="pl-c1">index</span>: <span class="pl-kos">{</span> <span class="pl-c1">minChunks</span>: <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">priority</span>: <span class="pl-c1">-</span><span class="pl-c1">20</span><span class="pl-kos">,</span> <span class="pl-c1">reuseExistingChunk</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">vendor</span>: <span class="pl-kos">{</span> <span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-kos">[</span><span class="pl-cce">\\</span>/<span class="pl-kos">]</span>node_modules<span class="pl-kos">[</span><span class="pl-cce">\\</span>/<span class="pl-kos">]</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span> <span class="pl-c1">priority</span>: <span class="pl-c1">-</span><span class="pl-c1">10</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div>
<p dir="auto">This is basically the same problem as <a href="https://github.com/joyent/node/issues/6829" data-hovercard-type="issue" data-hovercard-url="/nodejs/node-v0.x-archive/issues/6829/hovercard">this requireJS issue</a>: "require() loads same module multiple times if case is different". I might even have the same origin.</p> <p dir="auto">Here's my two cents: I have to js files, both requiring jQuery but using different casing. This results in an increased webpack size. Chrome DevTools show jQuery.js twice in the Source tab:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/7db45af7d1dcbba16f8d2c9f9af89d25ee486ec5ef2b76305e2e6a8d1de287cc/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f373030383933392f323437303330352f32616438393662362d623031302d313165332d396139382d3733323136653439353665382e706e67"><img src="https://camo.githubusercontent.com/7db45af7d1dcbba16f8d2c9f9af89d25ee486ec5ef2b76305e2e6a8d1de287cc/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f373030383933392f323437303330352f32616438393662362d623031302d313165332d396139382d3733323136653439353665382e706e67" alt="image" data-canonical-src="https://f.cloud.github.com/assets/7008939/2470305/2ad896b6-b010-11e3-9a98-73216e4956e8.png" style="max-width: 100%;"></a></p> <p dir="auto">When I fix the casing, the size is about 90KB smaller and the second entry in DevTools disappear.</p> <p dir="auto">Is this a "works as designed" thing due to javascript being case sensitive or is it a bug?</p>
0
<h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br> <a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br> on reporting bugs.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br> for similar or identical bug reports.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br> for existing proposed fixes.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br> to find out if the bug was already fixed in the master branch.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br> in this issue (If there are none, check this box anyway).</li> </ul> <h2 dir="auto">Mandatory Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br> (if you are not able to do this, then at least specify the Celery<br> version affected).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br> to reproduce this bug.</li> </ul> <h2 dir="auto">Optional Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 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" checked=""> I have tried reproducing the issue on more than one workers pool.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br> ETA/Countdown &amp; rate limits disabled.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue after downgrading<br> and/or upgrading Celery and its dependencies.</li> </ul> <h2 dir="auto">Related Issues and Possible Duplicates</h2> <h4 dir="auto">Related Issues</h4> <ul dir="auto"> <li>None</li> </ul> <h4 dir="auto">Possible Duplicates</h4> <ul dir="auto"> <li>None</li> </ul> <h2 dir="auto">Environment &amp; Settings</h2> <p dir="auto"><strong>Celery version</strong>: 4.3</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> <h2 dir="auto">Required Dependencies</h2> <ul dir="auto"> <li><strong>Minimal Python Version</strong>: N/A or Unknown</li> <li><strong>Minimal Celery Version</strong>: N/A or Unknown</li> <li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li> <li><strong>Minimal Broker Version</strong>: N/A or Unknown</li> <li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li> <li><strong>Minimal OS and/or Kernel Version</strong>: N/A or Unknown</li> <li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li> <li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li> </ul> <h3 dir="auto">Python Packages</h3> <details> <summary><b><code class="notranslate">pip freeze</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></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">no import errors</p> <h1 dir="auto">Actual Behavior</h1> <p dir="auto">This release is supposed to be Python 2.7 compatible, but the most recent release of vine is 5+, which is Python 3. This breaks the build. I believe the vine version should be pinned to pre v5. I was able to fix it by doing this.</p> <p dir="auto">Defined to only use vine 5 in requirements.txt:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pytz&gt;dev billiard&gt;=3.6.0,&lt;4.0 kombu&gt;=4.5.0,&lt;5.0 vine&gt;=5.0.0a1"><pre class="notranslate"><code class="notranslate">pytz&gt;dev billiard&gt;=3.6.0,&lt;4.0 kombu&gt;=4.5.0,&lt;5.0 vine&gt;=5.0.0a1 </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="File &quot;/opt/buildagent/work/b2a7d77aec4cc7de/tmp/env/virtualenv/lib/python2.7/site-packages/vine-5.0.0a1-py2.7.egg/vine/abstract.py&quot;, line 8 [11:44:54]W: [Step 2/2] class Thenable(Callable, metaclass=abc.ABCMeta): # pragma: no cover [11:44:54]W: [Step 2/2] ^ [11:44:54]W: [Step 2/2] SyntaxError: invalid syntax"><pre class="notranslate"><code class="notranslate">File "/opt/buildagent/work/b2a7d77aec4cc7de/tmp/env/virtualenv/lib/python2.7/site-packages/vine-5.0.0a1-py2.7.egg/vine/abstract.py", line 8 [11:44:54]W: [Step 2/2] class Thenable(Callable, metaclass=abc.ABCMeta): # pragma: no cover [11:44:54]W: [Step 2/2] ^ [11:44:54]W: [Step 2/2] SyntaxError: invalid syntax </code></pre></div>
<h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+label%3A%22Issue+Type%3A+Feature+Request%22+">issues list</a><br> for similar or identical feature requests.</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?utf8=%E2%9C%93&amp;q=is%3Apr+label%3A%22PR+Type%3A+Feature%22+">pull requests list</a><br> for existing proposed implementations of this feature.</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 if the same feature was already implemented in the<br> 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">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">Brief Summary</h1> <h1 dir="auto">Design</h1> <h2 dir="auto">Architectural Considerations</h2> <p dir="auto">None</p> <h2 dir="auto">Proposed Behavior</h2> <p dir="auto">Celery tasks created with <code class="notranslate">@app.task</code> should support <code class="notranslate">typing.get_type_hints(my_celery_task)</code>.</p> <p dir="auto">It can be solved by copying the <code class="notranslate">__annotations__</code> from the decorated function when available. This is done by <code class="notranslate">functools.wraps()</code> in Python 3.0+, if I understand <a href="https://www.python.org/dev/peps/pep-3107/" rel="nofollow">PEP 3107</a> correctly. Without this <code class="notranslate">typing.get_type_hints(my_celery_task)</code> raises an exception.</p> <p dir="auto">It is my understanding that some other similar properties that <code class="notranslate">functools.wraps</code> handles are already copied: </p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/celery/celery/blob/d3863d909759f1fd618f2a1af1766ce54c16d39b/celery/app/base.py#L453-L454">celery/celery/app/base.py</a> </p> <p class="mb-0 color-fg-muted"> Lines 453 to 454 in <a data-pjax="true" class="commit-tease-sha" href="/celery/celery/commit/d3863d909759f1fd618f2a1af1766ce54c16d39b">d3863d9</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="L453" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="453"></td> <td id="LC453" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s">'__doc__'</span>: <span class="pl-s1">fun</span>.<span class="pl-s1">__doc__</span>, </td> </tr> <tr class="border-0"> <td id="L454" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="454"></td> <td id="LC454" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s">'__module__'</span>: <span class="pl-s1">fun</span>.<span class="pl-s1">__module__</span>, </td> </tr> </tbody></table> </div> </div> <p></p> <h2 dir="auto">Proposed UI/UX</h2> <h2 dir="auto">Diagrams</h2> <p dir="auto">N/A</p> <h2 dir="auto">Alternatives</h2> <p dir="auto">None</p>
0
<p dir="auto">C# allows adding names of arguments in a function call:</p> <div class="highlight highlight-source-cs notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="CalculateBMI(weight: 123, height: 64);"><pre class="notranslate">CalculateBMI<span class="pl-kos">(</span>weight<span class="pl-c1">:</span> <span class="pl-c1">123</span><span class="pl-kos">,</span> height<span class="pl-c1">:</span> <span class="pl-c1">64</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">See <a href="http://msdn.microsoft.com/en-us/library/dd264739.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/dd264739.aspx</a></p> <p dir="auto">In TypeScript's source this is also done, but with comments:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="emitLinesStartingAt(nodes, /*startIndex*/ 0);"><pre class="notranslate"><span class="pl-en">emitLinesStartingAt</span><span class="pl-kos">(</span><span class="pl-s1">nodes</span><span class="pl-kos">,</span> <span class="pl-c">/*startIndex*/</span> <span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Can we have named arguments in TypeScript like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="emitLinesStartingAt(nodes, startIndex: 0);"><pre class="notranslate"><code class="notranslate">emitLinesStartingAt(nodes, startIndex: 0); </code></pre></div> <p dir="auto">This can add some compile time checking, for instance when you type <code class="notranslate">count: 0</code> you will get an error.</p> <p dir="auto">I think we should add a restriction that the order of the arguments cannot be changed. Example:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function foo(first: number, second: number) {} var z = 3; foo(second: z++, first: z);"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-s1">first</span>: <span class="pl-smi">number</span><span class="pl-kos">,</span> <span class="pl-s1">second</span>: <span class="pl-smi">number</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">z</span> <span class="pl-c1">=</span> <span class="pl-c1">3</span><span class="pl-kos">;</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-s1">second</span>: <span class="pl-s1">z</span><span class="pl-c1">++</span><span class="pl-kos">,</span> <span class="pl-s1">first</span>: <span class="pl-s1">z</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">An error should be thrown on the last line, because changing the order of the arguments (to <code class="notranslate">foo(z, z++)</code>) in the generated javascript would cause unexpected behavior.</p> <p dir="auto">Also this can be useful for functions with lots of optional arguments:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function foo(a?, b?, c?, d?, e?) {} foo(e: 4); foo(d: 8, 5); // e will be 5"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">foo</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-s1">d</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-en">foo</span><span class="pl-kos">(</span><span class="pl-s1">e</span>: <span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-s1">d</span>: <span class="pl-c1">8</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-c">// e will be 5</span></pre></div> <p dir="auto">Generates</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function foo(a, b, c, d, e) {} foo(void 0, void 0, void 0, void 0, 4); foo(void 0, void 0, void 0, 8, 5);"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">foo</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-s1">d</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-en">foo</span><span class="pl-kos">(</span><span class="pl-k">void</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-k">void</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-k">void</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-k">void</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-k">void</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-k">void</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-k">void</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">8</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<h1 dir="auto">Motivation</h1> <p dir="auto">Verify inputs at application boundary.</p> <p dir="auto">When a Typescript application interacts with an external system (e.g. receives a Json object from a http request, or receives an object from an external library) a typical approach is to use the cast operator for the input and to assume/hope that the application receives the required type.</p> <p dir="auto">If/when the external system changes the assumption can be broken resulting in sometimes hard to find bugs and unhelpful runtime errors like "undefined is not a function".</p> <p dir="auto">These bugs are also quite hard to catch in tests since unit tests isolate the external system, only integration tests would be able to catch these scenarios.</p> <h1 dir="auto">Proposal</h1> <p dir="auto">A new cast operator could be introduced that does structural type checking at runtime.<br> Example:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$http.get('https://mySite.com/products', ( result: { data: IProduct[] } ) =&gt;{ var data:IProduct[] = dynamic_cast&lt;IProduct[]&gt;result.data; }); "><pre class="notranslate"><span class="pl-s1">$http</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s">'https://mySite.com/products'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span> <span class="pl-s1">result</span>: <span class="pl-kos">{</span> <span class="pl-s1">data</span>: <span class="pl-v">IProduct</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">=&gt;</span><span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">data</span>:<span class="pl-v">IProduct</span><span class="pl-kos">[</span><span class="pl-s1"></span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-s1">dynamic_cast</span><span class="pl-c1">&lt;</span><span class="pl-v">IProduct</span><span class="pl-kos">[</span><span class="pl-s1"></span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-s1">result</span><span class="pl-kos">.</span><span class="pl-c1">data</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">The Typescript compiler could operate in 2 modes ( debug / release or runtime type checks on/off)</p> <p dir="auto">In release the compiler would simply remove the dynamic_cast operator.<br> In debug mode the compiler would wrap the expression in a typeCheck call. It would generate something like this:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$http.get('https://mySite.com/products', function( result ) { var data:IProduct[] = IProduct.CheckType(result.data); });"><pre class="notranslate"><span class="pl-s1">$http</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s">'https://mySite.com/products'</span><span class="pl-kos">,</span> <span class="pl-k">function</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">var</span> <span class="pl-s1">data</span>:<span class="pl-v">IProduct</span><span class="pl-kos">[</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-v">IProduct</span><span class="pl-kos">.</span><span class="pl-en">CheckType</span><span class="pl-kos">(</span><span class="pl-s1">result</span><span class="pl-kos">.</span><span class="pl-c1">data</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">The tricky bit comes in implementing the CheckType() function.</p> <p dir="auto">Interfaces that are dynamically checked would suddenly acquire a runtime footprint.</p> <p dir="auto">Also any interface and Type that appear as the type of members of any interface and type that are type checked would also need to receive a ChekType static member function.</p> <p dir="auto">It would be still nicer if it would be possible to support a syntax like:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$http.get('https://mySite.com/products', ( result: dynamic_cast&lt;{ data: IProduct[] }&gt; ) =&gt;{ var data:IProduct[] = result.data; });"><pre class="notranslate"><span class="pl-s1">$http</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s">'https://mySite.com/products'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span> <span class="pl-s1">result</span>: <span class="pl-s1">dynamic_cast</span><span class="pl-c1">&lt;</span><span class="pl-kos">{</span> <span class="pl-c1">data</span>: <span class="pl-v">IProduct</span><span class="pl-kos">[</span><span class="pl-s1"></span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-c1">&gt;</span> <span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span><span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">data</span>:<span class="pl-v">IProduct</span><span class="pl-kos">[</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-s1">result</span><span class="pl-kos">.</span><span class="pl-c1">data</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Although it is not very clear (to me) where would the cast function be scoped and how it would be called, probably the lambda would be wrapped in something ugly like:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$http.get('https://mySite.com/products', function (result){ return (function( result ) { var data:IProduct[] = IProduct.CheckType(result.data); })( ???.CheckType(result)); });"><pre class="notranslate"><span class="pl-s1">$http</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s">'https://mySite.com/products'</span><span class="pl-kos">,</span> <span class="pl-k">function</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-kos">(</span><span class="pl-k">function</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">var</span> <span class="pl-s1">data</span>:<span class="pl-v">IProduct</span><span class="pl-kos">[</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-v">IProduct</span><span class="pl-kos">.</span><span class="pl-en">CheckType</span><span class="pl-kos">(</span><span class="pl-s1">result</span><span class="pl-kos">.</span><span class="pl-c1">data</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span> <span class="pl-c1">??</span><span class="pl-kos">?.</span><span class="pl-v">CheckType</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-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
0
<p dir="auto">I am raising this issue following <a href="https://stackoverflow.com/questions/35443080/tensorflow-critical-graph-operations-assigned-to-cpu-rather-than-gpu?lq=1" rel="nofollow">this stackoverflow discussion</a>. I found that there is not that much support for float64 ops, that is needed for some numerical applications. A number of other issues <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="133043841" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/1061" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/1061/hovercard" href="https://github.com/tensorflow/tensorflow/issues/1061">#1061</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="126369806" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/761" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/761/hovercard" href="https://github.com/tensorflow/tensorflow/issues/761">#761</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="122928655" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/547" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/547/hovercard" href="https://github.com/tensorflow/tensorflow/issues/547">#547</a> and PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="133491621" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/1089" data-hovercard-type="pull_request" data-hovercard-url="/tensorflow/tensorflow/pull/1089/hovercard" href="https://github.com/tensorflow/tensorflow/pull/1089">#1089</a> have been raised around this.</p> <p dir="auto">On the basis of how my graph is initialised, things like <strong>MatMul</strong> (also raised in this other <a href="https://stackoverflow.com/questions/35428297/tensorflow-issue-with-gpu-on-matmul-gpu-isnt-recognized?lq=1" rel="nofollow">stackoverflow question</a>), <strong>Mean, L2Loss, Mean_grad/Prod, Mul_grad/Sum, AddN, SoftmaxCrossEntropyWithLogits</strong> are not implemented for float64.</p> <p dir="auto">Would it be a good idea to extend PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="133491621" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/1089" data-hovercard-type="pull_request" data-hovercard-url="/tensorflow/tensorflow/pull/1089/hovercard" href="https://github.com/tensorflow/tensorflow/pull/1089">#1089</a> to more ops?</p>
<p dir="auto">I recently ran into a problem, while using bazel to build a project. This project is compiled as a dynamic linking library, using PyImport_Import to import python module. when there is "import tensorflow as tf" in the python file , application who calls the dynamic linking library crashed everytime, but when it‘s not there ,everything works just fine. where is the problem?<br> my tensorflow version is 1.0.0,python 2.7.0,bazel 0.4.3</p> <p dir="auto">here is the console information when the application crashes:</p> <blockquote> <p dir="auto">F tensorflow/core/framework/function.cc:1015] Check failed: GetOpGradFactory()-&gt;insert({op, func}).second Duplicated gradient for Softmax</p> </blockquote> <p dir="auto">here is the test python file looks like:<br> `from <strong>future</strong> import print_function<br> import tensorflow as tf<br> import os<br> import time<br> from itertools import izip<br> import numpy as np<br> import wrapt<br> import cv2<br> def get_int( ):<br> a = 10<br> b = 20<br> return a + b</p> <p dir="auto">def get_str( s1, s2 ):<br> #return s1 + s2<br> #return 'Hello , TY'<br> return ('Hello, World', 10, 20)`</p> <p dir="auto">here is the source code of .so file:<br> <code class="notranslate"> Py_Initialize(); if ( !Py_IsInitialized() ) { return -1; } PyEval_InitThreads(); PyThreadState *mainThreadState = NULL; // save a pointer to the main PyThreadState object mainThreadState = PyThreadState_Get(); // release the lock PyEval_ReleaseLock(); char* mockargv[1]={(char*)""}; PySys_SetArgv(1,mockargv); PyRun_SimpleString("import sys"); PyRun_SimpleString("sys.path.append('./')"); pName_ = PyString_FromString("test_py"); displayPyObject(pName_); if(pName_ == NULL){ return -1; } pModule_ = PyImport_Import(pName_); displayPyObject(pModule_);</code></p> <p dir="auto">and here is the dynamic linking library part of my BUILD file<br> <code class="notranslate">cc_binary( name = "test.so", linkshared = 1, deps = [ ":test_lib", ], ) cc_library( name = "test_lib", visibility = ["//visibility:__subpackages__"], srcs = glob(["test.cpp" ], ), includes=["test.h"], linkopts = [ "-lm -lpthread -L/usr/lib/python2.7 -lpython2.7 -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lfreeimage" ], deps = [ "//tensorflow/cc:cc_ops", "//tensorflow/core:framework", "//tensorflow/core:framework_internal", "//tensorflow/core:tensorflow", ], ) </code></p>
0
<pre class="notranslate">From Charlie Dorian: I continued exploring using constants versus array elements in a polynomial evaluation with the 8g compiler. I added a fourth function to test, func poly1(x float64) float64 { return x * ((x*P[0]+P[1])*x+P[2]) / ((x*Q[0]+Q[1])*x+Q[2]) } func poly2(x float64) float64 { p := (x*P[0]+P[1])*x+P[2]; q := (x*Q[0]+Q[1])*x+Q[2] return x * p / q } func poly3(x float64) float64 { p := (x*P0+P1)*x+P2; q := (x*Q0+Q1)*x+Q2 return x * p / q } func poly4(x float64) float64 { return x * ((x*P0+P1)*x+P2) / ((x*Q0+Q1)*x+Q2) } timed them (subtracting the function call overhead, results were 5.56ns, 7.01ns, 7.54ns and 5.30ns) and examined the assembly code the compiler produced. This time, 8g produces perfect code for poly4. As before, poly2 and poly3 had additional code for the temporaries that was not yet optimized away. However, 8g produces extraneous instructions for poly1. For example: ... 0005 (p.go:50) LEAL P+0(SB),BX 0006 (p.go:50) MOVL BX,AX 0007 (p.go:50) FMOVD (BX),F0 0008 (p.go:50) FMULD x+0(FP),F0 0009 (p.go:50) LEAL P+0(SB),BX 0010 (p.go:50) ADDL $8,BX 0011 (p.go:50) MOVL BX,AX 0012 (p.go:50) FMOVD (BX),F0 ... The AX register is never later referenced. I tested the potential improvement by a straightforward conversion of poly1 to assembly, so it now looked like: ... LEAL ·P+0(SB),BX FMOVD (BX),F0 FMULD x+0(FP),F0 LEAL ·P+0(SB),BX ADDL $8,BX FMOVD (BX),F0 ... It took 4.36ns. In other words, for 386 code, using an array was 22 percent faster than using constants. In summary, once 6g and 8g are improved, using arrays in source code will produce the fastest polynomial evaluations, because, they're faster for the 386 and the same as constants for the amd64.</pre>
<pre class="notranslate">Before filing a bug, please check whether it has been fixed since the latest release. Search the issue tracker and check that you're running the latest version of Go: Run "go version" and compare against <a href="http://golang.org/doc/devel/release.html" rel="nofollow">http://golang.org/doc/devel/release.html</a> If a newer version of Go exists, install it and retry what you did to reproduce the problem. Thanks. What steps will reproduce the problem? I installed Go using the installer, which by default installs go to /usr/local/go . If I try to use the -a build flag for go install, I get a permission denied error (because I as a user don't have permission to write to /usr/local). I'm not sure what the right solution to this is, but it would be nice to have some kind of workaround where I can re-install all non std lib packages (or where I could re-install the standard library). What is the expected output? brendan:~/Documents/mygo/bin$ go install -a github.com/gonum/floats should work fine (or maybe with a different flag) What do you see instead? brendan:~/Documents/mygo/bin$ go install -a github.com/gonum/floats go install runtime: open /usr/local/go/pkg/darwin_amd64/runtime.a: permission denied Which compiler are you using (5g, 6g, 8g, gccgo)? gc Which operating system are you using? darwin Which version are you using? (run 'go version') go version go1.1.2 darwin/amd64 Please provide any additional information below. <a href="https://groups.google.com/forum/#" rel="nofollow">https://groups.google.com/forum/#</a>!searchin/golang-nuts/runtime$20permission$20denied/golang-nuts/yniBC9gM9I0/6sqirDNIF08J At the moment I can get around it by cleaning the contents of the package install folder, but it would be nice to not have to do so.</pre>
0
<p dir="auto">Right now the base style sheet (everything in /static) is loaded before everything else (<a href="https://github.com/atom/atom/blob/master/src/window.coffee#L38">https://github.com/atom/atom/blob/master/src/window.coffee#L38</a>). It is done before the config is loaded and before the theme directories are added to the LESS import path.</p> <p dir="auto">Loading like this keeps the base css separated from the themes, but it doesn't allow for usage of variables from <code class="notranslate">ui-variables</code> in the base css. If variables were used, they would come from <code class="notranslate">/static/ui-variables.less</code> rather than the theme. So if the base <code class="notranslate">ui-variables</code> specified a <code class="notranslate">@component-padding</code> to be 10px, and my theme wants it to be 20px, I would need to override everywhere the padding is used in my theme with css rules. If the base css could import from the theme dir, my theme could just set the <code class="notranslate">@component-padding</code> variable to 20px.</p> <p dir="auto">I propose we place the theme directories on the LESS import path when the base css is loaded. Here are the 2 secnarios</p> <h3 dir="auto">Loading base css with access to themes</h3> <p dir="auto">Here’s what would need to happen</p> <ul dir="auto"> <li><code class="notranslate">config.load()</code> needs to happen in <code class="notranslate">window.setUpEnvironment</code> (Will this slow things down?)</li> <li><code class="notranslate">ThemeManager</code> needs to get the generate the theme directories based on the <code class="notranslate">core.themes</code> config option, rather than the loaded themes.</li> <li>Need to rebuild all the css when themes are changed</li> </ul> <p dir="auto"><strong>Pros</strong></p> <ul dir="auto"> <li>Many things can be pulled into the base css. Most of the button styles, list styles (tree views, etc), text styles, some mixins. The themes do a lot less. There will be less repetition between themes.</li> <li>We can override bootstrap variables in the themes, requiring less css overall.</li> </ul> <p dir="auto"><strong>Cons</strong></p> <ul dir="auto"> <li>When a theme is changed, we would need to recompile <em>all</em> the css, not just the theme and package css. The bootstrap and the base css as well. Probably not fast.</li> <li>Others I’m missing?</li> </ul> <h3 dir="auto">Leaving it the way it is</h3> <p dir="auto"><strong>Pros</strong></p> <ul dir="auto"> <li>Changing themes is only medium slow.</li> </ul> <p dir="auto"><strong>Cons</strong></p> <ul dir="auto"> <li>Much more repetition between the themes. The new light and dark themes will have a lot of code duplicated between the two.</li> <li>A little awkward because there is this <code class="notranslate">/static/ui-variables</code> file and nothing in <code class="notranslate">static</code> uses any of the variables from it.</li> </ul> <p dir="auto">How do you guys feel about this?</p>
<p dir="auto">If this is a duplicate please disregard:</p> <p dir="auto">If I open several large files atom becomes unresponsive.<br> After i am prompted with the force close dialog then i can close it.<br> When i open it again in the same path the previously open files are opened again, which causes atom to become unresponsive again.</p> <p dir="auto">The files are some browserified js bundles.<br> I think they are prerendered even if the tab does not have focus which makes the editor freeze - that would be my best guess.</p> <p dir="auto">The workaround i found is to delete the files from disk and opening the files again(atom .) .<br> I mainly use atom from the command line call using atom . to open the current folder and the files in it.</p>
0
<p dir="auto">jn_zeros() is not able to compute the first 100 zeros of the following Bessel orders below 1000(I only tested it till 1000):<br> 231,244,281,288,347,348,357,405,406,419,437,<br> 505,506,507,570,582,591,643,644,655,658,679,<br> 706,713,722,752,756,757,764,775,793,796,811,<br> 820,840,855,875,886,916,942,948,966</p> <h4 dir="auto">Reproducing code example:</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from scipy import special special.jn_zeros(231,5)"><pre class="notranslate"><code class="notranslate">from scipy import special special.jn_zeros(231,5) </code></pre></div> <h4 dir="auto">Error message:</h4> <p dir="auto">No error message! The command just hangs while using 100% CPU on one core.</p> <h4 dir="auto">Scipy/Numpy/Python version information:</h4> <p dir="auto">1.4.1 1.18.2 sys.version_info(major=3, minor=8, micro=2, releaselevel='final', serial=0)</p>
<p dir="auto">As reported at <a href="http://stackoverflow.com/questions/29415795/scipy-hangs-on-finding-zeros-of-bessel-functions" rel="nofollow">http://stackoverflow.com/questions/29415795/scipy-hangs-on-finding-zeros-of-bessel-functions</a>, the call to <code class="notranslate">special.jn_zeros(281, 6)</code> hangs. I can reproduce this with scipy versions <code class="notranslate">0.15.1</code> and <code class="notranslate">0.16.0.dev0+4585b0f</code>. <code class="notranslate">jn_zeros(280, 6)</code> returns 6 values, but <code class="notranslate">jn_zeros(281, 6)</code> never returns, and I have to kill the python process.</p> <p dir="auto">I'm using python 2.7.9 and numpy 1.9.2 on a Mac.</p>
1
<p dir="auto">Wow, that issue title is a mouthful, but that's the best description I could come up with.</p> <p dir="auto">My variable is turned into a string, so when I iterate over it in a template it iterates over the characters (including brackets and quotes).</p> <p dir="auto">Here's a <a href="https://gist.github.com/gkarekinian/2944f54fe85dbb359a91">Gist with just enough yml to reproduce it</a></p> <p dir="auto">I'm seeing this behavior on ansible 1.3.2.</p>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">async</p> <h5 dir="auto">ANSIBLE VERSION</h5> <p dir="auto">ansible 2.3.0.0</p> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">default ansible.cfg file</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">N/A</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">When a task is executed with 'poll: 0' (fire and forget) and the time specified in 'async' expires, the async cache remains and a following 'async_status' task reports that the task is still running, although the process was killed.</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="--- - hosts: localhost tasks: - command: sleep 100 async: 10 poll: 0 register: myJob - command: sleep 20 - name: wait until playbooks are finished async_status: jid: &quot;{{ myJob.ansible_job_id }}&quot; register: myJob_result - debug: var=myJob_result"><pre class="notranslate">--- - <span class="pl-ent">hosts</span>: <span class="pl-s">localhost</span> <span class="pl-ent">tasks</span>: - <span class="pl-ent">command</span>: <span class="pl-s">sleep 100</span> <span class="pl-ent">async</span>: <span class="pl-c1">10</span> <span class="pl-ent">poll</span>: <span class="pl-c1">0</span> <span class="pl-ent">register</span>: <span class="pl-s">myJob</span> - <span class="pl-ent">command</span>: <span class="pl-s">sleep 20</span> - <span class="pl-ent">name</span>: <span class="pl-s">wait until playbooks are finished</span> <span class="pl-ent">async_status</span>: <span class="pl-ent">jid</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ myJob.ansible_job_id }}<span class="pl-pds">"</span></span> <span class="pl-ent">register</span>: <span class="pl-s">myJob_result</span> - <span class="pl-ent">debug</span>: <span class="pl-s">var=myJob_result</span></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">The async_status task should report that the job is not running (like it would be if the job was cleaned up by 'async_status' with 'mode: cleanup'). 'Failed' should not be 0.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [localhost] *********************************************************************************************************************************************************************************************************************************************************************************************************************************************** TASK [command] ************************************************************************************************************************************************************************************************************************************************************************************************************************************************* changed: [localhost] =&gt; {&quot;ansible_job_id&quot;: &quot;964367425822.17508&quot;, &quot;changed&quot;: true, &quot;finished&quot;: 0, &quot;results_file&quot;: &quot;/home/stephan/.ansible_async/964367425822.17508&quot;, &quot;started&quot;: 1} TASK [command] ************************************************************************************************************************************************************************************************************************************************************************************************************************************************* changed: [localhost] =&gt; {&quot;changed&quot;: true, &quot;cmd&quot;: [&quot;sleep&quot;, &quot;20&quot;], &quot;delta&quot;: &quot;0:00:20.005145&quot;, &quot;end&quot;: &quot;2017-06-13 08:26:51.140481&quot;, &quot;rc&quot;: 0, &quot;start&quot;: &quot;2017-06-13 08:26:31.135336&quot;, &quot;stderr&quot;: &quot;&quot;, &quot;stderr_lines&quot;: [], &quot;stdout&quot;: &quot;&quot;, &quot;stdout_lines&quot;: []} TASK [wait until playbooks are finished] *********************************************************************************************************************************************************************************************************************************************************************************************************************** ok: [localhost] =&gt; {&quot;ansible_job_id&quot;: &quot;964367425822.17508&quot;, &quot;changed&quot;: false, &quot;finished&quot;: 0, &quot;started&quot;: 1} TASK [debug] *************************************************************************************************************************************************************************************************************************************************************************************************************************************************** ok: [localhost] =&gt; { &quot;changed&quot;: false, &quot;myJob_result&quot;: { &quot;ansible_job_id&quot;: &quot;964367425822.17508&quot;, &quot;changed&quot;: false, &quot;finished&quot;: 0, &quot;started&quot;: 1 } } PLAY RECAP ***************************************************************************************************************************************************************************************************************************************************************************************************************************************************** localhost : ok=4 changed=2 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">PLAY [localhost] *********************************************************************************************************************************************************************************************************************************************************************************************************************************************** TASK [command] ************************************************************************************************************************************************************************************************************************************************************************************************************************************************* changed: [localhost] =&gt; {"ansible_job_id": "964367425822.17508", "changed": true, "finished": 0, "results_file": "/home/stephan/.ansible_async/964367425822.17508", "started": 1} TASK [command] ************************************************************************************************************************************************************************************************************************************************************************************************************************************************* changed: [localhost] =&gt; {"changed": true, "cmd": ["sleep", "20"], "delta": "0:00:20.005145", "end": "2017-06-13 08:26:51.140481", "rc": 0, "start": "2017-06-13 08:26:31.135336", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [wait until playbooks are finished] *********************************************************************************************************************************************************************************************************************************************************************************************************************** ok: [localhost] =&gt; {"ansible_job_id": "964367425822.17508", "changed": false, "finished": 0, "started": 1} TASK [debug] *************************************************************************************************************************************************************************************************************************************************************************************************************************************************** ok: [localhost] =&gt; { "changed": false, "myJob_result": { "ansible_job_id": "964367425822.17508", "changed": false, "finished": 0, "started": 1 } } PLAY RECAP ***************************************************************************************************************************************************************************************************************************************************************************************************************************************************** localhost : ok=4 changed=2 unreachable=0 failed=0 </code></pre></div>
0
<p dir="auto">The CI errors seem to be typing issues exposed by this PR:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" ByteLengthQueuingStrategy, ~~~~~~~~~~~~~~~~~~~~~~~~~ at file:///Users/runner/work/deno_std/deno_std/node/stream/web.ts:2:3 TS2339 [ERROR]: Property 'CountQueuingStrategy' does not exist on type 'typeof globalThis'. CountQueuingStrategy, ~~~~~~~~~~~~~~~~~~~~ at file:///Users/runner/work/deno_std/deno_std/node/stream/web.ts:3:3 TS2339 [ERROR]: Property 'TextDecoderStream' does not exist on type 'typeof globalThis'. TextDecoderStream, ~~~~~~~~~~~~~~~~~ at file:///Users/runner/work/deno_std/deno_std/node/stream/web.ts:8:3 TS2339 [ERROR]: Property 'TextEncoderStream' does not exist on type 'typeof globalThis'. TextEncoderStream, ~~~~~~~~~~~~~~~~~ at file:///Users/runner/work/deno_std/deno_std/node/stream/web.ts:9:3 TS2339 [ERROR]: Property 'TransformStreamDefaultController' does not exist on type 'typeof globalThis'. TransformStreamDefaultController, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at file:///Users/runner/work/deno_std/deno_std/node/stream/web.ts:11:3 TS2339 [ERROR]: Property 'WritableStreamDefaultController' does not exist on type 'typeof globalThis'. WritableStreamDefaultController, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at file:///Users/runner/work/deno_std/deno_std/node/stream/web.ts:13:3"><pre class="notranslate"><code class="notranslate"> ByteLengthQueuingStrategy, ~~~~~~~~~~~~~~~~~~~~~~~~~ at file:///Users/runner/work/deno_std/deno_std/node/stream/web.ts:2:3 TS2339 [ERROR]: Property 'CountQueuingStrategy' does not exist on type 'typeof globalThis'. CountQueuingStrategy, ~~~~~~~~~~~~~~~~~~~~ at file:///Users/runner/work/deno_std/deno_std/node/stream/web.ts:3:3 TS2339 [ERROR]: Property 'TextDecoderStream' does not exist on type 'typeof globalThis'. TextDecoderStream, ~~~~~~~~~~~~~~~~~ at file:///Users/runner/work/deno_std/deno_std/node/stream/web.ts:8:3 TS2339 [ERROR]: Property 'TextEncoderStream' does not exist on type 'typeof globalThis'. TextEncoderStream, ~~~~~~~~~~~~~~~~~ at file:///Users/runner/work/deno_std/deno_std/node/stream/web.ts:9:3 TS2339 [ERROR]: Property 'TransformStreamDefaultController' does not exist on type 'typeof globalThis'. TransformStreamDefaultController, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at file:///Users/runner/work/deno_std/deno_std/node/stream/web.ts:11:3 TS2339 [ERROR]: Property 'WritableStreamDefaultController' does not exist on type 'typeof globalThis'. WritableStreamDefaultController, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at file:///Users/runner/work/deno_std/deno_std/node/stream/web.ts:13:3 </code></pre></div> <p dir="auto">these are definitely defined on the global so just seem to be omitted from the types for some reason.</p> <p dir="auto"><em>Originally posted by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/guybedford/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/guybedford">@guybedford</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1029558232" data-permission-text="Title is private" data-url="https://github.com/denoland/deno_std/issues/1430" data-hovercard-type="pull_request" data-hovercard-url="/denoland/deno_std/pull/1430/hovercard?comment_id=946153497&amp;comment_type=issue_comment" href="https://github.com/denoland/deno_std/pull/1430#issuecomment-946153497">denoland/deno_std#1430 (comment)</a></em></p>
<p dir="auto">This issue isn't fixed for other symbols declared with <code class="notranslate">declare class</code>, which I think we decided to favour in the past. Seems like only <code class="notranslate">declare var</code> is accessible on <code class="notranslate">globalThis</code>, I think we need an upstream solution: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="653461418" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/39504" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/39504/hovercard" href="https://github.com/microsoft/TypeScript/issues/39504">microsoft/TypeScript#39504</a>. cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/caspervonb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/caspervonb">@caspervonb</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kitsonk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kitsonk">@kitsonk</a></p> <p dir="auto"><em>Originally posted by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nayeemrmn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nayeemrmn">@nayeemrmn</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="621728218" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/5666" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/5666/hovercard?comment_id=811880639&amp;comment_type=issue_comment" href="https://github.com/denoland/deno/issues/5666#issuecomment-811880639">#5666 (comment)</a></em></p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=cbeams" rel="nofollow">Chris Beams</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8190?redirect=false" rel="nofollow">SPR-8190</a></strong> and commented</p> <p dir="auto">Tracking issue for CGLIB problems and possible solutions when moving to Javassist or, as recently suggested, Byte Buddy.</p> <hr> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/21203/permgen-leak-spring.tar.gz" rel="nofollow">permgen-leak-spring.tar.gz</a> (<em>492.76 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="398083007" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8831" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8831/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8831">#8831</a> Latest Spring AOP + CGLib caches classes from the same classloader causing CCE in Grails (<em><strong>"depends on"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398094306" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10325" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10325/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10325">#10325</a> Consider using javassist for proxy generation (<em><strong>"depends on"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398106989" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12142" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12142/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12142">#12142</a> <code class="notranslate">@Configuration</code> with AspectJ instead of CGLIB (<em><strong>"depends on"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398076376" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7964" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7964/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7964">#7964</a> Look at phasing out cglib with javaassist (<em><strong>"is duplicated by"</strong></em>)</li> </ul> <p dir="auto">44 votes, 45 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=subaruwrc" rel="nofollow">Ryan LaMothe</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6719?redirect=false" rel="nofollow">SPR-6719</a></strong> and commented</p> <p dir="auto">I need to extend CommonsClientHttpRequestFactory and override getHttpClient() in order to use RestTemplate(ClientHttpRequestFactory requestFactory) to make authenticated restful web service calls. Unfortunately, getHttpClient() returns HttpClient from Commons HttpClient 3.x which has been end-of-life'd (EOL) and is no longer supported. The CommonsClientHttpRequestFactory and in turn RestTemplate need to use the supported HttpCore 4.x and HttpClient 4.x libraries.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.0 GA</p> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/17667/httpcomponent_wrappers.zip" rel="nofollow">httpcomponent_wrappers.zip</a> (<em>4.12 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="398097933" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10848" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10848/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10848">#10848</a> Upgrade Apache HttpClient to version 4.0 (<em><strong>"duplicates"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398106272" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12041" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12041/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12041">#12041</a> Offer a ClientHttpRequestFactory for usage with Apache HttpComponents HttpClient (<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="398106556" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12082" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12082/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12082">#12082</a> CommonsClientHttpRequestFactory depends on outdated "commons-httpclient" 3.1 (<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="398105980" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11990" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11990/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11990">#11990</a> Provide a "username" and "password" properties for RestTemplate</li> </ul> <p dir="auto">8 votes, 10 watchers</p>
0
<p dir="auto">Please consider adding feature on opening remote/ftp file like Eclipse does.<br> Thanks!</p>
<p dir="auto">Hi there can you guys bring out a package where you can connect to FTP and on save it will update your files.</p> <p dir="auto">I know there are already 3 packages out there but i'm not a big fan of them i wondering can atom team create this package?</p>
1
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.1.0 (opencv-contrib-python)</li> <li>Operating System / Platform =&gt; Ubuntu 18</li> <li>Compiler =&gt; VSCode</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">The rows are getting switched when I assign them to variables.<br> <code class="notranslate">cv2.rectangle()</code> requires top left then bottom right so I know which ones these are in my bbox[] list and can draw the rectangle. However when I try to use the same coordinates for slicing, my <code class="notranslate">y</code>'s (which I assigned <code class="notranslate">y1 = bbox[3]</code>, <code class="notranslate">y2=bbox[1]</code> are reversed with y1 being a larger integer than <code class="notranslate">y2</code> so I have to slice using <code class="notranslate">y2:y1</code> instead. I am pretty sure that I printed out <code class="notranslate">bbox[]</code> 0 to 3 as well and it was the same so not sure why those coordinates work for both <code class="notranslate">cv2.rectange()</code> and <code class="notranslate">plt.Rectangle()</code> but then not for slicing in this case.<br> I posted on datasciencestackexchange about it: <a href="https://datascience.stackexchange.com/questions/58308/unexplainable-reversal-of-x-y-coordinates-in-numpy-image-array?noredirect=1#comment63897_58308" rel="nofollow">https://datascience.stackexchange.com/questions/58308/unexplainable-reversal-of-x-y-coordinates-in-numpy-image-array?noredirect=1#comment63897_58308</a></p> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">python code, please look at cv2.rectangle() at the bottom of the function so you know what top left and bottom of bbox are:</p>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.0.0-dev</li> <li>Operating System / Platform =&gt; Windows 10</li> <li>Compiler =&gt; MS Visual Studio 2017 v 15.9.4</li> <li>CUDA v 10</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">Building openCV with contrib, CUDA, MKL, TBB, VTK, Qt, Eigen and Gstreamer.<br> VS sln file gets created without a problem using cmake.<br> Building the INSTALL project causes some projects to fail and going through the debug information, I found the errors you see below</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1&gt;c:\software\opencv\opencv\modules\core\include\opencv2\core\cuda\detail/color_detail.hpp(535): error : dynamic initialization is not supported for a __constant__ variable 1&gt; 1&gt;c:\software\opencv\opencv\modules\core\include\opencv2\core\cuda\detail/color_detail.hpp(584): error : dynamic initialization is not supported for a __constant__ variable 1&gt; 1&gt;c:\software\opencv\opencv\modules\core\include\opencv2\core\cuda\detail/color_detail.hpp(674): error : dynamic initialization is not supported for a __constant__ variable 1&gt; 1&gt;c:\software\opencv\opencv\modules\core\include\opencv2\core\cuda\detail/color_detail.hpp(751): error : dynamic initialization is not supported for a __constant__ variable"><pre class="notranslate"><code class="notranslate">1&gt;c:\software\opencv\opencv\modules\core\include\opencv2\core\cuda\detail/color_detail.hpp(535): error : dynamic initialization is not supported for a __constant__ variable 1&gt; 1&gt;c:\software\opencv\opencv\modules\core\include\opencv2\core\cuda\detail/color_detail.hpp(584): error : dynamic initialization is not supported for a __constant__ variable 1&gt; 1&gt;c:\software\opencv\opencv\modules\core\include\opencv2\core\cuda\detail/color_detail.hpp(674): error : dynamic initialization is not supported for a __constant__ variable 1&gt; 1&gt;c:\software\opencv\opencv\modules\core\include\opencv2\core\cuda\detail/color_detail.hpp(751): error : dynamic initialization is not supported for a __constant__ variable </code></pre></div> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">CMake generates .sln file without a problem. Everything seemed fine. But building the INSTALL project causes some of the subprokects to fail mostly because of the error you see above.</p>
0
<h3 dir="auto">Preflight Checklist</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Issue Details</h3> <ul dir="auto"> <li><strong>Electron Version:</strong> <ul dir="auto"> <li>x86 v4.2.9</li> <li>x86 v7.0.0-beta.3</li> </ul> </li> <li><strong>Operating System:</strong> <ul dir="auto"> <li>win7 sp1 x64</li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">When all perms are denied in chrome, both <code class="notranslate">navigator.mediaDevices.getUserMedia({audio: true})</code> and <code class="notranslate">navigator.permissions.query({name: 'microphone'})</code> report denials.</p> <p dir="auto">The electron facility for denying chrome perms is <code class="notranslate">session.setPermission(Check|Request)Handler</code> so it's expected that when all perms are denied, <code class="notranslate">navigator.permissions.query({name: 'microphone'})</code> would return "denied".</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto"><code class="notranslate">navigator.permissions.query({name: 'microphone'})</code> returns <code class="notranslate">{state: 'granted'}</code></p> <p dir="auto">It doesn't actually have this perm as <code class="notranslate">navigator.mediaDevices.getUserMedia({audio: true})</code> correctly throws "permission denied"</p> <h3 dir="auto">To Reproduce</h3> <ul dir="auto"> <li>run the app <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="'use strict'; const {app, BrowserWindow} = require('electron'); let win; app.on('ready', () =&gt; { win = new BrowserWindow({ width: 1440, height: 900, useContentSize: true, webPreferences: { nodeIntegration: false, }, }); win.webContents.session.setPermissionCheckHandler((webCont, perm, origin, details) =&gt; { console.log('ChromePermissionCheck %s %O', perm, details); return false; }); win.webContents.session.setPermissionRequestHandler((webCont, perm, callback, details) =&gt; { console.log('ChromePermissionRequest %s %O', perm, details); callback(false); }); win.webContents.openDevTools({mode: 'right'}); win.loadURL('https://example.org/'); });"><pre class="notranslate"><span class="pl-s">'use strict'</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-kos">{</span>app<span class="pl-kos">,</span> BrowserWindow<span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'electron'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">win</span><span class="pl-kos">;</span> <span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'ready'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-s1">win</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">BrowserWindow</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">width</span>: <span class="pl-c1">1440</span><span class="pl-kos">,</span> <span class="pl-c1">height</span>: <span class="pl-c1">900</span><span class="pl-kos">,</span> <span class="pl-c1">useContentSize</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">webPreferences</span>: <span class="pl-kos">{</span> <span class="pl-c1">nodeIntegration</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-c1">webContents</span><span class="pl-kos">.</span><span class="pl-c1">session</span><span class="pl-kos">.</span><span class="pl-en">setPermissionCheckHandler</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">webCont</span><span class="pl-kos">,</span> <span class="pl-s1">perm</span><span class="pl-kos">,</span> <span class="pl-s1">origin</span><span class="pl-kos">,</span> <span class="pl-s1">details</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'ChromePermissionCheck %s %O'</span><span class="pl-kos">,</span> <span class="pl-s1">perm</span><span class="pl-kos">,</span> <span class="pl-s1">details</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">return</span> <span class="pl-c1">false</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-c1">webContents</span><span class="pl-kos">.</span><span class="pl-c1">session</span><span class="pl-kos">.</span><span class="pl-en">setPermissionRequestHandler</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">webCont</span><span class="pl-kos">,</span> <span class="pl-s1">perm</span><span class="pl-kos">,</span> <span class="pl-s1">callback</span><span class="pl-kos">,</span> <span class="pl-s1">details</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'ChromePermissionRequest %s %O'</span><span class="pl-kos">,</span> <span class="pl-s1">perm</span><span class="pl-kos">,</span> <span class="pl-s1">details</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">callback</span><span class="pl-kos">(</span><span class="pl-c1">false</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-c1">webContents</span><span class="pl-kos">.</span><span class="pl-en">openDevTools</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-c1">mode</span>: <span class="pl-s">'right'</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-en">loadURL</span><span class="pl-kos">(</span><span class="pl-s">'https://example.org/'</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> </li> <li>eval <code class="notranslate">await navigator.permissions.query({name: 'microphone'})</code> in the devtools console</li> </ul> <h3 dir="auto">Screenshots</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/895588/63536544-d9aa1980-c4e1-11e9-82fb-7f12cb1b11ac.png"><img src="https://user-images.githubusercontent.com/895588/63536544-d9aa1980-c4e1-11e9-82fb-7f12cb1b11ac.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">See </p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/electron/electron/blob/54ad38526095f4a415ad75a1757feae4336c9db4/atom/browser/atom_permission_manager.cc#L213">electron/atom/browser/atom_permission_manager.cc</a> </p> <p class="mb-0 color-fg-muted"> Line 213 in <a data-pjax="true" class="commit-tease-sha" href="/electron/electron/commit/54ad38526095f4a415ad75a1757feae4336c9db4">54ad385</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="L213" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="213"></td> <td id="LC213" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> blink::mojom::PermissionStatus <span class="pl-en">AtomPermissionManager::GetPermissionStatus</span>( </td> </tr> </tbody></table> </div> </div> and <div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/electron/electron/blob/54ad38526095f4a415ad75a1757feae4336c9db4/atom/browser/atom_permission_manager.cc#L246">electron/atom/browser/atom_permission_manager.cc</a> </p> <p class="mb-0 color-fg-muted"> Line 246 in <a data-pjax="true" class="commit-tease-sha" href="/electron/electron/commit/54ad38526095f4a415ad75a1757feae4336c9db4">54ad385</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="L246" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="246"></td> <td id="LC246" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-en">AtomPermissionManager::GetPermissionStatusForFrame</span>( </td> </tr> </tbody></table> </div> </div> <p></p> <p dir="auto">Should probably call out to </p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/electron/electron/blob/54ad38526095f4a415ad75a1757feae4336c9db4/atom/browser/atom_permission_manager.cc#L231">electron/atom/browser/atom_permission_manager.cc</a> </p> <p class="mb-0 color-fg-muted"> Line 231 in <a data-pjax="true" class="commit-tease-sha" href="/electron/electron/commit/54ad38526095f4a415ad75a1757feae4336c9db4">54ad385</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="L231" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="231"></td> <td id="LC231" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">bool</span> <span class="pl-en">AtomPermissionManager::CheckPermissionWithDetails</span>( </td> </tr> </tbody></table> </div> </div> and be documented as such<p></p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I tried using the latest <code class="notranslate">electron/index.d.ts</code> file in this repo and had problems.</li> </ul> <p dir="auto">It gave me following error after running tsc:</p> <p dir="auto">typings/globals/electron/index.d.ts(1860,8): error TS2420: Class 'Electron.EventEmitter'<br> incorrectly implements interface 'NodeJS.EventEmitter'.<br> Property 'prependListener' is missing in type 'EventEmitter'.</p> <p dir="auto">I guess it should be 'extends' rather than 'implements'.</p>
<p dir="auto">Hi,</p> <p dir="auto">I'm getting this error with @types/express version upgrading from 4.17.7 to 4.17.8.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="node_modules/@types/express/index.d.ts(99,42): error TS2344: Type 'P' does not satisfy the constraint 'Params'. Type 'P' is not assignable to type 'ParamsArray'. node_modules/@types/express/index.d.ts(108,124): error TS2344: Type 'P' does not satisfy the constraint 'Params'. Type 'P' is not assignable to type 'ParamsArray'. node_modules/@types/express/index.d.ts(109,138): error TS2344: Type 'P' does not satisfy the constraint 'Params'. Type 'P' is not assignable to type 'ParamsArray'.`"><pre class="notranslate"><code class="notranslate">node_modules/@types/express/index.d.ts(99,42): error TS2344: Type 'P' does not satisfy the constraint 'Params'. Type 'P' is not assignable to type 'ParamsArray'. node_modules/@types/express/index.d.ts(108,124): error TS2344: Type 'P' does not satisfy the constraint 'Params'. Type 'P' is not assignable to type 'ParamsArray'. node_modules/@types/express/index.d.ts(109,138): error TS2344: Type 'P' does not satisfy the constraint 'Params'. Type 'P' is not assignable to type 'ParamsArray'.` </code></pre></div> <p dir="auto">I'm using latest express: <code class="notranslate">"express": "4.17.1",</code><br> and typescript: "typescript": "3.9.7"<br> I've tried also with the latest typescript version ("4.0.2") and I get the same.</p> <p dir="auto">Any help on this issue?</p> <p dir="auto">Authors:<br> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/borisyankov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/borisyankov">@borisyankov</a><br> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/puneetar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/puneetar">@puneetar</a><br> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dfrankland/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dfrankland">@dfrankland</a></p>
0
<p dir="auto">Core-js definition file defines a <code class="notranslate">PropertyKey</code> like the one in lib.es6.d.ts, now that this is in the main library, this is breaking the core-js compilation.<br> See <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/core-js/core-js.d.ts#L21">https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/core-js/core-js.d.ts#L21</a></p> <p dir="auto">Possible fix, rename the type declaration to something else now, to avoid breaking changes with the next TS release.</p>
<p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">Microsoft.TypeScript.MSBuild.1.8.6</p> <p dir="auto"><strong>Code</strong><br> When I add this Nuget Package in a C#-Library Project or a C# ASP.NET Web-Project, nothing happens with the solution file. When I start the tsc.exe in the packages folder I get an error dialog box:</p> <blockquote> <p dir="auto">The program cannot be started, since MSVCP140.dll is missing.</p> </blockquote> <p dir="auto">VS 2015 is not installed.Only VS2013 Ultimate Update 5</p> <p dir="auto"><strong>Expected behavior:</strong><br> I would expect that the csproj would contain the props and target of the typescript compiler from the Microsoft.TypeScript.MSBuild.1.8.6-packages folder. And I would expect that I can start tsc.exe successfully from the commandline without this error.</p> <p dir="auto"><strong>Actual behavior:</strong><br> After applying the nuget package, the solution wide package.config has been changed. But the csproj is not changed and the typescript msbuild steps are not configured.</p>
0
<p dir="auto">I have setup like:<br> var api1= axios.create({<br> baseURL: "www.myapi1.com"<br> });<br> api1.defaults.headers.post['Content-type'] = "application/x-www-form-urlencoded";</p> <p dir="auto">when i try to override the default with-in post request as below, it still sends default headers.<br> var config= {headers:{'Content-Type':'application/json'}};<br> api1.post("my/uri",{'key':'value'}, config); //still sends Content-Type="application/x-www-form-urlencoded"</p> <p dir="auto">Further, when i have multiple instances set up and one of them is having default header set, it is used by other instance as well. for example<br> var api1= axios.create({<br> baseURL: "www.myapi1.com"<br> });<br> api1. defaults.headers.post['Content-type'] = "application/x-www-form-urlencoded";</p> <p dir="auto">var api2 = axios.create({<br> baseURL: "www.myapi2.com"<br> });</p> <p dir="auto">var config= {headers:{'Content-Type':'application/json'}};<br> api2.post("my/uri",{'key':'value'}, config); // this will also send Content-Type="application/x-www-form-urlencoded"</p>
<p dir="auto">If I have two instances of axios created with axios.create and I set a default header on one, it also changes it on all the other ones in existence.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var instance1 = this.oauthService = axios.create({}); var instance2 = this.oauthService = axios.create({}); instance2.defaults.headers.common['Authorization'] = 'askdjfaksdjf';"><pre class="notranslate"><code class="notranslate">var instance1 = this.oauthService = axios.create({}); var instance2 = this.oauthService = axios.create({}); instance2.defaults.headers.common['Authorization'] = 'askdjfaksdjf'; </code></pre></div> <p dir="auto">Both instance1 and 2 now have the Authorization header changed. I believe the problem is that the util.merge operation doesn't do deep merging, though as you see below, only if the result[key] and val are both objects, does it do a recursive merge, otherwise it assigns the value by reference.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function merge(/\* obj1, obj2, obj3, ... */) { var result = {}; function assignValue(val, key) { if (typeof result[key] === 'object' &amp;&amp; typeof val === 'object') { result[key] = merge(result[key], val); } else { result[key] = val; } } for (var i = 0, l = arguments.length; i &lt; l; i++) { forEach(arguments[i], assignValue); } return result; }"><pre class="notranslate"><code class="notranslate">function merge(/\* obj1, obj2, obj3, ... */) { var result = {}; function assignValue(val, key) { if (typeof result[key] === 'object' &amp;&amp; typeof val === 'object') { result[key] = merge(result[key], val); } else { result[key] = val; } } for (var i = 0, l = arguments.length; i &lt; l; i++) { forEach(arguments[i], assignValue); } return result; } </code></pre></div>
1
<p dir="auto">I tried to use a popover in combination with an appended input field. The result is that the content is never shown since it inherits <code class="notranslate">font-size: 0;</code>. In the changelog I found a bug related to button groups. Maybe it's a similar problem here.<br> A demonstration of the problem can be found here: <a href="http://jsfiddle.net/FERQM/2/" rel="nofollow">http://jsfiddle.net/FERQM/2/</a></p> <p dir="auto">Let me know when it's my fault, thanks.</p>
<p dir="auto">Aplogies in advance if this is a duplicate, it's pretty hard to search through all the issues here.</p> <p dir="auto">I have a horizontal-form that consists of columns. This works fine for the most part except when trying to make inputs that span two columns fill the whole width on an XS viewport.</p> <p dir="auto">Small viewport: <a href="http://i.imgur.com/PQ4W4Zi.png" rel="nofollow">http://i.imgur.com/PQ4W4Zi.png</a><br> Extra small viewport: <a href="http://i.imgur.com/GK5wJrS.png" rel="nofollow">http://i.imgur.com/GK5wJrS.png</a></p> <p dir="auto">The HTML being used: <a href="https://gist.github.com/anlutro/5e3e9342e876f2fc6ac2">https://gist.github.com/anlutro/5e3e9342e876f2fc6ac2</a></p> <p dir="auto">It seems to be solvable by adding col-xs-12 to the label following the select inputs, but this is not necessary anywhere else. Anything worth looking into?</p>
0
<p dir="auto">Is there a way to run code when the picture is finished loading? Please help. Thanks</p>
<p dir="auto">Please don't close this issue until I get this working, as this is my third time having to ask the same question.</p> <p dir="auto">I cannot get this to work. I have followed this tutorial (<a href="https://futurestud.io/tutorials/glide-callbacks-simpletarget-and-viewtarget-for-custom-view-classes" rel="nofollow">https://futurestud.io/tutorials/glide-callbacks-simpletarget-and-viewtarget-for-custom-view-classes</a>), but it still does not work. Maybe the tutorial isn't updated for Glide v4. I cannot find .asBitmap(), which is required for this to work according to the tutorial. Also, with the .into(target), I am getting an error message, as shown in the picture below. Please help as I need this working in order to release my app. Thank you.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/15038444/29533926-0a83d5aa-8682-11e7-9802-901ba0036857.png"><img width="736" alt="screen shot 2017-08-21 at 3 03 28 pm" src="https://user-images.githubusercontent.com/15038444/29533926-0a83d5aa-8682-11e7-9802-901ba0036857.png" style="max-width: 100%;"></a></p> <p dir="auto">This is the code I have right now:<br> `val target = object : SimpleTarget() {</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" override fun onResourceReady(resource: Bitmap?, transition: Transition&lt;in Bitmap&gt;?) { //Image Loaded img_Post.setImageBitmap(resource) view_Loading.hide() } }"><pre class="notranslate"><code class="notranslate"> override fun onResourceReady(resource: Bitmap?, transition: Transition&lt;in Bitmap&gt;?) { //Image Loaded img_Post.setImageBitmap(resource) view_Loading.hide() } } </code></pre></div> <p dir="auto">Glide.with(layout).load(url).into(target)`</p>
1
<p dir="auto">For some reason the install of babel-core is looking for version ^6.18 of babel-types,<br> causing npm install to fail</p>
<h2 dir="auto">Bug Report</h2> <p dir="auto"><strong>Current Behavior</strong><br> Safari throwing error with message</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Unexpected token '...'. Expected a property name."><pre class="notranslate"><code class="notranslate">Unexpected token '...'. Expected a property name. </code></pre></div> <p dir="auto">at</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="({ ...object })"><pre class="notranslate"><span class="pl-kos">(</span><span class="pl-kos">{</span> ...<span class="pl-s1">object</span> <span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div> <p dir="auto"><strong>Input Code</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const data = { name: 'username' }; const spread = object =&gt; ({ ...object, email: '[email protected]' }); const result = spread(data); "><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'username'</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-en">spread</span> <span class="pl-c1">=</span> <span class="pl-s1">object</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> ...<span class="pl-s1">object</span><span class="pl-kos">,</span> <span class="pl-c1">email</span>: <span class="pl-s">'[email protected]'</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">result</span> <span class="pl-c1">=</span> <span class="pl-en">spread</span><span class="pl-kos">(</span><span class="pl-s1">data</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Expected behavior/code</strong></p> <p dir="auto"><code class="notranslate">_objectSpread</code> to be called with <code class="notranslate">result</code> as a parameter, returning <code class="notranslate">{ name: 'username', email: '[email protected]' }</code></p> <p dir="auto"><strong>Babel Configuration (.babelrc, package.json, cli command)</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;presets&quot;: [ [ &quot;@babel/env&quot;, { &quot;useBuiltIns&quot;: &quot;usage&quot;, &quot;corejs&quot;: 3 } ], &quot;@babel/react&quot; ], &quot;plugins&quot;: [ &quot;@babel/proposal-class-properties&quot;, [ &quot;@babel/transform-runtime&quot;, { &quot;corejs&quot;: 3 } ] }"><pre class="notranslate"><span class="pl-kos">{</span> <span class="pl-s">"presets"</span>: <span class="pl-kos">[</span> <span class="pl-kos">[</span> <span class="pl-s">"@babel/env"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-s">"useBuiltIns"</span>: <span class="pl-s">"usage"</span><span class="pl-kos">,</span> <span class="pl-s">"corejs"</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-s">"@babel/react"</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s">"plugins"</span>: <span class="pl-kos">[</span> <span class="pl-s">"@babel/proposal-class-properties"</span><span class="pl-kos">,</span> <span class="pl-kos">[</span> <span class="pl-s">"@babel/transform-runtime"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-s">"corejs"</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-kos">}</span></pre></div> <p dir="auto"><strong>Environment</strong></p> <ul dir="auto"> <li>Babel version(s): 7.6.4</li> <li>Node/npm version: 11.13.0</li> <li>OS: macOS High Sierra 10.13.2</li> <li>Monorepo: no</li> <li>How you are using Babel: loader</li> </ul> <p dir="auto"><strong>Additional context/Screenshots</strong></p> <p dir="auto">Dependencies:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;@babel/plugin-proposal-class-properties&quot;: &quot;^7.5.5&quot;, &quot;@babel/plugin-transform-runtime&quot;: &quot;^7.6.2&quot;, &quot;@babel/preset-env&quot;: &quot;^7.6.3&quot;, &quot;@babel/preset-react&quot;: &quot;^7.6.3&quot;, &quot;@babel/runtime-corejs3&quot;: &quot;^7.6.3&quot;, &quot;babel-loader&quot;: &quot;^8.0.6&quot;, &quot;webpack&quot;: &quot;^4.41.2&quot;, &quot;webpack-cli&quot;: &quot;^3.3.9&quot;"><pre class="notranslate"><code class="notranslate">"@babel/plugin-proposal-class-properties": "^7.5.5", "@babel/plugin-transform-runtime": "^7.6.2", "@babel/preset-env": "^7.6.3", "@babel/preset-react": "^7.6.3", "@babel/runtime-corejs3": "^7.6.3", "babel-loader": "^8.0.6", "webpack": "^4.41.2", "webpack-cli": "^3.3.9" </code></pre></div> <p dir="auto">Webpack rule:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ test: /\.jsx?$/, exclude: /node_modules/, use: 'babel-loader' }"><pre class="notranslate"><code class="notranslate">{ test: /\.jsx?$/, exclude: /node_modules/, use: 'babel-loader' } </code></pre></div> <p dir="auto">Browserslist:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;&gt; 0.25%, not dead, safari 11&quot;"><pre class="notranslate"><code class="notranslate">"&gt; 0.25%, not dead, safari 11" </code></pre></div>
0
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-remove-classes-from-an-element-with-jquery" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-remove-classes-from-an-element-with-jquery</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p> <p dir="auto">I accidentally typed <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="bd50aece6dcc9a47425fa5486c0f7520">$($</math-renderer>) and it crashes my computer if I'm on the page so I can't produce a screenshot.</p>
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/create-a-set-of-checkboxes" rel="nofollow">Create a Set of Checkboxes</a> has an issue.</p> <p dir="auto">My code:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &lt;label&gt;&lt;input type=&quot;checkbox&quot; name=&quot;personality&quot; id=&quot;&quot;&gt;humorous&lt;/label&gt; &lt;label&gt;&lt;input type=&quot;checkbox&quot; name=&quot;personality&quot; id=&quot;&quot;&gt;kind&lt;/label&gt; &lt;label&gt;&lt;input type=&quot;checkbox&quot; name=&quot;personality&quot; id=&quot;&quot;&gt;smart&lt;/label&gt; "><pre class="notranslate"> <span class="pl-kos">&lt;</span><span class="pl-ent">label</span><span class="pl-kos">&gt;</span><span class="pl-kos">&lt;</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-c1">id</span>=""<span class="pl-kos">&gt;</span>humorous<span class="pl-kos">&lt;/</span><span class="pl-ent">label</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">label</span><span class="pl-kos">&gt;</span><span class="pl-kos">&lt;</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-c1">id</span>=""<span class="pl-kos">&gt;</span>kind<span class="pl-kos">&lt;/</span><span class="pl-ent">label</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">label</span><span class="pl-kos">&gt;</span><span class="pl-kos">&lt;</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-c1">id</span>=""<span class="pl-kos">&gt;</span>smart<span class="pl-kos">&lt;/</span><span class="pl-ent">label</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">It's a nonsense to create input fields of type <code class="notranslate">checkbox</code> with same <code class="notranslate">name</code> attribute value, e.g. checking all of them would make up a query string in form:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="?personality=on&amp;personality=on&amp;personality=on"><pre class="notranslate"><code class="notranslate">?personality=on&amp;personality=on&amp;personality=on </code></pre></div> <p dir="auto">It's kinda useless, unless the checkboxes are managed with <code class="notranslate">javascript</code> like in <a href="http://jsfiddle.net/62f3X/1/" rel="nofollow">this fiddle</a></p> <p dir="auto">I suggest in this lesson to add checkboxes with different <code class="notranslate">names</code> and add note that each checkbox should have distinctive <code class="notranslate">name</code> unless altered with JS</p>
0
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/41697881/47519901-52354f00-d8ac-11e8-9bc6-9d7620d2cae4.PNG"><img src="https://user-images.githubusercontent.com/41697881/47519901-52354f00-d8ac-11e8-9bc6-9d7620d2cae4.PNG" alt="error" style="max-width: 100%;"></a></p>
<p dir="auto">Flutter crashes on Resolving dependencies</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="* What went wrong: A problem occurred evaluating project ':app'. &gt; Could not resolve all artifacts for configuration 'classpath'. &gt; Could not find aapt2-proto.jar (com.android.tools.build:aapt2-proto:0.3.1). Searched in the following locations: https://jcenter.bintray.com/com/android/tools/build/aapt2-proto/0.3.1/aapt2-proto-0.3.1.jar"><pre class="notranslate"><code class="notranslate">* What went wrong: A problem occurred evaluating project ':app'. &gt; Could not resolve all artifacts for configuration 'classpath'. &gt; Could not find aapt2-proto.jar (com.android.tools.build:aapt2-proto:0.3.1). Searched in the following locations: https://jcenter.bintray.com/com/android/tools/build/aapt2-proto/0.3.1/aapt2-proto-0.3.1.jar </code></pre></div>
1
<p dir="auto">when using multiple inventory files defining different groups for the same hosts, ansible adds the hosts multiple times to the inventory list.</p> <p dir="auto">version: 1.4.4+dfsg-1 (from debian jessie)<br> same problem with current devel <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/00b3f627ebb2b8e9cf743671a9ddd2d8d8c9fe45/hovercard" href="https://github.com/ansible/ansible/commit/00b3f627ebb2b8e9cf743671a9ddd2d8d8c9fe45"><tt>00b3f62</tt></a></p> <p dir="auto">reproduce:</p> <ul dir="auto"> <li>use files from <a href="https://gist.github.com/g-k-r/8599442">https://gist.github.com/g-k-r/8599442</a></li> <li>run <strong>ansible all --list</strong></li> <li>run <strong>ansible group2 --list</strong> and compare with <strong>ansible type2 --list</strong></li> </ul> <p dir="auto">actual output:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ ansible all --list www.google.com www.yahoo.com www.yahoo.com $ ansible group2 --list www.yahoo.com $ ansible type2 --list www.yahoo.com www.yahoo.com"><pre class="notranslate">$ ansible all --list www.google.com www.yahoo.com www.yahoo.com $ ansible group2 --list www.yahoo.com $ ansible type2 --list www.yahoo.com www.yahoo.com</pre></div> <p dir="auto">note when the group is defined in both files like [type1] this does not happen.</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ ansible type1 --list www.google.com"><pre class="notranslate">$ ansible type1 --list www.google.com</pre></div> <p dir="auto">expected output: <a href="http://www.yahoo.com" rel="nofollow">www.yahoo.com</a> shows up once only i.e.</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ ansible all --list www.google.com www.yahoo.com $ ansible group2 --list www.yahoo.com $ ansible type2 --list www.yahoo.com"><pre class="notranslate">$ ansible all --list www.google.com www.yahoo.com $ ansible group2 --list www.yahoo.com $ ansible type2 --list www.yahoo.com</pre></div> <p dir="auto">additional information:</p> <p dir="auto">to verify that tasks would actually be executed multiple times use</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ ansible all -m debug -a '&quot;msg=TEST {{inventory_hostname}}&quot;' www.google.com | success &gt;&gt; { &quot;msg&quot;: &quot;TEST www.google.com&quot; } www.yahoo.com | success &gt;&gt; { &quot;msg&quot;: &quot;TEST www.yahoo.com&quot; } www.yahoo.com | success &gt;&gt; { &quot;msg&quot;: &quot;TEST www.yahoo.com&quot; }"><pre class="notranslate">$ ansible all -m debug -a <span class="pl-s"><span class="pl-pds">'</span>"msg=TEST {{inventory_hostname}}"<span class="pl-pds">'</span></span> www.google.com <span class="pl-k">|</span> success <span class="pl-k">&gt;&gt;</span> { <span class="pl-s"><span class="pl-pds">"</span>msg<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>TEST www.google.com<span class="pl-pds">"</span></span> } www.yahoo.com <span class="pl-k">|</span> success <span class="pl-k">&gt;&gt;</span> { <span class="pl-s"><span class="pl-pds">"</span>msg<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>TEST www.yahoo.com<span class="pl-pds">"</span></span> } www.yahoo.com <span class="pl-k">|</span> success <span class="pl-k">&gt;&gt;</span> { <span class="pl-s"><span class="pl-pds">"</span>msg<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>TEST www.yahoo.com<span class="pl-pds">"</span></span> }</pre></div>
<h5 dir="auto">Issue Type:</h5> <p dir="auto">Bug Report</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">Current latest devel. Also 1.6 and assorted versions in between.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible --version ansible 1.8 (devel 2eda9a3a47) last updated 2014/10/10 18:43:36 (GMT +100) lib/ansible/modules/core: (detached HEAD 5af8d55b03) last updated 2014/10/10 18:43:44 (GMT +100) lib/ansible/modules/extras: (detached HEAD 681db4ce2c) last updated 2014/10/10 18:43:45 (GMT +100) v2/ansible/modules/core: (detached HEAD cb69744bce) last updated 2014/10/08 10:13:54 (GMT +100) v2/ansible/modules/extras: (detached HEAD 8a4f07eecd) last updated 2014/10/08 10:14:38 (GMT +100)"><pre class="notranslate"><code class="notranslate">$ ansible --version ansible 1.8 (devel 2eda9a3a47) last updated 2014/10/10 18:43:36 (GMT +100) lib/ansible/modules/core: (detached HEAD 5af8d55b03) last updated 2014/10/10 18:43:44 (GMT +100) lib/ansible/modules/extras: (detached HEAD 681db4ce2c) last updated 2014/10/10 18:43:45 (GMT +100) v2/ansible/modules/core: (detached HEAD cb69744bce) last updated 2014/10/08 10:13:54 (GMT +100) v2/ansible/modules/extras: (detached HEAD 8a4f07eecd) last updated 2014/10/08 10:14:38 (GMT +100) </code></pre></div> <h5 dir="auto">Environment:</h5> <p dir="auto">Ansible run on Ubuntu 12.04.5 LTS. Clients Centos 6.5 (the bug manifests locally and remotely).</p> <h5 dir="auto">Summary:</h5> <p dir="auto">Ansible's 'copy' module has a parameter, 'content'. Although jinja2 expansions in the content parameter appear to be supported, they don't work as expected, specifically they do not mimic the behaviour of the template module with the same content. Quoting appears to be mangled in some cases, and ansible can be made to throw exceptions with others. A content value '{{x}}', where a var x is defined with quotes within, will not necessarily result in the quotes (and whitespace) being preserved.</p> <h5 dir="auto">Steps To Reproduce:</h5> <p dir="auto">Create a playbook called 'test.yml':</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" --- - name: quote mangling hosts: all vars: content: a=&quot;q &quot; tasks: - name: test copy action: copy content=&quot;{{content}}&quot; dest=/tmp/content"><pre class="notranslate"><code class="notranslate"> --- - name: quote mangling hosts: all vars: content: a="q " tasks: - name: test copy action: copy content="{{content}}" dest=/tmp/content </code></pre></div> <p dir="auto">You may also need an ansible_hosts like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="localhost"><pre class="notranslate"><code class="notranslate">localhost </code></pre></div> <p dir="auto">Then run ansible-playbook like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible-playbook -l localhost -c local test.yml"><pre class="notranslate"><code class="notranslate">ansible-playbook -l localhost -c local test.yml </code></pre></div> <p dir="auto">Output looks like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [quote mangling] ************************************************************* GATHERING FACTS *************************************************************** ok: [localhost] TASK: [test copy] ************************************************************* ok: [localhost] PLAY RECAP ******************************************************************** localhost : ok=2 changed=0 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">PLAY [quote mangling] ************************************************************* GATHERING FACTS *************************************************************** ok: [localhost] TASK: [test copy] ************************************************************* ok: [localhost] PLAY RECAP ******************************************************************** localhost : ok=2 changed=0 unreachable=0 failed=0 </code></pre></div> <h5 dir="auto">Expected Results:</h5> <p dir="auto">The expected result is a file in /tmp/content containing this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a=&quot;q &quot;"><pre class="notranslate"><code class="notranslate">a="q " </code></pre></div> <h5 dir="auto">Actual Results:</h5> <p dir="auto">What I actually get in the file is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;a=&quot;q"><pre class="notranslate"><code class="notranslate">"a="q </code></pre></div> <p dir="auto">No trailing space; quotes have been re-inserted wrongly.</p> <h5 dir="auto">Other cases</h5> <p dir="auto">Remove the second quote in the var definition. Ansible rejects the input:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal: [localhost] =&gt; error parsing argument string 'content=&quot;a=&quot;q&quot; dest=/tmp/content', try quoting the entire line."><pre class="notranslate"><code class="notranslate">fatal: [localhost] =&gt; error parsing argument string 'content="a="q" dest=/tmp/content', try quoting the entire line. </code></pre></div> <p dir="auto">I believe I managed to make ansible throw an exception with one variation, however I cannot reproduce that now; possibly dependent on the version of ansible.</p>
0
<p dir="auto">runtime/mbitmap.go says:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" // The following ensures that we are rigorous about what data // structures hold valid pointers. // TODO(rsc): Check if this still happens. if false { // Still happens sometimes. We don't know why. printlock() print(&quot;runtime:objectstart Span weird: p=&quot;, hex(p), &quot; k=&quot;, hex(k)) if s == nil { print(&quot; s=nil\n&quot;) } else { print(&quot; s.start=&quot;, hex(s.start&lt;&lt;_PageShift), &quot; s.limit=&quot;, hex(s.limit), &quot; s.state=&quot;, s.state, &quot;\n&quot;) } printunlock() throw(&quot;objectstart: bad pointer in unexpected span&quot;) }"><pre class="notranslate"><code class="notranslate"> // The following ensures that we are rigorous about what data // structures hold valid pointers. // TODO(rsc): Check if this still happens. if false { // Still happens sometimes. We don't know why. printlock() print("runtime:objectstart Span weird: p=", hex(p), " k=", hex(k)) if s == nil { print(" s=nil\n") } else { print(" s.start=", hex(s.start&lt;&lt;_PageShift), " s.limit=", hex(s.limit), " s.state=", s.state, "\n") } printunlock() throw("objectstart: bad pointer in unexpected span") } </code></pre></div> <p dir="auto">This needs to happen for Go 1.5.<br> We broke a lot of programs in Go 1.4 by insisting on this<br> (for good reasons), and we don't want relapses during Go 1.5.</p>
<p dir="auto">We used to have a check for pointers that point into the heap but don't point to an object. This check is useful for debugging live variable info, global ptr maps, etc. It is currently turned off. We should re-enable it for 1.5. It is currently broken at least because of holes in 32-bit heaps <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="57681833" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/9872" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/9872/hovercard" href="https://github.com/golang/go/issues/9872">#9872</a> . There are probably other reasons as well.</p> <p dir="auto">The check is currently disabled in runtime/mbitmap.go:heapBitsForObject, line 181.</p>
1