text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<p dir="auto">The <code class="notranslate">encoding/binary</code> package performs more slowly writing <code class="notranslate">uint{8,16,32,64}</code> data vs the corresponding <code class="notranslate">int{8,16,32,64}</code> data. The performance when writing <code class="notranslate">*uints</code> and <code class="notranslate">*ints</code> is almost identical.</p> <p dir="auto">See <code class="notranslate">binary1.go</code> in <a href="http://play.golang.org/p/--qpN-sy6o" rel="nofollow">http://play.golang.org/p/--qpN-sy6o</a> and <code class="notranslate">binary1_test.go</code> in <a href="http://play.golang.org/p/ypH8OTtYYx" rel="nofollow">http://play.golang.org/p/ypH8OTtYYx</a></p> <p dir="auto">Here is part of the output from running the benchmark test.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;go test binary1.go binary1_test.go -bench=. testing: warning: no tests to run PASS BenchmarkWrite_int8 10000 171109 ns/op BenchmarkWrite_uint8 5000 367821 ns/op BenchmarkWrite_int8_p 10000 114706 ns/op BenchmarkWrite_uint8_p 10000 115306 ns/op"><pre class="notranslate"><code class="notranslate">&gt;go test binary1.go binary1_test.go -bench=. testing: warning: no tests to run PASS BenchmarkWrite_int8 10000 171109 ns/op BenchmarkWrite_uint8 5000 367821 ns/op BenchmarkWrite_int8_p 10000 114706 ns/op BenchmarkWrite_uint8_p 10000 115306 ns/op </code></pre></div> <p dir="auto">The results for larger integers are similar.</p> <p dir="auto">The problem appears to be in the <code class="notranslate">encoding/binary</code> package's <code class="notranslate">intDataSize</code> function:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// intDataSize returns the size of the data required to represent the data when encoded. // It returns zero if the type cannot be implemented by the fast path in Read or Write. func intDataSize(data interface{}) int { switch data := data.(type) { case int8, *int8, *uint8: return 1 case []int8: return len(data) case []uint8: return len(data)"><pre class="notranslate"><code class="notranslate">// intDataSize returns the size of the data required to represent the data when encoded. // It returns zero if the type cannot be implemented by the fast path in Read or Write. func intDataSize(data interface{}) int { switch data := data.(type) { case int8, *int8, *uint8: return 1 case []int8: return len(data) case []uint8: return len(data) </code></pre></div> <p dir="auto">The first case of the switch does not include <code class="notranslate">uint8</code> so the fast path is not used. The data size is looked up later using reflection instead of using this hard coded size. Larger unsigned ints are also missing later in the switch.</p>
<pre class="notranslate">The reflect slow path showed up in pprof for a uint64 data type: <a href="https://code.google.com/r/cafxx-golang/source/detail?r=20d0244f15dc2584b540c90437f70ce7ab840219" rel="nofollow">https://code.google.com/r/cafxx-golang/source/detail?r=20d0244f15dc2584b540c90437f70ce7ab840219</a></pre>
1
<p dir="auto">Playwright has a utility <code class="notranslate">toMatchScreenshot</code> that will test a screenshot of something against a predefined image that is in it's snapshot directory. I would like for it to test against an image that is at an arbitrary absolute path. If I pass in an arbitrary path, it will coerce the path (replace the separators with hyphens) to a path inside the snapshot directory.</p> <p dir="auto">Is there a way I can use playwright's snapshot matching abilities to match against an arbitrary image?</p>
<p dir="auto">We currently have <code class="notranslate">expect(screenshot).toMatchSnapshot(name[, options])</code> which is nice when comparing against at snapshot but it doesn't work when comparing a screenshot against a reference website which is useful for doing visual regression to see what has changed. I propose that we add a <code class="notranslate">toMatchScreenshot(screenshot[, options])</code> that could be used for something like this:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" page.goto(&quot;production.example.com&quot;) const ref = await page.screenshot({ animations: &quot;disabled&quot;, fullPage: true, scale: &quot;css&quot; }); page.goto(&quot;localhost:8080&quot;) const test = await page.screenshot({ animations: &quot;disabled&quot;, fullPage: true, scale: &quot;css&quot; }); expect(test, &quot;should match reference&quot;).toMatchScreenshot(ref, { maxDiffPixelRatio: 0, maxDiffPixels: 0, threshold: 0 });"><pre class="notranslate"><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">"production.example.com"</span><span class="pl-kos">)</span> <span class="pl-k">const</span> <span class="pl-s1">ref</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">screenshot</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">animations</span>: <span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">fullPage</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">scale</span>: <span class="pl-s">"css"</span> <span class="pl-kos">}</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">goto</span><span class="pl-kos">(</span><span class="pl-s">"localhost:8080"</span><span class="pl-kos">)</span> <span class="pl-k">const</span> <span class="pl-s1">test</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">screenshot</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">animations</span>: <span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">fullPage</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">scale</span>: <span class="pl-s">"css"</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">test</span><span class="pl-kos">,</span> <span class="pl-s">"should match reference"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toMatchScreenshot</span><span class="pl-kos">(</span><span class="pl-s1">ref</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">maxDiffPixelRatio</span>: <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">maxDiffPixels</span>: <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">threshold</span>: <span class="pl-c1">0</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
1
<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.815 PowerToys version: 0.17.0 PowerToy module for which you are reporting the bug (if applicable): FancyZones"><pre class="notranslate"><code class="notranslate">Windows build number: 10.0.18363.815 PowerToys version: 0.17.0 PowerToy module for which you are reporting the bug (if applicable): FancyZones </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">When a window is opened off, or partially off-screen, the FancyZones are no longer available to arrange Windows. Only able to use FancyZones again if I end the PowerToys process in Task Manager and reload the application. This happens if PowerToys is running either as administrator or not.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Able to snap Windows to FancyZones</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">FancyZones no longer appear when the target Window is dragged</p> <h1 dir="auto">Screenshots</h1> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/48316637/81170042-db454000-8f91-11ea-8e06-d3aab2a34773.png"><img src="https://user-images.githubusercontent.com/48316637/81170042-db454000-8f91-11ea-8e06-d3aab2a34773.png" alt="image" style="max-width: 100%;"></a></p>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18362.778 PowerToys version: 0.17.0 PowerToy module for which you are reporting the bug: FancyZones"><pre class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.778 PowerToys version: 0.17.0 PowerToy module for which you are reporting the bug: FancyZones </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <ul dir="auto"> <li>Uninstall previous version of PowerToys</li> <li>Install 0.17.0</li> <li>Open PowerToys, things work just fine</li> <li>Wait for a while</li> <li>Try to place a window inside a zone, it shows no zones, and acts as if the app no longer running</li> <li>Can open settings window and interact with toggles and such, but cannot save</li> <li>Can close settings window</li> <li>Can sometimes right click &gt; exit on the systray icon, other times i have to force close in task manager</li> <li>Reopen PowerToys, repeat</li> </ul> <h1 dir="auto">Expected behavior</h1> <p dir="auto">The ability to use FancyZones as long as the PowerToys app is running</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">FanzyZones only being usable right after opening, and then no longer working after an undetermined amount of time when trying to snap a window</p>
1
<p dir="auto">When creating an <em>EffectComposer</em> with an <a href="https://github.com/mrdoob/three.js/blob/master/examples/js/postprocessing/OutlinePass.js"><em>OutlinePass</em></a> in the pipeline, the alpha channel is discarded.</p> <p dir="auto">This is demonstrated in this <a href="https://jsfiddle.net/3foLr7sn/104/" rel="nofollow">jsfiddle snippet</a>. Comment <code class="notranslate">composer.addPass( outlinePass )</code> to see the background turning transparent (white).</p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r95</li> </ul>
<h5 dir="auto">Description of the problem</h5> <p dir="auto">After commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/mrdoob/three.js/commit/b3cf1c73c279d7d9788d4a9735d17dcb7893b50c/hovercard" href="https://github.com/mrdoob/three.js/commit/b3cf1c73c279d7d9788d4a9735d17dcb7893b50c"><tt>b3cf1c7</tt></a> the outlinePass renders transparent backgrounds in black.</p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Dev</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r88</li> </ul> <h5 dir="auto">Browser</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Chrome latest</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li> </ul> <h5 dir="auto">OS</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Windows 10</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> macOS</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> iOS</li> </ul> <h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5>
1
<p dir="auto">Hello, I found Scrollspy doesn't support Chinese ID Targets.</p> <p dir="auto">In order to reproduce the bug, I post <a href="https://gist.github.com/wzpan/6350387">a gist</a>. It looks almost the same to the example from official Doc. A slight difference is that I modify one element's id("mdo") into a Chinese ID ("艾姆滴欧").</p> <p dir="auto">When you view the html file in your browser, you can see that it can spy all the target elements except that element with Chinese ID.</p>
<p dir="auto">The alert types can be customized with alert-info, alert-sucess, alert-error and alert-danger corresponding to resp. blue, green, red, red alert boxes.</p> <p dir="auto">Please add an explicit warn style alert-warn.<br> Note that this would correspond to the default orange alert.</p> <p dir="auto">The reason I'm asking is, from my backend I'm providing the alert-type (like error, warn, info) and in case if it's not provided it will fall back to info.<br> If there would be an alert-warn I could easily do something like <code class="notranslate">alert-&lt;% the type %&gt;</code> in my html page.</p>
0
<h3 dir="auto">Description</h3> <p dir="auto">Hello team - First of all, not sure if this is a bug.</p> <p dir="auto">I'm having trouble setting up Python logging with Jax without running into log spam issues.</p> <p dir="auto">The following code works as expected:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import logging logging.basicConfig(level=logging.INFO, format='%(asctime)s [%(levelname)-5.5s] [%(name)-12.12s]: %(message)s') logger = logging.getLogger(__name__) logger.info('hello world')"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">logging</span> <span class="pl-s1">logging</span>.<span class="pl-en">basicConfig</span>(<span class="pl-s1">level</span><span class="pl-c1">=</span><span class="pl-s1">logging</span>.<span class="pl-v">INFO</span>, <span class="pl-s1">format</span><span class="pl-c1">=</span><span class="pl-s">'%(asctime)s [%(levelname)-5.5s] [%(name)-12.12s]: %(message)s'</span>) <span class="pl-s1">logger</span> <span class="pl-c1">=</span> <span class="pl-s1">logging</span>.<span class="pl-en">getLogger</span>(<span class="pl-s1">__name__</span>) <span class="pl-s1">logger</span>.<span class="pl-en">info</span>(<span class="pl-s">'hello world'</span>)</pre></div> <p dir="auto">Output</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2022-11-24 21:26:11,974 [INFO ] [__main__ ]: hello world"><pre class="notranslate"><code class="notranslate">2022-11-24 21:26:11,974 [INFO ] [__main__ ]: hello world </code></pre></div> <p dir="auto">But not when also importing jax</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import logging import jax logging.basicConfig(level=logging.INFO, format='%(asctime)s [%(levelname)-5.5s] [%(name)-12.12s]: %(message)s') logger = logging.getLogger(__name__) logger.info('hello world') # no visible output"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">logging</span> <span class="pl-k">import</span> <span class="pl-s1">jax</span> <span class="pl-s1">logging</span>.<span class="pl-en">basicConfig</span>(<span class="pl-s1">level</span><span class="pl-c1">=</span><span class="pl-s1">logging</span>.<span class="pl-v">INFO</span>, <span class="pl-s1">format</span><span class="pl-c1">=</span><span class="pl-s">'%(asctime)s [%(levelname)-5.5s] [%(name)-12.12s]: %(message)s'</span>) <span class="pl-s1">logger</span> <span class="pl-c1">=</span> <span class="pl-s1">logging</span>.<span class="pl-en">getLogger</span>(<span class="pl-s1">__name__</span>) <span class="pl-s1">logger</span>.<span class="pl-en">info</span>(<span class="pl-s">'hello world'</span>) <span class="pl-c"># no visible output</span></pre></div> <p dir="auto">It only works if one passes the <code class="notranslate">force=True</code> flag to the logging config</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import logging import jax logging.basicConfig(level=logging.INFO, format='%(asctime)s [%(levelname)-5.5s] [%(name)-12.12s]: %(message)s', force=True) logger = logging.getLogger(__name__) logger.info('hello world') # works as expected now"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">logging</span> <span class="pl-k">import</span> <span class="pl-s1">jax</span> <span class="pl-s1">logging</span>.<span class="pl-en">basicConfig</span>(<span class="pl-s1">level</span><span class="pl-c1">=</span><span class="pl-s1">logging</span>.<span class="pl-v">INFO</span>, <span class="pl-s1">format</span><span class="pl-c1">=</span><span class="pl-s">'%(asctime)s [%(levelname)-5.5s] [%(name)-12.12s]: %(message)s'</span>, <span class="pl-s1">force</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">logger</span> <span class="pl-c1">=</span> <span class="pl-s1">logging</span>.<span class="pl-en">getLogger</span>(<span class="pl-s1">__name__</span>) <span class="pl-s1">logger</span>.<span class="pl-en">info</span>(<span class="pl-s">'hello world'</span>) <span class="pl-c"># works as expected now</span></pre></div> <p dir="auto">However, if one checks the loggers, this overwrote now the config of all previous loggers</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="print(logging.root.manager.loggerDict) # {'urllib3.util.retry': &lt;Logger urllib3.util.retry (INFO)&gt;, 'urllib3.util': &lt;logging.PlaceHolder object at 0x7fadd2974a90&gt;, 'urllib3': &lt;Logger urllib3 (INFO)&gt;, 'urllib3.connection': &lt;Logger urllib3.connection (INFO)&gt;, 'urllib3.response': &lt;Logger urllib3.response (INFO)&gt;, 'urllib3.connectionpool': &lt;Logger urllib3.connectionpool (INFO)&gt;, 'urllib3.poolmanager': &lt;L ogger urllib3.poolmanager (INFO)&gt;, 'charset_normalizer': &lt;Logger charset_normalizer (INFO)&gt;, 'requests': &lt;Logger requests (INFO)&gt;, 'jaxlib.tpu_client': &lt;Logger jaxlib.tpu_client (INFO)&gt;, 'jaxlib': &lt;logging.PlaceHolder object at 0x7fadc6f0cac0&gt;, 'jax._src.config': &lt;Logger jax._src.config (INFO)&gt;, 'jax._src': &lt;logging.PlaceHolder object at 0x7fadd24a8d90&gt;, 'jax' : &lt;logging.PlaceHolder object at 0x7fadd24a8df0&gt;, 'jax._src.util': &lt;Logger jax._src.util (INFO)&gt;, 'jax._src.clusters.cluster': &lt;Logger jax._src.clusters.cluster (INFO)&gt;, 'jax._src.clusters': &lt;logging.PlaceHolder object at 0x7fadc6bc0850&gt;, 'jax._src.distributed': &lt;Logger jax._src.distributed (INFO)&gt;, 'jax._src.lib.xla_bridge': &lt;Logger jax._src.lib.xla_bridge (I NFO)&gt;, 'jax._src.lib': &lt;logging.PlaceHolder object at 0x7fadc6bc0220&gt;, 'jax._src.profiler': &lt;Logger jax._src.profiler (INFO)&gt;, 'jax._src.path': &lt;Logger jax._src.path (INFO)&gt;, 'concurrent.futures': &lt;Logger concurrent.futures (INFO)&gt;, 'concurrent': &lt;logging.PlaceHolder object at 0x7fadc679d580&gt;, 'asyncio': &lt;Logger asyncio (INFO)&gt;, 'jax._src.dispatch': &lt;Logger ja x._src.dispatch (INFO)&gt;, 'jax.interpreters.pxla': &lt;Logger jax.interpreters.pxla (INFO)&gt;, 'jax.interpreters': &lt;logging.PlaceHolder object at 0x7fadc6552f10&gt;, 'rich': &lt;Logger rich (INFO)&gt;, '__main__': &lt;Logger __main__ (INFO)&gt;}"><pre class="notranslate"><code class="notranslate">print(logging.root.manager.loggerDict) # {'urllib3.util.retry': &lt;Logger urllib3.util.retry (INFO)&gt;, 'urllib3.util': &lt;logging.PlaceHolder object at 0x7fadd2974a90&gt;, 'urllib3': &lt;Logger urllib3 (INFO)&gt;, 'urllib3.connection': &lt;Logger urllib3.connection (INFO)&gt;, 'urllib3.response': &lt;Logger urllib3.response (INFO)&gt;, 'urllib3.connectionpool': &lt;Logger urllib3.connectionpool (INFO)&gt;, 'urllib3.poolmanager': &lt;L ogger urllib3.poolmanager (INFO)&gt;, 'charset_normalizer': &lt;Logger charset_normalizer (INFO)&gt;, 'requests': &lt;Logger requests (INFO)&gt;, 'jaxlib.tpu_client': &lt;Logger jaxlib.tpu_client (INFO)&gt;, 'jaxlib': &lt;logging.PlaceHolder object at 0x7fadc6f0cac0&gt;, 'jax._src.config': &lt;Logger jax._src.config (INFO)&gt;, 'jax._src': &lt;logging.PlaceHolder object at 0x7fadd24a8d90&gt;, 'jax' : &lt;logging.PlaceHolder object at 0x7fadd24a8df0&gt;, 'jax._src.util': &lt;Logger jax._src.util (INFO)&gt;, 'jax._src.clusters.cluster': &lt;Logger jax._src.clusters.cluster (INFO)&gt;, 'jax._src.clusters': &lt;logging.PlaceHolder object at 0x7fadc6bc0850&gt;, 'jax._src.distributed': &lt;Logger jax._src.distributed (INFO)&gt;, 'jax._src.lib.xla_bridge': &lt;Logger jax._src.lib.xla_bridge (I NFO)&gt;, 'jax._src.lib': &lt;logging.PlaceHolder object at 0x7fadc6bc0220&gt;, 'jax._src.profiler': &lt;Logger jax._src.profiler (INFO)&gt;, 'jax._src.path': &lt;Logger jax._src.path (INFO)&gt;, 'concurrent.futures': &lt;Logger concurrent.futures (INFO)&gt;, 'concurrent': &lt;logging.PlaceHolder object at 0x7fadc679d580&gt;, 'asyncio': &lt;Logger asyncio (INFO)&gt;, 'jax._src.dispatch': &lt;Logger ja x._src.dispatch (INFO)&gt;, 'jax.interpreters.pxla': &lt;Logger jax.interpreters.pxla (INFO)&gt;, 'jax.interpreters': &lt;logging.PlaceHolder object at 0x7fadc6552f10&gt;, 'rich': &lt;Logger rich (INFO)&gt;, '__main__': &lt;Logger __main__ (INFO)&gt;} </code></pre></div> <p dir="auto">This means that certain loggers (e.g. <code class="notranslate">'jax.experimental.compilation_cache.compilation_cache': &lt;Logger jax.experimental.compilation_cache.compilation_cache (INFO)&gt;</code>) will now throw a lot of log spam à la</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2022-11-24 20:58:53,231 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.32s) 2022-11-24 20:58:53,247 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.01s) 2022-11-24 20:58:53,321 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.07s) 2022-11-24 20:58:53,360 [INFO ] [root ]: Not writing persistent cache entry for 'jit_true_divide' because it took &lt; 1.00 seconds to compile (0.03s) 2022-11-24 20:58:53,840 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.47s) 2022-11-24 20:58:53,889 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.04s) 2022-11-24 20:58:54,514 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.62s) 2022-11-24 20:58:55,159 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.63s) 2022-11-24 20:58:55,950 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.76s) 2022-11-24 20:58:56,251 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.26s)"><pre class="notranslate"><code class="notranslate">2022-11-24 20:58:53,231 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.32s) 2022-11-24 20:58:53,247 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.01s) 2022-11-24 20:58:53,321 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.07s) 2022-11-24 20:58:53,360 [INFO ] [root ]: Not writing persistent cache entry for 'jit_true_divide' because it took &lt; 1.00 seconds to compile (0.03s) 2022-11-24 20:58:53,840 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.47s) 2022-11-24 20:58:53,889 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.04s) 2022-11-24 20:58:54,514 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.62s) 2022-11-24 20:58:55,159 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.63s) 2022-11-24 20:58:55,950 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.76s) 2022-11-24 20:58:56,251 [INFO ] [root ]: Not writing persistent cache entry for 'jit_prim_fun' because it took &lt; 1.00 seconds to compile (0.26s) </code></pre></div> <p dir="auto">because their config has changed. Any solutions to this?</p> <p dir="auto">I could reduce log spam when jax was using abseil logging, e.g. with</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="logging.getLogger('absl').setLevel(logging.WARNING)"><pre class="notranslate"><code class="notranslate">logging.getLogger('absl').setLevel(logging.WARNING) </code></pre></div> <p dir="auto">but this has no effect now (I assume jax switched to Python logging).</p> <p dir="auto">Thanks for your help on this!</p> <h3 dir="auto">What jax/jaxlib version are you using?</h3> <p dir="auto">jax==0.3.25 jaxlib==0.3.25</p> <h3 dir="auto">Which accelerator(s) are you using?</h3> <p dir="auto">TPU</p> <h3 dir="auto">Additional system info</h3> <p dir="auto">Linux</p> <h3 dir="auto">NVIDIA GPU info</h3> <p dir="auto"><em>No response</em></p>
<h3 dir="auto">Description</h3> <p dir="auto">Importing <code class="notranslate">jaxlib.mlir._mlir_libs._mlir</code> (and by extension any modules depending on these, including <code class="notranslate">jaxlib</code> and <code class="notranslate">jax</code>), seems to render python's logging module unable to work.</p> <p dir="auto">I have a script <code class="notranslate">test.py</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import logging import importlib import sys logger = logging.getLogger(__name__) import jax logging.basicConfig(level=logging.INFO) # import jax logger.info('Test')"><pre class="notranslate"><code class="notranslate">import logging import importlib import sys logger = logging.getLogger(__name__) import jax logging.basicConfig(level=logging.INFO) # import jax logger.info('Test') </code></pre></div> <p dir="auto">Running <code class="notranslate">python -m test</code> results in no logging output. If the second import statement, after the <code class="notranslate">logging.basicConfig</code>, is used instead of the first, then the expected <code class="notranslate">INFO:__main__:Test</code> line appears. If another module e.g. <code class="notranslate">numpy</code> is used instead of <code class="notranslate">jax</code>, the log line appears. I also do see the log line when using <code class="notranslate">jax==0.3.14, jaxlib==0.3.14</code> - it disappears on version 0.3.15-0.3.18.</p> <p dir="auto">By looking at <code class="notranslate">sys.modules</code> before and after the import, the module that replicates this behaviour with the smallest number of dependencies appears to be <code class="notranslate">jaxlib.mlir._mlir_libs._mlir.</code></p> <h3 dir="auto">What jax/jaxlib version are you using?</h3> <p dir="auto">jax &gt;=0.3.14, jaxlib &gt;=0.3.14</p> <h3 dir="auto">Which accelerator(s) are you using?</h3> <p dir="auto">CPU</p> <h3 dir="auto">Additional system info</h3> <p dir="auto">Linux</p> <h3 dir="auto">NVIDIA GPU info</h3> <p dir="auto"><em>No response</em></p>
1
<p dir="auto">Please help, the site changes and loads behind the menu bar, the "x" button will not close the side bar. True for all safari, bing, chrome, and even using browsec Vpn. Not sure what could be causing this. Wanted to practice waypoints on the phone away from desktop to continue JavaScript lessons.</p> <p dir="auto">P.s. Displayed fine before January 13 approximately. Thanks.</p> <p dir="auto">Sent from my iPhone</p>
<p dir="auto">Hi,<br> I just can't use the website with Safari as of the release of the new design.<br> At any given time there is a blank panel on the right site of the webpage, the only links I can click on are map and chat, they both pop out a new panel that overlaps the blank one, but if I close the panel it does not dismiss the blank one. <a href="https://imgur.com/Fwk4yjU" rel="nofollow">Screenshot for clarification</a></p> <p dir="auto">Website works fine on Chrome or Firefox on my computer, so I guess its just an safari Issue?</p>
1
<p dir="auto"><a href="https://scikit-learn.org/stable/modules/model_evaluation.html#multimetric-scoring" rel="nofollow">Using multiple metric evaluation</a> has the following example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; def tn(y_true, y_pred): return confusion_matrix(y_true, y_pred)[0, 0] &gt;&gt;&gt; def fp(y_true, y_pred): return confusion_matrix(y_true, y_pred)[0, 1] &gt;&gt;&gt; def fn(y_true, y_pred): return confusion_matrix(y_true, y_pred)[1, 0] &gt;&gt;&gt; def tp(y_true, y_pred): return confusion_matrix(y_true, y_pred)[1, 1] &gt;&gt;&gt; scoring = {'tp': make_scorer(tp), 'tn': make_scorer(tn), ... 'fp': make_scorer(fp), 'fn': make_scorer(fn)}"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; def tn(y_true, y_pred): return confusion_matrix(y_true, y_pred)[0, 0] &gt;&gt;&gt; def fp(y_true, y_pred): return confusion_matrix(y_true, y_pred)[0, 1] &gt;&gt;&gt; def fn(y_true, y_pred): return confusion_matrix(y_true, y_pred)[1, 0] &gt;&gt;&gt; def tp(y_true, y_pred): return confusion_matrix(y_true, y_pred)[1, 1] &gt;&gt;&gt; scoring = {'tp': make_scorer(tp), 'tn': make_scorer(tn), ... 'fp': make_scorer(fp), 'fn': make_scorer(fn)} </code></pre></div> <p dir="auto">This means that <a href="https://scikit-learn.org/stable/modules/generated/sklearn.metrics.confusion_matrix.html" rel="nofollow"><code class="notranslate">confusion_matrix</code></a> will be called <em><strong>4</strong></em> times for each <a href="https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.cross_validate.html" rel="nofollow"><code class="notranslate">cross_validate</code></a> fold.</p> <p dir="auto">This is probably not a performance issue because the cost of <code class="notranslate">confusion_matrix</code> is dwarfed by the cost of fitting and applying the model, but it is still clearly suboptimal.</p> <p dir="auto">It would seem natural to allow scorers to return <em>dictionaries</em> rather than numbers.</p> <p dir="auto">E.g., the previous example would be</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="def cm(y_true, y_pred): mx = confusion_matrix(y_true, y_pred) return {&quot;tn:mx[0,0], &quot;fp&quot;:mx[0,1], &quot;fn&quot;:mx[1,0], &quot;tp&quot;:mx[1,1]} scoring = make_scorer(cm)"><pre class="notranslate"><code class="notranslate">def cm(y_true, y_pred): mx = confusion_matrix(y_true, y_pred) return {"tn:mx[0,0], "fp":mx[0,1], "fn":mx[1,0], "tp":mx[1,1]} scoring = make_scorer(cm) </code></pre></div> <p dir="auto"><code class="notranslate">sklearn: 0.20.0</code></p>
<h4 dir="auto">Description</h4> <p dir="auto">The implementation of <code class="notranslate">_multimetric_score</code> will call every scorer individually. <a href="https://github.com/scikit-learn/scikit-learn/blob/0.19.1/sklearn/model_selection/_validation.py#L545">HERE</a></p> <p dir="auto">Unfortunately, these scorers are typically generated via <code class="notranslate">make_scorer</code> and each individual metric will end up repeatedly calling <code class="notranslate">predict</code>, <code class="notranslate">proba</code>, etc. <a href="https://github.com/scikit-learn/scikit-learn/blob/a24c8b464d094d2c468a16ea9f8bf8d42d949f84/sklearn/metrics/scorer.py#L75">HERE</a></p> <p dir="auto">For a recent exploratory GridSearch where I was generating lots of metrics (multi-output regression and wanted individual statistics for each output), My scoring time was 75% as long as my fit time which is bonkers and I know that my scoring functions are nowhere near that slow.</p> <h4 dir="auto">Suggested Change</h4> <p dir="auto">This code should really just be calling predict once and feeding the same predictions into each of the scorers.</p>
1
<h3 dir="auto">Description</h3> <p dir="auto">when run scrapy shell <a href="https://zhuanlan.zhihu.com/p/344192245" rel="nofollow">https://zhuanlan.zhihu.com/p/344192245</a></p> <p dir="auto">display:<br> �“MemoryError: Cannot allocate write+execute memory for ffi.callback(). You might be running on a system that prevents this. For more information, see <a href="https://cffi.readthedocs.io/en/latest/using.html#callbacks%E2%80%9D" rel="nofollow">https://cffi.readthedocs.io/en/latest/using.html#callbacks”</a></p>
<h3 dir="auto">Description</h3> <p dir="auto">I have simple Scrapy script which fails on Ubuntu 18 with weird memory error.<br> Works fine on local Mac, but fails on remote host.<br> Looks like a openSSL issue. Any advice is appreciated.</p> <h3 dir="auto">Steps to Reproduce</h3> <p dir="auto">Simply run scrapy script</p> <p dir="auto"><strong>Expected behavior:</strong><br> Run normally</p> <p dir="auto"><strong>Actual behavior:</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2019-10-31 20:24:51 [scrapy.downloadermiddlewares.robotstxt] ERROR: Error downloading &lt;GET https://xxx.yyy/robots.txt&gt;: Cannot allocate write+execute memory for ffi.callback(). You might be running on a system that prevents this. For more information, see https://cffi.readthedocs.io/en/latest/using.html#callbacks Traceback (most recent call last): File &quot;/home/scrapy/env/local/lib/python2.7/site-packages/twisted/internet/defer.py&quot;, line 1416, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File &quot;/home/scrapy/env/local/lib/python2.7/site-packages/twisted/python/failure.py&quot;, line 512, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File &quot;/home/scrapy/env/local/lib/python2.7/site-packages/scrapy/core/downloader/middleware.py&quot;, line 43, in process_request defer.returnValue((yield download_func(request=request,spider=spider))) File &quot;/home/scrapy/env/local/lib/python2.7/site-packages/scrapy/utils/defer.py&quot;, line 45, in mustbe_deferred result = f(*args, **kw) File &quot;/home/scrapy/env/local/lib/python2.7/site-packages/scrapy/core/downloader/handlers/__init__.py&quot;, line 71, in download_request return handler.download_request(request, spider) File &quot;/home/scrapy/env/local/lib/python2.7/site-packages/scrapy/core/downloader/handlers/http11.py&quot;, line 68, in download_request return agent.download_request(request) File &quot;/home/scrapy/env/local/lib/python2.7/site-packages/scrapy/core/downloader/handlers/http11.py&quot;, line 332, in download_request method, to_bytes(url, encoding='ascii'), headers, bodyproducer) File &quot;/home/scrapy/env/local/lib/python2.7/site-packages/twisted/web/client.py&quot;, line 1732, in request endpoint = self._getEndpoint(parsedURI) File &quot;/home/scrapy/env/local/lib/python2.7/site-packages/twisted/web/client.py&quot;, line 1715, in _getEndpoint return self._endpointFactory.endpointForURI(uri) File &quot;/home/scrapy/env/local/lib/python2.7/site-packages/twisted/web/client.py&quot;, line 1590, in endpointForURI uri.port) File &quot;/home/scrapy/env/local/lib/python2.7/site-packages/scrapy/core/downloader/contextfactory.py&quot;, line 59, in creatorForNetloc return ScrapyClientTLSOptions(hostname.decode(&quot;ascii&quot;), self.getContext()) File &quot;/home/scrapy/env/local/lib/python2.7/site-packages/scrapy/core/downloader/contextfactory.py&quot;, line 56, in getContext return self.getCertificateOptions().getContext() File &quot;/home/scrapy/env/local/lib/python2.7/site-packages/twisted/internet/_sslverify.py&quot;, line 1678, in getContext self._context = self._makeContext() File &quot;/home/scrapy/env/local/lib/python2.7/site-packages/twisted/internet/_sslverify.py&quot;, line 1709, in _makeContext ctx.set_verify(verifyFlags, _verifyCallback) File &quot;/home/scrapy/env/local/lib/python2.7/site-packages/OpenSSL/SSL.py&quot;, line 1103, in set_verify self._verify_helper = _VerifyHelper(callback)"><pre class="notranslate"><code class="notranslate">2019-10-31 20:24:51 [scrapy.downloadermiddlewares.robotstxt] ERROR: Error downloading &lt;GET https://xxx.yyy/robots.txt&gt;: Cannot allocate write+execute memory for ffi.callback(). You might be running on a system that prevents this. For more information, see https://cffi.readthedocs.io/en/latest/using.html#callbacks Traceback (most recent call last): File "/home/scrapy/env/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/home/scrapy/env/local/lib/python2.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File "/home/scrapy/env/local/lib/python2.7/site-packages/scrapy/core/downloader/middleware.py", line 43, in process_request defer.returnValue((yield download_func(request=request,spider=spider))) File "/home/scrapy/env/local/lib/python2.7/site-packages/scrapy/utils/defer.py", line 45, in mustbe_deferred result = f(*args, **kw) File "/home/scrapy/env/local/lib/python2.7/site-packages/scrapy/core/downloader/handlers/__init__.py", line 71, in download_request return handler.download_request(request, spider) File "/home/scrapy/env/local/lib/python2.7/site-packages/scrapy/core/downloader/handlers/http11.py", line 68, in download_request return agent.download_request(request) File "/home/scrapy/env/local/lib/python2.7/site-packages/scrapy/core/downloader/handlers/http11.py", line 332, in download_request method, to_bytes(url, encoding='ascii'), headers, bodyproducer) File "/home/scrapy/env/local/lib/python2.7/site-packages/twisted/web/client.py", line 1732, in request endpoint = self._getEndpoint(parsedURI) File "/home/scrapy/env/local/lib/python2.7/site-packages/twisted/web/client.py", line 1715, in _getEndpoint return self._endpointFactory.endpointForURI(uri) File "/home/scrapy/env/local/lib/python2.7/site-packages/twisted/web/client.py", line 1590, in endpointForURI uri.port) File "/home/scrapy/env/local/lib/python2.7/site-packages/scrapy/core/downloader/contextfactory.py", line 59, in creatorForNetloc return ScrapyClientTLSOptions(hostname.decode("ascii"), self.getContext()) File "/home/scrapy/env/local/lib/python2.7/site-packages/scrapy/core/downloader/contextfactory.py", line 56, in getContext return self.getCertificateOptions().getContext() File "/home/scrapy/env/local/lib/python2.7/site-packages/twisted/internet/_sslverify.py", line 1678, in getContext self._context = self._makeContext() File "/home/scrapy/env/local/lib/python2.7/site-packages/twisted/internet/_sslverify.py", line 1709, in _makeContext ctx.set_verify(verifyFlags, _verifyCallback) File "/home/scrapy/env/local/lib/python2.7/site-packages/OpenSSL/SSL.py", line 1103, in set_verify self._verify_helper = _VerifyHelper(callback) </code></pre></div> <p dir="auto"><strong>Reproduces how often:</strong><br> 100%</p> <h3 dir="auto">Versions</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ scrapy version --verbose Scrapy : 1.6.0 lxml : 4.4.1.0 libxml2 : 2.9.9 cssselect : 1.1.0 parsel : 1.5.2 w3lib : 1.21.0 Twisted : 19.7.0 Python : 2.7.15+ (default, Oct 7 2019, 17:39:04) - [GCC 7.4.0] pyOpenSSL : 19.0.0 (OpenSSL 1.1.1d 10 Sep 2019) cryptography : 2.8 Platform : Linux-4.14.117-grsec-grsec+-x86_64-with-Ubuntu-18.04-bionic"><pre class="notranslate"><code class="notranslate">$ scrapy version --verbose Scrapy : 1.6.0 lxml : 4.4.1.0 libxml2 : 2.9.9 cssselect : 1.1.0 parsel : 1.5.2 w3lib : 1.21.0 Twisted : 19.7.0 Python : 2.7.15+ (default, Oct 7 2019, 17:39:04) - [GCC 7.4.0] pyOpenSSL : 19.0.0 (OpenSSL 1.1.1d 10 Sep 2019) cryptography : 2.8 Platform : Linux-4.14.117-grsec-grsec+-x86_64-with-Ubuntu-18.04-bionic </code></pre></div> <h3 dir="auto">Additional context</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cat /etc/os-release NAME=&quot;Ubuntu&quot; VERSION=&quot;18.04.2 LTS (Bionic Beaver)&quot; PRETTY_NAME=&quot;Ubuntu 18.04.2 LTS&quot; VERSION_ID=&quot;18.04&quot;"><pre class="notranslate"><code class="notranslate">$ cat /etc/os-release NAME="Ubuntu" VERSION="18.04.2 LTS (Bionic Beaver)" PRETTY_NAME="Ubuntu 18.04.2 LTS" VERSION_ID="18.04" </code></pre></div>
1
<p dir="auto">For some reason, the specified behavior in ES6 JavaScript (or "JavaScript 2015") of nodeLists having default iterators that allow you to iterate through them with behavior similar to <code class="notranslate">values()</code> or a <code class="notranslate">for..of</code> loop isn't defined in Babel yet.</p> <p dir="auto">In fact, unlike other transpilers that at least explicitly explains its lack of finding the default iterator for things, Babel currently merely states <code class="notranslate">TypeError: undefined is not a function</code>:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1223224/6212189/46c7a654-b5b0-11e4-988f-c043e4c99b39.png"><img src="https://cloud.githubusercontent.com/assets/1223224/6212189/46c7a654-b5b0-11e4-988f-c043e4c99b39.png" alt="screen shot 2015-02-16 at 7 48 31 am" style="max-width: 100%;"></a></p>
<p dir="auto">I was reading this MDN page on for...of: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Statements/for...of" rel="nofollow">https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Statements/for...of</a> and they mentioned that you could use it with stuff from the DOM like NodeList. I tried it and it didn't work so I ended up polyfilling it with this code:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if (NodeList.prototype[Symbol.iterator] === undefined) { NodeList.prototype[Symbol.iterator] = function () { var i = 0; return { next: () =&gt; { return { done: i &gt;= this.length, value: this.item(i++) }; } } }; }"><pre class="notranslate"><code class="notranslate">if (NodeList.prototype[Symbol.iterator] === undefined) { NodeList.prototype[Symbol.iterator] = function () { var i = 0; return { next: () =&gt; { return { done: i &gt;= this.length, value: this.item(i++) }; } } }; } </code></pre></div> <p dir="auto">It actually works and lets do stuff like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="for (let { id } of document.querySelectorAll(&quot;div&quot;)) { console.log(`elem.id = ${id}`); }"><pre class="notranslate"><code class="notranslate">for (let { id } of document.querySelectorAll("div")) { console.log(`elem.id = ${id}`); } </code></pre></div> <p dir="auto">I'd like to create a pull request for this and the other DOM lists. Where's a good place to put browser only polyfills?</p>
1
<p dir="auto">Search for contacts saved on Outlook (365 not outlook.com)</p> <p dir="auto">I have over 2,000 contacts in Outlook and it's very frustrating to find a contact’s phone number. On the Mac, you simply spotlight, type the name of the person and you have their phone number.</p> <p dir="auto">I want to invoke PowerToys Run, type a name and get their phone number. Not sure why this is so hard. Kind of funny that the fastest way I have for getting a contact from Microsoft Exchange is to use my iPhone…</p>
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">Adding links to control panel items and stuff like Device Manager would be cool - this would replace Keypirinha completely for me and many others I imagine!</p> <p dir="auto">EDIT: Woops, feel free to add Powertoys Run to the title.</p>
0
<h3 dir="auto">Body</h3> <p dir="auto"><code class="notranslate">days_ago</code> is deprecated <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1141944778" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/21653" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21653/hovercard" href="https://github.com/apache/airflow/pull/21653">#21653</a></p> <p dir="auto">We have several references to the function in test suite / example dags.</p> <p dir="auto">Task:<br> there should be no imports of <code class="notranslate">airflow.utils.dates import days_ago</code> in the code.<br> In most cases we can simple replace with <code class="notranslate">datetime(2022, 1, 1)</code></p> <h3 dir="auto">Committer</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I acknowledge that I am a maintainer/committer of the Apache Airflow project.</li> </ul>
<h3 dir="auto">Body</h3> <p dir="auto"><code class="notranslate">days_ago()</code> is deprecated <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1141944778" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/21653" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21653/hovercard" href="https://github.com/apache/airflow/pull/21653">#21653</a></p> <p dir="auto">There are many test using this function thus raising warnings.<br> This task is to replace all usages of <code class="notranslate">days_ago()</code> in the tests with alternatives.<br> A stale PR that started to work on it <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1151536551" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/21830" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21830/hovercard" href="https://github.com/apache/airflow/pull/21830">#21830</a> but didn't finish</p> <h3 dir="auto">Committer</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I acknowledge that I am a maintainer/committer of the Apache Airflow project.</li> </ul>
1
<h2 dir="auto">Issue description</h2> <p dir="auto">The gradient of <code class="notranslate">torch.clamp</code> when supplied with <code class="notranslate">inf</code> values is <code class="notranslate">nan</code>, even when the <code class="notranslate">max</code> parameter is specified with a finite value. Normally one would expect the gradient to be <code class="notranslate">0</code> for all values larger than <code class="notranslate">max</code>, including for <code class="notranslate">inf</code>.</p> <h2 dir="auto">Code example</h2> <p dir="auto">I'm trying to implement the following piecewise function: <code class="notranslate">exp(x)</code> for <code class="notranslate">x &lt; 0</code>; <code class="notranslate">1</code> otherwise. A straightforward way to do this would be to use <code class="notranslate">torch.exp(x).clamp(max=1)</code>, but this does not work as expected:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; x = torch.FloatTensor([-10, -5, 0, 5, 10, 50, 60, 70, 80, 90, 100]) &gt;&gt;&gt; x.requires_grad = True &gt;&gt;&gt; y = torch.exp(x) &gt;&gt;&gt; y tensor([4.5400e-05, 6.7379e-03, 1.0000e+00, 1.4841e+02, 2.2026e+04, 5.1847e+21, 1.1420e+26, 2.5154e+30, 5.5406e+34, inf, inf], grad_fn=&lt;ExpBackward&gt;) &gt;&gt;&gt; z = y.clamp(max=1) &gt;&gt;&gt; z tensor([4.5400e-05, 6.7379e-03, 1.0000e+00, 1.0000e+00, 1.0000e+00, 1.0000e+00, 1.0000e+00, 1.0000e+00, 1.0000e+00, 1.0000e+00, 1.0000e+00], grad_fn=&lt;ClampMaxBackward&gt;) &gt;&gt;&gt; z.sum().backward() &gt;&gt;&gt; x.grad tensor([0.0000, 0.0067, 1.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, nan, nan])"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-v">FloatTensor</span>([<span class="pl-c1">-</span><span class="pl-c1">10</span>, <span class="pl-c1">-</span><span class="pl-c1">5</span>, <span class="pl-c1">0</span>, <span class="pl-c1">5</span>, <span class="pl-c1">10</span>, <span class="pl-c1">50</span>, <span class="pl-c1">60</span>, <span class="pl-c1">70</span>, <span class="pl-c1">80</span>, <span class="pl-c1">90</span>, <span class="pl-c1">100</span>]) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">x</span>.<span class="pl-s1">requires_grad</span> <span class="pl-c1">=</span> <span class="pl-c1">True</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">exp</span>(<span class="pl-s1">x</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">y</span> <span class="pl-s1">tensor</span>([<span class="pl-c1">4.5400e-05</span>, <span class="pl-c1">6.7379e-03</span>, <span class="pl-c1">1.0000e+00</span>, <span class="pl-c1">1.4841e+02</span>, <span class="pl-c1">2.2026e+04</span>, <span class="pl-c1">5.1847e+21</span>, <span class="pl-c1">1.1420e+26</span>, <span class="pl-c1">2.5154e+30</span>, <span class="pl-c1">5.5406e+34</span>, <span class="pl-s1">inf</span>, <span class="pl-s1">inf</span>], <span class="pl-s1">grad_fn</span><span class="pl-c1">=</span><span class="pl-c1">&lt;</span><span class="pl-v">ExpBackward</span><span class="pl-c1">&gt;</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">z</span> <span class="pl-c1">=</span> <span class="pl-s1">y</span>.<span class="pl-en">clamp</span>(<span class="pl-s1">max</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">z</span> <span class="pl-en">tensor</span>([<span class="pl-c1">4.5400e-05</span>, <span class="pl-c1">6.7379e-03</span>, <span class="pl-c1">1.0000e+00</span>, <span class="pl-c1">1.0000e+00</span>, <span class="pl-c1">1.0000e+00</span>, <span class="pl-c1">1.0000e+00</span>, <span class="pl-c1">1.0000e+00</span>, <span class="pl-c1">1.0000e+00</span>, <span class="pl-c1">1.0000e+00</span>, <span class="pl-c1">1.0000e+00</span>, <span class="pl-c1">1.0000e+00</span>], <span class="pl-s1">grad_fn</span><span class="pl-c1">=</span><span class="pl-c1">&lt;</span><span class="pl-v">ClampMaxBackward</span><span class="pl-c1">&gt;</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">z</span>.<span class="pl-en">sum</span>().<span class="pl-en">backward</span>() <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">x</span>.<span class="pl-s1">grad</span> <span class="pl-en">tensor</span>([<span class="pl-c1">0.0000</span>, <span class="pl-c1">0.0067</span>, <span class="pl-c1">1.0000</span>, <span class="pl-c1">0.0000</span>, <span class="pl-c1">0.0000</span>, <span class="pl-c1">0.0000</span>, <span class="pl-c1">0.0000</span>, <span class="pl-c1">0.0000</span>, <span class="pl-c1">0.0000</span>, <span class="pl-s1">nan</span>, <span class="pl-s1">nan</span>])</pre></div> <h2 dir="auto">System Info</h2> <p dir="auto">PyTorch version: 0.4.1<br> Is debug build: No<br> CUDA used to build PyTorch: 8.0.61</p> <p dir="auto">OS: Arch Linux<br> GCC version: (GCC) 8.1.1 20180531<br> CMake version: Could not collect</p> <p dir="auto">Python version: 3.6<br> Is CUDA available: Yes<br> CUDA runtime version: 9.2.148<br> GPU models and configuration: GPU 0: GeForce GT 730<br> Nvidia driver version: 396.24<br> cuDNN version: Probably one of the following:<br> /usr/local/R2017a/bin/glnxa64/libcudnn.so.5.1.5</p> <p dir="auto">Versions of relevant libraries:<br> [pip] numpy (1.14.2)<br> [pip] numpydoc (0.8.0)<br> [pip] torch (0.4.1)<br> [pip] torchvision (0.2.1)<br> [conda] cuda80 1.0 0 soumith<br> [conda] pytorch 0.4.1 py36_cuda8.0.61_cudnn7.1.2_1 [cuda80] pytorch<br> [conda] torchvision 0.2.1 py36_1 pytorch</p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/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></p>
<h2 dir="auto"><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> Feature</h2> <p dir="auto">Recurrent Dropout for RNN, GRU and LSTM.</p> <h2 dir="auto">Motivation</h2> <p dir="auto">The concept of dropout to sequence models has been proposed in this <a href="https://arxiv.org/pdf/1512.05287.pdf" rel="nofollow">paper</a>. Also popular libraries like Keras and Tensorflow have their native implemenation of this but Pytorch does not. I personally feel Pytorch is giving a very stiff competition to Keras and Tensorflow, hence must not leave out this feature.</p> <h2 dir="auto">Pitch</h2> <p dir="auto">There has been some good results in the <a href="https://arxiv.org/pdf/1512.05287.pdf" rel="nofollow">paper</a> for using droupouts in sequence models for language modelling. Hence adding this to Pytorch would be of great use to Pytorch users rather than depending on alternative solution.</p> <h2 dir="auto">Alternatives</h2> <p dir="auto">An alternate solution is to depend on a non-native implementation of the same is given <a href="https://github.com/salesforce/awd-lstm-lm/">here</a> as part of the language modelling toolkit of Salesforce.</p>
0
<p dir="auto">Hi there after the new update my avast detected atom as a virus and as blocked it. I tried uninstalling and reinstalling it but continues to block it. What must I do?</p> <p dir="auto">See image<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7794777/8019536/07673f9c-0c54-11e5-8d49-2f8a354f1060.PNG"><img src="https://cloud.githubusercontent.com/assets/7794777/8019536/07673f9c-0c54-11e5-8d49-2f8a354f1060.PNG" alt="virus" style="max-width: 100%;"></a></p>
<p dir="auto">Atom version: 0.136.0</p> <p dir="auto">From atom 0.136.0, the following two files are falsely detected as: Win32:Malware-gen:<br> atom-0.136.0\build\windows\Setup.exe<br> atom-0.136.0\build\windows\Update.exe</p> <p dir="auto">Avast version: 2015.10.0.2206<br> Virus signatures version: 141021-0</p> <p dir="auto">I will also submit this to avast.</p>
1
<h2 dir="auto">Question 1</h2> <p dir="auto">I find that there are many unnecessary duplications in the (webpack) bundle (output)result, to be specific, they all are the helpers(like <code class="notranslate">classCheck</code>, <code class="notranslate">objectSpread</code>(due to the <code class="notranslate">object-spread</code> plugin).</p> <p dir="auto">So, I want to reduce the duplications. If it's a library, sure, I will use transform-runtime plugin(refer to <code class="notranslate">runtime-corejs3</code>) to do this. But now this is an <strong>application</strong>, so, what's the correct way to do this?</p> <p dir="auto">Therefor I'm getting confused because the <code class="notranslate">transfrom-runtime</code> plugin is recommended <strong>for library</strong>(and is for the whole reduction. i.e. <code class="notranslate">core-js</code>, <code class="notranslate">regenerator</code> and the helpers). But here I <strong>just</strong> want to reduce the <strong>helper</strong> duplications, not others duplications because that <strong>has been done</strong> by <code class="notranslate">preset/env</code>.</p> <p dir="auto">So here the question I want to ask/discuss is that <strong>is</strong> it necessary to reduce the <code class="notranslate">helpers</code> duplications in an <strong>application</strong>, if yes, and how?</p> <h2 dir="auto">Question 2</h2> <p dir="auto">The other question is, <code class="notranslate">core-js/modules/es.promise.js</code> and <code class="notranslate">core-js-pure/modules/es.promise.js</code> are exactly the same code, the main difference just is that the former has global pollution? If so, why <code class="notranslate">core-js</code> doesn't use(directly import) <code class="notranslate">core-js-pure</code> to polyfill and then add it to global? IMO, this will greatly reduce the duplications because at now the libs use <code class="notranslate">transform-runtime</code>(finally <code class="notranslate">core-js-pure</code>) but apps use <code class="notranslate">preset-env</code>(finally <code class="notranslate">core-js</code>), there is no shared/shareable codes between apps and libs, right?</p>
<h2 dir="auto">Bug Report</h2> <p dir="auto"><strong>Current Behavior</strong><br> <code class="notranslate">@babel/traverse</code> tries to throw a <code class="notranslate">Duplicate declaration</code> error for key duplicates in different ambient module declarations in one file. <code class="notranslate">@babel/parser</code> with <code class="notranslate">typescript</code> plugin is used to build an AST.<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180482095" data-permission-text="Title is private" data-url="https://github.com/babel/babel/issues/4640" data-hovercard-type="issue" data-hovercard-url="/babel/babel/issues/4640/hovercard" href="https://github.com/babel/babel/issues/4640">#4640</a> explains why <code class="notranslate">Cannot read property 'file' of undefined</code> is thrown.</p> <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 parse = require('@babel/parser').parse; const traverse = require('@babel/traverse').default; const code = ` declare module 'module1' { export const variable: string; } declare module 'module2' { export const variable: number; } `; const ast = parse(code, { sourceType: 'module', plugins: ['typescript'] }); traverse(ast, { enter(path) { // smth } });"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">parse</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'@babel/parser'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">parse</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">traverse</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'@babel/traverse'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">default</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">code</span> <span class="pl-c1">=</span> <span class="pl-s">`</span> <span class="pl-s">declare module 'module1' {</span> <span class="pl-s"> export const variable: string;</span> <span class="pl-s">}</span> <span class="pl-s"></span> <span class="pl-s">declare module 'module2' {</span> <span class="pl-s"> export const variable: number;</span> <span class="pl-s">}</span> <span class="pl-s">`</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">ast</span> <span class="pl-c1">=</span> <span class="pl-s1">parse</span><span class="pl-kos">(</span><span class="pl-s1">code</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">sourceType</span>: <span class="pl-s">'module'</span><span class="pl-kos">,</span> <span class="pl-c1">plugins</span>: <span class="pl-kos">[</span><span class="pl-s">'typescript'</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">traverse</span><span class="pl-kos">(</span><span class="pl-s1">ast</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-en">enter</span><span class="pl-kos">(</span><span class="pl-s1">path</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// smth</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>Output</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="...\node_modules\@babel\traverse\lib\scope\index.js:347 throw this.hub.file.buildCodeFrameError(id, `Duplicate declaration &quot;${name}&quot;`, TypeError); ^ TypeError: Cannot read property 'file' of undefined at Scope.checkBlockScopedCollisions (...\node_modules\@babel\traverse\lib\scope\index.js:347:22) at Scope.registerBinding (...\node_modules\@babel\traverse\lib\scope\index.js:506:16) at Scope.registerDeclaration (...\node_modules\@babel\traverse\lib\scope\index.js:454:14) at Object.Declaration (...\node_modules\@babel\traverse\lib\scope\index.js:125:12) at NodePath._call (...\node_modules\@babel\traverse\lib\path\context.js:53:20) at NodePath.call (...\node_modules\@babel\traverse\lib\path\context.js:40:17) at NodePath.visit (...\node_modules\@babel\traverse\lib\path\context.js:88:12) at TraversalContext.visitQueue (...\node_modules\@babel\traverse\lib\context.js:118:16) at TraversalContext.visitMultiple (...\node_modules\@babel\traverse\lib\context.js:85:17) at TraversalContext.visit (...\node_modules\@babel\traverse\lib\context.js:144:19)"><pre class="notranslate"><code class="notranslate">...\node_modules\@babel\traverse\lib\scope\index.js:347 throw this.hub.file.buildCodeFrameError(id, `Duplicate declaration "${name}"`, TypeError); ^ TypeError: Cannot read property 'file' of undefined at Scope.checkBlockScopedCollisions (...\node_modules\@babel\traverse\lib\scope\index.js:347:22) at Scope.registerBinding (...\node_modules\@babel\traverse\lib\scope\index.js:506:16) at Scope.registerDeclaration (...\node_modules\@babel\traverse\lib\scope\index.js:454:14) at Object.Declaration (...\node_modules\@babel\traverse\lib\scope\index.js:125:12) at NodePath._call (...\node_modules\@babel\traverse\lib\path\context.js:53:20) at NodePath.call (...\node_modules\@babel\traverse\lib\path\context.js:40:17) at NodePath.visit (...\node_modules\@babel\traverse\lib\path\context.js:88:12) at TraversalContext.visitQueue (...\node_modules\@babel\traverse\lib\context.js:118:16) at TraversalContext.visitMultiple (...\node_modules\@babel\traverse\lib\context.js:85:17) at TraversalContext.visit (...\node_modules\@babel\traverse\lib\context.js:144:19) </code></pre></div> <p dir="auto"><strong>Expected behavior</strong><br> Each module declaration has its own block scope, so the <code class="notranslate">Duplicate declaration</code> error shouldn't be thrown.</p> <p dir="auto"><strong>Environment</strong></p> <ul dir="auto"> <li>Babel version: v7.0.0-beta.51</li> <li>Node/npm version: node 8.11.3 / npm 5.6.0</li> <li>OS: Windows 10</li> </ul>
0
<p dir="auto">Google Chrome Extension does not work anymore.</p> <p dir="auto">Google Chrome is up to date<br> Version 83.0.4103.116 (Official Build) (64-bit)</p> <p dir="auto">Most of the time, the new developer tabs never show up.</p> <p dir="auto">If I kill the whole process and re-load it, sometimes it will load, sometimes it doesn't.</p> <p dir="auto">The plugin has access to all data on all sites.</p> <p dir="auto">Was this plugin ever updated to use the new plugin format?</p> <p dir="auto">Note: I didn't initially realize this is the entire react project and not the dev tools plugin. Not sure why the dev tools plugin page in Chrome sent me here for support.</p>
<h1 dir="auto">Note this issue is due to <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=1085215" rel="nofollow">CR bug 1085215</a></h1> <p dir="auto"><strong>It is impacting several other popular extensions as well- including React, Redux, Relay, and Vue devtools.</strong></p> <hr> <p dir="auto">React version: 16.13.1<br> DevTools version: 4.7.0 (5/18/2020)<br> macOS version: 10.15.4 (19E287)</p> <h2 dir="auto">Steps To Reproduce</h2> <ol dir="auto"> <li>Create a new profile in Google Chrome</li> <li>Install the <a href="https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi" rel="nofollow">React Developer Tools</a></li> <li>Go to <a href="https://reactjs.org" rel="nofollow">https://reactjs.org</a></li> <li>Open the browser Dev Tools</li> </ol> <h2 dir="auto">Screenshots</h2> <p dir="auto">Not sure this helps, but this is basically what I get after following the aforementioned steps:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/260431/82867560-c70eb600-9f33-11ea-9e95-d59ce4e3e548.png"><img src="https://user-images.githubusercontent.com/260431/82867560-c70eb600-9f33-11ea-9e95-d59ce4e3e548.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">When using Opera the tabs do show up:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/260431/82867684-f4f3fa80-9f33-11ea-9b1d-2a54f8a9101e.png"><img src="https://user-images.githubusercontent.com/260431/82867684-f4f3fa80-9f33-11ea-9b1d-2a54f8a9101e.png" alt="image" style="max-width: 100%;"></a></p> <h2 dir="auto">The current behavior</h2> <p dir="auto">Sometimes the Components and Profiler (i.e. React devtools tabs) don't show up.</p> <h2 dir="auto">The expected behavior</h2> <p dir="auto">These tabs should show for any site using React.</p> <h2 dir="auto">More details</h2> <p dir="auto">I've tried a few browsers, including:</p> <ol dir="auto"> <li>Google Chrome (83.0.4103.61)</li> <li>Microsoft Edge (83.0.478.37)</li> <li>Opera (68.0.3618.125)</li> </ol> <p dir="auto">All of them should be working, since they're all Chromium based.</p> <p dir="auto">The most reliable was Opera, which always shows the dev tools tabs. Chrome and Edge behaved the same way, sometimes showing them and other times not.</p> <p dir="auto">I've also taken a look at the background pages of the React Dev Tools extension and they don't show any errors, only these performance metrics in the <code class="notranslate">devtools_app.html</code> page:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/260431/82867862-413f3a80-9f34-11ea-9b7c-ccd0c8225b01.png"><img src="https://user-images.githubusercontent.com/260431/82867862-413f3a80-9f34-11ea-9b7c-ccd0c8225b01.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">The main background page shows nothing in the console at all times.</p>
1
<p dir="auto">Am trying to setup Context Api for my project but i get an error that i cannot wrap my head around, i have two files one for the data context,<br> createDataContext is the name of the file<br> import React, {useReducer} from 'react';</p> <p dir="auto">export default (reducer, actions, defaultValue) =&gt; {</p> <p dir="auto">const Context = React.createContext();<br> const Provider = ({children}) =&gt; {<br> const [state, dispatch] = useReducer(reducer, defaultValue);</p> <p dir="auto">const boundActions = {};<br> for (let key in actions){<br> boundActions [key] = actions<a href="dispatch">key</a>;<br> }<br> return(<br> &lt;Context.Provider value={{state, ...boundActions}}&gt;<br> { children }<br> &lt;/Context.Provider&gt;<br> );<br> };<br> return(Context, Provider);<br> };</p> <p dir="auto">AuthContext js file<br> import createDataContext from './createDataContext';</p> <p dir="auto">const authReducer = (state, action) =&gt; {<br> switch(action.type){<br> default:<br> return state;<br> }<br> };<br> export const {Provider, Context} = createDataContext(<br> authReducer,<br> {},<br> { isSignedIn: false }<br> );</p> <p dir="auto">And the Consumer App which has a switch navigator<br> App.js<br> import React from 'react';<br> import {createAppContainer, createSwitchNavigator} from 'react-navigation';<br> import {createStackNavigator} from 'react-navigation-stack';<br> import { createDrawerNavigator } from 'react-navigation-drawer';<br> import Login from './src/screens/Login';<br> import Register from './src/screens/Register';<br> import Account from './src/screens/Account';<br> import Earnings from './src/screens/Earnings';<br> import Scheduledrides from './src/screens/Scheduledrides';<br> import Home from './src/screens/Home';<br> import {Provider } from './src/Context/AuthContext';</p> <p dir="auto">const Screens = createSwitchNavigator({<br> loginFlow: createStackNavigator({<br> Login: Login,<br> Register:Register,<br> }),</p> <p dir="auto">mainFlow: createDrawerNavigator({<br> Home: Home,<br> Account: Account,<br> Earnings: Earnings,<br> Scheduledrides: Scheduledrides,<br> }),</p> <p dir="auto">});<br> const App = createAppContainer(Screens);</p> <p dir="auto">export default () =&gt; {<br> return(</p> <p dir="auto">);<br> };<br> Below is the error i get, thanks in advance</p>
<p dir="auto">Am trying to setup Context Api for my project but i get an error that i cannot wrap my head around, i have two files one for the data context,<br> createDataContext is the name of the file<br> import React, {useReducer} from 'react';</p> <p dir="auto">export default (reducer, actions, defaultValue) =&gt; {</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const Context = React.createContext(); const Provider = ({children}) =&gt; { const [state, dispatch] = useReducer(reducer, defaultValue); const boundActions = {}; for (let key in actions){ boundActions [key] = actions[key](dispatch); } return( &lt;Context.Provider value={{state, ...boundActions}}&gt; { children } &lt;/Context.Provider&gt; );"><pre class="notranslate"><code class="notranslate">const Context = React.createContext(); const Provider = ({children}) =&gt; { const [state, dispatch] = useReducer(reducer, defaultValue); const boundActions = {}; for (let key in actions){ boundActions [key] = actions[key](dispatch); } return( &lt;Context.Provider value={{state, ...boundActions}}&gt; { children } &lt;/Context.Provider&gt; ); </code></pre></div> <p dir="auto">};<br> return(Context, Provider);<br> };</p> <p dir="auto">AuthContext js file<br> import createDataContext from './createDataContext';</p> <p dir="auto">const authReducer = (state, action) =&gt; {<br> switch(action.type){<br> default:<br> return state;<br> }<br> };<br> export const {Provider, Context} = createDataContext(<br> authReducer,<br> {},<br> { isSignedIn: false }<br> );</p> <p dir="auto">And the Consumer App which has a switch navigator<br> App.js<br> import React from 'react';<br> import {createAppContainer, createSwitchNavigator} from 'react-navigation';<br> import {createStackNavigator} from 'react-navigation-stack';<br> import { createDrawerNavigator } from 'react-navigation-drawer';<br> import Login from './src/screens/Login';<br> import Register from './src/screens/Register';<br> import Account from './src/screens/Account';<br> import Earnings from './src/screens/Earnings';<br> import Scheduledrides from './src/screens/Scheduledrides';<br> import Home from './src/screens/Home';<br> import {Provider } from './src/Context/AuthContext';</p> <p dir="auto">const Screens = createSwitchNavigator({<br> loginFlow: createStackNavigator({<br> Login: Login,<br> Register:Register,<br> }),</p> <p dir="auto">mainFlow: createDrawerNavigator({<br> Home: Home,<br> Account: Account,<br> Earnings: Earnings,<br> Scheduledrides: Scheduledrides,<br> }),</p> <p dir="auto">});<br> const App = createAppContainer(Screens);</p> <p dir="auto">export default () =&gt; {<br> return(<br> <br> <br> <br> );<br> };<br> Below is the error i get, thanks in advance<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/23630466/71403903-3a896000-2642-11ea-9956-87ed7c3efa0c.PNG"><img src="https://user-images.githubusercontent.com/23630466/71403903-3a896000-2642-11ea-9956-87ed7c3efa0c.PNG" alt="Capture" style="max-width: 100%;"></a></p>
1
<p dir="auto">Having such graph: <a href="http://console.neo4j.org/r/9cwo4x" rel="nofollow">http://console.neo4j.org/r/9cwo4x</a></p> <p dir="auto">The query works fine for the most of my cases, but in this particular case it takes an eternity to complete and returns many duplicates. Is there a way to avoid such behavior?</p>
<p dir="auto">I tried to delete a node in neo4j console /web admin and it did not work.</p> <p dir="auto">2013-10-15 12:39:53.473+0000 ERROR [o.n.k.i.t.TxManager]: TM error tx commit<br> javax.transaction.HeuristicRollbackException: Failed to commit, transaction rolledback ---&gt; javax.transaction.xa.XAException<br> at org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:504) [neo4j-kernel-1.9.4.jar:1.9.4]<br> at org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:344) [neo4j-kernel-1.9.4.jar:1.9.4]<br> at org.neo4j.kernel.impl.transaction.TransactionImpl.commit(TransactionImpl.java:134) ~[neo4j-kernel-1.9.4.jar:1.9.4]<br> at org.neo4j.kernel.TopLevelTransaction.finish(TopLevelTransaction.java:127) ~[neo4j-kernel-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.internal.ClosingIterator$$anonfun$close$1.apply$mcV$sp(ClosingIterator.scala:58) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.internal.ClosingIterator$$anonfun$close$1.apply(ClosingIterator.scala:52) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.internal.ClosingIterator$$anonfun$close$1.apply(ClosingIterator.scala:52) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.internal.ClosingIterator.translateException(ClosingIterator.scala:63) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.internal.ClosingIterator.close(ClosingIterator.scala:52) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.internal.ClosingIterator$$anonfun$hasNext$1.apply$mcZ$sp(ClosingIterator.scala:38) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.internal.ClosingIterator$$anonfun$hasNext$1.apply(ClosingIterator.scala:35) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.internal.ClosingIterator$$anonfun$hasNext$1.apply(ClosingIterator.scala:35) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.internal.ClosingIterator.failIfThrows(ClosingIterator.scala:86) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.internal.ClosingIterator.hasNext(ClosingIterator.scala:35) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at scala.collection.Iterator$class.foreach(Iterator.scala:727) ~[scala-library-2.10.0.jar:na]<br> at org.neo4j.cypher.internal.ClosingIterator.foreach(ClosingIterator.scala:31) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:48) ~[scala-library-2.10.0.jar:na]<br> at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:178) ~[scala-library-2.10.0.jar:na]<br> at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:45) ~[scala-library-2.10.0.jar:na]<br> at scala.collection.TraversableOnce$class.to(TraversableOnce.scala:259) ~[scala-library-2.10.0.jar:na]<br> at org.neo4j.cypher.internal.ClosingIterator.to(ClosingIterator.scala:31) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at scala.collection.TraversableOnce$class.toList(TraversableOnce.scala:243) ~[scala-library-2.10.0.jar:na]<br> at org.neo4j.cypher.internal.ClosingIterator.toList(ClosingIterator.scala:31) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.EagerPipeExecutionResult.(EagerPipeExecutionResult.scala:34) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.internal.executionplan.ExecutionPlanImpl$$anonfun$6.apply(ExecutionPlanImpl.scala:148) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.internal.executionplan.ExecutionPlanImpl$$anonfun$6.apply(ExecutionPlanImpl.scala:145) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.internal.executionplan.ExecutionPlanImpl.execute(ExecutionPlanImpl.scala:38) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.ExecutionEngine.execute(ExecutionEngine.scala:72) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.ExecutionEngine.execute(ExecutionEngine.scala:76) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.cypher.javacompat.ExecutionEngine.execute(ExecutionEngine.java:79) ~[neo4j-cypher-1.9.4.jar:1.9.4]<br> at org.neo4j.server.rest.web.CypherService.cypher(CypherService.java:94) ~[neo4j-server-1.9.4.jar:1.9.4]<br> at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source) ~[na:na]<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_25]<br> at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_25]<br> at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.9.jar:1.9]<br> at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) ~[jersey-server-1.9.jar:1.9]<br> at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.9.jar:1.9]<br> at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) ~[jersey-server-1.9.jar:1.9]<br> at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.9.jar:1.9]<br> at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.9.jar:1.9]<br> at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.9.jar:1.9]<br> at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469) ~[jersey-server-1.9.jar:1.9]<br> at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400) ~[jersey-server-1.9.jar:1.9]<br> at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) ~[jersey-server-1.9.jar:1.9]<br> at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) ~[jersey-server-1.9.jar:1.9]<br> at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) ~[jersey-server-1.9.jar:1.9]<br> at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) ~[jersey-server-1.9.jar:1.9]<br> at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699) ~[jersey-server-1.9.jar:1.9]<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ~[servlet-api-2.5-20081211.jar:na]<br> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) ~[jetty-6.1.25.jar:6.1.25]<br> at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) ~[jetty-6.1.25.jar:6.1.25]<br> at org.neo4j.server.rest.security.SecurityFilter.doFilter(SecurityFilter.java:112) ~[neo4j-server-1.9.4.jar:1.9.4]<br> at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) ~[jetty-6.1.25.jar:6.1.25]<br> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) ~[jetty-6.1.25.jar:6.1.25]<br> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) ~[jetty-6.1.25.jar:6.1.25]<br> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) ~[jetty-6.1.25.jar:6.1.25]<br> at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) ~[jetty-6.1.25.jar:6.1.25]<br> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) ~[jetty-6.1.25.jar:6.1.25]<br> at org.mortbay.jetty.Server.handle(Server.java:322) ~[jetty-6.1.25.jar:6.1.25]<br> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) ~[jetty-6.1.25.jar:6.1.25]<br> at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:943) ~[jetty-6.1.25.jar:6.1.25]<br> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) ~[jetty-6.1.25.jar:6.1.25]<br> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) ~[jetty-6.1.25.jar:6.1.25]<br> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) ~[jetty-6.1.25.jar:6.1.25]<br> at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) ~[jetty-6.1.25.jar:6.1.25]<br> at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) ~[jetty-util-6.1.25.jar:6.1.25]<br> Caused by: javax.transaction.xa.XAException: null<br> at org.neo4j.kernel.impl.nioneo.xa.WriteTransaction.doPrepare(WriteTransaction.java:171) ~[neo4j-kernel-1.9.4.jar:1.9.4]<br> at org.neo4j.kernel.impl.transaction.xaframework.XaTransaction.prepare(XaTransaction.java:302) ~[neo4j-kernel-1.9.4.jar:1.9.4]<br> at org.neo4j.kernel.impl.transaction.xaframework.XaResourceManager.prepare(XaResourceManager.java:340) ~[neo4j-kernel-1.9.4.jar:1.9.4]<br> at org.neo4j.kernel.impl.transaction.xaframework.XaResourceHelpImpl.prepare(XaResourceHelpImpl.java:101) ~[neo4j-kernel-1.9.4.jar:1.9.4]<br> at org.neo4j.kernel.impl.transaction.TransactionImpl.doCommit(TransactionImpl.java:517) ~[neo4j-kernel-1.9.4.jar:1.9.4]<br> at org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:394) [neo4j-kernel-1.9.4.jar:1.9.4]<br> ... 65 common frames omitted<br> Caused by: org.neo4j.kernel.impl.nioneo.store.ConstraintViolationException: Node record Node[161,used=false,rel=7,prop=188] still has relationships<br> ... 71 common frames omitted</p>
0
<p dir="auto">Your conversions between Rust Futures and JS Promises is probably mature, but thought I'd make you aware of this new crate owned by Rust team members Alex Crichton and Nick Fitzgerald, <a href="https://crates.io/crates/wasm-bindgen-futures" rel="nofollow">wasm-bindgen-futures</a>. It might allow you to remove code so you don't duplicate work, or improve your existing.</p> <p dir="auto">API Docs <a href="https://rustwasm.github.io/wasm-bindgen/api/wasm_bindgen_futures/" rel="nofollow">here</a>, GitHub Repo <a href="https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures">here</a>.</p> <p dir="auto">Crate description:</p> <blockquote> <p dir="auto">This crate bridges the gap between a Rust Future and a JavaScript Promise. It provides two conversions:</p> <ol dir="auto"> <li>From a JavaScript Promise into a Rust Future.</li> <li>From a Rust Future into a JavaScript Promise.</li> </ol> </blockquote>
<p dir="auto">Running Cargo install deno results in the following error:</p> <p dir="auto">Compiling deno_runtime v0.117.0<br> error[E0432]: unresolved import <code class="notranslate">tokio_metrics::RuntimeMonitor</code><br> --&gt; /home/justdave/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deno_runtime-0.117.0/tokio_util.rs:6:5<br> |<br> 6 | use tokio_metrics::RuntimeMonitor;<br> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no <code class="notranslate">RuntimeMonitor</code> in the root</p> <p dir="auto">For more information about this error, try <code class="notranslate">rustc --explain E0432</code>.<br> error: could not compile <code class="notranslate">deno_runtime</code> (lib) due to previous error<br> warning: build failed, waiting for other jobs to finish...<br> error: failed to compile <code class="notranslate">deno v1.34.3</code>, intermediate artifacts can be found at <code class="notranslate">/tmp/cargo-installj3lO39</code></p>
0
<p dir="auto">I am in the process of following the exact steps as mentioned in the scipy contributer guide in order to obtain a development version of scipy . When I run the code ' python3 runtests.py -v ' on terminal , on after passing 22% of the test , it gives an error :</p> <p dir="auto">scipy/linalg/tests/test_decomp.py::TestEigh::test_eigh_integer realloc(): invalid next size<br> Fatal Python error: Aborted</p> <p dir="auto">Sorry its not really possible to reproduce the error.</p> <p dir="auto">Specs :<br> Ubuntu : 16.04</p>
<p dir="auto">Hello!</p> <p dir="auto">I'm a first-time contributor and attempting to set up a dev environment by following the instructions here: <a href="https://docs.scipy.org/doc/scipy/reference/dev/contributor/quickstart_ubuntu.html#quickstart-ubuntu" rel="nofollow">https://docs.scipy.org/doc/scipy/reference/dev/contributor/quickstart_ubuntu.html#quickstart-ubuntu</a></p> <p dir="auto">on step 19, I'm trying to run the runtests.py file but I am getting the following:<br> <code class="notranslate">scipy/linalg/tests/test_decomp.py::TestEigh::test_eigh_integer realloc(): invalid next size Fatal Python error: Aborted </code> at 21% completed.</p> <p dir="auto">I'm sure this is not an actual bug, so apologies if this isn't the right place to post this, but I really want to contribute to SciPy and I haven't managed to find any sort of fix to this from googling. I also recently installed Ubuntu to go through this set up so there may be some sort of issue there.</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 [ ] 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 [ ] 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>Previous behavior</strong><br> Using RC4, the following would work...<br> <code class="notranslate">*ngIf="(searchResults | async)?.length &gt; 0"</code><br> or<br> <code class="notranslate">*ngIf="(searchResults | async)?.length == 0"</code></p> <p dir="auto"><strong>Current behavior</strong><br> RC5 throws<br> <code class="notranslate">TypeError: Cannot read property 'length' of null</code></p> <p dir="auto">This syntax does work in RC5<br> <code class="notranslate">*ngIf="((searchResults | async) || []).length &gt; 0"</code><br> and<br> <code class="notranslate">*ngIf="((searchResults | async) || {}).length == 0"</code></p> <p dir="auto"><strong>What is the expected behavior?</strong><br> The original RC4 behavior seems more intuitive, especially when checking <code class="notranslate">.length == 0</code> since it did not evaluate until the observable returned.</p> <p dir="auto"><strong>Please tell us about your environment:</strong></p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.0-rc.5</li> <li><strong>Browser:</strong> [Chrome ]</li> <li><strong>Language:</strong> [TypeScript 1.9]</li> </ul>
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report [ ] feature request [ ] support request =&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 [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question </code></pre></div> <p dir="auto"><strong>Current behavior</strong><br> Per the component interaction docs [https://angular.io/docs/ts/latest/cookbook/component-communication.html], there are a few different ways to communicate between parent/child. However, there is an issue that arises when trying to use <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/output/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/output">@output</a> event emitters with recursive components (i.e. of the same type) - the <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/output/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/output">@output</a> emitter property is supposed to map to the listener on the parent; however, since the parent is of the same type, it can't do that (you get duplicate declaration errors).</p> <p dir="auto">A good example is a menu that has collapsible/nestable children - they're all of the same type.</p> <p dir="auto">Maybe I'm wrong but I'm having trouble of finding a way to do this.</p> <p dir="auto"><strong>Expected/desired behavior</strong><br> The ability to set a listener target from the child, or alias/rename the output parameter. Basically, not have them have to map to the same property so that this method could be used with recursive types.</p> <p dir="auto"><strong>Reproduction of the problem</strong><br> This isn't a bug as much as it is a design problem. I'm unsure how to use the other methods laid out, because they don't seem to match what I'm looking to do or are overly complex (and therefore frustrating) for something as simple as the equivalent of NG1's $emit.</p> <p dir="auto"><em>Most options are parent-&gt;child flow, and I need child-&gt;parent</em><br> -Input bindings<br> -Input property change interception<br> -ngOnChanges<br> -Parent interacts with child via a local variable</p> <p dir="auto"><em>The remaining child-&gt;parent options seem overly complex or impossible</em><br> -Parent calls a ViewChild (doesn't seem to work with recursive components since a component can't reference itself?)<br> -Parent listens for child event - This is the only child-&gt;parent direction communication that I can see (outside of the service option, below) and is outlined as impossible above.<br> -Parent and children communicate via a service -- Overly complex, and when it comes to referencing a chain of parents (think in the case of a nested menu structure), it becomes very difficult and you have to create an entire tracking system or something else complex to replace a simple event emitter.</p> <p dir="auto"><strong>What is the expected behavior?</strong><br> ...This is already a section above (you might edit your template)....</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> Nesting components into themselves is a common thing in user interfaces. Sometimes you need recursion; it makes sense to have child-parent signals/events/whatever work in an easy/intuitive way. <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/output/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/output">@output</a> bindings are awesome until rendered useless by this quirk :(</p> <p dir="auto"><strong>Please tell us about your environment:</strong><br> Mac OSX 10.11.3</p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.0-rc.1</li> <li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]</li> <li><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5 | Dart]</li> </ul>
0
<p dir="auto">The example of the <code class="notranslate">std::num</code> module speaks for itself. I can count at least three grammatical forms among the function descriptions:</p> <ul dir="auto"> <li>indicative form (<code class="notranslate">abs: Computes the absolute value.</code>);</li> <li>imperative form (<code class="notranslate">acos: Compute the arccosine of the number.</code>);</li> <li>noun phrase (<code class="notranslate">abs_sub: The positive difference of two numbers.</code> or <code class="notranslate">cos: Cosine function</code>).</li> </ul> <p dir="auto">The various style guides (<a href="https://github.com/mozilla/rust/wiki/Note-style-guide">https://github.com/mozilla/rust/wiki/Note-style-guide</a>, <a href="https://github.com/mozilla/rust/wiki/Doc-using-rustdoc">https://github.com/mozilla/rust/wiki/Doc-using-rustdoc</a> and <a href="http://static.rust-lang.org/doc/master/rustdoc.html" rel="nofollow">http://static.rust-lang.org/doc/master/rustdoc.html</a>) recommend writing "sentences that begin with capital letters and end in a period" but do not mention how the sentences should be formed.</p> <p dir="auto">I am willing to work on making all this coherent but a convention should be fixed first.</p>
<p dir="auto">With a lot of library code expected to change before the 1.0 release, it doesn't make much sense to do this now, but the core and std libraries should use a consistent style for API documentation. The <a href="https://github.com/mozilla/rust/wiki/Doc-using-rustdoc">wiki</a> makes some attempt at specifying conventions, but these need to be fleshed out and actually applied to the codebase.</p> <p dir="auto">Right now, some doc-comments are written in the third-person indicative:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pub fn map&lt;T, U&gt;(opt: &amp;Option&lt;T&gt;, f: fn(x: &amp;T) -&gt; U) -&gt; Option&lt;U&gt; { //! Maps a `some` value by reference from one type to another"><pre class="notranslate"><span class="pl-k">pub</span> <span class="pl-k">fn</span> map<span class="pl-kos">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">,</span> <span class="pl-smi">U</span><span class="pl-kos">&gt;</span><span class="pl-kos">(</span><span class="pl-s1">opt</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-smi">Option</span><span class="pl-kos">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">&gt;</span><span class="pl-kos">,</span> <span class="pl-s1">f</span><span class="pl-kos">:</span> <span class="pl-k">fn</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-smi">T</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">U</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">Option</span><span class="pl-kos">&lt;</span><span class="pl-smi">U</span><span class="pl-kos">&gt;</span> <span class="pl-kos">{</span> <span class="pl-c">//! Maps a `some` value by reference from one type to another</span></pre></div> <p dir="auto">and some are written in the imperative:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pub fn chain&lt;T, U&gt;(opt: Option&lt;T&gt;, f: fn(t: T) -&gt; Option&lt;U&gt;) -&gt; Option&lt;U&gt; { /*! * Update an optional value by optionally running its content through a * function that returns an option. */"><pre class="notranslate"><span class="pl-k">pub</span> <span class="pl-k">fn</span> chain<span class="pl-kos">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">,</span> <span class="pl-smi">U</span><span class="pl-kos">&gt;</span><span class="pl-kos">(</span><span class="pl-s1">opt</span><span class="pl-kos">:</span> <span class="pl-smi">Option</span><span class="pl-kos">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">&gt;</span><span class="pl-kos">,</span> <span class="pl-s1">f</span><span class="pl-kos">:</span> <span class="pl-k">fn</span><span class="pl-kos">(</span><span class="pl-s1">t</span><span class="pl-kos">:</span> <span class="pl-smi">T</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">Option</span><span class="pl-kos">&lt;</span><span class="pl-smi">U</span><span class="pl-kos">&gt;</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">Option</span><span class="pl-kos">&lt;</span><span class="pl-smi">U</span><span class="pl-kos">&gt;</span> <span class="pl-kos">{</span> <span class="pl-c">/*!</span> <span class="pl-c"> * Update an optional value by optionally running its content through a</span> <span class="pl-c"> * function that returns an option.</span> <span class="pl-c"> */</span></pre></div> <p dir="auto">These two examples illustrate another inconsistency: Some summaries (the first line of the comment) have no terminal punctuation, while others end with a period.</p> <p dir="auto">One more thing that varies is the comment style itself. Some doc-comments look like</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/*! * foo... * bar... * baz... */"><pre class="notranslate"><span class="pl-c">/*!</span> <span class="pl-c"> * foo...</span> <span class="pl-c"> * bar...</span> <span class="pl-c"> * baz...</span> <span class="pl-c"> */</span></pre></div> <p dir="auto">while others look like</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/*! foo... bar... baz... */"><pre class="notranslate"><span class="pl-c">/*!</span> <span class="pl-c"> foo...</span> <span class="pl-c"> bar...</span> <span class="pl-c"> baz...</span> <span class="pl-c"> */</span></pre></div> <p dir="auto">Once these rules (and others) are codified, I'd be happy to start going through the doc-comments and updating them.</p>
1
<p dir="auto">Version: 1.0.0<br> OS Version: Microsoft Windows NT 10.0.18362.0<br> IntPtr Length: 8<br> x64: True<br> Date: 08/01/2020 18:47:51<br> Exception:<br> System.ObjectDisposedException: Cannot access a disposed object.<br> Object name: 'Timer'.<br> at System.Timers.Timer.set_Enabled(Boolean value)<br> at System.Timers.Timer.Start()<br> at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)<br> at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)<br> at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)<br> at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br> at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br> at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)<br> at System.Windows.UIElement.UpdateIsVisibleCache()<br> at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)<br> at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)<br> at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)<br> at System.Windows.Window.SetRootVisual()<br> at System.Windows.Window.SetRootVisualAndUpdateSTC()<br> at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)<br> at System.Windows.Window.CreateSourceWindow(Boolean duringShow)<br> at System.Windows.Window.CreateSourceWindowDuringShow()<br> at System.Windows.Window.SafeCreateWindowDuringShow()<br> at System.Windows.Window.ShowHelper(Object booleanBox)<br> at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br> at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)</p> <h2 dir="auto">ℹ Computer information</h2> <ul dir="auto"> <li>Windows build number: Microsoft Windows [Version 10.0.18362.959]</li> <li>PowerToys version: 0.20</li> <li>PowerToy module: PTRun</li> </ul> <h2 dir="auto">📝 Provide detailed reproduction steps (if any)</h2> <ol dir="auto"> <li>Starting up PowerToys</li> </ol>
<p dir="auto">Popup tells me to give y'all this.</p> <p dir="auto"><a href="https://github.com/microsoft/PowerToys/files/5009460/2020-07-31.txt">2020-07-31.txt</a></p> <p dir="auto">Version: 1.0.0<br> OS Version: Microsoft Windows NT 10.0.19041.0<br> IntPtr Length: 8<br> x64: True<br> Date: 07/31/2020 17:29:59<br> Exception:<br> System.ObjectDisposedException: Cannot access a disposed object.<br> Object name: 'Timer'.<br> at System.Timers.Timer.set_Enabled(Boolean value)<br> at System.Timers.Timer.Start()<br> at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)<br> at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)<br> at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)<br> at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br> at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br> at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)<br> at System.Windows.UIElement.UpdateIsVisibleCache()<br> at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)<br> at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)<br> at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)<br> at System.Windows.Window.SetRootVisual()<br> at System.Windows.Window.SetRootVisualAndUpdateSTC()<br> at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)<br> at System.Windows.Window.CreateSourceWindow(Boolean duringShow)<br> at System.Windows.Window.CreateSourceWindowDuringShow()<br> at System.Windows.Window.SafeCreateWindowDuringShow()<br> at System.Windows.Window.ShowHelper(Object booleanBox)<br> at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br> at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)</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/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">next@latest should add without incorrect peer dependency</p> <h2 dir="auto">Current Behavior</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;yarn add react@latest react-dom@latest next@latest yarn add v1.2.0 info No lockfile found. [1/4] Resolving packages... warning next &gt; glob-promise &gt; semantic-release &gt; [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm warning next &gt; glob-promise &gt; semantic-release &gt; @semantic-release/condition-travis &gt; travis-deploy-once &gt; travis-ci &gt; request &gt; [email protected]: Use uuid module instead [2/4] Fetching packages... info [email protected]: The platform &quot;win32&quot; is incompatible with this module. info &quot;[email protected]&quot; is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... warning &quot;[email protected]&quot; has incorrect peer dependency &quot;[email protected]&quot;. [4/4] Building fresh packages... success Saved lockfile. success Saved 618 new dependencies."><pre class="notranslate"><code class="notranslate">&gt;yarn add react@latest react-dom@latest next@latest yarn add v1.2.0 info No lockfile found. [1/4] Resolving packages... warning next &gt; glob-promise &gt; semantic-release &gt; [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm warning next &gt; glob-promise &gt; semantic-release &gt; @semantic-release/condition-travis &gt; travis-deploy-once &gt; travis-ci &gt; request &gt; [email protected]: Use uuid module instead [2/4] Fetching packages... info [email protected]: The platform "win32" is incompatible with this module. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... warning "[email protected]" has incorrect peer dependency "[email protected]". [4/4] Building fresh packages... success Saved lockfile. success Saved 618 new dependencies. </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;yarn check yarn check v1.2.0 error &quot;next#styled-jsx#[email protected]&quot; doesn't satisfy found match of &quot;[email protected]&quot; error Found 1 errors. info Visit https://yarnpkg.com/en/docs/cli/check for documentation about this command."><pre class="notranslate"><code class="notranslate">&gt;yarn check yarn check v1.2.0 error "next#styled-jsx#[email protected]" doesn't satisfy found match of "[email protected]" error Found 1 errors. info Visit https://yarnpkg.com/en/docs/cli/check for documentation about this command. </code></pre></div> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li> <p dir="auto">yarn add react@latest react-dom@latest next@latest on Windows 7 laptop</p> </li> <li> <p dir="auto">Also try</p> </li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;yarn check"><pre class="notranslate"><code class="notranslate">&gt;yarn check </code></pre></div> <p dir="auto">After adding.</p> <h2 dir="auto">Context</h2> <p dir="auto">I am currently developing an app with Next@3 and using React@15/Styled-JSX. I am now trying to install Next@4 and thought of using React@16/Styled-JSX@2. Not sure if this is an error with Yarn.<br> Apologize if this is a duplicate issue or a silly one.</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>4.0.3</td> </tr> <tr> <td>node</td> <td>8.1.2</td> </tr> <tr> <td>OS</td> <td>Windows 7</td> </tr> <tr> <td>browser</td> <td>N/A</td> </tr> <tr> <td>etc</td> <td>N/A</td> </tr> </tbody> </table>
<p dir="auto">When doing a static export with assetPrefix defined in next.config.js, stylesheet does not link properly.</p> <p dir="auto">Script files are included as <code class="notranslate">&lt;assetPrefix&gt;/_next/&lt;...&gt;/index.js</code>, while the css file is included as <code class="notranslate">/_next/static/style.css</code> with no prefix.</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Stylesheet is linked as <code class="notranslate">/_next/static/style.css</code> with no prefix when assetPrefix is defined</p> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Stylesheet should be linked as <code class="notranslate">&lt;assetPrefix&gt;/_next/static/style.css</code> when assetPrefix is defined</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>canary (07-03-2018)</td> </tr> <tr> <td>node</td> <td>v8.4.0</td> </tr> <tr> <td>OS</td> <td>macOS Sierra</td> </tr> <tr> <td>browser</td> <td>Chrome Version 63.0.3239.132</td> </tr> </tbody> </table>
0
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ ] bug report [x] feature request [ ] support request"><pre class="notranslate"><code class="notranslate">[ ] bug report [x] feature request [ ] support request </code></pre></div> <p dir="auto"><strong>Current behavior</strong><br> There is no way how to get the value of 'formControlName' inside a custom validation function to identify which control is beeing actually validated (model-driven forms) because the only parameter is (c: FormControl) and the actual API of 'FormControl' is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="_errors, _onChange, _parent, _pristine, _status, _statusChanges, _touched, _value, _valueChanges, asyncValidator, dirty, errors, pending, pristine, root, status, statusChanges, touched, untouched, valid, validator, value, valueChanges"><pre class="notranslate"><code class="notranslate">_errors, _onChange, _parent, _pristine, _status, _statusChanges, _touched, _value, _valueChanges, asyncValidator, dirty, errors, pending, pristine, root, status, statusChanges, touched, untouched, valid, validator, value, valueChanges </code></pre></div> <p dir="auto"><strong>Expected/desired behavior</strong><br> Be able to get 'formControlName' value inside a custom validation and generic function and use it as the identity of the actually validated control. It allows to have a dynamic set of validation rules for each control (for example in JSON syntax) that could be maintenated outside of the app code then.</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> To be more flexible and minimize the code = reducing the number of custom validators.</p> <p dir="auto"><strong>Please tell us about your environment:</strong></p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.0-rc.4</li> <li><strong>Browser:</strong> [all]</li> <li><strong>Language:</strong> [all]</li> </ul>
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x ] feature request"><pre class="notranslate"><code class="notranslate">[x ] feature request </code></pre></div> <p dir="auto"><strong>Current behavior</strong></p> <p dir="auto">Angular will always find and render component tag.<br> e.g. <code class="notranslate">&lt;my-component-tag&gt;</code></p> <p dir="auto"><strong>Expected behavior</strong></p> <p dir="auto">I would like to have an option to have component tag be ignored and just kept as a plain html.<br> e.g. <code class="notranslate">&lt;my-component-tag plainHtml&gt;</code></p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p> <p dir="auto">A lot of external components are not compatible to other external directives, components.<br> And in order to get same html structure and get things working I would like to be able to create it manually.</p> <p dir="auto">Thanks.</p>
0
<p dir="auto">I couldn't find any issue for this one, thus it must be a new regression we are having here. The log can be accessed at: <a href="http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce/12127/consoleFull" rel="nofollow">http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce/12127/consoleFull</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="07:17:09 [It] should support a client that connects, sends no data, and disconnects [Conformance] 07:17:09 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:156 07:17:09 STEP: creating the target pod 07:17:09 Feb 23 07:16:55.427: INFO: Waiting up to 5m0s for pod pfpod status to be running 07:17:09 Feb 23 07:16:55.447: INFO: Waiting for pod pfpod in namespace 'e2e-tests-port-forwarding-vep4r' status to be 'running'(found phase: &quot;Pending&quot;, readiness: false) (19.842797ms elapsed) 07:17:09 Feb 23 07:16:57.450: INFO: Waiting for pod pfpod in namespace 'e2e-tests-port-forwarding-vep4r' status to be 'running'(found phase: &quot;Pending&quot;, readiness: false) (2.023387632s elapsed) 07:17:09 Feb 23 07:16:59.454: INFO: Waiting for pod pfpod in namespace 'e2e-tests-port-forwarding-vep4r' status to be 'running'(found phase: &quot;Pending&quot;, readiness: false) (4.026805448s elapsed) 07:17:09 Feb 23 07:17:01.461: INFO: Found pod 'pfpod' on node 'jenkins-e2e-minion-ajjm' 07:17:09 STEP: Running 'kubectl port-forward' 07:17:09 Feb 23 07:17:01.461: INFO: starting port-forward command and streaming output 07:17:09 Feb 23 07:17:01.461: INFO: Asynchronously running '/jenkins-master-data/jobs/kubernetes-e2e-gce/workspace/kubernetes/platforms/linux/amd64/kubectl kubectl --server=https://104.197.61.15 --kubeconfig=/var/lib/jenkins/jobs/kubernetes-e2e-gce/workspace/.kube/config port-forward --namespace=e2e-tests-port-forwarding-vep4r pfpod :80' 07:17:09 Feb 23 07:17:01.463: INFO: reading from `kubectl port-forward` command's stderr 07:17:09 STEP: Dialing the local port 07:17:09 STEP: Closing the connection to the local port 07:17:09 Feb 23 07:17:01.988: INFO: Running '/jenkins-master-data/jobs/kubernetes-e2e-gce/workspace/kubernetes/platforms/linux/amd64/kubectl --server=https://104.197.61.15 --kubeconfig=/var/lib/jenkins/jobs/kubernetes-e2e-gce/workspace/.kube/config logs --namespace=e2e-tests-port-forwarding-vep4r -f pfpod' 07:17:09 Feb 23 07:17:02.920: INFO: stdout: &quot;&quot; 07:17:09 Feb 23 07:17:02.920: INFO: stderr: &quot;&quot; 07:17:09 Feb 23 07:17:02.920: FAIL: Missing &quot;Accepted client connection&quot; from log: 07:17:09 [AfterEach] Port forwarding 07:17:09 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework.go:84 07:17:09 STEP: Collecting events from namespace &quot;e2e-tests-port-forwarding-vep4r&quot;. 07:17:09 Feb 23 07:17:02.929: INFO: event for pfpod: {default-scheduler } Scheduled: Successfully assigned pfpod to jenkins-e2e-minion-ajjm 07:17:09 Feb 23 07:17:02.929: INFO: event for pfpod: {kubelet jenkins-e2e-minion-ajjm} Pulling: pulling image &quot;gcr.io/google_containers/portforwardtester:1.0&quot; 07:17:09 Feb 23 07:17:02.929: INFO: event for pfpod: {kubelet jenkins-e2e-minion-ajjm} Pulled: Successfully pulled image &quot;gcr.io/google_containers/portforwardtester:1.0&quot; 07:17:09 Feb 23 07:17:02.929: INFO: event for pfpod: {kubelet jenkins-e2e-minion-ajjm} Created: Created container with docker id 4ad03609ba81 07:17:09 Feb 23 07:17:02.929: INFO: event for pfpod: {kubelet jenkins-e2e-minion-ajjm} Started: Started container with docker id 4ad03609ba81 07:17:09 Feb 23 07:17:02.987: INFO: POD NODE PHASE GRACE CONDITIONS 07:17:09 Feb 23 07:17:02.987: INFO: pod780e3fb2-da40-11e5-b787-42010af01555 jenkins-e2e-minion-gjop Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:53 -0800 PST ContainersNotReady containers with unready status: [nginx]}] 07:17:09 Feb 23 07:17:02.987: INFO: pod-configmaps-795a4b3f-da40-11e5-88c3-42010af01555 jenkins-e2e-minion-gjop Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST ContainersNotReady containers with unready status: [configmap-volume-test]}] 07:17:09 Feb 23 07:17:02.987: INFO: client-containers-7825e4f5-da40-11e5-917d-42010af01555 jenkins-e2e-minion-gjop Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:53 -0800 PST ContainersNotReady containers with unready status: [test-container]}] 07:17:09 Feb 23 07:17:02.987: INFO: client-containers-7dc2c528-da40-11e5-988c-42010af01555 jenkins-e2e-minion-ajjm Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:02 -0800 PST ContainersNotReady containers with unready status: [test-container]}] 07:17:09 Feb 23 07:17:02.987: INFO: nginx-controller-gzcqa jenkins-e2e-minion-ajjm Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST ContainersNotReady containers with unready status: [nginx]}] 07:17:09 Feb 23 07:17:02.987: INFO: nginx-controller-t6txl jenkins-e2e-minion-w7f5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST ContainersNotReady containers with unready status: [nginx]}] 07:17:09 Feb 23 07:17:02.987: INFO: nginx-controller-ugxfw jenkins-e2e-minion-gjop Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST ContainersNotReady containers with unready status: [nginx]}] 07:17:09 Feb 23 07:17:02.987: INFO: nginx-controller-bwora jenkins-e2e-minion-w7f5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST ContainersNotReady containers with unready status: [nginx]}] 07:17:09 Feb 23 07:17:02.987: INFO: pod-79647c34-da40-11e5-9e63-42010af01555 jenkins-e2e-minion-gjop Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST ContainersNotReady containers with unready status: [test-container]}] 07:17:09 Feb 23 07:17:02.987: INFO: pod-host-path-test jenkins-e2e-minion-w7f5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:00 -0800 PST ContainersNotReady containers with unready status: [test-container-1 test-container-2]}] 07:17:09 Feb 23 07:17:02.987: INFO: foo-gso08 jenkins-e2e-minion-gjop Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:59 -0800 PST }] 07:17:09 Feb 23 07:17:02.987: INFO: foo-oapzs jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:57 -0800 PST }] 07:17:09 Feb 23 07:17:02.987: INFO: nginx jenkins-e2e-minion-w7f5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:53 -0800 PST ContainersNotReady containers with unready status: [nginx]}] 07:17:09 Feb 23 07:17:02.987: INFO: redis-master-kje8q jenkins-e2e-minion-w7f5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:01 -0800 PST ContainersNotReady containers with unready status: [redis-master]}] 07:17:09 Feb 23 07:17:02.987: INFO: nginx jenkins-e2e-minion-ajjm Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:53 -0800 PST ContainersNotReady containers with unready status: [nginx]}] 07:17:09 Feb 23 07:17:02.987: INFO: pod-logs-websocket-7c5c3108-da40-11e5-87e0-42010af01555 jenkins-e2e-minion-ajjm Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:00 -0800 PST ContainersNotReady containers with unready status: [main]}] 07:17:09 Feb 23 07:17:02.987: INFO: pfpod jenkins-e2e-minion-gjop Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST ContainersNotReady containers with unready status: [portforwardtester]}] 07:17:09 Feb 23 07:17:02.987: INFO: pfpod jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:00 -0800 PST }] 07:17:09 Feb 23 07:17:02.987: INFO: my-hostname-private-78025aec-da40-11e5-a865-42010af01555-kwky7 jenkins-e2e-minion-w7f5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:02 -0800 PST }] 07:17:09 Feb 23 07:17:02.987: INFO: my-hostname-private-78025aec-da40-11e5-a865-42010af01555-tlu7z jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:00 -0800 PST }] 07:17:09 Feb 23 07:17:02.987: INFO: svc-latency-rc-ur1wo jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: pod-service-account-787267e3-da40-11e5-b259-42010af01555 jenkins-e2e-minion-ajjm Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:01 -0800 PST ContainersNotReady containers with unready status: [token-test root-ca-test]}] 07:17:09 Feb 23 07:17:02.988: INFO: elasticsearch-logging-v1-nxkc6 jenkins-e2e-minion-w7f5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:19 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: elasticsearch-logging-v1-yse0k jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:20 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: fluentd-elasticsearch-jenkins-e2e-minion-ajjm jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:10 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: fluentd-elasticsearch-jenkins-e2e-minion-gjop jenkins-e2e-minion-gjop Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:16 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: fluentd-elasticsearch-jenkins-e2e-minion-w7f5 jenkins-e2e-minion-w7f5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:03 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: heapster-v14-pcau0 jenkins-e2e-minion-gjop Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:20 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: kibana-logging-v1-x0fzh jenkins-e2e-minion-gjop Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:41 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: kube-dns-v10-x0rod jenkins-e2e-minion-w7f5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:28 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: kube-proxy-jenkins-e2e-minion-ajjm jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:15:33 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: kube-proxy-jenkins-e2e-minion-gjop jenkins-e2e-minion-gjop Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:02 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: kube-proxy-jenkins-e2e-minion-w7f5 jenkins-e2e-minion-w7f5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:15:35 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: kubernetes-dashboard-v0.1.0-09u97 jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:10 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: l7-lb-controller-v0.5.2-xu332 jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:29 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: monitoring-influxdb-grafana-v3-s4zvp jenkins-e2e-minion-gjop Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:41 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: 07:17:09 Feb 23 07:17:02.994: INFO: 07:17:09 Logging node info for node jenkins-e2e-minion-ajjm 07:17:09 Feb 23 07:17:03.001: INFO: Node Info: &amp;{{ } {jenkins-e2e-minion-ajjm /api/v1/nodes/jenkins-e2e-minion-ajjm 2b5320f8-da40-11e5-bb5a-42010af00002 367 0 2016-02-23 07:14:44 -0800 PST &lt;nil&gt; &lt;nil&gt; map[beta.kubernetes.io/instance-type:n1-standard-2 failure-domain.beta.kubernetes.io/region:us-central1 failure-domain.beta.kubernetes.io/zone:us-central1-f kubernetes.io/hostname:jenkins-e2e-minion-ajjm master:] map[]} {10.245.0.0/24 14548348975076778713 gce://k8s-jkns-e2e-gce/us-central1-f/jenkins-e2e-minion-ajjm false} {map[memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI} cpu:{2.000 DecimalSI}] map[cpu:{2.000 DecimalSI} memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI}] [{OutOfDisk False 2016-02-23 07:16:53 -0800 PST 2016-02-23 07:14:44 -0800 PST KubeletHasSufficientDisk kubelet has sufficient disk space available} {Ready True 2016-02-23 07:16:53 -0800 PST 2016-02-23 07:15:32 -0800 PST KubeletReady kubelet is posting ready status}] [{InternalIP 10.240.0.3} {ExternalIP 104.154.98.97}] {{10250}} { 10C07727-2011-F0F9-CA44-80C069F0F32D b76f4a86-6123-4fd9-9236-6b2d3cb80e7d 3.16.0-4-amd64 Debian GNU/Linux 7 (wheezy) docker://1.9.1 v1.2.0-alpha.8.200+7f1b699880a3d4 v1.2.0-alpha.8.200+7f1b699880a3d4} [{[gcr.io/google_containers/kube-proxy:0a7bf1781f033fc04e110c3cd8505785] 165640277} {[gcr.io/google_containers/fluentd-elasticsearch:1.14] 562034622} {[gcr.io/google_containers/kubernetes-dashboard-amd64:v0.1.0] 35409795} {[gcr.io/google_containers/glbc:0.5.2] 226351998} {[gcr.io/google_containers/elasticsearch:1.8] 410989305} {[gcr.io/google_containers/defaultbackend:1.0] 7513643} {[gcr.io/google_containers/pause:2.0] 350164} {[gcr.io/google_containers/pause:0.8.0] 241656}]}} 07:17:09 Feb 23 07:17:03.002: INFO: 07:17:09 Logging kubelet events for node jenkins-e2e-minion-ajjm 07:17:09 Feb 23 07:17:03.035: INFO: 07:17:09 Logging pods the kubelet thinks is on node jenkins-e2e-minion-ajjm 07:17:09 Feb 23 07:17:03.052: INFO: my-hostname-private-78025aec-da40-11e5-a865-42010af01555-tlu7z started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: svc-latency-rc-ur1wo started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: nginx started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: fluentd-elasticsearch-jenkins-e2e-minion-ajjm started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: pod-logs-websocket-7c5c3108-da40-11e5-87e0-42010af01555 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: nginx-controller-gzcqa started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: foo-oapzs started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: l7-lb-controller-v0.5.2-xu332 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: elasticsearch-logging-v1-yse0k started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: kubernetes-dashboard-v0.1.0-09u97 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: kube-proxy-jenkins-e2e-minion-ajjm started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: pfpod started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.446: INFO: ERROR kubelet_docker_errors{operation_type=&quot;info&quot;} =&gt; 1 @[0] 07:17:09 Feb 23 07:17:03.446: INFO: ERROR kubelet_docker_errors{operation_type=&quot;inspect_image&quot;} =&gt; 15 @[0] 07:17:09 Feb 23 07:17:03.446: INFO: ERROR kubelet_docker_errors{operation_type=&quot;list_containers&quot;} =&gt; 32 @[0] 07:17:09 Feb 23 07:17:03.447: INFO: ERROR kubelet_docker_errors{operation_type=&quot;list_images&quot;} =&gt; 5 @[0] 07:17:09 Feb 23 07:17:03.447: INFO: ERROR kubelet_docker_errors{operation_type=&quot;stop_container&quot;} =&gt; 1 @[0] 07:17:09 Feb 23 07:17:03.447: INFO: ERROR kubelet_docker_errors{operation_type=&quot;version&quot;} =&gt; 22 @[0] 07:17:09 Feb 23 07:17:03.447: INFO: 07:17:09 Latency metrics for node jenkins-e2e-minion-ajjm 07:17:09 Feb 23 07:17:03.447: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.99 Latency:41.49339s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.9 Latency:40.027169s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation: Method:pod_worker_start_latency_microseconds Quantile:0.99 Latency:40.02661s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.99 Latency:37.502548s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.99 Latency:37.480865s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.9 Latency:30.454951s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.99 Latency:29.950011s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.99 Latency:29.001099s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.9 Latency:27.51048s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.9 Latency:10.221818s} 07:17:09 Feb 23 07:17:03.447: INFO: 07:17:09 Logging node info for node jenkins-e2e-minion-gjop 07:17:09 Feb 23 07:17:03.451: INFO: Node Info: &amp;{{ } {jenkins-e2e-minion-gjop /api/v1/nodes/jenkins-e2e-minion-gjop 2c6a9bda-da40-11e5-bb5a-42010af00002 373 0 2016-02-23 07:14:46 -0800 PST &lt;nil&gt; &lt;nil&gt; map[kubernetes.io/hostname:jenkins-e2e-minion-gjop master: beta.kubernetes.io/instance-type:n1-standard-2 failure-domain.beta.kubernetes.io/region:us-central1 failure-domain.beta.kubernetes.io/zone:us-central1-f] map[]} {10.245.1.0/24 10660228105066903695 gce://k8s-jkns-e2e-gce/us-central1-f/jenkins-e2e-minion-gjop false} {map[pods:{110.000 DecimalSI} cpu:{2.000 DecimalSI} memory:{7864139776.000 BinarySI}] map[memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI} cpu:{2.000 DecimalSI}] [{OutOfDisk False 2016-02-23 07:16:54 -0800 PST 2016-02-23 07:14:46 -0800 PST KubeletHasSufficientDisk kubelet has sufficient disk space available} {Ready True 2016-02-23 07:16:54 -0800 PST 2016-02-23 07:15:33 -0800 PST KubeletReady kubelet is posting ready status}] [{InternalIP 10.240.0.5} {ExternalIP 104.154.18.200}] {{10250}} { CEF2A9D6-8CE4-1670-1696-570023B29CC8 8635b608-0928-46fa-9252-424edf6eb21e 3.16.0-4-amd64 Debian GNU/Linux 7 (wheezy) docker://1.9.1 v1.2.0-alpha.8.200+7f1b699880a3d4 v1.2.0-alpha.8.200+7f1b699880a3d4} [{[gcr.io/google_containers/kube-proxy:0a7bf1781f033fc04e110c3cd8505785] 165640277} {[gcr.io/google_containers/heapster:v0.20.0-alpha6] 85929942} {[gcr.io/google_containers/fluentd-elasticsearch:1.14] 562034622} {[gcr.io/google_containers/mounttest:0.5] 1718853} {[gcr.io/google_containers/heapster_grafana:v2.1.1] 206641132} {[gcr.io/google_containers/pause:2.0] 350164} {[gcr.io/google_containers/heapster_influxdb:v0.5] 251005705} {[gcr.io/google_containers/kibana:1.3] 396897764} {[gcr.io/google_containers/pause:0.8.0] 241656}]}} 07:17:09 Feb 23 07:17:03.451: INFO: 07:17:09 Logging kubelet events for node jenkins-e2e-minion-gjop 07:17:09 Feb 23 07:17:03.464: INFO: 07:17:09 Logging pods the kubelet thinks is on node jenkins-e2e-minion-gjop 07:17:09 Feb 23 07:17:03.573: INFO: nginx-controller-ugxfw started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: pfpod started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: client-containers-7825e4f5-da40-11e5-917d-42010af01555 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: monitoring-influxdb-grafana-v3-s4zvp started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: kube-proxy-jenkins-e2e-minion-gjop started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: heapster-v14-pcau0 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: fluentd-elasticsearch-jenkins-e2e-minion-gjop started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: foo-gso08 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: pod-79647c34-da40-11e5-9e63-42010af01555 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: pod-configmaps-795a4b3f-da40-11e5-88c3-42010af01555 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: pod780e3fb2-da40-11e5-b787-42010af01555 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: kibana-logging-v1-x0fzh started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.825: INFO: ERROR kubelet_docker_errors{operation_type=&quot;info&quot;} =&gt; 1 @[0] 07:17:09 Feb 23 07:17:03.825: INFO: ERROR kubelet_docker_errors{operation_type=&quot;inspect_image&quot;} =&gt; 20 @[0] 07:17:09 Feb 23 07:17:03.825: INFO: ERROR kubelet_docker_errors{operation_type=&quot;list_containers&quot;} =&gt; 36 @[0] 07:17:09 Feb 23 07:17:03.825: INFO: ERROR kubelet_docker_errors{operation_type=&quot;list_images&quot;} =&gt; 6 @[0] 07:17:09 Feb 23 07:17:03.825: INFO: ERROR kubelet_docker_errors{operation_type=&quot;pull_image&quot;} =&gt; 2 @[0] 07:17:09 Feb 23 07:17:03.825: INFO: ERROR kubelet_docker_errors{operation_type=&quot;stop_container&quot;} =&gt; 1 @[0] 07:17:09 Feb 23 07:17:03.825: INFO: ERROR kubelet_docker_errors{operation_type=&quot;version&quot;} =&gt; 24 @[0] 07:17:09 Feb 23 07:17:03.826: INFO: 07:17:09 Latency metrics for node jenkins-e2e-minion-gjop 07:17:09 Feb 23 07:17:03.826: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.99 Latency:1m9.824686s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.9 Latency:52.910615s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.99 Latency:51.304079s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.9 Latency:51.304079s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.99 Latency:51.295383s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.99 Latency:47.065565s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.99 Latency:45.90737s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation: Method:pod_worker_start_latency_microseconds Quantile:0.99 Latency:35.210061s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.5 Latency:31.659999s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.9 Latency:31.646042s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.9 Latency:29.831946s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.9 Latency:29.088885s} 07:17:09 Feb 23 07:17:03.826: INFO: 07:17:09 Logging node info for node jenkins-e2e-minion-w7f5 07:17:09 Feb 23 07:17:03.831: INFO: Node Info: &amp;{{ } {jenkins-e2e-minion-w7f5 /api/v1/nodes/jenkins-e2e-minion-w7f5 2b781dda-da40-11e5-bb5a-42010af00002 927 0 2016-02-23 07:14:44 -0800 PST &lt;nil&gt; &lt;nil&gt; map[beta.kubernetes.io/instance-type:n1-standard-2 failure-domain.beta.kubernetes.io/region:us-central1 failure-domain.beta.kubernetes.io/zone:us-central1-f kubernetes.io/hostname:jenkins-e2e-minion-w7f5 master:] map[]} {10.245.2.0/24 5512211706074314555 gce://k8s-jkns-e2e-gce/us-central1-f/jenkins-e2e-minion-w7f5 false} {map[cpu:{2.000 DecimalSI} memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI}] map[cpu:{2.000 DecimalSI} memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI}] [{OutOfDisk False 2016-02-23 07:17:03 -0800 PST 2016-02-23 07:14:44 -0800 PST KubeletHasSufficientDisk kubelet has sufficient disk space available} {Ready True 2016-02-23 07:17:03 -0800 PST 2016-02-23 07:15:32 -0800 PST KubeletReady kubelet is posting ready status}] [{InternalIP 10.240.0.4} {ExternalIP 104.154.49.202}] {{10250}} { 03BE766C-FE24-8851-6BB8-D6E3075909E4 ccc4ea9f-66cf-465a-8fe6-58b76a524f88 3.16.0-4-amd64 Debian GNU/Linux 7 (wheezy) docker://1.9.1 v1.2.0-alpha.8.200+7f1b699880a3d4 v1.2.0-alpha.8.200+7f1b699880a3d4} [{[gcr.io/google_containers/kube-proxy:0a7bf1781f033fc04e110c3cd8505785] 165640277} {[gcr.io/google_containers/fluentd-elasticsearch:1.14] 562034622} {[gcr.io/google_containers/busybox:1.24] 1113554} {[gcr.io/google_containers/kube2sky:1.12] 24482187} {[gcr.io/google_containers/elasticsearch:1.8] 410989305} {[gcr.io/google_containers/mounttest:0.6] 2084693} {[gcr.io/google_containers/mounttest:0.5] 1718853} {[gcr.io/google_containers/skydns:2015-10-13-8c72f8c] 40551394} {[gcr.io/google_containers/pause:2.0] 350164} {[gcr.io/google_containers/exechealthz:1.0] 7099444} {[gcr.io/google_containers/mounttest:0.2] 1752375} {[gcr.io/google_containers/etcd:2.0.9] 12819040} {[gcr.io/google_containers/pause:0.8.0] 241656} {[b.gcr.io/k8s_authenticated_test/serve_hostname:1.1] 4522409}]}} 07:17:09 Feb 23 07:17:03.832: INFO: 07:17:09 Logging kubelet events for node jenkins-e2e-minion-w7f5 07:17:09 Feb 23 07:17:03.846: INFO: 07:17:09 Logging pods the kubelet thinks is on node jenkins-e2e-minion-w7f5 07:17:09 Feb 23 07:17:03.863: INFO: elasticsearch-logging-v1-nxkc6 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: fluentd-elasticsearch-jenkins-e2e-minion-w7f5 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: redis-master-kje8q started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: pod-host-path-test started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: nginx-controller-t6txl started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: nginx started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: my-hostname-private-78025aec-da40-11e5-a865-42010af01555-kwky7 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: nginx-controller-bwora started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: kube-dns-v10-x0rod started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: kube-proxy-jenkins-e2e-minion-w7f5 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:04.343: INFO: ERROR kubelet_docker_errors{operation_type=&quot;info&quot;} =&gt; 1 @[0] 07:17:09 Feb 23 07:17:04.343: INFO: ERROR kubelet_docker_errors{operation_type=&quot;inspect_image&quot;} =&gt; 17 @[0] 07:17:09 Feb 23 07:17:04.343: INFO: ERROR kubelet_docker_errors{operation_type=&quot;list_containers&quot;} =&gt; 32 @[0] 07:17:09 Feb 23 07:17:04.343: INFO: ERROR kubelet_docker_errors{operation_type=&quot;list_images&quot;} =&gt; 5 @[0] 07:17:09 Feb 23 07:17:04.343: INFO: ERROR kubelet_docker_errors{operation_type=&quot;stop_container&quot;} =&gt; 5 @[0] 07:17:09 Feb 23 07:17:04.343: INFO: ERROR kubelet_docker_errors{operation_type=&quot;version&quot;} =&gt; 22 @[0] 07:17:09 Feb 23 07:17:04.343: INFO: 07:17:09 Latency metrics for node jenkins-e2e-minion-w7f5 07:17:09 Feb 23 07:17:04.343: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.99 Latency:43.696016s} 07:17:09 Feb 23 07:17:04.343: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.9 Latency:40.017824s} 07:17:09 Feb 23 07:17:04.344: INFO: {Operation: Method:pod_worker_start_latency_microseconds Quantile:0.99 Latency:40.017388s} 07:17:09 Feb 23 07:17:04.344: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.99 Latency:31.494667s} 07:17:09 Feb 23 07:17:04.344: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.9 Latency:31.494667s} 07:17:09 Feb 23 07:17:04.344: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.99 Latency:31.484782s} 07:17:09 Feb 23 07:17:04.344: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.99 Latency:29.420866s} 07:17:09 Feb 23 07:17:04.344: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.99 Latency:29.189764s} 07:17:09 Feb 23 07:17:04.344: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.9 Latency:28.506516s} 07:17:09 Feb 23 07:17:04.344: INFO: Waiting up to 1m0s for all nodes to be ready 07:17:09 STEP: Destroying namespace &quot;e2e-tests-port-forwarding-vep4r&quot; for this suite. 07:17:09 W0223 07:17:04.418253 31107 request.go:627] Throttling request took 58.08125ms, request: https://104.197.61.15/api/v1/namespaces/e2e-tests-port-forwarding-vep4r 07:17:09 07:17:09 07:17:09 • Failure [18.563 seconds] 07:17:09 Port forwarding 07:17:09 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:240 07:17:09 With a server that expects a client request 07:17:09 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:203 07:17:09 should support a client that connects, sends no data, and disconnects [Conformance] [It] 07:17:09 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:156 07:17:09 07:17:09 Feb 23 07:17:02.920: Missing &quot;Accepted client connection&quot; from log: 07:17:09 07:17:09 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:250 07:17:09 ------------------------------"><pre class="notranslate"><code class="notranslate">07:17:09 [It] should support a client that connects, sends no data, and disconnects [Conformance] 07:17:09 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:156 07:17:09 STEP: creating the target pod 07:17:09 Feb 23 07:16:55.427: INFO: Waiting up to 5m0s for pod pfpod status to be running 07:17:09 Feb 23 07:16:55.447: INFO: Waiting for pod pfpod in namespace 'e2e-tests-port-forwarding-vep4r' status to be 'running'(found phase: "Pending", readiness: false) (19.842797ms elapsed) 07:17:09 Feb 23 07:16:57.450: INFO: Waiting for pod pfpod in namespace 'e2e-tests-port-forwarding-vep4r' status to be 'running'(found phase: "Pending", readiness: false) (2.023387632s elapsed) 07:17:09 Feb 23 07:16:59.454: INFO: Waiting for pod pfpod in namespace 'e2e-tests-port-forwarding-vep4r' status to be 'running'(found phase: "Pending", readiness: false) (4.026805448s elapsed) 07:17:09 Feb 23 07:17:01.461: INFO: Found pod 'pfpod' on node 'jenkins-e2e-minion-ajjm' 07:17:09 STEP: Running 'kubectl port-forward' 07:17:09 Feb 23 07:17:01.461: INFO: starting port-forward command and streaming output 07:17:09 Feb 23 07:17:01.461: INFO: Asynchronously running '/jenkins-master-data/jobs/kubernetes-e2e-gce/workspace/kubernetes/platforms/linux/amd64/kubectl kubectl --server=https://104.197.61.15 --kubeconfig=/var/lib/jenkins/jobs/kubernetes-e2e-gce/workspace/.kube/config port-forward --namespace=e2e-tests-port-forwarding-vep4r pfpod :80' 07:17:09 Feb 23 07:17:01.463: INFO: reading from `kubectl port-forward` command's stderr 07:17:09 STEP: Dialing the local port 07:17:09 STEP: Closing the connection to the local port 07:17:09 Feb 23 07:17:01.988: INFO: Running '/jenkins-master-data/jobs/kubernetes-e2e-gce/workspace/kubernetes/platforms/linux/amd64/kubectl --server=https://104.197.61.15 --kubeconfig=/var/lib/jenkins/jobs/kubernetes-e2e-gce/workspace/.kube/config logs --namespace=e2e-tests-port-forwarding-vep4r -f pfpod' 07:17:09 Feb 23 07:17:02.920: INFO: stdout: "" 07:17:09 Feb 23 07:17:02.920: INFO: stderr: "" 07:17:09 Feb 23 07:17:02.920: FAIL: Missing "Accepted client connection" from log: 07:17:09 [AfterEach] Port forwarding 07:17:09 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework.go:84 07:17:09 STEP: Collecting events from namespace "e2e-tests-port-forwarding-vep4r". 07:17:09 Feb 23 07:17:02.929: INFO: event for pfpod: {default-scheduler } Scheduled: Successfully assigned pfpod to jenkins-e2e-minion-ajjm 07:17:09 Feb 23 07:17:02.929: INFO: event for pfpod: {kubelet jenkins-e2e-minion-ajjm} Pulling: pulling image "gcr.io/google_containers/portforwardtester:1.0" 07:17:09 Feb 23 07:17:02.929: INFO: event for pfpod: {kubelet jenkins-e2e-minion-ajjm} Pulled: Successfully pulled image "gcr.io/google_containers/portforwardtester:1.0" 07:17:09 Feb 23 07:17:02.929: INFO: event for pfpod: {kubelet jenkins-e2e-minion-ajjm} Created: Created container with docker id 4ad03609ba81 07:17:09 Feb 23 07:17:02.929: INFO: event for pfpod: {kubelet jenkins-e2e-minion-ajjm} Started: Started container with docker id 4ad03609ba81 07:17:09 Feb 23 07:17:02.987: INFO: POD NODE PHASE GRACE CONDITIONS 07:17:09 Feb 23 07:17:02.987: INFO: pod780e3fb2-da40-11e5-b787-42010af01555 jenkins-e2e-minion-gjop Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:53 -0800 PST ContainersNotReady containers with unready status: [nginx]}] 07:17:09 Feb 23 07:17:02.987: INFO: pod-configmaps-795a4b3f-da40-11e5-88c3-42010af01555 jenkins-e2e-minion-gjop Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST ContainersNotReady containers with unready status: [configmap-volume-test]}] 07:17:09 Feb 23 07:17:02.987: INFO: client-containers-7825e4f5-da40-11e5-917d-42010af01555 jenkins-e2e-minion-gjop Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:53 -0800 PST ContainersNotReady containers with unready status: [test-container]}] 07:17:09 Feb 23 07:17:02.987: INFO: client-containers-7dc2c528-da40-11e5-988c-42010af01555 jenkins-e2e-minion-ajjm Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:02 -0800 PST ContainersNotReady containers with unready status: [test-container]}] 07:17:09 Feb 23 07:17:02.987: INFO: nginx-controller-gzcqa jenkins-e2e-minion-ajjm Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST ContainersNotReady containers with unready status: [nginx]}] 07:17:09 Feb 23 07:17:02.987: INFO: nginx-controller-t6txl jenkins-e2e-minion-w7f5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST ContainersNotReady containers with unready status: [nginx]}] 07:17:09 Feb 23 07:17:02.987: INFO: nginx-controller-ugxfw jenkins-e2e-minion-gjop Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST ContainersNotReady containers with unready status: [nginx]}] 07:17:09 Feb 23 07:17:02.987: INFO: nginx-controller-bwora jenkins-e2e-minion-w7f5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST ContainersNotReady containers with unready status: [nginx]}] 07:17:09 Feb 23 07:17:02.987: INFO: pod-79647c34-da40-11e5-9e63-42010af01555 jenkins-e2e-minion-gjop Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST ContainersNotReady containers with unready status: [test-container]}] 07:17:09 Feb 23 07:17:02.987: INFO: pod-host-path-test jenkins-e2e-minion-w7f5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:00 -0800 PST ContainersNotReady containers with unready status: [test-container-1 test-container-2]}] 07:17:09 Feb 23 07:17:02.987: INFO: foo-gso08 jenkins-e2e-minion-gjop Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:59 -0800 PST }] 07:17:09 Feb 23 07:17:02.987: INFO: foo-oapzs jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:57 -0800 PST }] 07:17:09 Feb 23 07:17:02.987: INFO: nginx jenkins-e2e-minion-w7f5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:53 -0800 PST ContainersNotReady containers with unready status: [nginx]}] 07:17:09 Feb 23 07:17:02.987: INFO: redis-master-kje8q jenkins-e2e-minion-w7f5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:01 -0800 PST ContainersNotReady containers with unready status: [redis-master]}] 07:17:09 Feb 23 07:17:02.987: INFO: nginx jenkins-e2e-minion-ajjm Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:53 -0800 PST ContainersNotReady containers with unready status: [nginx]}] 07:17:09 Feb 23 07:17:02.987: INFO: pod-logs-websocket-7c5c3108-da40-11e5-87e0-42010af01555 jenkins-e2e-minion-ajjm Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:00 -0800 PST ContainersNotReady containers with unready status: [main]}] 07:17:09 Feb 23 07:17:02.987: INFO: pfpod jenkins-e2e-minion-gjop Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST ContainersNotReady containers with unready status: [portforwardtester]}] 07:17:09 Feb 23 07:17:02.987: INFO: pfpod jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:00 -0800 PST }] 07:17:09 Feb 23 07:17:02.987: INFO: my-hostname-private-78025aec-da40-11e5-a865-42010af01555-kwky7 jenkins-e2e-minion-w7f5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:02 -0800 PST }] 07:17:09 Feb 23 07:17:02.987: INFO: my-hostname-private-78025aec-da40-11e5-a865-42010af01555-tlu7z jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:00 -0800 PST }] 07:17:09 Feb 23 07:17:02.987: INFO: svc-latency-rc-ur1wo jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:55 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: pod-service-account-787267e3-da40-11e5-b259-42010af01555 jenkins-e2e-minion-ajjm Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:17:01 -0800 PST ContainersNotReady containers with unready status: [token-test root-ca-test]}] 07:17:09 Feb 23 07:17:02.988: INFO: elasticsearch-logging-v1-nxkc6 jenkins-e2e-minion-w7f5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:19 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: elasticsearch-logging-v1-yse0k jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:20 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: fluentd-elasticsearch-jenkins-e2e-minion-ajjm jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:10 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: fluentd-elasticsearch-jenkins-e2e-minion-gjop jenkins-e2e-minion-gjop Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:16 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: fluentd-elasticsearch-jenkins-e2e-minion-w7f5 jenkins-e2e-minion-w7f5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:03 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: heapster-v14-pcau0 jenkins-e2e-minion-gjop Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:20 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: kibana-logging-v1-x0fzh jenkins-e2e-minion-gjop Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:41 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: kube-dns-v10-x0rod jenkins-e2e-minion-w7f5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:28 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: kube-proxy-jenkins-e2e-minion-ajjm jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:15:33 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: kube-proxy-jenkins-e2e-minion-gjop jenkins-e2e-minion-gjop Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:02 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: kube-proxy-jenkins-e2e-minion-w7f5 jenkins-e2e-minion-w7f5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:15:35 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: kubernetes-dashboard-v0.1.0-09u97 jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:10 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: l7-lb-controller-v0.5.2-xu332 jenkins-e2e-minion-ajjm Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:29 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: monitoring-influxdb-grafana-v3-s4zvp jenkins-e2e-minion-gjop Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-23 07:16:41 -0800 PST }] 07:17:09 Feb 23 07:17:02.988: INFO: 07:17:09 Feb 23 07:17:02.994: INFO: 07:17:09 Logging node info for node jenkins-e2e-minion-ajjm 07:17:09 Feb 23 07:17:03.001: INFO: Node Info: &amp;{{ } {jenkins-e2e-minion-ajjm /api/v1/nodes/jenkins-e2e-minion-ajjm 2b5320f8-da40-11e5-bb5a-42010af00002 367 0 2016-02-23 07:14:44 -0800 PST &lt;nil&gt; &lt;nil&gt; map[beta.kubernetes.io/instance-type:n1-standard-2 failure-domain.beta.kubernetes.io/region:us-central1 failure-domain.beta.kubernetes.io/zone:us-central1-f kubernetes.io/hostname:jenkins-e2e-minion-ajjm master:] map[]} {10.245.0.0/24 14548348975076778713 gce://k8s-jkns-e2e-gce/us-central1-f/jenkins-e2e-minion-ajjm false} {map[memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI} cpu:{2.000 DecimalSI}] map[cpu:{2.000 DecimalSI} memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI}] [{OutOfDisk False 2016-02-23 07:16:53 -0800 PST 2016-02-23 07:14:44 -0800 PST KubeletHasSufficientDisk kubelet has sufficient disk space available} {Ready True 2016-02-23 07:16:53 -0800 PST 2016-02-23 07:15:32 -0800 PST KubeletReady kubelet is posting ready status}] [{InternalIP 10.240.0.3} {ExternalIP 104.154.98.97}] {{10250}} { 10C07727-2011-F0F9-CA44-80C069F0F32D b76f4a86-6123-4fd9-9236-6b2d3cb80e7d 3.16.0-4-amd64 Debian GNU/Linux 7 (wheezy) docker://1.9.1 v1.2.0-alpha.8.200+7f1b699880a3d4 v1.2.0-alpha.8.200+7f1b699880a3d4} [{[gcr.io/google_containers/kube-proxy:0a7bf1781f033fc04e110c3cd8505785] 165640277} {[gcr.io/google_containers/fluentd-elasticsearch:1.14] 562034622} {[gcr.io/google_containers/kubernetes-dashboard-amd64:v0.1.0] 35409795} {[gcr.io/google_containers/glbc:0.5.2] 226351998} {[gcr.io/google_containers/elasticsearch:1.8] 410989305} {[gcr.io/google_containers/defaultbackend:1.0] 7513643} {[gcr.io/google_containers/pause:2.0] 350164} {[gcr.io/google_containers/pause:0.8.0] 241656}]}} 07:17:09 Feb 23 07:17:03.002: INFO: 07:17:09 Logging kubelet events for node jenkins-e2e-minion-ajjm 07:17:09 Feb 23 07:17:03.035: INFO: 07:17:09 Logging pods the kubelet thinks is on node jenkins-e2e-minion-ajjm 07:17:09 Feb 23 07:17:03.052: INFO: my-hostname-private-78025aec-da40-11e5-a865-42010af01555-tlu7z started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: svc-latency-rc-ur1wo started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: nginx started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: fluentd-elasticsearch-jenkins-e2e-minion-ajjm started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: pod-logs-websocket-7c5c3108-da40-11e5-87e0-42010af01555 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: nginx-controller-gzcqa started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: foo-oapzs started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: l7-lb-controller-v0.5.2-xu332 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: elasticsearch-logging-v1-yse0k started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: kubernetes-dashboard-v0.1.0-09u97 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: kube-proxy-jenkins-e2e-minion-ajjm started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.052: INFO: pfpod started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.446: INFO: ERROR kubelet_docker_errors{operation_type="info"} =&gt; 1 @[0] 07:17:09 Feb 23 07:17:03.446: INFO: ERROR kubelet_docker_errors{operation_type="inspect_image"} =&gt; 15 @[0] 07:17:09 Feb 23 07:17:03.446: INFO: ERROR kubelet_docker_errors{operation_type="list_containers"} =&gt; 32 @[0] 07:17:09 Feb 23 07:17:03.447: INFO: ERROR kubelet_docker_errors{operation_type="list_images"} =&gt; 5 @[0] 07:17:09 Feb 23 07:17:03.447: INFO: ERROR kubelet_docker_errors{operation_type="stop_container"} =&gt; 1 @[0] 07:17:09 Feb 23 07:17:03.447: INFO: ERROR kubelet_docker_errors{operation_type="version"} =&gt; 22 @[0] 07:17:09 Feb 23 07:17:03.447: INFO: 07:17:09 Latency metrics for node jenkins-e2e-minion-ajjm 07:17:09 Feb 23 07:17:03.447: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.99 Latency:41.49339s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.9 Latency:40.027169s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation: Method:pod_worker_start_latency_microseconds Quantile:0.99 Latency:40.02661s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.99 Latency:37.502548s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.99 Latency:37.480865s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.9 Latency:30.454951s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.99 Latency:29.950011s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.99 Latency:29.001099s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.9 Latency:27.51048s} 07:17:09 Feb 23 07:17:03.447: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.9 Latency:10.221818s} 07:17:09 Feb 23 07:17:03.447: INFO: 07:17:09 Logging node info for node jenkins-e2e-minion-gjop 07:17:09 Feb 23 07:17:03.451: INFO: Node Info: &amp;{{ } {jenkins-e2e-minion-gjop /api/v1/nodes/jenkins-e2e-minion-gjop 2c6a9bda-da40-11e5-bb5a-42010af00002 373 0 2016-02-23 07:14:46 -0800 PST &lt;nil&gt; &lt;nil&gt; map[kubernetes.io/hostname:jenkins-e2e-minion-gjop master: beta.kubernetes.io/instance-type:n1-standard-2 failure-domain.beta.kubernetes.io/region:us-central1 failure-domain.beta.kubernetes.io/zone:us-central1-f] map[]} {10.245.1.0/24 10660228105066903695 gce://k8s-jkns-e2e-gce/us-central1-f/jenkins-e2e-minion-gjop false} {map[pods:{110.000 DecimalSI} cpu:{2.000 DecimalSI} memory:{7864139776.000 BinarySI}] map[memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI} cpu:{2.000 DecimalSI}] [{OutOfDisk False 2016-02-23 07:16:54 -0800 PST 2016-02-23 07:14:46 -0800 PST KubeletHasSufficientDisk kubelet has sufficient disk space available} {Ready True 2016-02-23 07:16:54 -0800 PST 2016-02-23 07:15:33 -0800 PST KubeletReady kubelet is posting ready status}] [{InternalIP 10.240.0.5} {ExternalIP 104.154.18.200}] {{10250}} { CEF2A9D6-8CE4-1670-1696-570023B29CC8 8635b608-0928-46fa-9252-424edf6eb21e 3.16.0-4-amd64 Debian GNU/Linux 7 (wheezy) docker://1.9.1 v1.2.0-alpha.8.200+7f1b699880a3d4 v1.2.0-alpha.8.200+7f1b699880a3d4} [{[gcr.io/google_containers/kube-proxy:0a7bf1781f033fc04e110c3cd8505785] 165640277} {[gcr.io/google_containers/heapster:v0.20.0-alpha6] 85929942} {[gcr.io/google_containers/fluentd-elasticsearch:1.14] 562034622} {[gcr.io/google_containers/mounttest:0.5] 1718853} {[gcr.io/google_containers/heapster_grafana:v2.1.1] 206641132} {[gcr.io/google_containers/pause:2.0] 350164} {[gcr.io/google_containers/heapster_influxdb:v0.5] 251005705} {[gcr.io/google_containers/kibana:1.3] 396897764} {[gcr.io/google_containers/pause:0.8.0] 241656}]}} 07:17:09 Feb 23 07:17:03.451: INFO: 07:17:09 Logging kubelet events for node jenkins-e2e-minion-gjop 07:17:09 Feb 23 07:17:03.464: INFO: 07:17:09 Logging pods the kubelet thinks is on node jenkins-e2e-minion-gjop 07:17:09 Feb 23 07:17:03.573: INFO: nginx-controller-ugxfw started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: pfpod started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: client-containers-7825e4f5-da40-11e5-917d-42010af01555 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: monitoring-influxdb-grafana-v3-s4zvp started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: kube-proxy-jenkins-e2e-minion-gjop started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: heapster-v14-pcau0 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: fluentd-elasticsearch-jenkins-e2e-minion-gjop started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: foo-gso08 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: pod-79647c34-da40-11e5-9e63-42010af01555 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: pod-configmaps-795a4b3f-da40-11e5-88c3-42010af01555 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: pod780e3fb2-da40-11e5-b787-42010af01555 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.573: INFO: kibana-logging-v1-x0fzh started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.825: INFO: ERROR kubelet_docker_errors{operation_type="info"} =&gt; 1 @[0] 07:17:09 Feb 23 07:17:03.825: INFO: ERROR kubelet_docker_errors{operation_type="inspect_image"} =&gt; 20 @[0] 07:17:09 Feb 23 07:17:03.825: INFO: ERROR kubelet_docker_errors{operation_type="list_containers"} =&gt; 36 @[0] 07:17:09 Feb 23 07:17:03.825: INFO: ERROR kubelet_docker_errors{operation_type="list_images"} =&gt; 6 @[0] 07:17:09 Feb 23 07:17:03.825: INFO: ERROR kubelet_docker_errors{operation_type="pull_image"} =&gt; 2 @[0] 07:17:09 Feb 23 07:17:03.825: INFO: ERROR kubelet_docker_errors{operation_type="stop_container"} =&gt; 1 @[0] 07:17:09 Feb 23 07:17:03.825: INFO: ERROR kubelet_docker_errors{operation_type="version"} =&gt; 24 @[0] 07:17:09 Feb 23 07:17:03.826: INFO: 07:17:09 Latency metrics for node jenkins-e2e-minion-gjop 07:17:09 Feb 23 07:17:03.826: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.99 Latency:1m9.824686s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.9 Latency:52.910615s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.99 Latency:51.304079s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.9 Latency:51.304079s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.99 Latency:51.295383s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.99 Latency:47.065565s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.99 Latency:45.90737s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation: Method:pod_worker_start_latency_microseconds Quantile:0.99 Latency:35.210061s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.5 Latency:31.659999s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.9 Latency:31.646042s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.9 Latency:29.831946s} 07:17:09 Feb 23 07:17:03.826: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.9 Latency:29.088885s} 07:17:09 Feb 23 07:17:03.826: INFO: 07:17:09 Logging node info for node jenkins-e2e-minion-w7f5 07:17:09 Feb 23 07:17:03.831: INFO: Node Info: &amp;{{ } {jenkins-e2e-minion-w7f5 /api/v1/nodes/jenkins-e2e-minion-w7f5 2b781dda-da40-11e5-bb5a-42010af00002 927 0 2016-02-23 07:14:44 -0800 PST &lt;nil&gt; &lt;nil&gt; map[beta.kubernetes.io/instance-type:n1-standard-2 failure-domain.beta.kubernetes.io/region:us-central1 failure-domain.beta.kubernetes.io/zone:us-central1-f kubernetes.io/hostname:jenkins-e2e-minion-w7f5 master:] map[]} {10.245.2.0/24 5512211706074314555 gce://k8s-jkns-e2e-gce/us-central1-f/jenkins-e2e-minion-w7f5 false} {map[cpu:{2.000 DecimalSI} memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI}] map[cpu:{2.000 DecimalSI} memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI}] [{OutOfDisk False 2016-02-23 07:17:03 -0800 PST 2016-02-23 07:14:44 -0800 PST KubeletHasSufficientDisk kubelet has sufficient disk space available} {Ready True 2016-02-23 07:17:03 -0800 PST 2016-02-23 07:15:32 -0800 PST KubeletReady kubelet is posting ready status}] [{InternalIP 10.240.0.4} {ExternalIP 104.154.49.202}] {{10250}} { 03BE766C-FE24-8851-6BB8-D6E3075909E4 ccc4ea9f-66cf-465a-8fe6-58b76a524f88 3.16.0-4-amd64 Debian GNU/Linux 7 (wheezy) docker://1.9.1 v1.2.0-alpha.8.200+7f1b699880a3d4 v1.2.0-alpha.8.200+7f1b699880a3d4} [{[gcr.io/google_containers/kube-proxy:0a7bf1781f033fc04e110c3cd8505785] 165640277} {[gcr.io/google_containers/fluentd-elasticsearch:1.14] 562034622} {[gcr.io/google_containers/busybox:1.24] 1113554} {[gcr.io/google_containers/kube2sky:1.12] 24482187} {[gcr.io/google_containers/elasticsearch:1.8] 410989305} {[gcr.io/google_containers/mounttest:0.6] 2084693} {[gcr.io/google_containers/mounttest:0.5] 1718853} {[gcr.io/google_containers/skydns:2015-10-13-8c72f8c] 40551394} {[gcr.io/google_containers/pause:2.0] 350164} {[gcr.io/google_containers/exechealthz:1.0] 7099444} {[gcr.io/google_containers/mounttest:0.2] 1752375} {[gcr.io/google_containers/etcd:2.0.9] 12819040} {[gcr.io/google_containers/pause:0.8.0] 241656} {[b.gcr.io/k8s_authenticated_test/serve_hostname:1.1] 4522409}]}} 07:17:09 Feb 23 07:17:03.832: INFO: 07:17:09 Logging kubelet events for node jenkins-e2e-minion-w7f5 07:17:09 Feb 23 07:17:03.846: INFO: 07:17:09 Logging pods the kubelet thinks is on node jenkins-e2e-minion-w7f5 07:17:09 Feb 23 07:17:03.863: INFO: elasticsearch-logging-v1-nxkc6 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: fluentd-elasticsearch-jenkins-e2e-minion-w7f5 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: redis-master-kje8q started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: pod-host-path-test started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: nginx-controller-t6txl started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: nginx started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: my-hostname-private-78025aec-da40-11e5-a865-42010af01555-kwky7 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: nginx-controller-bwora started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: kube-dns-v10-x0rod started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:03.863: INFO: kube-proxy-jenkins-e2e-minion-w7f5 started at &lt;nil&gt; (0 container statuses recorded) 07:17:09 Feb 23 07:17:04.343: INFO: ERROR kubelet_docker_errors{operation_type="info"} =&gt; 1 @[0] 07:17:09 Feb 23 07:17:04.343: INFO: ERROR kubelet_docker_errors{operation_type="inspect_image"} =&gt; 17 @[0] 07:17:09 Feb 23 07:17:04.343: INFO: ERROR kubelet_docker_errors{operation_type="list_containers"} =&gt; 32 @[0] 07:17:09 Feb 23 07:17:04.343: INFO: ERROR kubelet_docker_errors{operation_type="list_images"} =&gt; 5 @[0] 07:17:09 Feb 23 07:17:04.343: INFO: ERROR kubelet_docker_errors{operation_type="stop_container"} =&gt; 5 @[0] 07:17:09 Feb 23 07:17:04.343: INFO: ERROR kubelet_docker_errors{operation_type="version"} =&gt; 22 @[0] 07:17:09 Feb 23 07:17:04.343: INFO: 07:17:09 Latency metrics for node jenkins-e2e-minion-w7f5 07:17:09 Feb 23 07:17:04.343: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.99 Latency:43.696016s} 07:17:09 Feb 23 07:17:04.343: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.9 Latency:40.017824s} 07:17:09 Feb 23 07:17:04.344: INFO: {Operation: Method:pod_worker_start_latency_microseconds Quantile:0.99 Latency:40.017388s} 07:17:09 Feb 23 07:17:04.344: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.99 Latency:31.494667s} 07:17:09 Feb 23 07:17:04.344: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.9 Latency:31.494667s} 07:17:09 Feb 23 07:17:04.344: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.99 Latency:31.484782s} 07:17:09 Feb 23 07:17:04.344: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.99 Latency:29.420866s} 07:17:09 Feb 23 07:17:04.344: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.99 Latency:29.189764s} 07:17:09 Feb 23 07:17:04.344: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.9 Latency:28.506516s} 07:17:09 Feb 23 07:17:04.344: INFO: Waiting up to 1m0s for all nodes to be ready 07:17:09 STEP: Destroying namespace "e2e-tests-port-forwarding-vep4r" for this suite. 07:17:09 W0223 07:17:04.418253 31107 request.go:627] Throttling request took 58.08125ms, request: https://104.197.61.15/api/v1/namespaces/e2e-tests-port-forwarding-vep4r 07:17:09 07:17:09 07:17:09 • Failure [18.563 seconds] 07:17:09 Port forwarding 07:17:09 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:240 07:17:09 With a server that expects a client request 07:17:09 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:203 07:17:09 should support a client that connects, sends no data, and disconnects [Conformance] [It] 07:17:09 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:156 07:17:09 07:17:09 Feb 23 07:17:02.920: Missing "Accepted client connection" from log: 07:17:09 07:17:09 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:250 07:17:09 ------------------------------ </code></pre></div> <p dir="auto">cc/ <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lavalamp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lavalamp">@lavalamp</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[Fail] Port forwarding With a server that expects a client request [It] should support a client that connects, sends data, and disconnects [Conformance] /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:163 • Failure [311.018 seconds] Port forwarding /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:268 With a server that expects a client request /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:216 should support a client that connects, sends data, and disconnects [Conformance] [It] /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:215 Feb 25 08:07:11.060: Pod did not start running: gave up waiting for pod 'pfpod' to be 'running' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:163"><pre class="notranslate"><code class="notranslate">[Fail] Port forwarding With a server that expects a client request [It] should support a client that connects, sends data, and disconnects [Conformance] /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:163 • Failure [311.018 seconds] Port forwarding /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:268 With a server that expects a client request /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:216 should support a client that connects, sends data, and disconnects [Conformance] [It] /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:215 Feb 25 08:07:11.060: Pod did not start running: gave up waiting for pod 'pfpod' to be 'running' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:163 </code></pre></div>
1
<p dir="auto">Many comments in the .less-Files start with <code class="notranslate">//**</code> which in a lot of programming languages is equal to a multi-column comment (<code class="notranslate">/* ... */</code>). Therefore any IDE not perfectly adjusted to LESS syntax highlighting (such as VisualStudio) tend to interpret these comments as multi-column, which is in the case of the bootstrap sources basically <em>every</em> following line, making the code more or less unreadable.</p> <p dir="auto">Sure, an answer to this request could be "go and set up a proper highlighting" <g-emoji class="g-emoji" alias="wink" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f609.png">😉</g-emoji> But in the end this would be a <em>very minor change without drawbacks</em> (afaik) but nevertheless improving usability of the bootstrap sources.</p> <p dir="auto">An example of what I mean is in <em>variables.less</em>, line 27:<br> <code class="notranslate">//** Background color for </code><code class="notranslate">.</code><br> which without any effort could be changed to<br> <code class="notranslate">// ** Background color for </code><code class="notranslate">.</code> (note the added space in col 3)</p>
<p dir="auto">I'm not sure why the comments in the <code class="notranslate">variables.less</code> got changed to this style <code class="notranslate">//**</code>, but it my opinion it was a brave move.</p> <p dir="auto">For me at least it prevents compilation when using the nodejs compiler <code class="notranslate">lessc</code>.</p> <p dir="auto">At also breaks the syntax highlighting in my IDE, Visual Studio 2013</p>
1
<p dir="auto">weird, Issues lists 66, and on clicking issues I get a big fat zero.<br> So having no issues to peruse to avoid duplication, here goes.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" * Testing of dev-python/celery-3.0.18 with CPython 2.7... ........................................................................................................................................................................................................................................................................................................./mnt/gen2/TmpDir/portage/dev-python/celery-3.0.18/work/celery-3.0.18/celery/utils/__init__.py:72: CPendingDeprecationWarning: The 'CELERY_REDIS_PORT' setting is scheduled for deprecation in version 2.5 and removal in version v4.0. Use URL form of CELERY_RESULT_BACKEND instead warnings.warn(w) /mnt/gen2/TmpDir/portage/dev-python/celery-3.0.18/work/celery-3.0.18/celery/utils/__init__.py:72: CPendingDeprecationWarning: The 'CELERY_REDIS_HOST' setting is scheduled for deprecation in version 2.5 and removal in version v4.0. Use URL form of CELERY_RESULT_BACKEND instead warnings.warn(w) ..............................EE...............................................................................................................................S.........................................................................SSSSS.........S............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... ====================================================================== ERROR: test_get_connection_no_connection_host (celery.tests.backends.test_mongodb.test_MongoBackend) ---------------------------------------------------------------------- Traceback (most recent call last): File &quot;/mnt/gen2/TmpDir/portage/dev-python/celery-3.0.18/work/celery-3.0.18/celery/tests/backends/test_mongodb.py&quot;, line 101, in test_get_connection_no_connection_host connection = self.backend._get_connection() File &quot;/mnt/gen2/TmpDir/portage/dev-python/celery-3.0.18/work/celery-3.0.18/celery/backends/mongodb.py&quot;, line 107, in _get_connection *args, **dict(kwargs, self.mongodb_options) TypeError: dict expected at most 1 arguments, got 2 ====================================================================== ERROR: test_get_connection_no_connection_mongodb_uri (celery.tests.backends.test_mongodb.test_MongoBackend) ---------------------------------------------------------------------- Traceback (most recent call last): File &quot;/mnt/gen2/TmpDir/portage/dev-python/celery-3.0.18/work/celery-3.0.18/celery/tests/backends/test_mongodb.py&quot;, line 115, in test_get_connection_no_connection_mongodb_uri connection = self.backend._get_connection() File &quot;/mnt/gen2/TmpDir/portage/dev-python/celery-3.0.18/work/celery-3.0.18/celery/backends/mongodb.py&quot;, line 107, in _get_connection *args, **dict(kwargs, self.mongodb_options) TypeError: dict expected at most 1 arguments, got 2 ---------------------------------------------------------------------- Ran 1328 tests in 41.729s FAILED (SKIP=7, errors=2)"><pre class="notranslate"> <span class="pl-c1">*</span> <span class="pl-v">Testing</span> <span class="pl-s1">of</span> <span class="pl-s1">dev</span><span class="pl-c1">-</span><span class="pl-s1">python</span><span class="pl-c1">/</span><span class="pl-s1">celery</span><span class="pl-c1">-</span><span class="pl-c1">3.0</span>.<span class="pl-c1">18</span> <span class="pl-k">with</span> <span class="pl-v">CPython</span> <span class="pl-c1">2.7</span>... .........................................................................................................................................................................................................................................................................................................<span class="pl-c1">/</span><span class="pl-s1">mnt</span><span class="pl-c1">/</span><span class="pl-s1">gen2</span><span class="pl-c1">/</span><span class="pl-v">TmpDir</span><span class="pl-c1">/</span><span class="pl-s1">portage</span><span class="pl-c1">/</span><span class="pl-s1">dev</span><span class="pl-c1">-</span><span class="pl-s1">python</span><span class="pl-c1">/</span><span class="pl-s1">celery</span><span class="pl-c1">-</span><span class="pl-c1">3.0</span>.<span class="pl-c1">18</span><span class="pl-c1">/</span><span class="pl-s1">work</span><span class="pl-c1">/</span><span class="pl-s1">celery</span><span class="pl-c1">-</span><span class="pl-c1">3.0</span>.<span class="pl-c1">18</span><span class="pl-c1">/</span><span class="pl-s1">celery</span><span class="pl-c1">/</span><span class="pl-s1">utils</span><span class="pl-c1">/</span><span class="pl-s1">__init__</span>.<span class="pl-s1">py</span>:<span class="pl-c1">72</span>: <span class="pl-v">CPendingDeprecationWarning</span>: <span class="pl-v">The</span> <span class="pl-s">'CELERY_REDIS_PORT'</span> <span class="pl-s1">setting</span> <span class="pl-c1">is</span> <span class="pl-s1">scheduled</span> <span class="pl-k">for</span> <span class="pl-s1">deprecation</span> <span class="pl-c1">in</span> <span class="pl-s1">version</span> <span class="pl-c1">2.5</span> <span class="pl-c1">and</span> <span class="pl-s1">removal</span> <span class="pl-c1">in</span> <span class="pl-s1">version</span> <span class="pl-s1">v4</span><span class="pl-c1">.0</span>. <span class="pl-v">Use</span> <span class="pl-v">URL</span> <span class="pl-s1">form</span> <span class="pl-s1">of</span> <span class="pl-v">CELERY_RESULT_BACKEND</span> <span class="pl-s1">instead</span> <span class="pl-s1">warnings</span>.<span class="pl-en">warn</span>(<span class="pl-s1">w</span>) <span class="pl-c1">/</span><span class="pl-s1">mnt</span><span class="pl-c1">/</span><span class="pl-s1">gen2</span><span class="pl-c1">/</span><span class="pl-v">TmpDir</span><span class="pl-c1">/</span><span class="pl-s1">portage</span><span class="pl-c1">/</span><span class="pl-s1">dev</span><span class="pl-c1">-</span><span class="pl-s1">python</span><span class="pl-c1">/</span><span class="pl-s1">celery</span><span class="pl-c1">-</span><span class="pl-c1">3.0</span>.<span class="pl-c1">18</span><span class="pl-c1">/</span><span class="pl-s1">work</span><span class="pl-c1">/</span><span class="pl-s1">celery</span><span class="pl-c1">-</span><span class="pl-c1">3.0</span>.<span class="pl-c1">18</span><span class="pl-c1">/</span><span class="pl-s1">celery</span><span class="pl-c1">/</span><span class="pl-s1">utils</span><span class="pl-c1">/</span><span class="pl-s1">__init__</span>.<span class="pl-s1">py</span>:<span class="pl-c1">72</span>: <span class="pl-v">CPendingDeprecationWarning</span>: <span class="pl-v">The</span> <span class="pl-s">'CELERY_REDIS_HOST'</span> <span class="pl-s1">setting</span> <span class="pl-c1">is</span> <span class="pl-s1">scheduled</span> <span class="pl-k">for</span> <span class="pl-s1">deprecation</span> <span class="pl-c1">in</span> <span class="pl-s1">version</span> <span class="pl-c1">2.5</span> <span class="pl-c1">and</span> <span class="pl-s1">removal</span> <span class="pl-c1">in</span> <span class="pl-s1">version</span> <span class="pl-s1">v4</span><span class="pl-c1">.0</span>. <span class="pl-v">Use</span> <span class="pl-v">URL</span> <span class="pl-s1">form</span> <span class="pl-s1">of</span> <span class="pl-v">CELERY_RESULT_BACKEND</span> <span class="pl-s1">instead</span> <span class="pl-s1">warnings</span>.<span class="pl-en">warn</span>(<span class="pl-s1">w</span>) ..............................<span class="pl-v">EE</span>...............................................................................................................................<span class="pl-v">S</span>.........................................................................<span class="pl-v">SSSSS</span>.........<span class="pl-v">S</span>............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... <span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span> <span class="pl-v">ERROR</span>: <span class="pl-en">test_get_connection_no_connection_host</span> (<span class="pl-s1">celery</span>.<span class="pl-s1">tests</span>.<span class="pl-s1">backends</span>.<span class="pl-s1">test_mongodb</span>.<span class="pl-s1">test_MongoBackend</span>) <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>): <span class="pl-v">File</span> <span class="pl-s">"/mnt/gen2/TmpDir/portage/dev-python/celery-3.0.18/work/celery-3.0.18/celery/tests/backends/test_mongodb.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">101</span>, <span class="pl-c1">in</span> <span class="pl-s1">test_get_connection_no_connection_host</span> <span class="pl-s1">connection</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">backend</span>.<span class="pl-en">_get_connection</span>() <span class="pl-v">File</span> <span class="pl-s">"/mnt/gen2/TmpDir/portage/dev-python/celery-3.0.18/work/celery-3.0.18/celery/backends/mongodb.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">107</span>, <span class="pl-c1">in</span> <span class="pl-s1">_get_connection</span> <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-en">dict</span>(<span class="pl-s1">kwargs</span>, <span class="pl-s1">self</span>.<span class="pl-s1">mongodb_options</span>) <span class="pl-v">TypeError</span>: <span class="pl-s1">dict</span> <span class="pl-s1">expected</span> <span class="pl-s1">at</span> <span class="pl-s1">most</span> <span class="pl-c1">1</span> <span class="pl-s1">arguments</span>, <span class="pl-s1">got</span> <span class="pl-c1">2</span> <span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span><span class="pl-c1">==</span> <span class="pl-v">ERROR</span>: <span class="pl-s1">test_get_connection_no_connection_mongodb_uri</span> (<span class="pl-s1">celery</span>.<span class="pl-s1">tests</span>.<span class="pl-s1">backends</span>.<span class="pl-s1">test_mongodb</span>.<span class="pl-s1">test_MongoBackend</span>) <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>): <span class="pl-v">File</span> <span class="pl-s">"/mnt/gen2/TmpDir/portage/dev-python/celery-3.0.18/work/celery-3.0.18/celery/tests/backends/test_mongodb.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">115</span>, <span class="pl-c1">in</span> <span class="pl-s1">test_get_connection_no_connection_mongodb_uri</span> <span class="pl-s1">connection</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">backend</span>.<span class="pl-en">_get_connection</span>() <span class="pl-v">File</span> <span class="pl-s">"/mnt/gen2/TmpDir/portage/dev-python/celery-3.0.18/work/celery-3.0.18/celery/backends/mongodb.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">107</span>, <span class="pl-c1">in</span> <span class="pl-s1">_get_connection</span> <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-en">dict</span>(<span class="pl-s1">kwargs</span>, <span class="pl-s1">self</span>.<span class="pl-s1">mongodb_options</span>) <span class="pl-v">TypeError</span>: <span class="pl-s1">dict</span> <span class="pl-s1">expected</span> <span class="pl-s1">at</span> <span class="pl-s1">most</span> <span class="pl-c1">1</span> <span class="pl-s1">arguments</span>, <span class="pl-s1">got</span> <span class="pl-c1">2</span> <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">Ran</span> <span class="pl-c1">1328</span> <span class="pl-s1">tests</span> <span class="pl-c1">in</span> <span class="pl-c1">41.729</span><span class="pl-s1">s</span> <span class="pl-v">FAILED</span> (<span class="pl-v">SKIP</span><span class="pl-c1">=</span><span class="pl-c1">7</span>, <span class="pl-s1">errors</span><span class="pl-c1">=</span><span class="pl-c1">2</span>)</pre></div> <p dir="auto">spawned by <a href="https://bugs.gentoo.org/show_bug.cgi?id=466050" rel="nofollow">https://bugs.gentoo.org/show_bug.cgi?id=466050</a></p> <p dir="auto">tests citing a backend of mongodb make me baulk. Does this suggest it's not connecting to a system or sub-shell sparked up mongodb process???</p>
<p dir="auto">Hello! I have problem I used celery with redis to send sms reminder, But now celery alway send me 2 sms/task. <code class="notranslate">(INFO/ForkPoolWorker-1, INFO/ForkPoolWorker-2)</code>, Celery can't revoke task and it alway discard task like this</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70]"><pre class="notranslate"><code class="notranslate">discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] </code></pre></div> <p dir="auto">When it can't revoke task the <code class="notranslate">INFO/ForkPoolWorker-1</code>, <code class="notranslate">INFO/ForkPoolWorker-2</code> alway ran the same task. So it send me 2 sms.</p> <h2 dir="auto">Checklist</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" 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><code class="notranslate">celery==4.1.0</code></li> </ul> <h2 dir="auto">Steps to reproduce</h2> <h2 dir="auto">Expected behavior</h2> <p dir="auto">Run only one task.</p> <h2 dir="auto">Actual behavior</h2> <p dir="auto">This logs I don't know how to explain this problem.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="celery_1 | [2017-09-17 09:00:01,461: INFO/MainProcess] Tasks flagged as revoked: e94ae261-91e4-4cd4-96e2-e00fce4e40e9 celery_1 | [2017-09-17 09:00:01,470: INFO/ForkPoolWorker-2] Task patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] succeeded in 0.4674046079162508s: 'sms appointment_id: 119' celery_1 | [2017-09-17 09:00:01,471: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:01,472: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:01,472: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:01,473: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:01,712: INFO/MainProcess] Tasks flagged as revoked: e94ae261-91e4-4cd4-96e2-e00fce4e40e9 celery_1 | [2017-09-17 09:00:01,718: INFO/ForkPoolWorker-1] Task patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] succeeded in 0.7128307099919766s: 'sms appointment_id: 119' celery_1 | [2017-09-17 09:00:01,721: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:01,721: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,051: INFO/MainProcess] Tasks flagged as revoked: dfc7c761-7ab4-47c3-a820-b793d277ed70 celery_1 | [2017-09-17 09:00:02,060: INFO/ForkPoolWorker-2] Task patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] succeeded in 0.5810814599972218s: 'sms appointment_id: 118' celery_1 | [2017-09-17 09:00:02,061: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,062: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,062: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,063: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,063: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,063: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,064: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,065: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,065: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,065: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,066: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,066: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,066: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,067: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,067: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,067: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,069: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,069: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,069: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,070: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,070: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,070: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,071: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,071: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,071: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,072: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,072: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,072: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,074: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,074: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,075: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,075: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,075: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,076: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,076: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,076: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,077: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,077: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,077: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,078: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,078: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,078: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,079: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,079: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,079: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,080: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,080: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,080: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,081: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,081: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,081: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,082: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,082: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,082: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,083: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,083: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,083: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,083: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,085: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,086: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,086: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,086: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,086: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,087: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,087: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,087: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,087: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,088: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,088: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,088: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,088: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,089: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,089: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,089: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,089: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,090: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,090: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,090: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,090: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,091: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,091: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,091: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,091: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,091: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,092: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,092: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,092: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,092: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,093: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,093: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,093: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,093: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,094: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,094: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,094: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,094: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,094: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,095: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,095: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,095: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,095: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,096: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,096: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,096: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,097: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,097: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,097: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,098: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,098: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,098: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,098: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,099: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,099: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,100: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,100: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,105: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,106: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,107: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,107: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,107: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,108: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,108: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,108: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,108: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,109: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,109: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,110: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,110: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,110: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,111: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,111: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,111: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,112: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,112: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,112: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,113: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,113: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,113: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,113: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,113: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,162: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,163: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,163: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,163: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,164: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,164: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,164: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,165: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,165: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,165: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,193: INFO/MainProcess] Tasks flagged as revoked: dfc7c761-7ab4-47c3-a820-b793d277ed70 celery_1 | [2017-09-17 09:00:02,198: INFO/ForkPoolWorker-1] Task patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] succeeded in 0.47451397380791605s: 'sms appointment_id: 118'"><pre class="notranslate"><code class="notranslate">celery_1 | [2017-09-17 09:00:01,461: INFO/MainProcess] Tasks flagged as revoked: e94ae261-91e4-4cd4-96e2-e00fce4e40e9 celery_1 | [2017-09-17 09:00:01,470: INFO/ForkPoolWorker-2] Task patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] succeeded in 0.4674046079162508s: 'sms appointment_id: 119' celery_1 | [2017-09-17 09:00:01,471: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:01,472: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:01,472: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:01,473: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:01,712: INFO/MainProcess] Tasks flagged as revoked: e94ae261-91e4-4cd4-96e2-e00fce4e40e9 celery_1 | [2017-09-17 09:00:01,718: INFO/ForkPoolWorker-1] Task patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] succeeded in 0.7128307099919766s: 'sms appointment_id: 119' celery_1 | [2017-09-17 09:00:01,721: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:01,721: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,051: INFO/MainProcess] Tasks flagged as revoked: dfc7c761-7ab4-47c3-a820-b793d277ed70 celery_1 | [2017-09-17 09:00:02,060: INFO/ForkPoolWorker-2] Task patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] succeeded in 0.5810814599972218s: 'sms appointment_id: 118' celery_1 | [2017-09-17 09:00:02,061: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,062: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,062: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,063: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,063: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,063: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,064: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,065: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,065: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,065: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,066: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,066: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,066: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,067: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,067: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,067: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,069: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,069: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,069: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,070: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,070: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,070: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,071: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,071: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,071: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,072: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,072: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,072: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,074: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,074: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,075: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,075: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,075: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,076: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,076: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,076: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,077: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,077: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,077: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,078: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,078: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,078: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,079: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,079: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,079: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,080: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,080: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,080: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,081: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,081: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,081: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,082: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,082: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,082: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,083: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,083: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,083: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,083: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,085: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,086: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,086: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,086: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,086: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,087: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,087: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,087: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,087: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,088: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,088: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,088: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,088: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,089: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,089: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,089: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,089: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,090: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,090: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,090: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,090: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,091: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,091: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,091: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,091: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,091: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,092: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,092: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,092: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,092: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,093: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,093: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,093: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,093: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,094: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,094: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,094: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,094: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,094: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,095: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,095: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,095: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,095: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,096: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,096: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,096: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,097: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,097: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,097: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,098: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,098: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,098: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,098: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,099: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,099: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,100: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,100: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,105: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,106: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,107: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,107: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,107: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,108: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,108: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,108: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,108: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,109: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,109: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,110: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,110: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,110: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,111: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,111: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,111: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,112: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,112: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,112: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,113: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,113: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,113: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,113: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,113: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,162: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,163: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,163: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,163: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,164: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,164: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,164: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,165: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,165: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] celery_1 | [2017-09-17 09:00:02,165: INFO/MainProcess] Discarding revoked task: patient.tasks.send_sms_reminder[e94ae261-91e4-4cd4-96e2-e00fce4e40e9] celery_1 | [2017-09-17 09:00:02,193: INFO/MainProcess] Tasks flagged as revoked: dfc7c761-7ab4-47c3-a820-b793d277ed70 celery_1 | [2017-09-17 09:00:02,198: INFO/ForkPoolWorker-1] Task patient.tasks.send_sms_reminder[dfc7c761-7ab4-47c3-a820-b793d277ed70] succeeded in 0.47451397380791605s: 'sms appointment_id: 118' </code></pre></div>
0
<p dir="auto">The descenders of letters are cut off in <code class="notranslate">TextField</code> when viewed in Firefox:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5354752/32858022-fa046710-ca17-11e7-9601-232d14f1b7d9.png"><img width="200" alt="image" src="https://user-images.githubusercontent.com/5354752/32858022-fa046710-ca17-11e7-9601-232d14f1b7d9.png" style="max-width: 100%;"></a><br> (screenshot taken on the <a href="https://material-ui-next.com/demos/text-fields/" rel="nofollow">Text Fields demo page</a>)</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Letters should not be cut off in input fields.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Letters with descenders are cut off in input fields (in Firefox, not in Chrome).</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>Type <code class="notranslate">jjyyqqpp</code> in a Material-UI text field in Firefox.</li> <li>Observe that the bottoms of the letters are cut off.</li> </ol> <h2 dir="auto">Context</h2> <p dir="auto"><a href="https://stackoverflow.com/questions/9900018/why-is-firefox-cutting-off-the-text-in-my-input-type-text" rel="nofollow">This StackOverflow question/answer</a> suggest changing the height of the input to match its line height. I see that the computed <code class="notranslate">line-height</code> is <code class="notranslate">21.5px</code>, so I changed my input's <code class="notranslate">height</code> to <code class="notranslate">21.5px</code> and it fixed the problem. I doubt that this is any more than a hack, though.</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>1.0.0-beta.20</td> </tr> <tr> <td>React</td> <td>16.1.0</td> </tr> <tr> <td>browser</td> <td>Firefox 57.0</td> </tr> <tr> <td>OS</td> <td>MacOS 10.13.1</td> </tr> </tbody> </table>
<p dir="auto">The latest release of Material-UI (v1.0.0-beta.9) doesn't render correctly.</p> <blockquote> <p dir="auto">Error in ./node_modules/material-ui/Chip/Chip.js<br> Module not found: Can't resolve '../svg-icons/Cancel'</p> </blockquote> <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 material-ui page should compile correctly.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Compiling a component using Chip throws and error.</p> <blockquote> <p dir="auto">Error in ./node_modules/material-ui/Chip/Chip.js<br> Module not found: Can't resolve '../svg-icons/Cancel'</p> </blockquote> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>Add Chip component to page</li> <li>Start app</li> <li>Exception is thrown</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.9</td> </tr> <tr> <td>React</td> <td>15.4.2</td> </tr> <tr> <td>browser</td> <td>Chrome</td> </tr> </tbody> </table>
0
<p dir="auto"><strong>Steps to reproduce and a minimal demo of the problem</strong></p> <p dir="auto">create a new A2RC1 app with angular-cli:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ng new blah cd blah npm start"><pre class="notranslate"><code class="notranslate">ng new blah cd blah npm start </code></pre></div> <p dir="auto">load the page with your dev tools open and observe that it submits over 290 xhr requests at startup. beta-14 (from which we just upgraded) loads about 40.</p> <p dir="auto"><strong>Current behavior</strong></p> <p dir="auto">more than 290 requests. (&gt;600 once our 20-30 client-side classes are added)</p> <p dir="auto">Many of these requests are duplicated, e.g. exception_handler.js, base_wrapped_exception.js, and collection.js.</p> <p dir="auto"><strong>Expected/desired behavior</strong></p> <p dir="auto"><em>Far</em> fewer requests.</p> <p dir="auto"><strong>Other information</strong></p> <p dir="auto">This many requests is going to KILL us at roll-out time.</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">The <code class="notranslate">'**'</code> catch-all definition lazily loads the module, however it does not properly handle the child routes.</p> <p dir="auto"><strong>Expected behavior</strong></p> <p dir="auto">Lazy load the module and properly handle all the child routes. The catch-all <code class="notranslate">'**'</code> lazily loaded module could either define more <code class="notranslate">'**'</code> catch-all's with other lazy loaded modules or it could of course also have it's own <code class="notranslate">'**'</code> catch-all to just a component to show a not found component if desired.</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p> <p dir="auto">This SO post describes the issue:<br> <a href="http://stackoverflow.com/questions/40276372/angular-router-wildcard-as-a-catch-all-with-child-routes-using-latest-2-4" rel="nofollow">http://stackoverflow.com/questions/40276372/angular-router-wildcard-as-a-catch-all-with-child-routes-using-latest-2-4</a></p> <p dir="auto">This plunkr demonstrates the issue:<br> <a href="https://plnkr.co/edit/QfXx5KJGfhMskIldA0AA?p=preview" rel="nofollow">https://plnkr.co/edit/QfXx5KJGfhMskIldA0AA?p=preview</a></p> <p dir="auto">If you open the console, you will see <code class="notranslate">created [NameComponent]</code> for each link you click on <em>except</em> the 'whatever' link which lazily loads the <code class="notranslate">AnythingModule</code>.</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p> <p dir="auto">More flexible routing setups.</p> <p dir="auto"><strong>Please tell us about your environment:</strong></p> <p dir="auto">Mac os Sierra</p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.X</li> </ul> <p dir="auto">Angular <code class="notranslate">2.4.0</code>, Router: <code class="notranslate">3.4.1</code></p> <ul dir="auto"> <li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]</li> </ul> <p dir="auto">All</p> <ul dir="auto"> <li><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]</li> </ul> <p dir="auto">TypeScript</p> <ul dir="auto"> <li><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =</li> </ul> <p dir="auto">Node <code class="notranslate">6.9.1</code>, npm <code class="notranslate">3.10.1</code></p> <p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zoechi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zoechi">@zoechi</a> since he had helped initially with the SO post. Thank you!</p>
0
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ ] bug report =&gt; search github for a similar issue or PR before submitting [x] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[ ] bug report =&gt; search github for a similar issue or PR before submitting [x] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question </code></pre></div> <p dir="auto">Can you give us insights on Angular Universal (is it merged yet?), will it be updated and part of the 2.4 release?</p>
<p dir="auto">Create platform-node inside this repository, to be consumed by Angular Universal and other packages that would rely on platform-node. By having it inside this repository, the package will be tested and updated alongside the core, and will be maintained by the core team.</p> <p dir="auto">The API should be generally compatible with the existing <code class="notranslate">[platform-node](https://github.com/angular/universal/tree/master/modules/platform-node)</code> inside the angular/universal repository so that Universal would ideally be able to just change its dependency to point at the <code class="notranslate">@angular/platform-node</code> npm package.</p> <p dir="auto">CC: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jeffwhelpley/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jeffwhelpley">@jeffwhelpley</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gdi2290/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gdi2290">@gdi2290</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/IgorMinar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/IgorMinar">@IgorMinar</a></p>
1
<ul dir="auto"> <li>VSCode Version: 1.0.0</li> </ul> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1449826/14949863/b48dcbde-104d-11e6-983e-c9a0ad4ee2c3.png"><img src="https://cloud.githubusercontent.com/assets/1449826/14949863/b48dcbde-104d-11e6-983e-c9a0ad4ee2c3.png" alt="screenshot" style="max-width: 100%;"></a></p> <p dir="auto">I use multiple variable declaration in JavaScript, but only the first variable declaration is highlighted as a variable declaration, the rest of them are in the default variable color.</p>
<p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vsccarl/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vsccarl">@vsccarl</a> on March 10, 2016 1:2</em></p> <p dir="auto">When defining multiple var in JavaScript the colorization is not working properly after the first defined variable if they are on separate lines.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12900364/13656001/3a3e5a38-e618-11e5-8e29-f01b87bf83cc.JPG"><img src="https://cloud.githubusercontent.com/assets/12900364/13656001/3a3e5a38-e618-11e5-8e29-f01b87bf83cc.JPG" alt="varcolor" style="max-width: 100%;"></a><br> <code class="notranslate">var wm1 = new WeakMap(), wm2 = new WeakMap(), wm3 = new WeakMap();</code></p> <p dir="auto">On the same line they are correctly colorized<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12900364/13656046/80e0f5f4-e618-11e5-82a2-f729c81ce286.JPG"><img src="https://cloud.githubusercontent.com/assets/12900364/13656046/80e0f5f4-e618-11e5-82a2-f729c81ce286.JPG" alt="varcolorworking" style="max-width: 100%;"></a></p> <p dir="auto">Expected: wm2 and wm3 should be the same color as wm1 regardless of the line they are on.</p> <p dir="auto">Version 0.10.12-alpha<br> Commit e8d5a7932b99f6b7559d48536bfc84732bfc8582<br> Date 2016-03-09T09:53:18.387Z<br> Shell 0.35.6<br> Renderer 45.0.2454.85<br> Node 4.1.1</p> <p dir="auto"><em>Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="139750442" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/3940" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/3940/hovercard" href="https://github.com/microsoft/vscode/issues/3940">microsoft/vscode#3940</a></em></p>
1
<p dir="auto">When you are typing on iOS, every time you hit a character the cursor is supposed to stop blinking. In a Flutter app, the cursor keeps blinking while you are typing, which is extremely distracting and a tad bit disconcerting as you can momentarily lose track of the text that is being inserted. (Interestingly, if you backspace the Flutter cursor does reset: it is only incorrect when taking forward motion.)</p>
<p dir="auto">The text cursor should temporarily stop blinking when typing, hitting backspace (especially noticeable when holding down the backspace key), or when moving the text cursor.</p> <p dir="auto">With the current behavior, the text cursor keeps blinking, which makes it sometimes hard to see which character in the text is being edited.</p> <h2 dir="auto">Steps to Reproduce</h2> <p dir="auto">Open a random text field and start typing away</p> <h2 dir="auto">Logs</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel master, v0.5.3-pre.2, on Mac OS X 10.13.4 17E202, locale en-US) • Flutter version 0.5.3-pre.2 at /Users/vik/Projects/flutter • Framework revision c53245c61d (11 days ago), 2018-06-06 22:57:26 -0700 • Engine revision fca976d8c7 • Dart version 2.0.0-dev.60.0.flutter-a5e41681e5 [!] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at /Users/vik/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) ✗ Android license status unknown. [✓] 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.0) • Android Studio at /Applications/Android Studio.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality. • Dart plugin version 171.4424 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [✓] Android Studio (version 2.3) • Android Studio at /Applications/Android Studio - old.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] IntelliJ IDEA Community Edition (version 2017.2.5) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 21.2.2 • Dart plugin version 172.4343.25 [✓] Connected devices (1 available) • Nexus 5X • 01023965355db590 • android-arm64 • Android 6.0 (API 23)"><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel master, v0.5.3-pre.2, on Mac OS X 10.13.4 17E202, locale en-US) • Flutter version 0.5.3-pre.2 at /Users/vik/Projects/flutter • Framework revision c53245c61d (11 days ago), 2018-06-06 22:57:26 -0700 • Engine revision fca976d8c7 • Dart version 2.0.0-dev.60.0.flutter-a5e41681e5 [!] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at /Users/vik/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) ✗ Android license status unknown. [✓] 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.0) • Android Studio at /Applications/Android Studio.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality. • Dart plugin version 171.4424 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [✓] Android Studio (version 2.3) • Android Studio at /Applications/Android Studio - old.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] IntelliJ IDEA Community Edition (version 2017.2.5) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 21.2.2 • Dart plugin version 172.4343.25 [✓] Connected devices (1 available) • Nexus 5X • 01023965355db590 • android-arm64 • Android 6.0 (API 23) </code></pre></div>
1
<p dir="auto">Hi folks,</p> <p dir="auto">Currently in Theano I am using images2neibs to partition the image in smaller patches embedded in the architecture (an online step). However, in PyTorch, at first sight, no information regarding this feature is available.</p> <p dir="auto">Cheers</p>
<p dir="auto">Would be good to have N-dimensional convolution and separate im2col-col2im ops, like in caffe: <a href="https://github.com/BVLC/caffe/blob/master/src/caffe/util/im2col.cu">https://github.com/BVLC/caffe/blob/master/src/caffe/util/im2col.cu</a></p>
1
<p dir="auto">Minimal example:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np from sklearn.model_selection import cross_val_score, GridSearchCV from sklearn.base import ClassifierMixin, BaseEstimator class Dummy(ClassifierMixin, BaseEstimator): def __init__(self, answer=1): self.answer = answer def fit(self, X, y=None): return self def predict(self, X): return np.ones(X.shape[0], dtype='int') * self.answer n_samples, n_features = 500, 8 X = np.random.randn(n_samples, n_features) y = np.random.randint(0, 2, n_samples) dummy = Dummy() gcv = GridSearchCV(dummy, {'answer': [0, 1]}, cv=5, iid=False, n_jobs=1) cross_val_score(gcv, X, y, cv=5, n_jobs=5) # BrokenProcessPool: A task has failed to un-serialize. # Please ensure that the arguments of the function are all picklable."><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">model_selection</span> <span class="pl-k">import</span> <span class="pl-s1">cross_val_score</span>, <span class="pl-v">GridSearchCV</span> <span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">base</span> <span class="pl-k">import</span> <span class="pl-v">ClassifierMixin</span>, <span class="pl-v">BaseEstimator</span> <span class="pl-k">class</span> <span class="pl-v">Dummy</span>(<span class="pl-v">ClassifierMixin</span>, <span class="pl-v">BaseEstimator</span>): <span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">answer</span><span class="pl-c1">=</span><span class="pl-c1">1</span>): <span class="pl-s1">self</span>.<span class="pl-s1">answer</span> <span class="pl-c1">=</span> <span class="pl-s1">answer</span> <span class="pl-k">def</span> <span class="pl-en">fit</span>(<span class="pl-s1">self</span>, <span class="pl-v">X</span>, <span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-c1">None</span>): <span class="pl-k">return</span> <span class="pl-s1">self</span> <span class="pl-k">def</span> <span class="pl-en">predict</span>(<span class="pl-s1">self</span>, <span class="pl-v">X</span>): <span class="pl-k">return</span> <span class="pl-s1">np</span>.<span class="pl-en">ones</span>(<span class="pl-v">X</span>.<span class="pl-s1">shape</span>[<span class="pl-c1">0</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'int'</span>) <span class="pl-c1">*</span> <span class="pl-s1">self</span>.<span class="pl-s1">answer</span> <span class="pl-s1">n_samples</span>, <span class="pl-s1">n_features</span> <span class="pl-c1">=</span> <span class="pl-c1">500</span>, <span class="pl-c1">8</span> <span class="pl-v">X</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randn</span>(<span class="pl-s1">n_samples</span>, <span class="pl-s1">n_features</span>) <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randint</span>(<span class="pl-c1">0</span>, <span class="pl-c1">2</span>, <span class="pl-s1">n_samples</span>) <span class="pl-s1">dummy</span> <span class="pl-c1">=</span> <span class="pl-v">Dummy</span>() <span class="pl-s1">gcv</span> <span class="pl-c1">=</span> <span class="pl-v">GridSearchCV</span>(<span class="pl-s1">dummy</span>, {<span class="pl-s">'answer'</span>: [<span class="pl-c1">0</span>, <span class="pl-c1">1</span>]}, <span class="pl-s1">cv</span><span class="pl-c1">=</span><span class="pl-c1">5</span>, <span class="pl-s1">iid</span><span class="pl-c1">=</span><span class="pl-c1">False</span>, <span class="pl-s1">n_jobs</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-en">cross_val_score</span>(<span class="pl-s1">gcv</span>, <span class="pl-v">X</span>, <span class="pl-s1">y</span>, <span class="pl-s1">cv</span><span class="pl-c1">=</span><span class="pl-c1">5</span>, <span class="pl-s1">n_jobs</span><span class="pl-c1">=</span><span class="pl-c1">5</span>) <span class="pl-c"># BrokenProcessPool: A task has failed to un-serialize.</span> <span class="pl-c"># Please ensure that the arguments of the function are all picklable.</span></pre></div> <p dir="auto">Full traceback in details.</p> <p dir="auto">Interestingly, it does not fail when:</p> <ul dir="auto"> <li>calling <code class="notranslate">cross_val_score</code> with <code class="notranslate">n_jobs=1</code>.</li> <li>calling <code class="notranslate">cross_val_score</code> directly on <code class="notranslate">dummy</code>, without <code class="notranslate">GridSearchCV</code>.</li> <li>using a imported classifier, as <code class="notranslate">LogisticRegression</code>, or even the same <code class="notranslate">Dummy</code> custom classifier but imported from another file.</li> </ul> <p dir="auto">This is a joblib 0.12 issue, different from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="366882492" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/12289" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/12289/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/12289">#12289</a> or <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="370340698" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/12389" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/12389/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/12389">#12389</a>. <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ogrisel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ogrisel">@ogrisel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tomMoral/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomMoral">@tomMoral</a></p> <details> <div class="highlight highlight-text-python-traceback notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;/cal/homes/tdupre/work/src/joblib/joblib/externals/loky/process_executor.py&quot;, line 393, in _process_worker call_item = call_queue.get(block=True, timeout=timeout) File &quot;/cal/homes/tdupre/miniconda3/envs/py36/lib/python3.6/multiprocessing/queues.py&quot;, line 113, in get return _ForkingPickler.loads(res) AttributeError: Can't get attribute 'Dummy' on &lt;module 'sklearn.externals.joblib.externals.loky.backend.popen_loky_posix' from '/cal/homes/tdupre/work/src/scikit-learn/sklearn/externals/joblib/externals/loky/backend/popen_loky_posix.py'&gt; ''' The above exception was the direct cause of the following exception: BrokenProcessPool Traceback (most recent call last) ~/work/src/script_csc/condition_effect/test.py in &lt;module&gt;() 32 33 # fails ---&gt; 34 cross_val_score(gcv, X, y, cv=5, n_jobs=5) 35 &quot;&quot;&quot; 36 BrokenProcessPool: A task has failed to un-serialize. ~/work/src/scikit-learn/sklearn/model_selection/_validation.py in cross_val_score(estimator, X, y, groups, scoring, cv, n_jobs, verbose, fit_params, pre_dispatch, error_score) 384 fit_params=fit_params, 385 pre_dispatch=pre_dispatch, --&gt; 386 error_score=error_score) 387 return cv_results['test_score'] 388 ~/work/src/scikit-learn/sklearn/model_selection/_validation.py in cross_validate(estimator, X, y, groups, scoring, cv, n_jobs, verbose, fit_params, pre_dispatch, return_train_score, return_estimator, error_score) 232 return_times=True, return_estimator=return_estimator, 233 error_score=error_score) --&gt; 234 for train, test in cv.split(X, y, groups)) 235 236 zipped_scores = list(zip(*scores)) ~/work/src/joblib/joblib/parallel.py in __call__(self, iterable) 996 997 with self._backend.retrieval_context(): --&gt; 998 self.retrieve() 999 # Make sure that we get a last message telling us we are done 1000 elapsed_time = time.time() - self._start_time ~/work/src/joblib/joblib/parallel.py in retrieve(self) 899 try: 900 if getattr(self._backend, 'supports_timeout', False): --&gt; 901 self._output.extend(job.get(timeout=self.timeout)) 902 else: 903 self._output.extend(job.get()) ~/work/src/joblib/joblib/_parallel_backends.py in wrap_future_result(future, timeout) 519 AsyncResults.get from multiprocessing.&quot;&quot;&quot; 520 try: --&gt; 521 return future.result(timeout=timeout) 522 except LokyTimeoutError: 523 raise TimeoutError() ~/miniconda3/envs/py36/lib/python3.6/concurrent/futures/_base.py in result(self, timeout) 403 raise CancelledError() 404 elif self._state == FINISHED: --&gt; 405 return self.__get_result() 406 else: 407 raise TimeoutError() ~/miniconda3/envs/py36/lib/python3.6/concurrent/futures/_base.py in __get_result(self) 355 def __get_result(self): 356 if self._exception: --&gt; 357 raise self._exception 358 else: 359 return self._result BrokenProcessPool: A task has failed to un-serialize. Please ensure that the arguments of the function are all picklable."><pre class="notranslate">Traceback (most recent call last): File <span class="pl-s">"/cal/homes/tdupre/work/src/joblib/joblib/externals/loky/process_executor.py"</span>, line <span class="pl-c1">393</span>, in <span class="pl-en">_process_worker</span> call_item <span class="pl-k">=</span> call_queue.get(<span class="pl-v">block</span><span class="pl-k">=</span><span class="pl-c1">True</span>, <span class="pl-v">timeout</span><span class="pl-k">=</span>timeout) File <span class="pl-s">"/cal/homes/tdupre/miniconda3/envs/py36/lib/python3.6/multiprocessing/queues.py"</span>, line <span class="pl-c1">113</span>, in <span class="pl-en">get</span> <span class="pl-k">return</span> _ForkingPickler.loads(res) <span class="pl-en">AttributeError</span>: <span class="pl-s">Can't get attribute 'Dummy' on &lt;module 'sklearn.externals.joblib.externals.loky.backend.popen_loky_posix' from '/cal/homes/tdupre/work/src/scikit-learn/sklearn/externals/joblib/externals/loky/backend/popen_loky_posix.py'&gt;</span> ''' The above exception was the direct cause of the following exception: BrokenProcessPool Traceback (most recent call last) ~/work/src/script_csc/condition_effect/test.py in &lt;module&gt;() <span class="pl-c1">32</span> <span class="pl-c1">33</span> <span class="pl-c"><span class="pl-c">#</span> fails</span> ---&gt; 34 cross_val_score(gcv, X, y, cv=5, n_jobs=5) <span class="pl-c1">35</span> <span class="pl-s"><span class="pl-pds">"""</span></span> <span class="pl-c1">36</span> BrokenProcessPool: A task has failed to un<span class="pl-k">-</span>serialize. ~/work/src/scikit-learn/sklearn/model_selection/_validation.py in cross_val_score(estimator, X, y, groups, scoring, cv, n_jobs, verbose, fit_params, pre_dispatch, error_score) <span class="pl-c1">384</span> fit_params<span class="pl-k">=</span>fit_params, <span class="pl-c1">385</span> pre_dispatch<span class="pl-k">=</span>pre_dispatch, --&gt; 386 error_score=error_score) <span class="pl-c1">387</span> <span class="pl-k">return</span> cv_results[<span class="pl-s"><span class="pl-pds">'</span>test_score<span class="pl-pds">'</span></span>] <span class="pl-c1">388</span> ~/work/src/scikit-learn/sklearn/model_selection/_validation.py in cross_validate(estimator, X, y, groups, scoring, cv, n_jobs, verbose, fit_params, pre_dispatch, return_train_score, return_estimator, error_score) <span class="pl-c1">232</span> return_times<span class="pl-k">=</span><span class="pl-c1">True</span>, return_estimator<span class="pl-k">=</span>return_estimator, <span class="pl-c1">233</span> error_score<span class="pl-k">=</span>error_score) --&gt; 234 for train, test in cv.split(X, y, groups)) <span class="pl-c1">235</span> <span class="pl-c1">236</span> zipped_scores <span class="pl-k">=</span> <span class="pl-c1">list</span>(<span class="pl-c1">zip</span>(<span class="pl-k">*</span>scores)) ~/work/src/joblib/joblib/parallel.py in __call__(self, iterable) <span class="pl-c1">996</span> <span class="pl-c1">997</span> <span class="pl-k">with</span> <span class="pl-c1">self</span>._backend.retrieval_context(): --&gt; 998 self.retrieve() <span class="pl-c1">999</span> <span class="pl-c"><span class="pl-c">#</span> Make sure that we get a last message telling us we are done</span> 1000 elapsed_time = time.time() - self._start_time ~/work/src/joblib/joblib/parallel.py in retrieve(self) <span class="pl-c1">899</span> <span class="pl-k">try</span>: <span class="pl-c1">900</span> <span class="pl-k">if</span> <span class="pl-c1">getattr</span>(<span class="pl-c1">self</span>._backend, <span class="pl-s"><span class="pl-pds">'</span>supports_timeout<span class="pl-pds">'</span></span>, <span class="pl-c1">False</span>): --&gt; 901 self._output.extend(job.get(timeout=self.timeout)) <span class="pl-c1">902</span> <span class="pl-k">else</span>: <span class="pl-c1">903</span> <span class="pl-c1">self</span>._output.extend(job.get()) ~/work/src/joblib/joblib/_parallel_backends.py in wrap_future_result(future, timeout) <span class="pl-c1">519</span> AsyncResults.get <span class="pl-k">from</span> multiprocessing.<span class="pl-s"><span class="pl-pds">"""</span></span> <span class="pl-c1">520</span> <span class="pl-k">try</span>: --&gt; 521 return future.result(timeout=timeout) <span class="pl-c1">522</span> <span class="pl-k">except</span> LokyTimeoutError: <span class="pl-c1">523</span> <span class="pl-k">raise</span> <span class="pl-c1">TimeoutError</span>() ~/miniconda3/envs/py36/lib/python3.6/concurrent/futures/_base.py in result(self, timeout) <span class="pl-c1">403</span> <span class="pl-k">raise</span> CancelledError() <span class="pl-c1">404</span> <span class="pl-k">elif</span> <span class="pl-c1">self</span>._state <span class="pl-k">==</span> <span class="pl-c1">FINISHED</span>: --&gt; 405 return self.__get_result() <span class="pl-c1">406</span> <span class="pl-k">else</span>: <span class="pl-c1">407</span> <span class="pl-k">raise</span> <span class="pl-c1">TimeoutError</span>() ~/miniconda3/envs/py36/lib/python3.6/concurrent/futures/_base.py in __get_result(self) <span class="pl-c1">355</span> <span class="pl-k">def</span> <span class="pl-en">__get_result</span>(<span class="pl-smi"><span class="pl-smi">self</span></span>): <span class="pl-c1">356</span> <span class="pl-k">if</span> <span class="pl-c1">self</span>._exception: --&gt; 357 raise self._exception <span class="pl-c1">358</span> <span class="pl-k">else</span>: <span class="pl-c1">359</span> <span class="pl-k">return</span> <span class="pl-c1">self</span>._result <span class="pl-en">BrokenProcessPool</span>: <span class="pl-s">A task has failed to un-serialize. Please ensure that the arguments of the function are all picklable.</span></pre></div></details>
<p dir="auto">I'm sure this has been proposed before, but I haven't been able to find a duplicate issue. Anyways, the idea is to enable <code class="notranslate">StratifiedKFold</code> in <code class="notranslate">model_selection</code> to handle multilabel (multiclass with non-mututally exclusive categories) data. If the number of labels is small, then ordinary stratified sampling on all possible combinations should work, otherwise one consideration might be to use the iterative approach suggested in <a href="http://lpis.csd.auth.gr/publications/sechidis-ecmlpkdd-2011.pdf" rel="nofollow">http://lpis.csd.auth.gr/publications/sechidis-ecmlpkdd-2011.pdf</a>.</p>
0
<p dir="auto">Describe what you were doing when the bug occurred:<br> 1.<br> 2.<br> 3.</p> <hr> <h2 dir="auto">Please do not remove the text below this line</h2> <p dir="auto">DevTools version: 4.2.1-3816ae7c3</p> <p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157108<br> at Map.forEach ()<br> at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157054)<br> at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157577)<br> at vl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:314907)<br> at gi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:59907)<br> at jl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:107381)<br> at Lc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92715)<br> at Pc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92640)<br> at wc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:89544)</p> <p dir="auto">Component stack: in vl<br> in div<br> in div<br> in div<br> in wo<br> in Unknown<br> in n<br> in Unknown<br> in div<br> in div<br> in Li<br> in $e<br> in dn<br> in Ca<br> in Pc</p>
<p dir="auto">PLEASE INCLUDE REPRO INSTRUCTIONS AND EXAMPLE CODE</p> <p dir="auto">I got this error when I click 'Ranked'.</p> <hr> <h2 dir="auto">Please do not remove the text below this line</h2> <p dir="auto">DevTools version: 4.0.4-3c6a219</p> <p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11441<br> at Map.forEach ()<br> at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11387)<br> at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11920)<br> at _i (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:277123)<br> at Ha (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:55890)<br> at Xl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:98280)<br> at Hl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:84255)<br> at Fl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:81285)<br> at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:25363</p> <p dir="auto">Component stack: in _i<br> in div<br> in div<br> in div<br> in Or<br> in Unknown<br> in n<br> in Unknown<br> in div<br> in div<br> in Ha<br> in le<br> in ve<br> in ko<br> in Ul</p>
1
<p dir="auto">For some inputs which have a step change, scipy.interpolate.interp1d returns incorrect values.</p> <p dir="auto">The conditions for this to happen are:</p> <ol dir="auto"> <li>The same x value should be present twice in the input with different y values, and</li> <li>Some random property of the input: if it happens for a certain input, it will always happen, but it may not happen for a subset of the input which includes the problem values</li> </ol> <p dir="auto">The problem appears to be that the order of the y values as used is swapped versus what is in the input; similar to what might happen if the x and y values are sorted using an unstable sort (ie: non-order-preserving for equal inputs).</p> <h4 dir="auto">Reproducing code example:</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np import scipy.interpolate x, y = (np.array([0.00000000e+00, 8.81834215e-05, 1.23456790e-03, 1.23456790e-03, 2.29276896e-03, 2.29276896e-03, 2.55731922e-03, 2.55731922e-03, 2.91005291e-03, 2.91005291e-03, 5.02645503e-03, 5.02645503e-03, 5.11463845e-03, 5.11463845e-03, 2.40740741e-02, 2.40740741e-02, 2.54850088e-02, 2.54850088e-02, 2.91005291e-02, 2.91005291e-02, 3.08641975e-02, 3.08641975e-02, 5.41446208e-02, 5.41446208e-02, 5.91710758e-02, 5.91710758e-02, 7.87477954e-02, 7.87477954e-02, 9.88536155e-02, 9.88536155e-02, 1.16666667e-01, 1.16666667e-01, 1.72927690e-01, 1.72927690e-01, 6.92151675e-01, 6.92151675e-01, 8.38447972e-01, 8.38447972e-01, 1.00000000e+00]), np.array([0. , 0. , 0. , 0.05555556, 0.05555556, 0.11111111, 0.11111111, 0.16666667, 0.16666667, 0.22222222, 0.22222222, 0.27777778, 0.27777778, 0.33333333, 0.33333333, 0.38888889, 0.38888889, 0.44444444, 0.44444444, 0.5 , 0.5 , 0.55555556, 0.55555556, 0.61111111, 0.61111111, 0.66666667, 0.66666667, 0.72222222, 0.72222222, 0.77777778, 0.77777778, 0.83333333, 0.83333333, 0.88888889, 0.88888889, 0.94444444, 0.94444444, 1. , 1. ])) f = scipy.interpolate.interp1d(x, y) print(f(0.90)) # output is 0.9656113509141464, should be 1.0 x2 = np.linspace(0,1,1000) y2 = f(x2) plt.plot(x,y) plt.plot(x2,y2) "><pre class="notranslate"><code class="notranslate">import numpy as np import scipy.interpolate x, y = (np.array([0.00000000e+00, 8.81834215e-05, 1.23456790e-03, 1.23456790e-03, 2.29276896e-03, 2.29276896e-03, 2.55731922e-03, 2.55731922e-03, 2.91005291e-03, 2.91005291e-03, 5.02645503e-03, 5.02645503e-03, 5.11463845e-03, 5.11463845e-03, 2.40740741e-02, 2.40740741e-02, 2.54850088e-02, 2.54850088e-02, 2.91005291e-02, 2.91005291e-02, 3.08641975e-02, 3.08641975e-02, 5.41446208e-02, 5.41446208e-02, 5.91710758e-02, 5.91710758e-02, 7.87477954e-02, 7.87477954e-02, 9.88536155e-02, 9.88536155e-02, 1.16666667e-01, 1.16666667e-01, 1.72927690e-01, 1.72927690e-01, 6.92151675e-01, 6.92151675e-01, 8.38447972e-01, 8.38447972e-01, 1.00000000e+00]), np.array([0. , 0. , 0. , 0.05555556, 0.05555556, 0.11111111, 0.11111111, 0.16666667, 0.16666667, 0.22222222, 0.22222222, 0.27777778, 0.27777778, 0.33333333, 0.33333333, 0.38888889, 0.38888889, 0.44444444, 0.44444444, 0.5 , 0.5 , 0.55555556, 0.55555556, 0.61111111, 0.61111111, 0.66666667, 0.66666667, 0.72222222, 0.72222222, 0.77777778, 0.77777778, 0.83333333, 0.83333333, 0.88888889, 0.88888889, 0.94444444, 0.94444444, 1. , 1. ])) f = scipy.interpolate.interp1d(x, y) print(f(0.90)) # output is 0.9656113509141464, should be 1.0 x2 = np.linspace(0,1,1000) y2 = f(x2) plt.plot(x,y) plt.plot(x2,y2) </code></pre></div> <p dir="auto">Note that the x value 8.38447972e-01 is present twice in the input; the interp1d function interpolates between the y value corresponding to the <em>first</em> of these x values and the following value, not between the y value corresponding to the <em>second</em> of these x values and the following value.</p> <p dir="auto">The same thing happens at x values 7.87477954e-02 and 9.88536155e-02</p> <p dir="auto">Using mode='previous' and mode='nearest' shows an equivalent bug on this data.</p> <p dir="auto">Truncating the beginning of the input may make the bug disappear (or cause it to show up for different duplicated x values) depending on how much is truncated.</p> <h4 dir="auto">Error message:</h4> <h4 dir="auto">Scipy/Numpy/Python version information:</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1.4.1 1.18.1 sys.version_info(major=3, minor=6, micro=10, releaselevel='final', serial=0)"><pre class="notranslate"><code class="notranslate">1.4.1 1.18.1 sys.version_info(major=3, minor=6, micro=10, releaselevel='final', serial=0) </code></pre></div>
<p dir="auto">I would like to reuse the my numpy code that applies a function to a numpy matrix for application to sparse matrices. However, the or operation (<strong>or</strong>) is not supported for Boolean matrices. For example, the following code fails after converting the dok matrix to a csr matrix.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import scipy.sparse as sp x = sp.dok_matrix((10,10)) x[1,2] = 4 y = (x &gt; 3) | (x &lt; 5)"><pre class="notranslate"><code class="notranslate">import scipy.sparse as sp x = sp.dok_matrix((10,10)) x[1,2] = 4 y = (x &gt; 3) | (x &lt; 5) </code></pre></div> <p dir="auto">Would there be interest in adding Boolean logic support for matrices with a bool type?</p>
0
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">When using named arguments for x and y, the plots created with plt.plot respectively ax.plot are keeping empty. plt.errorbar (or ax.errorbar) are producing the desired output (see code below).<br> The <a href="https://matplotlib.org/api/_as_gen/matplotlib.axes.Axes.plot.html#matplotlib.axes.Axes.plot" rel="nofollow">documentation</a> shows that x and y are valid named arguments.</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 import numpy as np x = np.arange(0, 12, .5) y = np.random.rand(*x.shape) plt.plot(x, y) # works as expected plt.plot(x=x, y=y) # shows empty plot plt.errorbar(x=x, y=y) # works as expected"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">0</span>, <span class="pl-c1">12</span>, <span class="pl-c1">.5</span>) <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">rand</span>(<span class="pl-c1">*</span><span class="pl-s1">x</span>.<span class="pl-s1">shape</span>) <span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>) <span class="pl-c"># works as expected</span> <span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s1">x</span>, <span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-s1">y</span>) <span class="pl-c"># shows empty plot</span> <span class="pl-s1">plt</span>.<span class="pl-en">errorbar</span>(<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s1">x</span>, <span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-s1">y</span>) <span class="pl-c"># works as expected</span></pre></div> <p dir="auto"><strong>Actual outcome</strong><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6933947/45471598-ddf68000-b731-11e8-92ed-b9d7591dd194.PNG"><img src="https://user-images.githubusercontent.com/6933947/45471598-ddf68000-b731-11e8-92ed-b9d7591dd194.PNG" alt="empty-diagram" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Expected outcome</strong><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6933947/45471603-e18a0700-b731-11e8-9855-8e5ebb56b925.PNG"><img src="https://user-images.githubusercontent.com/6933947/45471603-e18a0700-b731-11e8-9855-8e5ebb56b925.PNG" alt="desired-diagram" style="max-width: 100%;"></a><br> or<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6933947/45471642-041c2000-b732-11e8-8649-79b8c8c54482.PNG"><img src="https://user-images.githubusercontent.com/6933947/45471642-041c2000-b732-11e8-8649-79b8c8c54482.PNG" alt="desired-diagram2" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: Windows 10x64</li> <li>Matplotlib version: 2.2.3 (had the same issue with 2.2.2)</li> <li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): 'module://ipykernel.pylab.backend_inline'</li> <li>Python version: 3.6.2</li> <li>Jupyter version (if applicable): 1.0.0 (Jupyter notebook 5.1.0rrc1)</li> <li>Other libraries: numpy 1.14.5+mkl</li> </ul> <p dir="auto">Python was installed using WinPython, packages installed with pip.</p>
<p dir="auto">When I execute the following command:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="python3 -c &quot;import matplotlib.pyplot as plt; plt.plot(x=[0,1], y=[0,1]); plt.show()&quot;"><pre class="notranslate"><code class="notranslate">python3 -c "import matplotlib.pyplot as plt; plt.plot(x=[0,1], y=[0,1]); plt.show()" </code></pre></div> <p dir="auto">it outputs:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6614695/5990571/691ad1e6-a96b-11e4-9430-1b890e56b2b7.png"><img src="https://cloud.githubusercontent.com/assets/6614695/5990571/691ad1e6-a96b-11e4-9430-1b890e56b2b7.png" alt="Empty_Plot" style="max-width: 100%;"></a></p> <hr> <p dir="auto"><em>Edit</em>: I see my error. I was not supposed to provide the data as keyword arguments. Indeed <code class="notranslate">plt.plot([0,1], [0,1])</code> works fine.</p> <p dir="auto">I don't know anything about how matplotlib works, but perhaps <code class="notranslate">plot</code> should be able to handle this (similar to how <code class="notranslate">pandas.DataFrame.plot</code> can handle this):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pandas as pd df = pd.DataFrame([[0,0],[1,1]], columns=['A', 'B']) df.plot('A', 'B') df.plot(x='A', y='B')"><pre class="notranslate"><code class="notranslate">import pandas as pd df = pd.DataFrame([[0,0],[1,1]], columns=['A', 'B']) df.plot('A', 'B') df.plot(x='A', y='B') </code></pre></div> <p dir="auto">If that's not desirable, then perhaps it could at least throw an error or give a warning that an unexpected keyword argument was given...</p>
1
<p dir="auto">Applying navbar-fixed-top to the navbar class adds unwanted behavior when forms or drop downs are used in the navbar.</p> <p dir="auto">This can be seen in the BS examples;</p> <ol dir="auto"> <li>try clicking in a form field at <a href="http://getbootstrap.com/examples/jumbotron/" rel="nofollow">http://getbootstrap.com/examples/jumbotron/</a> and watch the "Project Name" text and green button text change to a finer/'less bold'/grayed out version.</li> <li>try opening the drop down at <a href="http://getbootstrap.com/examples/theme/" rel="nofollow">http://getbootstrap.com/examples/theme/</a> and again watch the surrounding navbar text.</li> </ol> <p dir="auto">This is most noticeable on the inverse navbar but occurs on both. The scrolling navbar is not affected (so this cannot be by design).</p>
1
<p dir="auto"><strong>Issue</strong><br> I am implementing custom dtypes for symbolic types: Variable, Expression, Formula, where the algebra is more or less:</p> <ul dir="auto"> <li><code class="notranslate">&lt;ExpressionOperand&gt; ::= &lt;Variable&gt; | &lt;Expression&gt;</code></li> <li><code class="notranslate">&lt;math_op&gt; ::= + | - | * | - | etc...</code></li> <li><code class="notranslate">&lt;logical_op&gt; ::= == | != | &lt; | &lt;= | etc...</code></li> <li><code class="notranslate">&lt;ExpressionOperand&gt; &lt;math_op&gt; &lt;ExpressionOperand&gt; -&gt; &lt;Expression&gt;</code></li> <li><code class="notranslate">&lt;ExpressionOperand&gt; &lt;logical_op&gt; &lt;ExpressionOperand&gt; -&gt; &lt;Formula&gt;</code><br> I can more or less implement this for most of the operators by augmenting the existing UFuncs using <code class="notranslate">PyUFunc_RegisterLoopForType</code>.</li> </ul> <p dir="auto">However, for some builtin operations, like <code class="notranslate">dotfunc</code>, it seems that the C API is rigidly fixed to only providing closed operations for <code class="notranslate">dot</code>, <code class="notranslate">matmul</code>, etc., so I cannot define a meaningful <code class="notranslate">dot</code> produce for <code class="notranslate">Variable</code>, since the result of this operation should produce a <code class="notranslate">Expression</code>:<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="308213118" data-permission-text="Title is private" data-url="https://github.com/RobotLocomotion/drake/issues/8452" data-hovercard-type="pull_request" data-hovercard-url="/RobotLocomotion/drake/pull/8452/hovercard?comment_id=379923025&amp;comment_type=issue_comment" href="https://github.com/RobotLocomotion/drake/pull/8452#issuecomment-379923025">RobotLocomotion/drake#8452 (comment)</a></p> <p dir="auto"><strong>Rambling</strong><br> I am currently inspecting the source code for v1.11.0 (what I currently have on Ubuntu 16.04 LTS), and it seems that I can use <code class="notranslate">__numpy_ufunc__</code> (the old version of <code class="notranslate">__array_ufunc__</code> which was solidified in v1.13.0, it seems?), because:</p> <ul dir="auto"> <li><code class="notranslate">array_dot</code> (<code class="notranslate">methods.c</code>) calls <code class="notranslate">PyUFunc_CheckOverride</code> first to check if <code class="notranslate">numpy.core.multiarray.dot</code> can be overridden by a <code class="notranslate">ndarray</code> subclass</li> <li>If no override is found, it uses <code class="notranslate">PyArray_MatrixProduct2</code>, which then calls <code class="notranslate">dotfunc</code></li> </ul> <p dir="auto">TBH, it seems that <code class="notranslate">PyUFunc_CheckOverride</code> could possibly be generalized to see if a compatible user loop has been registered for the <code class="notranslate">PyUFuncObject</code>, if no <code class="notranslate">__array_ufunc__</code> is available.</p> <p dir="auto">Looking at a recent <code class="notranslate">master</code> (<code class="notranslate">c486d8d</code>), it looks like this functionality is removed from <code class="notranslate">array_dot</code>, so I'm not sure where it's gone now.</p> <p dir="auto">Seeing <a href="https://docs.scipy.org/doc/numpy-1.13.0/neps/ufunc-overrides.html#id24" rel="nofollow">this footnote</a> in the <code class="notranslate">__array_ufunc__</code> documentation, it seems that <code class="notranslate">matmul</code> is under consideration, but not <code class="notranslate">dot</code>?</p> <p dir="auto">I am still generally concerned of subclassing <code class="notranslate">ndarray</code> for (a) version considerations (it seems that this feature is still relatively volatile) and (b) forcing downstream users to care about which <code class="notranslate">ndarray</code> subclass they use.<br> (That being said, is there a way to create a custom <code class="notranslate">dtype</code>, and then indicate which <code class="notranslate">ndarray</code> subclass should be used?)</p>
<p dir="auto">With NumPy master, it is currently impossible to override <code class="notranslate">ndarray @ other</code> if <code class="notranslate">other</code> also implements <code class="notranslate">__array_ufunc__</code>.</p> <p dir="auto">Consider:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np np.__version__ # '1.13.0.dev0+9ef5891' class OptOut: __array_ufunc__ = None def __rmatmul__(self, other): return 'rmatmul' class OtherArray: def __array_ufunc__(self, *args, **kwargs): return 'array_ufunc' def __rmatmul__(self, other): return 'rmatmul' array = np.arange(3) opt_out = OptOut() other_array = OtherArray() # OptOut works as expected: array * opt_out # TypeError: unsupported operand type(s) for *: 'numpy.ndarray' and 'OptOut' array @ opt_out # 'rmatmul' # But OtherArray does not: array * other_array # 'array_ufunc' array @ other_array # TypeError: Object arrays are not currently supported"><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-s1">np</span>.<span class="pl-s1">__version__</span> <span class="pl-c"># '1.13.0.dev0+9ef5891'</span> <span class="pl-k">class</span> <span class="pl-v">OptOut</span>: <span class="pl-s1">__array_ufunc__</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span> <span class="pl-k">def</span> <span class="pl-en">__rmatmul__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">other</span>): <span class="pl-k">return</span> <span class="pl-s">'rmatmul'</span> <span class="pl-k">class</span> <span class="pl-v">OtherArray</span>: <span class="pl-k">def</span> <span class="pl-en">__array_ufunc__</span>(<span class="pl-s1">self</span>, <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>): <span class="pl-k">return</span> <span class="pl-s">'array_ufunc'</span> <span class="pl-k">def</span> <span class="pl-en">__rmatmul__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">other</span>): <span class="pl-k">return</span> <span class="pl-s">'rmatmul'</span> <span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">3</span>) <span class="pl-s1">opt_out</span> <span class="pl-c1">=</span> <span class="pl-v">OptOut</span>() <span class="pl-s1">other_array</span> <span class="pl-c1">=</span> <span class="pl-v">OtherArray</span>() <span class="pl-c"># OptOut works as expected:</span> <span class="pl-s1">array</span> <span class="pl-c1">*</span> <span class="pl-s1">opt_out</span> <span class="pl-c"># TypeError: unsupported operand type(s) for *: 'numpy.ndarray' and 'OptOut'</span> <span class="pl-s1">array</span> @ <span class="pl-s1">opt_out</span> <span class="pl-c"># 'rmatmul'</span> <span class="pl-c"># But OtherArray does not:</span> <span class="pl-s1">array</span> <span class="pl-c1">*</span> <span class="pl-s1">other_array</span> <span class="pl-c"># 'array_ufunc'</span> <span class="pl-s1">array</span> @ <span class="pl-s1">other_array</span> <span class="pl-c"># TypeError: Object arrays are not currently supported</span></pre></div> <p dir="auto">This is problematic. We definitely need a way to allow for overriding <code class="notranslate">@</code> from the second argument, whether than means breaking the rules on <code class="notranslate">__array_ufunc__</code> (allowing <code class="notranslate">matmul</code> to be passed even though it isn't a ufunc) or breaking the rules for <code class="notranslate">__matmul__</code> (to call <code class="notranslate">__rmatmul__</code> or allow <code class="notranslate">__rmatmul__</code> to be called by Python, even when <code class="notranslate">__array_ufunc__</code> is implemented on the other argument).</p>
1
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [run &quot;ver&quot; at a command prompt] Microsoft Windows [Version 10.0.18363.900] PowerToys version: 0.19.2 PowerToy module for which you are reporting the bug (if applicable): PT Run"><pre class="notranslate"><code class="notranslate">Windows build number: [run "ver" at a command prompt] Microsoft Windows [Version 10.0.18363.900] PowerToys version: 0.19.2 PowerToy module for which you are reporting the bug (if applicable): PT Run </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <ul dir="auto"> <li>Activate PT Run</li> <li>Type a program name</li> <li>Open the program</li> <li>(PT Run closes)</li> <li>Activate PT Run again</li> <li>The focus is on the program on the list instead of focusing on the text area and allowing the user to type/search again</li> </ul> <h1 dir="auto">Expected behavior</h1> <p dir="auto">When reopening PT Run, the list should clear and focus on the text area again to allow user to type new commands</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">The focus is on the program on the list instead of focusing on the text area and allowing the user to type/search again</p>
<p dir="auto">Microsoft Windows [Version 10.0.18363.900]<br> PowerToys version: 0.19.1<br> PowerToy module for which you are reporting the bug (if applicable): PowerToys Run</p> <p dir="auto">When I activate PT Run with the Alt-Space hot-key, the application does not always place the cursor in the search box.</p> <p dir="auto">When I press Alt-Space, PT Run appears. However, often and without an apparent pattern, the cursor will not be active in the search dialog box. I need to manual click in the search dialog box before I can type the search letters.</p> <p dir="auto">I expect the cursor will always be placed in the search dialog box and ready for me to type, whenever I activate PT Run with the hot-key.</p>
1
<p dir="auto">I have a system with limited network bandwidth. if I make an upload or download large file operation using the requests library, the single request is consuming the whole available bandwidth of the system. is there a way to add latency to these requests (which slows down throughout of serial requests but not consume overall bandwidth)?</p> <p dir="auto">A direct solution to set download/upload bandwidth for an individual HTTP request or to keep a part of the total available bandwidth free would be great.</p>
<p dir="auto">As far as I know currently it's not possible to specify the password for the client side certificate you're using for authentication.<br> This is a bit of a problem because you typically always want to password protect your .pem file which contains the private key. <code class="notranslate">openssl</code> won't even let you create one without a password.</p>
0
<h3 dir="auto">Describe your issue.</h3> <p dir="auto">I'm running a pre-post hypothesis test on a small dataset using the Wilcoxon signed rank test (scipy.stats.wilcoxon), and noticed when I validated the results the p-value did not match. It looks like it is not using the normal approximation even though ties exist.</p> <p dir="auto">Per the documentation the expected approach is:</p> <p dir="auto">"To derive the p-value, the exact distribution (mode == 'exact') can be used for sample sizes of up to 25. The default mode == 'auto' uses the exact distribution if there are <strong>at most 25 observations and no ties</strong>, otherwise a normal approximation is used (mode == 'approx')."</p> <p dir="auto">The example demonstrates this by running the out of the box wilcoxon then testing for ties and running the "mode = 'approx'" if they exist.</p> <p dir="auto">You will find the first result when running the regular test is <code class="notranslate">pvalue=0.01220703125</code> and the second with logic built in to test for ties is <code class="notranslate">pvalue=0.014944844395687155</code></p> <p dir="auto">In this dataset they exist in both the pre and post period.</p> <h3 dir="auto">Reproducing Code Example</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="dfgh = pd.DataFrame({'ID':[1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,13,13], 'Period':['0 Month','3 Month','0 Month','3 Month','0 Month','3 Month', '0 Month','3 Month','0 Month','3 Month','0 Month','3 Month', '0 Month','3 Month','0 Month','3 Month','0 Month','3 Month', '0 Month','3 Month','0 Month','3 Month','0 Month','3 Month',], 'Scale':['Something','Something','Something','Something','Something', 'Something','Something','Something','Something','Something', 'Something','Something','Something','Something','Something', 'Something','Something','Something','Something','Something', 'Something','Something','Something','Something',], 'Value':[18,26,23,4,24,3,27,26,9,0,40,3,17,10,33,9,6,7,8,1,9,4,26,9,] }) dfhb = dfgh.query('Period == &quot;0 Month&quot;') dfh3 = dfgh.query('Period == &quot;3 Month&quot;') print('run standard wilcoxon:') print(wilcoxon(dfhb.Value, dfh3.Value,alternative='two-sided', correction=True,)) print('\ntest for ties and selct normal approximation if the exist') if (dfhb['Value'].nunique() &lt; len(dfhb['Value'])) or (dfh3['Value'].nunique() &lt; len(dfh3['Value'])): print('ties identified - use approx:') pval = wilcoxon(dfhb.Value, dfh3.Value, alternative='two-sided', correction=True,mode ='approx',) else: print('no ties') plav = wilcoxon(dfhb.Value, dfh3.Value,alternative='two-sided', correction=True,mode ='exact',) print(pval) print('SciPy Version: ' + scipy.__version__)"><pre class="notranslate"><span class="pl-s1">dfgh</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'ID'</span>:[<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>,<span class="pl-c1">3</span>,<span class="pl-c1">4</span>,<span class="pl-c1">4</span>,<span class="pl-c1">5</span>,<span class="pl-c1">5</span>,<span class="pl-c1">6</span>,<span class="pl-c1">6</span>,<span class="pl-c1">7</span>,<span class="pl-c1">7</span>,<span class="pl-c1">8</span>,<span class="pl-c1">8</span>,<span class="pl-c1">9</span>,<span class="pl-c1">9</span>,<span class="pl-c1">10</span>,<span class="pl-c1">10</span>,<span class="pl-c1">11</span>,<span class="pl-c1">11</span>,<span class="pl-c1">13</span>,<span class="pl-c1">13</span>], <span class="pl-s">'Period'</span>:[<span class="pl-s">'0 Month'</span>,<span class="pl-s">'3 Month'</span>,<span class="pl-s">'0 Month'</span>,<span class="pl-s">'3 Month'</span>,<span class="pl-s">'0 Month'</span>,<span class="pl-s">'3 Month'</span>, <span class="pl-s">'0 Month'</span>,<span class="pl-s">'3 Month'</span>,<span class="pl-s">'0 Month'</span>,<span class="pl-s">'3 Month'</span>,<span class="pl-s">'0 Month'</span>,<span class="pl-s">'3 Month'</span>, <span class="pl-s">'0 Month'</span>,<span class="pl-s">'3 Month'</span>,<span class="pl-s">'0 Month'</span>,<span class="pl-s">'3 Month'</span>,<span class="pl-s">'0 Month'</span>,<span class="pl-s">'3 Month'</span>, <span class="pl-s">'0 Month'</span>,<span class="pl-s">'3 Month'</span>,<span class="pl-s">'0 Month'</span>,<span class="pl-s">'3 Month'</span>,<span class="pl-s">'0 Month'</span>,<span class="pl-s">'3 Month'</span>,], <span class="pl-s">'Scale'</span>:[<span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>, <span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>, <span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>, <span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>, <span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>,<span class="pl-s">'Something'</span>,], <span class="pl-s">'Value'</span>:[<span class="pl-c1">18</span>,<span class="pl-c1">26</span>,<span class="pl-c1">23</span>,<span class="pl-c1">4</span>,<span class="pl-c1">24</span>,<span class="pl-c1">3</span>,<span class="pl-c1">27</span>,<span class="pl-c1">26</span>,<span class="pl-c1">9</span>,<span class="pl-c1">0</span>,<span class="pl-c1">40</span>,<span class="pl-c1">3</span>,<span class="pl-c1">17</span>,<span class="pl-c1">10</span>,<span class="pl-c1">33</span>,<span class="pl-c1">9</span>,<span class="pl-c1">6</span>,<span class="pl-c1">7</span>,<span class="pl-c1">8</span>,<span class="pl-c1">1</span>,<span class="pl-c1">9</span>,<span class="pl-c1">4</span>,<span class="pl-c1">26</span>,<span class="pl-c1">9</span>,] }) <span class="pl-s1">dfhb</span> <span class="pl-c1">=</span> <span class="pl-s1">dfgh</span>.<span class="pl-en">query</span>(<span class="pl-s">'Period == "0 Month"'</span>) <span class="pl-s1">dfh3</span> <span class="pl-c1">=</span> <span class="pl-s1">dfgh</span>.<span class="pl-en">query</span>(<span class="pl-s">'Period == "3 Month"'</span>) <span class="pl-en">print</span>(<span class="pl-s">'run standard wilcoxon:'</span>) <span class="pl-en">print</span>(<span class="pl-en">wilcoxon</span>(<span class="pl-s1">dfhb</span>.<span class="pl-v">Value</span>, <span class="pl-s1">dfh3</span>.<span class="pl-v">Value</span>,<span class="pl-s1">alternative</span><span class="pl-c1">=</span><span class="pl-s">'two-sided'</span>, <span class="pl-s1">correction</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,)) <span class="pl-en">print</span>(<span class="pl-s">'<span class="pl-cce">\n</span>test for ties and selct normal approximation if the exist'</span>) <span class="pl-k">if</span> (<span class="pl-s1">dfhb</span>[<span class="pl-s">'Value'</span>].<span class="pl-en">nunique</span>() <span class="pl-c1">&lt;</span> <span class="pl-en">len</span>(<span class="pl-s1">dfhb</span>[<span class="pl-s">'Value'</span>])) <span class="pl-c1">or</span> (<span class="pl-s1">dfh3</span>[<span class="pl-s">'Value'</span>].<span class="pl-en">nunique</span>() <span class="pl-c1">&lt;</span> <span class="pl-en">len</span>(<span class="pl-s1">dfh3</span>[<span class="pl-s">'Value'</span>])): <span class="pl-en">print</span>(<span class="pl-s">'ties identified - use approx:'</span>) <span class="pl-s1">pval</span> <span class="pl-c1">=</span> <span class="pl-en">wilcoxon</span>(<span class="pl-s1">dfhb</span>.<span class="pl-v">Value</span>, <span class="pl-s1">dfh3</span>.<span class="pl-v">Value</span>, <span class="pl-s1">alternative</span><span class="pl-c1">=</span><span class="pl-s">'two-sided'</span>, <span class="pl-s1">correction</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,<span class="pl-s1">mode</span> <span class="pl-c1">=</span><span class="pl-s">'approx'</span>,) <span class="pl-k">else</span>: <span class="pl-en">print</span>(<span class="pl-s">'no ties'</span>) <span class="pl-s1">plav</span> <span class="pl-c1">=</span> <span class="pl-en">wilcoxon</span>(<span class="pl-s1">dfhb</span>.<span class="pl-v">Value</span>, <span class="pl-s1">dfh3</span>.<span class="pl-v">Value</span>,<span class="pl-s1">alternative</span><span class="pl-c1">=</span><span class="pl-s">'two-sided'</span>, <span class="pl-s1">correction</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,<span class="pl-s1">mode</span> <span class="pl-c1">=</span><span class="pl-s">'exact'</span>,) <span class="pl-en">print</span>(<span class="pl-s1">pval</span>) <span class="pl-en">print</span>(<span class="pl-s">'SciPy Version: '</span> <span class="pl-c1">+</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">__version__</span>)</pre></div> <h3 dir="auto">Error message</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="There is no associated error."><pre class="notranslate">There is no associated error.</pre></div> <h3 dir="auto">SciPy/NumPy/Python version information</h3> <p dir="auto">1.6.2</p>
<p dir="auto">My issue is about <code class="notranslate">stats.wilcoxon()</code>. <code class="notranslate">stats.wilcoxon</code> detects when d== 0, and appropriately warns that 'exact' will not work under such a circumstance. However, it reports that this is because of 'ties', and not because of the presence of 0s.</p> <p dir="auto">Exact calculations will also not be accurate when there are ties in rank, but the function does not appropriately detect such scenarios.</p> <p dir="auto">R produces appropriate warnings in both circumstances</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="wilcox.test(0:4) Wilcoxon signed rank test with continuity correction data: 0:4 V = 10, p-value = 0.1003 alternative hypothesis: true location is not equal to 0 Warning message: In wilcox.test.default(0:4) : cannot compute exact p-value with zeroes &gt; wilcox.test(c(1,1:4)) Wilcoxon signed rank test with continuity correction data: c(1, 1:4) V = 15, p-value = 0.05791 alternative hypothesis: true location is not equal to 0 Warning message: In wilcox.test.default(c(1, 1:4)) : cannot compute exact p-value with ties"><pre class="notranslate"><code class="notranslate">wilcox.test(0:4) Wilcoxon signed rank test with continuity correction data: 0:4 V = 10, p-value = 0.1003 alternative hypothesis: true location is not equal to 0 Warning message: In wilcox.test.default(0:4) : cannot compute exact p-value with zeroes &gt; wilcox.test(c(1,1:4)) Wilcoxon signed rank test with continuity correction data: c(1, 1:4) V = 15, p-value = 0.05791 alternative hypothesis: true location is not equal to 0 Warning message: In wilcox.test.default(c(1, 1:4)) : cannot compute exact p-value with ties </code></pre></div> <h4 dir="auto">Reproducing code example:</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; from scipy import stats as stats &gt;&gt;&gt; x = [1, 1, 2, 3, 4] &gt;&gt;&gt; stats.wilcoxon(x, correction=True, mode='exact') ## should produce a warning similar to R and should fall back to approx WilcoxonResult(statistic=0.0, pvalue=0.0625) &gt;&gt;&gt; stats.wilcoxon(x, correction=True, mode='approx') /home/jrr/miniconda3/lib/python3.8/site-packages/scipy/stats/morestats.py:2981: UserWarning: Sample size too small for normal approximation. warnings.warn(&quot;Sample size too small for normal approximation.&quot;) WilcoxonResult(statistic=0.0, pvalue=0.05790726541729728) &gt;&gt;&gt; x = [0, 1, 2, 3, 4] &gt;&gt;&gt; stats.wilcoxon(x, correction=True) ## warns, but calls ties. /home/jrr/miniconda3/lib/python3.8/site-packages/scipy/stats/morestats.py:2967: UserWarning: Exact p-value calculation does not work if there are ties. Switching to normal approximation. warnings.warn(&quot;Exact p-value calculation does not work if there are &quot; WilcoxonResult(statistic=0.0, pvalue=0.10034824646229075)"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; from scipy import stats as stats &gt;&gt;&gt; x = [1, 1, 2, 3, 4] &gt;&gt;&gt; stats.wilcoxon(x, correction=True, mode='exact') ## should produce a warning similar to R and should fall back to approx WilcoxonResult(statistic=0.0, pvalue=0.0625) &gt;&gt;&gt; stats.wilcoxon(x, correction=True, mode='approx') /home/jrr/miniconda3/lib/python3.8/site-packages/scipy/stats/morestats.py:2981: UserWarning: Sample size too small for normal approximation. warnings.warn("Sample size too small for normal approximation.") WilcoxonResult(statistic=0.0, pvalue=0.05790726541729728) &gt;&gt;&gt; x = [0, 1, 2, 3, 4] &gt;&gt;&gt; stats.wilcoxon(x, correction=True) ## warns, but calls ties. /home/jrr/miniconda3/lib/python3.8/site-packages/scipy/stats/morestats.py:2967: UserWarning: Exact p-value calculation does not work if there are ties. Switching to normal approximation. warnings.warn("Exact p-value calculation does not work if there are " WilcoxonResult(statistic=0.0, pvalue=0.10034824646229075) </code></pre></div> <h4 dir="auto">Scipy/Numpy/Python version information:</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info) 1.6.1 1.19.2 sys.version_info(major=3, minor=8, micro=8, releaselevel='final', serial=0)"><pre class="notranslate"><code class="notranslate">import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info) 1.6.1 1.19.2 sys.version_info(major=3, minor=8, micro=8, releaselevel='final', serial=0) </code></pre></div>
1
<p dir="auto">This is an issue after launch my apk on a device or emulator.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/50232392/60877337-e4fcfa80-a23d-11e9-9d10-5220c54cbaad.png"><img src="https://user-images.githubusercontent.com/50232392/60877337-e4fcfa80-a23d-11e9-9d10-5220c54cbaad.png" alt="error_apk" style="max-width: 100%;"></a></p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="401575734" data-permission-text="Title is private" data-url="https://github.com/facebook/react-native/issues/23092" data-hovercard-type="issue" data-hovercard-url="/facebook/react-native/issues/23092/hovercard" href="https://github.com/facebook/react-native/issues/23092">facebook/react-native#23092</a></p> <p dir="auto">Unfortunately this exact same issue strikes again with the release of Babel v7.5.0.</p> <p dir="auto">These are the Babel related dependencies I am having:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &quot;@babel/core&quot;: &quot;7.4.5&quot;, &quot;@babel/plugin-proposal-class-properties&quot;: &quot;7.4.4&quot;, &quot;@babel/plugin-proposal-decorators&quot;: &quot;7.4.4&quot;, &quot;@babel/plugin-transform-flow-strip-types&quot;: &quot;7.4.4&quot;, &quot;@babel/preset-flow&quot;: &quot;7.0.0&quot;, &quot;babel-eslint&quot;: &quot;10.0.2&quot;, &quot;babel-jest&quot;: &quot;24.8.0&quot;, &quot;metro-react-native-babel-preset&quot;: &quot;0.54.1&quot;,"><pre class="notranslate"><code class="notranslate"> "@babel/core": "7.4.5", "@babel/plugin-proposal-class-properties": "7.4.4", "@babel/plugin-proposal-decorators": "7.4.4", "@babel/plugin-transform-flow-strip-types": "7.4.4", "@babel/preset-flow": "7.0.0", "babel-eslint": "10.0.2", "babel-jest": "24.8.0", "metro-react-native-babel-preset": "0.54.1", </code></pre></div> <p dir="auto">With the <code class="notranslate">package-lock.json</code> I generated a few days ago everything's fine with <code class="notranslate">npm install</code>, but if I try to do it without the lockfile the error appears. Judging from my lockfile's diff I can say that a few secondary Babel dependencies were updated to v7.5.0 without the lockfile (eg. <code class="notranslate">@babel/generator</code>, <code class="notranslate">@babel/helper-create-class-features-plugin</code>) so am pretty sure this is a Babel issue again.</p>
1
<p dir="auto">Hi everyone,</p> <p dir="auto">I don't really know if I have done something wrong, but here is my problem.</p> <p dir="auto">On every browser the carousel doesn't loop at the end of the last picture.<br> To fixe it, I have deleted the line 1389 from bootstrap.js:</p> <p dir="auto">if (!$next.length) return</p> <p dir="auto">and now, it seem to work, am I the only one having this problem?</p> <p dir="auto">Thanks.</p>
<p dir="auto">carousel slide can not run cycle.</p> <p dir="auto">btw, can you set the first item active if there's no active item?</p>
1
<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">I was about to update my global package I has in my machine. Turns out, when I did it DELETED all my global packages.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12274383/137017120-997d5271-1387-4f66-a7bd-84538c33f71f.png"><img src="https://user-images.githubusercontent.com/12274383/137017120-997d5271-1387-4f66-a7bd-84538c33f71f.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">After it, I had to reinstall the npm.</p> <p dir="auto">Also looking at /usr/local/bin the npm wasn't there anymore.</p> <p dir="auto">I can't remember the exactly version I had , it was deleted, but my node version is 14.17.0 and I was using the npm version that comes with it.</p> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">To update the global package</p> <h3 dir="auto">Steps To Reproduce</h3> <ol dir="auto"> <li>npm update -g detox</li> <li>See the attached image</li> </ol> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>OS: MAC OS</li> <li>Node: 14.17.0</li> <li>npm: ????</li> </ul>
<h3 dir="auto">Current Behavior:</h3> <p dir="auto">Attempting to update a package with a tag using the <code class="notranslate">update</code> command globally causes <strong>ALL</strong> global packages to be removed.</p> <h3 dir="auto">Expected Behavior:</h3> <p dir="auto">Packages should not be removed when updating global packages.</p> <h3 dir="auto">Steps To Reproduce:</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="npm i -g typescript nodemon @angular/cli # Install some global packages npm ls -g --depth=0 # This shows the 3 installed packages npm update -g @angular/cli@latest # Attempt to update one of the packages with a @latest tag # Oh no! removed 620 packages npm ls -g --depth=0 # Shows `-- (empty)"><pre class="notranslate">npm i -g typescript nodemon @angular/cli <span class="pl-c"><span class="pl-c">#</span> Install some global packages</span> npm ls -g --depth=0 <span class="pl-c"><span class="pl-c">#</span> This shows the 3 installed packages</span> npm update -g @angular/cli@latest <span class="pl-c"><span class="pl-c">#</span> Attempt to update one of the packages with a @latest tag</span> <span class="pl-c"><span class="pl-c">#</span> Oh no! removed 620 packages</span> npm ls -g --depth=0 <span class="pl-c"><span class="pl-c">#</span> Shows `-- (empty)</span></pre></div> <h3 dir="auto">Environment:</h3> <ul dir="auto"> <li>OS: Windows 10 20H2</li> <li>Node: 15.9.0</li> <li>npm: 7.11.2</li> </ul> <h3 dir="auto">Additional Info</h3> <p dir="auto">This only happens on the global scope</p>
1
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18362.0 Windows Terminal version: 0.5.2762.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.0 Windows Terminal version: 0.5.2762.0 </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <ol dir="auto"> <li>Keep adding tabs until the newest tabs are no longer visible</li> </ol> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/0939bd41ca5b10564a33d7cddb11780eda89d68764b87df2d5a56c451b246c25/68747470733a2f2f692e6962622e636f2f6e38775a4b36712f77742d746162732d6275672e676966"><img src="https://camo.githubusercontent.com/0939bd41ca5b10564a33d7cddb11780eda89d68764b87df2d5a56c451b246c25/68747470733a2f2f692e6962622e636f2f6e38775a4b36712f77742d746162732d6275672e676966" alt="Alt Text" data-animated-image="" data-canonical-src="https://i.ibb.co/n8wZK6q/wt-tabs-bug.gif" style="max-width: 100%;"></a></p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">The new tabs should be visible</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">The new tabs are not visible</p>
<p dir="auto">When pasting</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="gci ` C:\test\ ` | select name "><pre class="notranslate"><code class="notranslate">gci ` C:\test\ ` | select name </code></pre></div> <p dir="auto">into windows powershell or powershell core in windows console, I get expected results. If I try to paste and run any command with &gt;1 line continuation it fails.</p> <p dir="auto">As a user, I would expect windows terminal powershell to behave exactly the same as the legacy console powershell.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/37681357/64036239-5491b680-cb18-11e9-8303-ec164a3671c9.png"><img src="https://user-images.githubusercontent.com/37681357/64036239-5491b680-cb18-11e9-8303-ec164a3671c9.png" alt="image" style="max-width: 100%;"></a></p>
0
<p dir="auto">Hi</p> <p dir="auto">When resizing the window, i notice that the position of the arrow has been changed from bottom to the center of tooltip/popover.</p> <p dir="auto">Here is my <a href="http://jsfiddle.net/Arkni/dccpye9a/" rel="nofollow">JSfiddle</a>, and some screenshots taken from JSFiddle<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6888059/4111205/24a6f864-3201-11e4-9c57-5486965331bd.png"><img src="https://cloud.githubusercontent.com/assets/6888059/4111205/24a6f864-3201-11e4-9c57-5486965331bd.png" alt="capture du 2014-09-01 18 51 27" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6888059/4111208/2bf0dc8e-3201-11e4-84a3-1c088452922f.png"><img src="https://cloud.githubusercontent.com/assets/6888059/4111208/2bf0dc8e-3201-11e4-84a3-1c088452922f.png" alt="capture du 2014-09-01 18 51 55" style="max-width: 100%;"></a></p> <p dir="auto">If this issue is a duplicate, please guide me to the right way!</p> <p dir="auto">Thanks.</p> <p dir="auto">PS: i've already searching cross the closed issues and found no solution for my problem.</p>
<p dir="auto">When a tooltip/popover would appear slightly offscreen to the right or left, it's correctly shifted slightly however the arrow ends up appearing in the middle of the popover, rather than at the edge of it like it should.</p> <p dir="auto">In this case, <code class="notranslate">getViewportAdjustedDelta</code> always returns <code class="notranslate">{top: 0, left: 0}</code> because <code class="notranslate">getCalculatedOffset</code> already made the correction to fit the tip on the page, however there are subsequent "delta.left" tests in <code class="notranslate">applyPlacement</code> to deduce left/right vs top/bottom positioning that will break in top/bottom mode.</p> <p dir="auto">A fix would be to change the "delta.left" tests with a <code class="notranslate">horizShift</code> test, where <code class="notranslate">horizShift</code> is defined as:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var horizShift = !/right|left/.test(placement);"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">horizShift</span> <span class="pl-c1">=</span> <span class="pl-c1">!</span><span class="pl-pds"><span class="pl-c1">/</span>right<span class="pl-c1">|</span>left<span class="pl-c1">/</span></span><span class="pl-kos">.</span><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s1">placement</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">e.g.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var arrowPosition = horizShift ? 'left' : 'top'"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">arrowPosition</span> <span class="pl-c1">=</span> <span class="pl-s1">horizShift</span> ? <span class="pl-s">'left'</span> : <span class="pl-s">'top'</span></pre></div>
1
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p> <p dir="auto">Our application has a hierarchy containing items for sale: BaseItem, Item, PackItem. BaseItem is the common base class. Item is a 'normal' item, and PackItem is a collection of items sold as one.</p> <p dir="auto">There is also a class called Collection. A Collection may contain many items, and an item may belong to many collections.</p> <p dir="auto">Modeling this in SQLAlchemy causes the following runtime error:<br> Traceback (most recent call last):<br> File "C:\tmp\testcase.py", line 100, in ?<br> i = Item()<br> File "c:\python24\lib\site-packages\sqlalchemy-0.3.6-py2.4.egg\sqlalchemy\orm<br> mapper.py", line 646, in init<br> mapper = mapper.compile()<br> File "c:\python24\lib\site-packages\sqlalchemy-0.3.6-py2.4.egg\sqlalchemy\orm<br> mapper.py", line 321, in compile<br> self._compile_all()<br> File "c:\python24\lib\site-packages\sqlalchemy-0.3.6-py2.4.egg\sqlalchemy\orm<br> mapper.py", line 341, in _compile_all<br> mapper._initialize_properties()<br> File "c:\python24\lib\site-packages\sqlalchemy-0.3.6-py2.4.egg\sqlalchemy\orm<br> mapper.py", line 596, in _initialize_properties<br> prop.init(key, self)<br> File "c:\python24\lib\site-packages\sqlalchemy-0.3.6-py2.4.egg\sqlalchemy\orm<br> interfaces.py", line 60, in init<br> self.do_init()<br> File "c:\python24\lib\site-packages\sqlalchemy-0.3.6-py2.4.egg\sqlalchemy\orm<br> properties.py", line 186, in do_init<br> self._create_polymorphic_joins()<br> File "c:\python24\lib\site-packages\sqlalchemy-0.3.6-py2.4.egg\sqlalchemy\orm<br> properties.py", line 382, in _create_polymorphic_joins<br> raise exceptions.AssertionError(str(self) + ": Could not find corresponding<br> column for " + str(c) + " in selectable " + str(self.mapper.select_table))<br> sqlalchemy.exceptions.AssertionError: Collection.items (BaseItem): Could not fin<br> d corresponding column for base_item_collection.collection_id in selectable SELE<br> CT item.dummy, base_item.child_name, item.id<br> FROM base_item JOIN item ON base_item.id = item.id UNION ALL SELECT CAST(NULL AS<br> INTEGER) AS dummy, anon_d86.child_name, anon_d86.id<br> FROM (SELECT base_item.id AS id, base_item.child_name AS child_name<br> FROM base_item<br> WHERE base_item.child_name = ?) AS anon_d86</p> <p dir="auto">It appears that SQLAlchemy assumes the target class of the many-to-many relationship contains the same fields as the join table.</p> <p dir="auto">The following is a <em>potential</em> fix for your evaluation. It is a slightly modified version of the _determine_remote_side function in sqlalchemy.orm.properties.PropertyLoader. For many-to-many relationships, it does not add the join table's foreign keys to the remote_side collection. This change appears to work in our brief initial testing.</p> <p dir="auto">def _determine_remote_side(self):<br> if len(self.remote_side):<br> return<br> self.remote_side = util.Set()</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if self.direction is sync.MANYTOONE: for c in self._opposite_side: self.remote_side.add(c) elif self.direction is sync.ONETOMANY: for c in self.foreign_keys: self.remote_side.add(c) elif self.direction is sync.MANYTOMANY: # The target table for a MANYTOMANY join does # not contain the foreign key fields of the join table itself. pass"><pre class="notranslate"><code class="notranslate">if self.direction is sync.MANYTOONE: for c in self._opposite_side: self.remote_side.add(c) elif self.direction is sync.ONETOMANY: for c in self.foreign_keys: self.remote_side.add(c) elif self.direction is sync.MANYTOMANY: # The target table for a MANYTOMANY join does # not contain the foreign key fields of the join table itself. pass </code></pre></div>
<p dir="auto"><strong>Migrated issue, originally created by Thomas Tanner (<a href="https://github.com/ttanner">@ttanner</a>)</strong></p> <p dir="auto">sqlalchemy HEAD, mysql 5.5.38, pymysql 0.6.6,<br> mysql=mysql+pysql://user:password@localhost/test_schema<br> running<br> <code class="notranslate">py.test --db mysql --dropfirst --backend-only --log-info=sqlalchemy.orm.mapper --log-debug=sqlalchemy.pool --log-info=sqlalchemy.engine</code></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="platform darwin -- Python 3.4.3 -- py-1.4.26 -- pytest-2.7.0 -- DEBUG:sqlalchemy.pool.QueuePool:Created new connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; INFO:sqlalchemy.engine.base.Engine:SHOW VARIABLES LIKE 'sql_mode' INFO:sqlalchemy.engine.base.Engine:() INFO:sqlalchemy.engine.base.Engine:SELECT DATABASE() INFO:sqlalchemy.engine.base.Engine:() INFO:sqlalchemy.engine.base.Engine:show collation where `Charset` = 'utf8' and `Collation` = 'utf8_bin' INFO:sqlalchemy.engine.base.Engine:() INFO:sqlalchemy.engine.base.Engine:SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 INFO:sqlalchemy.engine.base.Engine:() INFO:sqlalchemy.engine.base.Engine:SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 INFO:sqlalchemy.engine.base.Engine:() INFO:sqlalchemy.engine.base.Engine:SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8) COLLATE utf8_bin AS anon_1 INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW FULL TABLES FROM `test_schema` INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW FULL TABLES FROM `test_schema` INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool DEBUG:sqlalchemy.pool.QueuePool:Created new connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW FULL TABLES FROM `test_schema` INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; checked out from pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW FULL TABLES FROM `test_schema` INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; rollback-on-return ============================= test session starts ============================== platform darwin -- Python 3.4.3 -- py-1.4.26 -- pytest-2.7.0 -- collecting ... DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SELECT CURRENT_TIMESTAMP AS current_timestamp_1 INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW VARIABLES LIKE 'lower_case_table_names' INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW VARIABLES LIKE 'lower_case_table_names' INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW VARIABLES LIKE 'lower_case_table_names' INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; checked out from pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW VARIABLES LIKE 'lower_case_table_names' INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return collected 1846 items test/aaa_profiling/test_compiler.py::CompileTest_mysql_pymysql::test_insert PASSED test/aaa_profiling/test_compiler.py::CompileTest_mysql_pymysql::test_select PASSED test/aaa_profiling/test_compiler.py::CompileTest_mysql_pymysql::test_select_labels PASSED test/aaa_profiling/test_compiler.py::CompileTest_mysql_pymysql::test_update PASSED test/aaa_profiling/test_compiler.py::CompileTest_mysql_pymysql::test_update_whereclause PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_DecimalResultProcessor_init PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_DecimalResultProcessor_process PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_UnicodeResultProcessor_init PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_ad_hoc_types PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_alias_pathing PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_fixture PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_join_cache PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_key_fallback_result PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_many_discarded_relationships PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_many_updates PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_mapper_reset PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_orm_many_engines PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_path_registry PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_session PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_sessionmaker PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_type_compile PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_unicode_warnings PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_warnings_util PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_with_inheritance PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_with_manytomany PASSED test/aaa_profiling/test_resultset.py::ExecutionTest_mysql_pymysql::test_minimal_connection_execute FAILEDINFO:sqlalchemy.pool.QueuePool:Pool disposed. Pool size: 5 Connections in pool: 0 Current Overflow: -5 Current Checked out connections: 0 INFO:sqlalchemy.pool.QueuePool:Pool recreating Encountered a stray connection in test cleanup: {&lt;sqlalchemy.pool._ConnectionRecord object at 0x10ad34f28&gt;} Traceback (most recent call last): File &quot;bin/py.test&quot;, line 9, in &lt;module&gt; load_entry_point('pytest==2.7.0', 'console_scripts', 'py.test')() File &quot;$site/_pytest/config.py&quot;, line 41, in main return config.hook.pytest_cmdline_main(config=config) File &quot;$site/_pytest/core.py&quot;, line 521, in __call__ return self._docall(self.methods, kwargs) File &quot;$site/_pytest/core.py&quot;, line 528, in _docall firstresult=self.firstresult).execute() File &quot;$site/_pytest/core.py&quot;, line 394, in execute res = method(*args) File &quot;$site/_pytest/main.py&quot;, line 116, in pytest_cmdline_main return wrap_session(config, _main) File &quot;$site/_pytest/main.py&quot;, line 109, in wrap_session exitstatus=session.exitstatus) File &quot;$site/_pytest/core.py&quot;, line 521, in __call__ return self._docall(self.methods, kwargs) File &quot;$site/_pytest/core.py&quot;, line 528, in _docall firstresult=self.firstresult).execute() File &quot;$site/_pytest/core.py&quot;, line 393, in execute return wrapped_call(method(*args), self.execute) File &quot;$site/_pytest/core.py&quot;, line 109, in wrapped_call wrap_controller.send(call_outcome) File &quot;$site/_pytest/terminal.py&quot;, line 356, in pytest_sessionfinish outcome.get_result() File &quot;$site/_pytest/core.py&quot;, line 137, in get_result raise ex[1].with_traceback(ex[2]) File &quot;$site/_pytest/core.py&quot;, line 123, in __init__ self.result = func() File &quot;$site/_pytest/core.py&quot;, line 394, in execute res = method(*args) File &quot;$site/_pytest/runner.py&quot;, line 55, in pytest_sessionfinish session._setupstate.teardown_all() File &quot;$site/_pytest/runner.py&quot;, line 375, in teardown_all self._pop_and_teardown() File &quot;$site/_pytest/runner.py&quot;, line 348, in _pop_and_teardown self._teardown_with_finalization(colitem) File &quot;$site/_pytest/runner.py&quot;, line 366, in _teardown_with_finalization self._callfinalizers(colitem) File &quot;$site/_pytest/runner.py&quot;, line 363, in _callfinalizers py.builtin._reraise(*exc) File &quot;$site/py/_builtin.py&quot;, line 227, in _reraise raise cls.with_traceback(val, tb) File &quot;$site/_pytest/runner.py&quot;, line 356, in _callfinalizers fin() File &quot;$path/test/../lib/sqlalchemy/testing/plugin/pytestplugin.py&quot;, line 149, in finalize class_teardown(item.parent.parent) File &quot;$path/test/../lib/sqlalchemy/testing/plugin/pytestplugin.py&quot;, line 178, in class_teardown plugin_base.stop_test_class(item.cls) File &quot;$path/test/../lib/sqlalchemy/testing/plugin/plugin_base.py&quot;, line 426, in stop_test_class assertions.global_cleanup_assertions() File &quot;$path/test/../lib/sqlalchemy/testing/assertions.py&quot;, line 165, in global_cleanup_assertions _assert_no_stray_pool_connections() File &quot;$path/test/../lib/sqlalchemy/testing/assertions.py&quot;, line 203, in _assert_no_stray_pool_connections &quot;after gc.collect(): %s&quot; % err AssertionError: Stray connection refused to leave after gc.collect(): {&lt;sqlalchemy.pool._ConnectionRecord object at 0x10ad34f28&gt;}"><pre class="notranslate"><code class="notranslate">platform darwin -- Python 3.4.3 -- py-1.4.26 -- pytest-2.7.0 -- DEBUG:sqlalchemy.pool.QueuePool:Created new connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; INFO:sqlalchemy.engine.base.Engine:SHOW VARIABLES LIKE 'sql_mode' INFO:sqlalchemy.engine.base.Engine:() INFO:sqlalchemy.engine.base.Engine:SELECT DATABASE() INFO:sqlalchemy.engine.base.Engine:() INFO:sqlalchemy.engine.base.Engine:show collation where `Charset` = 'utf8' and `Collation` = 'utf8_bin' INFO:sqlalchemy.engine.base.Engine:() INFO:sqlalchemy.engine.base.Engine:SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 INFO:sqlalchemy.engine.base.Engine:() INFO:sqlalchemy.engine.base.Engine:SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 INFO:sqlalchemy.engine.base.Engine:() INFO:sqlalchemy.engine.base.Engine:SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8) COLLATE utf8_bin AS anon_1 INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW FULL TABLES FROM `test_schema` INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW FULL TABLES FROM `test_schema` INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool DEBUG:sqlalchemy.pool.QueuePool:Created new connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW FULL TABLES FROM `test_schema` INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; checked out from pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW FULL TABLES FROM `test_schema` INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; rollback-on-return ============================= test session starts ============================== platform darwin -- Python 3.4.3 -- py-1.4.26 -- pytest-2.7.0 -- collecting ... DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SELECT CURRENT_TIMESTAMP AS current_timestamp_1 INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW VARIABLES LIKE 'lower_case_table_names' INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW VARIABLES LIKE 'lower_case_table_names' INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW VARIABLES LIKE 'lower_case_table_names' INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; checked out from pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x108031c18&gt; rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; checked out from pool INFO:sqlalchemy.engine.base.Engine:SHOW VARIABLES LIKE 'lower_case_table_names' INFO:sqlalchemy.engine.base.Engine:() DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection &lt;pymysql.connections.Connection object at 0x10800cf60&gt; rollback-on-return collected 1846 items test/aaa_profiling/test_compiler.py::CompileTest_mysql_pymysql::test_insert PASSED test/aaa_profiling/test_compiler.py::CompileTest_mysql_pymysql::test_select PASSED test/aaa_profiling/test_compiler.py::CompileTest_mysql_pymysql::test_select_labels PASSED test/aaa_profiling/test_compiler.py::CompileTest_mysql_pymysql::test_update PASSED test/aaa_profiling/test_compiler.py::CompileTest_mysql_pymysql::test_update_whereclause PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_DecimalResultProcessor_init PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_DecimalResultProcessor_process PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_UnicodeResultProcessor_init PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_ad_hoc_types PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_alias_pathing PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_fixture PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_join_cache PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_key_fallback_result PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_many_discarded_relationships PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_many_updates PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_mapper_reset PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_orm_many_engines PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_path_registry PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_session PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_sessionmaker PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_type_compile PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_unicode_warnings PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_warnings_util PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_with_inheritance PASSED test/aaa_profiling/test_memusage.py::MemUsageTest_mysql_pymysql::test_with_manytomany PASSED test/aaa_profiling/test_resultset.py::ExecutionTest_mysql_pymysql::test_minimal_connection_execute FAILEDINFO:sqlalchemy.pool.QueuePool:Pool disposed. Pool size: 5 Connections in pool: 0 Current Overflow: -5 Current Checked out connections: 0 INFO:sqlalchemy.pool.QueuePool:Pool recreating Encountered a stray connection in test cleanup: {&lt;sqlalchemy.pool._ConnectionRecord object at 0x10ad34f28&gt;} Traceback (most recent call last): File "bin/py.test", line 9, in &lt;module&gt; load_entry_point('pytest==2.7.0', 'console_scripts', 'py.test')() File "$site/_pytest/config.py", line 41, in main return config.hook.pytest_cmdline_main(config=config) File "$site/_pytest/core.py", line 521, in __call__ return self._docall(self.methods, kwargs) File "$site/_pytest/core.py", line 528, in _docall firstresult=self.firstresult).execute() File "$site/_pytest/core.py", line 394, in execute res = method(*args) File "$site/_pytest/main.py", line 116, in pytest_cmdline_main return wrap_session(config, _main) File "$site/_pytest/main.py", line 109, in wrap_session exitstatus=session.exitstatus) File "$site/_pytest/core.py", line 521, in __call__ return self._docall(self.methods, kwargs) File "$site/_pytest/core.py", line 528, in _docall firstresult=self.firstresult).execute() File "$site/_pytest/core.py", line 393, in execute return wrapped_call(method(*args), self.execute) File "$site/_pytest/core.py", line 109, in wrapped_call wrap_controller.send(call_outcome) File "$site/_pytest/terminal.py", line 356, in pytest_sessionfinish outcome.get_result() File "$site/_pytest/core.py", line 137, in get_result raise ex[1].with_traceback(ex[2]) File "$site/_pytest/core.py", line 123, in __init__ self.result = func() File "$site/_pytest/core.py", line 394, in execute res = method(*args) File "$site/_pytest/runner.py", line 55, in pytest_sessionfinish session._setupstate.teardown_all() File "$site/_pytest/runner.py", line 375, in teardown_all self._pop_and_teardown() File "$site/_pytest/runner.py", line 348, in _pop_and_teardown self._teardown_with_finalization(colitem) File "$site/_pytest/runner.py", line 366, in _teardown_with_finalization self._callfinalizers(colitem) File "$site/_pytest/runner.py", line 363, in _callfinalizers py.builtin._reraise(*exc) File "$site/py/_builtin.py", line 227, in _reraise raise cls.with_traceback(val, tb) File "$site/_pytest/runner.py", line 356, in _callfinalizers fin() File "$path/test/../lib/sqlalchemy/testing/plugin/pytestplugin.py", line 149, in finalize class_teardown(item.parent.parent) File "$path/test/../lib/sqlalchemy/testing/plugin/pytestplugin.py", line 178, in class_teardown plugin_base.stop_test_class(item.cls) File "$path/test/../lib/sqlalchemy/testing/plugin/plugin_base.py", line 426, in stop_test_class assertions.global_cleanup_assertions() File "$path/test/../lib/sqlalchemy/testing/assertions.py", line 165, in global_cleanup_assertions _assert_no_stray_pool_connections() File "$path/test/../lib/sqlalchemy/testing/assertions.py", line 203, in _assert_no_stray_pool_connections "after gc.collect(): %s" % err AssertionError: Stray connection refused to leave after gc.collect(): {&lt;sqlalchemy.pool._ConnectionRecord object at 0x10ad34f28&gt;} </code></pre></div> <p dir="auto">without logging and with duplicate errors removed (table users exists):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="==================================== ERRORS ==================================== ERROR at setup of ComponentReflectionTest_mysql_pymysql.test_autoincrement_col Traceback (most recent call last): File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1139, in _execute_context context) File &quot;$path/test/../lib/sqlalchemy/engine/default.py&quot;, line 442, in do_execute cursor.execute(statement, parameters) File &quot;$site/pymysql/cursors.py&quot;, line 134, in execute result = self._query(query) File &quot;$site/pymysql/cursors.py&quot;, line 282, in _query conn.query(q) File &quot;$site/pymysql/connections.py&quot;, line 768, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File &quot;$site/pymysql/connections.py&quot;, line 929, in _read_query_result result.read() File &quot;$site/pymysql/connections.py&quot;, line 1125, in read first_packet = self.connection._read_packet() File &quot;$site/pymysql/connections.py&quot;, line 893, in _read_packet packet.check_error() File &quot;$site/pymysql/connections.py&quot;, line 369, in check_error err.raise_mysql_exception(self._data) File &quot;$site/pymysql/err.py&quot;, line 120, in raise_mysql_exception _check_mysql_exception(errinfo) File &quot;$site/pymysql/err.py&quot;, line 115, in _check_mysql_exception raise InternalError(errno, errorvalue) pymysql.err.InternalError: (1050, &quot;Table 'users' already exists&quot;) The above exception was the direct cause of the following exception: Traceback (most recent call last): File &quot;$path/test/../lib/sqlalchemy/testing/fixtures.py&quot;, line 83, in setup_class cls._setup_once_tables() File &quot;$path/test/../lib/sqlalchemy/testing/fixtures.py&quot;, line 112, in _setup_once_tables cls.metadata.create_all(cls.bind) File &quot;$path/test/../lib/sqlalchemy/sql/schema.py&quot;, line 3611, in create_all tables=tables) File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1843, in _run_visitor conn._run_visitor(visitorcallable, element, **kwargs) File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1471, in _run_visitor **kwargs).traverse_single(element) File &quot;$path/test/../lib/sqlalchemy/sql/visitors.py&quot;, line 121, in traverse_single return meth(obj, **kw) File &quot;$path/test/../lib/sqlalchemy/sql/ddl.py&quot;, line 727, in visit_metadata _is_metadata_operation=True) File &quot;$path/test/../lib/sqlalchemy/sql/visitors.py&quot;, line 121, in traverse_single return meth(obj, **kw) File &quot;$path/test/../lib/sqlalchemy/sql/ddl.py&quot;, line 761, in visit_table include_foreign_key_constraints=include_foreign_key_constraints File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 914, in execute return meth(self, multiparams, params) File &quot;$path/test/../lib/sqlalchemy/sql/ddl.py&quot;, line 68, in _execute_on_connection return connection._execute_ddl(self, multiparams, params) File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 968, in _execute_ddl compiled File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1146, in _execute_context context) File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1332, in _handle_dbapi_exception exc_info File &quot;$path/test/../lib/sqlalchemy/util/compat.py&quot;, line 188, in raise_from_cause reraise(type(exception), exception, tb=exc_tb, cause=exc_value) File &quot;$path/test/../lib/sqlalchemy/util/compat.py&quot;, line 181, in reraise raise value.with_traceback(tb) File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1139, in _execute_context context) File &quot;$path/test/../lib/sqlalchemy/engine/default.py&quot;, line 442, in do_execute cursor.execute(statement, parameters) File &quot;$site/pymysql/cursors.py&quot;, line 134, in execute result = self._query(query) File &quot;$site/pymysql/cursors.py&quot;, line 282, in _query conn.query(q) File &quot;$site/pymysql/connections.py&quot;, line 768, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File &quot;$site/pymysql/connections.py&quot;, line 929, in _read_query_result result.read() File &quot;$site/pymysql/connections.py&quot;, line 1125, in read first_packet = self.connection._read_packet() File &quot;$site/pymysql/connections.py&quot;, line 893, in _read_packet packet.check_error() File &quot;$site/pymysql/connections.py&quot;, line 369, in check_error err.raise_mysql_exception(self._data) File &quot;$site/pymysql/err.py&quot;, line 120, in raise_mysql_exception _check_mysql_exception(errinfo) File &quot;$site/pymysql/err.py&quot;, line 115, in _check_mysql_exception raise InternalError(errno, errorvalue) sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (1050, &quot;Table 'users' already exists&quot;) [SQL: '\nCREATE TABLE test_schema.users (\n\tuser_id INTEGER NOT NULL AUTO_INCREMENT, \n\ttest1 CHAR(5) NOT NULL, \n\ttest2 FLOAT(5) NOT NULL, \n\tparent_user_id INTEGER, \n\tPRIMARY KEY (user_id), \n\tFOREIGN KEY(parent_user_id) REFERENCES test_schema.users (user_id)\n)ENGINE=InnoDB\n\n'] ... =================================== FAILURES =================================== _________________ EnumSetTest_mysql_pymysql.test_unicode_enum __________________ Traceback (most recent call last): File &quot;&lt;string&gt;&quot;, line 2, in test_unicode_enum File &quot;$path/test/../lib/sqlalchemy/testing/util.py&quot;, line 195, in provide_metadata return fn(*args, **kw) File &quot;$path/test/dialect/mysql/test_types.py&quot;, line 914, in test_unicode_enum metadata.create_all() File &quot;$path/test/../lib/sqlalchemy/sql/schema.py&quot;, line 3611, in create_all tables=tables) File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1843, in _run_visitor conn._run_visitor(visitorcallable, element, **kwargs) File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1471, in _run_visitor **kwargs).traverse_single(element) File &quot;$path/test/../lib/sqlalchemy/sql/visitors.py&quot;, line 121, in traverse_single return meth(obj, **kw) File &quot;$path/test/../lib/sqlalchemy/sql/ddl.py&quot;, line 727, in visit_metadata _is_metadata_operation=True) File &quot;$path/test/../lib/sqlalchemy/sql/visitors.py&quot;, line 121, in traverse_single return meth(obj, **kw) File &quot;$path/test/../lib/sqlalchemy/sql/ddl.py&quot;, line 761, in visit_table include_foreign_key_constraints=include_foreign_key_constraints File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 914, in execute return meth(self, multiparams, params) File &quot;$path/test/../lib/sqlalchemy/sql/ddl.py&quot;, line 68, in _execute_on_connection return connection._execute_ddl(self, multiparams, params) File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 968, in _execute_ddl compiled File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1146, in _execute_context context) File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1335, in _handle_dbapi_exception util.reraise(*exc_info) File &quot;$path/test/../lib/sqlalchemy/util/compat.py&quot;, line 182, in reraise raise value File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1139, in _execute_context context) File &quot;$path/test/../lib/sqlalchemy/engine/default.py&quot;, line 442, in do_execute cursor.execute(statement, parameters) File &quot;$site/pymysql/cursors.py&quot;, line 134, in execute result = self._query(query) File &quot;$site/pymysql/cursors.py&quot;, line 282, in _query conn.query(q) File &quot;$site/pymysql/connections.py&quot;, line 766, in query sql = sql.encode(self.encoding, 'surrogateescape') UnicodeEncodeError: 'latin-1' codec can't encode character '\u2019' in position 95: ordinal not in range(256) _______________ EnumSetTest_mysql_pymysql.test_unicode_roundtrip _______________ Traceback (most recent call last): File &quot;&lt;string&gt;&quot;, line 2, in test_unicode_roundtrip File &quot;$path/test/../lib/sqlalchemy/testing/util.py&quot;, line 195, in provide_metadata return fn(*args, **kw) File &quot;$path/test/dialect/mysql/test_types.py&quot;, line 830, in test_unicode_roundtrip set_table.create() File &quot;$path/test/../lib/sqlalchemy/sql/schema.py&quot;, line 725, in create checkfirst=checkfirst) File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1843, in _run_visitor conn._run_visitor(visitorcallable, element, **kwargs) File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1471, in _run_visitor **kwargs).traverse_single(element) File &quot;$path/test/../lib/sqlalchemy/sql/visitors.py&quot;, line 121, in traverse_single return meth(obj, **kw) File &quot;$path/test/../lib/sqlalchemy/sql/ddl.py&quot;, line 761, in visit_table include_foreign_key_constraints=include_foreign_key_constraints File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 914, in execute return meth(self, multiparams, params) File &quot;$path/test/../lib/sqlalchemy/sql/ddl.py&quot;, line 68, in _execute_on_connection return connection._execute_ddl(self, multiparams, params) File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 968, in _execute_ddl compiled File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1146, in _execute_context context) File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1335, in _handle_dbapi_exception util.reraise(*exc_info) File &quot;$path/test/../lib/sqlalchemy/util/compat.py&quot;, line 182, in reraise raise value File &quot;$path/test/../lib/sqlalchemy/engine/base.py&quot;, line 1139, in _execute_context context) File &quot;$path/test/../lib/sqlalchemy/engine/default.py&quot;, line 442, in do_execute cursor.execute(statement, parameters) File &quot;$site/pymysql/cursors.py&quot;, line 134, in execute result = self._query(query) File &quot;$site/pymysql/cursors.py&quot;, line 282, in _query conn.query(q) File &quot;$site/pymysql/connections.py&quot;, line 766, in query sql = sql.encode(self.encoding, 'surrogateescape') UnicodeEncodeError: 'latin-1' codec can't encode character '\u2019' in position 87: ordinal not in range(256) =========================== short test summary info ============================ FAIL test/dialect/mysql/test_types.py::EnumSetTest_mysql_pymysql::()::test_unicode_enum FAIL test/dialect/mysql/test_types.py::EnumSetTest_mysql_pymysql::()::test_unicode_roundtrip !!!!!!!!!!!!!!!!!!! Interrupted: stopping after 25 failures !!!!!!!!!!!!!!!!!!!! ========= 2 failed, 95 passed, 334 skipped, 23 error in 62.13 seconds =========="><pre class="notranslate"><code class="notranslate">==================================== ERRORS ==================================== ERROR at setup of ComponentReflectionTest_mysql_pymysql.test_autoincrement_col Traceback (most recent call last): File "$path/test/../lib/sqlalchemy/engine/base.py", line 1139, in _execute_context context) File "$path/test/../lib/sqlalchemy/engine/default.py", line 442, in do_execute cursor.execute(statement, parameters) File "$site/pymysql/cursors.py", line 134, in execute result = self._query(query) File "$site/pymysql/cursors.py", line 282, in _query conn.query(q) File "$site/pymysql/connections.py", line 768, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "$site/pymysql/connections.py", line 929, in _read_query_result result.read() File "$site/pymysql/connections.py", line 1125, in read first_packet = self.connection._read_packet() File "$site/pymysql/connections.py", line 893, in _read_packet packet.check_error() File "$site/pymysql/connections.py", line 369, in check_error err.raise_mysql_exception(self._data) File "$site/pymysql/err.py", line 120, in raise_mysql_exception _check_mysql_exception(errinfo) File "$site/pymysql/err.py", line 115, in _check_mysql_exception raise InternalError(errno, errorvalue) pymysql.err.InternalError: (1050, "Table 'users' already exists") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "$path/test/../lib/sqlalchemy/testing/fixtures.py", line 83, in setup_class cls._setup_once_tables() File "$path/test/../lib/sqlalchemy/testing/fixtures.py", line 112, in _setup_once_tables cls.metadata.create_all(cls.bind) File "$path/test/../lib/sqlalchemy/sql/schema.py", line 3611, in create_all tables=tables) File "$path/test/../lib/sqlalchemy/engine/base.py", line 1843, in _run_visitor conn._run_visitor(visitorcallable, element, **kwargs) File "$path/test/../lib/sqlalchemy/engine/base.py", line 1471, in _run_visitor **kwargs).traverse_single(element) File "$path/test/../lib/sqlalchemy/sql/visitors.py", line 121, in traverse_single return meth(obj, **kw) File "$path/test/../lib/sqlalchemy/sql/ddl.py", line 727, in visit_metadata _is_metadata_operation=True) File "$path/test/../lib/sqlalchemy/sql/visitors.py", line 121, in traverse_single return meth(obj, **kw) File "$path/test/../lib/sqlalchemy/sql/ddl.py", line 761, in visit_table include_foreign_key_constraints=include_foreign_key_constraints File "$path/test/../lib/sqlalchemy/engine/base.py", line 914, in execute return meth(self, multiparams, params) File "$path/test/../lib/sqlalchemy/sql/ddl.py", line 68, in _execute_on_connection return connection._execute_ddl(self, multiparams, params) File "$path/test/../lib/sqlalchemy/engine/base.py", line 968, in _execute_ddl compiled File "$path/test/../lib/sqlalchemy/engine/base.py", line 1146, in _execute_context context) File "$path/test/../lib/sqlalchemy/engine/base.py", line 1332, in _handle_dbapi_exception exc_info File "$path/test/../lib/sqlalchemy/util/compat.py", line 188, in raise_from_cause reraise(type(exception), exception, tb=exc_tb, cause=exc_value) File "$path/test/../lib/sqlalchemy/util/compat.py", line 181, in reraise raise value.with_traceback(tb) File "$path/test/../lib/sqlalchemy/engine/base.py", line 1139, in _execute_context context) File "$path/test/../lib/sqlalchemy/engine/default.py", line 442, in do_execute cursor.execute(statement, parameters) File "$site/pymysql/cursors.py", line 134, in execute result = self._query(query) File "$site/pymysql/cursors.py", line 282, in _query conn.query(q) File "$site/pymysql/connections.py", line 768, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "$site/pymysql/connections.py", line 929, in _read_query_result result.read() File "$site/pymysql/connections.py", line 1125, in read first_packet = self.connection._read_packet() File "$site/pymysql/connections.py", line 893, in _read_packet packet.check_error() File "$site/pymysql/connections.py", line 369, in check_error err.raise_mysql_exception(self._data) File "$site/pymysql/err.py", line 120, in raise_mysql_exception _check_mysql_exception(errinfo) File "$site/pymysql/err.py", line 115, in _check_mysql_exception raise InternalError(errno, errorvalue) sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (1050, "Table 'users' already exists") [SQL: '\nCREATE TABLE test_schema.users (\n\tuser_id INTEGER NOT NULL AUTO_INCREMENT, \n\ttest1 CHAR(5) NOT NULL, \n\ttest2 FLOAT(5) NOT NULL, \n\tparent_user_id INTEGER, \n\tPRIMARY KEY (user_id), \n\tFOREIGN KEY(parent_user_id) REFERENCES test_schema.users (user_id)\n)ENGINE=InnoDB\n\n'] ... =================================== FAILURES =================================== _________________ EnumSetTest_mysql_pymysql.test_unicode_enum __________________ Traceback (most recent call last): File "&lt;string&gt;", line 2, in test_unicode_enum File "$path/test/../lib/sqlalchemy/testing/util.py", line 195, in provide_metadata return fn(*args, **kw) File "$path/test/dialect/mysql/test_types.py", line 914, in test_unicode_enum metadata.create_all() File "$path/test/../lib/sqlalchemy/sql/schema.py", line 3611, in create_all tables=tables) File "$path/test/../lib/sqlalchemy/engine/base.py", line 1843, in _run_visitor conn._run_visitor(visitorcallable, element, **kwargs) File "$path/test/../lib/sqlalchemy/engine/base.py", line 1471, in _run_visitor **kwargs).traverse_single(element) File "$path/test/../lib/sqlalchemy/sql/visitors.py", line 121, in traverse_single return meth(obj, **kw) File "$path/test/../lib/sqlalchemy/sql/ddl.py", line 727, in visit_metadata _is_metadata_operation=True) File "$path/test/../lib/sqlalchemy/sql/visitors.py", line 121, in traverse_single return meth(obj, **kw) File "$path/test/../lib/sqlalchemy/sql/ddl.py", line 761, in visit_table include_foreign_key_constraints=include_foreign_key_constraints File "$path/test/../lib/sqlalchemy/engine/base.py", line 914, in execute return meth(self, multiparams, params) File "$path/test/../lib/sqlalchemy/sql/ddl.py", line 68, in _execute_on_connection return connection._execute_ddl(self, multiparams, params) File "$path/test/../lib/sqlalchemy/engine/base.py", line 968, in _execute_ddl compiled File "$path/test/../lib/sqlalchemy/engine/base.py", line 1146, in _execute_context context) File "$path/test/../lib/sqlalchemy/engine/base.py", line 1335, in _handle_dbapi_exception util.reraise(*exc_info) File "$path/test/../lib/sqlalchemy/util/compat.py", line 182, in reraise raise value File "$path/test/../lib/sqlalchemy/engine/base.py", line 1139, in _execute_context context) File "$path/test/../lib/sqlalchemy/engine/default.py", line 442, in do_execute cursor.execute(statement, parameters) File "$site/pymysql/cursors.py", line 134, in execute result = self._query(query) File "$site/pymysql/cursors.py", line 282, in _query conn.query(q) File "$site/pymysql/connections.py", line 766, in query sql = sql.encode(self.encoding, 'surrogateescape') UnicodeEncodeError: 'latin-1' codec can't encode character '\u2019' in position 95: ordinal not in range(256) _______________ EnumSetTest_mysql_pymysql.test_unicode_roundtrip _______________ Traceback (most recent call last): File "&lt;string&gt;", line 2, in test_unicode_roundtrip File "$path/test/../lib/sqlalchemy/testing/util.py", line 195, in provide_metadata return fn(*args, **kw) File "$path/test/dialect/mysql/test_types.py", line 830, in test_unicode_roundtrip set_table.create() File "$path/test/../lib/sqlalchemy/sql/schema.py", line 725, in create checkfirst=checkfirst) File "$path/test/../lib/sqlalchemy/engine/base.py", line 1843, in _run_visitor conn._run_visitor(visitorcallable, element, **kwargs) File "$path/test/../lib/sqlalchemy/engine/base.py", line 1471, in _run_visitor **kwargs).traverse_single(element) File "$path/test/../lib/sqlalchemy/sql/visitors.py", line 121, in traverse_single return meth(obj, **kw) File "$path/test/../lib/sqlalchemy/sql/ddl.py", line 761, in visit_table include_foreign_key_constraints=include_foreign_key_constraints File "$path/test/../lib/sqlalchemy/engine/base.py", line 914, in execute return meth(self, multiparams, params) File "$path/test/../lib/sqlalchemy/sql/ddl.py", line 68, in _execute_on_connection return connection._execute_ddl(self, multiparams, params) File "$path/test/../lib/sqlalchemy/engine/base.py", line 968, in _execute_ddl compiled File "$path/test/../lib/sqlalchemy/engine/base.py", line 1146, in _execute_context context) File "$path/test/../lib/sqlalchemy/engine/base.py", line 1335, in _handle_dbapi_exception util.reraise(*exc_info) File "$path/test/../lib/sqlalchemy/util/compat.py", line 182, in reraise raise value File "$path/test/../lib/sqlalchemy/engine/base.py", line 1139, in _execute_context context) File "$path/test/../lib/sqlalchemy/engine/default.py", line 442, in do_execute cursor.execute(statement, parameters) File "$site/pymysql/cursors.py", line 134, in execute result = self._query(query) File "$site/pymysql/cursors.py", line 282, in _query conn.query(q) File "$site/pymysql/connections.py", line 766, in query sql = sql.encode(self.encoding, 'surrogateescape') UnicodeEncodeError: 'latin-1' codec can't encode character '\u2019' in position 87: ordinal not in range(256) =========================== short test summary info ============================ FAIL test/dialect/mysql/test_types.py::EnumSetTest_mysql_pymysql::()::test_unicode_enum FAIL test/dialect/mysql/test_types.py::EnumSetTest_mysql_pymysql::()::test_unicode_roundtrip !!!!!!!!!!!!!!!!!!! Interrupted: stopping after 25 failures !!!!!!!!!!!!!!!!!!!! ========= 2 failed, 95 passed, 334 skipped, 23 error in 62.13 seconds ========== </code></pre></div>
0
<p dir="auto">There seems to be a genuine bug in <code class="notranslate">scipy.interpolate.interp2d</code>. In this example the input arrays are given as full coordinates (and not as a regular grid). This data here, is part of a much bigger non-regularly sampled surface, thus I can't call <code class="notranslate">interp2d</code> with x, y as column and raw coordinates on a regular grid.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; data array([(0.11, 1.0, 10.045999999999999), (0.13, 1.0, 9.6010000000000009), (0.14999999999999999, 1.0, 9.2579999999999991), (0.17499999999999999, 1.0, 8.9199999999999999), (0.20000000000000001, 1.0, 8.6479999999999997), (0.25, 1.0, 8.2159999999999993), (0.11, 2.0, 10.045999999999999), (0.13, 2.0, 9.5999999999999996), (0.14999999999999999, 2.0, 9.2579999999999991), (0.17499999999999999, 2.0, 8.9190000000000005), (0.20000000000000001, 2.0, 8.6460000000000008), (0.25, 2.0, 8.2089999999999996)], dtype=[('M', '&lt;f8'), ('age', '&lt;f8'), ('J', '&lt;f8')]) &gt;&gt;&gt; interp_data = interp2d(data['M'], data['age'], data['J']) Warning: No more knots can be added because the number of B-spline coefficients already exceeds the number of data points m. Probably causes: either s or m too small. (fp&gt;s) kx,ky=1,1 nx,ny=7,5 m=12 fp=0.000284 s=0.000000"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; data array([(0.11, 1.0, 10.045999999999999), (0.13, 1.0, 9.6010000000000009), (0.14999999999999999, 1.0, 9.2579999999999991), (0.17499999999999999, 1.0, 8.9199999999999999), (0.20000000000000001, 1.0, 8.6479999999999997), (0.25, 1.0, 8.2159999999999993), (0.11, 2.0, 10.045999999999999), (0.13, 2.0, 9.5999999999999996), (0.14999999999999999, 2.0, 9.2579999999999991), (0.17499999999999999, 2.0, 8.9190000000000005), (0.20000000000000001, 2.0, 8.6460000000000008), (0.25, 2.0, 8.2089999999999996)], dtype=[('M', '&lt;f8'), ('age', '&lt;f8'), ('J', '&lt;f8')]) &gt;&gt;&gt; interp_data = interp2d(data['M'], data['age'], data['J']) Warning: No more knots can be added because the number of B-spline coefficients already exceeds the number of data points m. Probably causes: either s or m too small. (fp&gt;s) kx,ky=1,1 nx,ny=7,5 m=12 fp=0.000284 s=0.000000 </code></pre></div> <p dir="auto">The result definitely doesn't look right, I don't expect any interpolated value to be around 0 especially with linear interpolation.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6788290/5002954/033c3ee2-69ff-11e4-9b9a-a68d3e19b2b4.png"><img src="https://cloud.githubusercontent.com/assets/6788290/5002954/033c3ee2-69ff-11e4-9b9a-a68d3e19b2b4.png" alt="failed_interp2d" style="max-width: 100%;"></a></p>
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/scipy/ticket/1642" rel="nofollow">http://projects.scipy.org/scipy/ticket/1642</a> on 2012-04-14 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rgommers/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rgommers">@rgommers</a>, assigned to unknown.</em></p> <p dir="auto">This warning was showing up by default for a long time. The cause seems to be that the optional nxest/nyest parameters to surfit, which are determined in fitpack.pyf, are too small if kx=ky=1.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &gt;&gt;&gt; x = [1,1,1,2,2,2,4,4,4] &gt;&gt;&gt; y = [1,2,3,1,2,3,1,2,3] &gt;&gt;&gt; z = array([0,7,8,3,4,7,1,3,4]) &gt;&gt;&gt; lut = SmoothBivariateSpline(x, y, z, kx=1, ky=1, s=0) /Users/rgommers/Code/scipy/scipy/interpolate/fitpack2.py:613: UserWarning: The required storage space exceeds the available storage space: nxest or nyest too small, or s too small. The weighted least-squares spline corresponds to the current set of knots. warnings.warn(message)"><pre class="notranslate"><code class="notranslate"> &gt;&gt;&gt; x = [1,1,1,2,2,2,4,4,4] &gt;&gt;&gt; y = [1,2,3,1,2,3,1,2,3] &gt;&gt;&gt; z = array([0,7,8,3,4,7,1,3,4]) &gt;&gt;&gt; lut = SmoothBivariateSpline(x, y, z, kx=1, ky=1, s=0) /Users/rgommers/Code/scipy/scipy/interpolate/fitpack2.py:613: UserWarning: The required storage space exceeds the available storage space: nxest or nyest too small, or s too small. The weighted least-squares spline corresponds to the current set of knots. warnings.warn(message) </code></pre></div> <p dir="auto">This needs some investigation. I'll filter out the warning for now.</p> <p dir="auto">A likely related problem:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [3]: %paste x = [1,1,1,2,2,2,3,3,3] y = [1,2,3,1,2,3,1,2,3] z = [0,7,8,3,4,7,1,3,4] s = 0.1 tx = [1+s,3-s] ty = [1+s,3-s] lut = LSQBivariateSpline(x,y,z,tx,ty,kx=1,ky=1) ## -- End pasted text -- /Users/rgommers/Code/scipy/scipy/interpolate/fitpack2.py:684: UserWarning: The coefficients of the spline returned have been computed as the minimal norm least-squares solution of a (numerically) rank deficient system (deficiency=7). If deficiency is large, the results may be inaccurate. Deficiency may strongly depend on the value of eps. warnings.warn(message)"><pre class="notranslate"><code class="notranslate">In [3]: %paste x = [1,1,1,2,2,2,3,3,3] y = [1,2,3,1,2,3,1,2,3] z = [0,7,8,3,4,7,1,3,4] s = 0.1 tx = [1+s,3-s] ty = [1+s,3-s] lut = LSQBivariateSpline(x,y,z,tx,ty,kx=1,ky=1) ## -- End pasted text -- /Users/rgommers/Code/scipy/scipy/interpolate/fitpack2.py:684: UserWarning: The coefficients of the spline returned have been computed as the minimal norm least-squares solution of a (numerically) rank deficient system (deficiency=7). If deficiency is large, the results may be inaccurate. Deficiency may strongly depend on the value of eps. warnings.warn(message) </code></pre></div>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=auni_ku" rel="nofollow">Sharif Uddin</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-5007?redirect=false" rel="nofollow">SPR-5007</a></strong> and commented</p> <p dir="auto">HibernateTemplate.loadAll(clazz) returns duplicate entries if the Class 'clazz' contains collection field and database contains entry related to that collection field.</p> <p dir="auto">for example,<br> A Customer contains list of Product (one-to-many).<br> In database say there are Products p1,p2 for customer c1 and Product p3 for Customer c2.<br> Now ..loadAll(Customer.class) returns a list contains {c1,c1,c2}.</p> <p dir="auto">related class: org.springframework.orm.hibernate3.HibernateTemplate</p> <p dir="auto">related method:<br> public List loadAll(final Class entityClass) throws DataAccessException {<br> return (List) executeWithNativeSession(new HibernateCallback() {<br> public Object doInHibernate(Session session) throws HibernateException {<br> Criteria criteria = session.createCriteria(entityClass);<br> prepareCriteria(criteria);<br> return criteria.list();<br> }<br> });<br> }</p> <p dir="auto">Possible Solution:<br> changing the line</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Criteria criteria = session.createCriteria(entityClass);"><pre class="notranslate"><code class="notranslate">Criteria criteria = session.createCriteria(entityClass); </code></pre></div> <p dir="auto">to<br> Criteria criteria = session.createCriteria(entityClass).setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY);</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.5.5</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=isopov" rel="nofollow">Ivan Sopov</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9845?redirect=false" rel="nofollow">SPR-9845</a></strong> and commented</p> <p dir="auto">If I inject javax.inject.Provider for creating prototype scoped beans into session scoped beans it fails when creating second session:</p> <p dir="auto">2012-10-01 18:45:50.113:WARN::/pins/default<br> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionBeanWithDefaultProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.inject.Provider com.sopovs.moradanen.SessionBeanWithDefaultProvider.prototypePojoProvider; nested exception is java.lang.IllegalArgumentException: Can not set javax.inject.Provider field com.sopovs.moradanen.SessionBeanWithDefaultProvider.prototypePojoProvider to com.sopovs.moradanen.PrototypeBean<br> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)<br> at org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:332)<br> at org.springframework.web.context.request.AbstractRequestAttributesScope.get(AbstractRequestAttributesScope.java:43)<br> at org.springframework.web.context.request.SessionScope.get(SessionScope.java:92)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:328)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:876)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:818)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory$DependencyObjectFactory.getObject(DefaultListableBeanFactory.java:1040)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory$DependencyProvider.get(DefaultListableBeanFactory.java:1056)<br> at com.sopovs.moradanen.DefaultProviderController.sayHello(DefaultProviderController.java:19)<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)...</p> <p dir="auto">I have created sample project reproducing the issue and published it on github: <a href="https://github.com/isopov/provider-in-session-with-spring">https://github.com/isopov/provider-in-session-with-spring</a></p> <hr> <p dir="auto"><strong>Affects:</strong> 3.1.2</p> <p dir="auto"><strong>Reference URL:</strong> <a href="https://github.com/isopov/provider-in-session-with-spring">https://github.com/isopov/provider-in-session-with-spring</a></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="398117666" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13819" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13819/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13819">#13819</a> <code class="notranslate">@Inject</code> Provider or <code class="notranslate">@Autowired</code> ObjectFactory issue with session scoped bean (<em><strong>"duplicates"</strong></em>)</li> </ul>
0
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: v1.33.0</li> <li>Operating System: macOS 13.3.1</li> <li>Browser: Chromium</li> <li>Other info:</li> </ul> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li> </ul> <p dir="auto"><strong>Config file</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts const config = defineConfig({ testDir: './e2e', /* Maximum time one test can run for - 30s */ timeout: 30000, expect: { /** * Maximum time expect() should wait for the condition to be met. * For example in `await expect(locator).toHaveText();` */ timeout: 10000, }, /* Run tests in files in parallel */ fullyParallel: true, /* Fail the build on CI if you accidentally left test.only in the source code. */ forbidOnly: IS_CI, /* Retry on CI only */ retries: IS_CI ? 2 : 0, /* Opt out of parallel tests on CI. */ workers: IS_CI ? 1 : undefined, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: 'html', /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { /* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */ actionTimeout: 0, /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: 'on-first-retry', screenshot: 'only-on-failure', }, globalTeardown: './e2e/setup/global-teardown.js', globalSetup: './e2e/setup/global-setup.js', /* Configure projects for major browsers */ projects, /* Run your local dev server before starting the tests */ // webServer: { // command: 'npm run start', // url: 'http://127.0.0.1:3000', // reuseExistingServer: !process.env.CI, // }, });"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span> <span class="pl-k">const</span> <span class="pl-s1">config</span> <span class="pl-c1">=</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">testDir</span>: <span class="pl-s">'./e2e'</span><span class="pl-kos">,</span> <span class="pl-c">/* Maximum time one test can run for - 30s */</span> <span class="pl-c1">timeout</span>: <span class="pl-c1">30000</span><span class="pl-kos">,</span> <span class="pl-c1">expect</span>: <span class="pl-kos">{</span> <span class="pl-c">/**</span> <span class="pl-c"> * Maximum time expect() should wait for the condition to be met.</span> <span class="pl-c"> * For example in `await expect(locator).toHaveText();`</span> <span class="pl-c"> */</span> <span class="pl-c1">timeout</span>: <span class="pl-c1">10000</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c">/* Run tests in files in parallel */</span> <span class="pl-c1">fullyParallel</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c">/* Fail the build on CI if you accidentally left test.only in the source code. */</span> <span class="pl-c1">forbidOnly</span>: <span class="pl-c1">IS_CI</span><span class="pl-kos">,</span> <span class="pl-c">/* Retry on CI only */</span> <span class="pl-c1">retries</span>: <span class="pl-c1">IS_CI</span> ? <span class="pl-c1">2</span> : <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c">/* Opt out of parallel tests on CI. */</span> <span class="pl-c1">workers</span>: <span class="pl-c1">IS_CI</span> ? <span class="pl-c1">1</span> : <span class="pl-c1">undefined</span><span class="pl-kos">,</span> <span class="pl-c">/* Reporter to use. See https://playwright.dev/docs/test-reporters */</span> <span class="pl-c1">reporter</span>: <span class="pl-s">'html'</span><span class="pl-kos">,</span> <span class="pl-c">/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> <span class="pl-c">/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */</span> <span class="pl-c1">actionTimeout</span>: <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c">/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */</span> <span class="pl-c1">trace</span>: <span class="pl-s">'on-first-retry'</span><span class="pl-kos">,</span> <span class="pl-c1">screenshot</span>: <span class="pl-s">'only-on-failure'</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">globalTeardown</span>: <span class="pl-s">'./e2e/setup/global-teardown.js'</span><span class="pl-kos">,</span> <span class="pl-c1">globalSetup</span>: <span class="pl-s">'./e2e/setup/global-setup.js'</span><span class="pl-kos">,</span> <span class="pl-c">/* Configure projects for major browsers */</span> projects<span class="pl-kos">,</span> <span class="pl-c">/* Run your local dev server before starting the tests */</span> <span class="pl-c">// webServer: {</span> <span class="pl-c">// command: 'npm run start',</span> <span class="pl-c">// url: 'http://127.0.0.1:3000',</span> <span class="pl-c">// reuseExistingServer: !process.env.CI,</span> <span class="pl-c">// },</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// global-setup.js async function globalSetup() { console.log('SETUP....'); } export default globalSetup;"><pre class="notranslate"><span class="pl-c">// global-setup.js</span> <span class="pl-k">async</span> <span class="pl-k">function</span> <span class="pl-en">globalSetup</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">'SETUP....'</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-s1">globalSetup</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="// global-teardown.js async function globalTeardown() { console.log('TEARDOWN....'); } export default globalTeardown;"><pre class="notranslate"><span class="pl-c">// global-teardown.js</span> <span class="pl-k">async</span> <span class="pl-k">function</span> <span class="pl-en">globalTeardown</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">'TEARDOWN....'</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-s1">globalTeardown</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>[Run any test]</li> <li>Observe that the globalSetup will log <code class="notranslate">SETUP...</code></li> <li>Observe that the globalTearDown will never run</li> </ul> <p dir="auto"><strong>Expected</strong><br> globalTearDown should run after the test finishes</p> <p dir="auto"><strong>Actual</strong><br> globalTearDown never runs after the test finishes</p> <p dir="auto">Screenshot:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5679671/236019461-e599e417-1882-4176-9d1e-97cc08699d83.png"><img width="762" alt="Screenshot 2023-05-03 at 15 54 33" src="https://user-images.githubusercontent.com/5679671/236019461-e599e417-1882-4176-9d1e-97cc08699d83.png" style="max-width: 100%;"></a></p> <p dir="auto">[Describe actual behavior]</p> <p dir="auto">I expect globalTeardown to run once all tests finish, but this is not happening.</p> <p dir="auto">Any help on what I could be doing wrong would be much appreciated, but since globalSetup is running I believe it could be a bug.</p>
<p dir="auto"><strong>Context:</strong></p> <ul dir="auto"> <li>Playwright Version: 1.22</li> <li>Operating System: Mac with Docker</li> <li>Node.js version: 14.19</li> <li>Browser: All</li> <li>Extra: We are using Playwright for Visual Regression</li> </ul> <p dir="auto"><strong>Code Snippet</strong></p> <p dir="auto">Running command:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="docker run --rm --network=host --ipc=host -v $(pwd):/work/ mcr.microsoft.com/playwright:v1.22.0-focal bash -c 'cd work &amp;&amp; npx playwright install &amp;&amp; npx playwright test --update-snapshots'"><pre class="notranslate">docker run --rm --network=host --ipc=host -v <span class="pl-s"><span class="pl-pds">$(</span>pwd<span class="pl-pds">)</span></span>:/work/ mcr.microsoft.com/playwright:v1.22.0-focal bash -c <span class="pl-s"><span class="pl-pds">'</span>cd work &amp;&amp; npx playwright install &amp;&amp; npx playwright test --update-snapshots<span class="pl-pds">'</span></span></pre></div> <p dir="auto"><code class="notranslate">playwright.config.ts</code></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/* eslint-disable no-console */ import type { PlaywrightTestConfig } from '@playwright/test'; import { devices } from '@playwright/test'; /** * Read environment variables from file. * https://github.com/motdotla/dotenv */ // require('dotenv').config(); const port = global.process.env.PORT ? parseInt(global.process.env.PORT, 10) : 4200; const url = `http://localhost:${port}`; /** * See https://playwright.dev/docs/test-configuration. */ const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ timeout: 100000, expect: { /** * Maximum time expect() should wait for the condition to be met. * For example in `await expect(locator).toHaveText();` */ timeout: 100000, }, /* Fail the build on CI if you accidentally left test.only in the source code. */ forbidOnly: !!process.env.CI, /* Retry on CI only */ retries: process.env.CI ? 2 : 0, /* Opt out of parallel tests on CI. */ workers: process.env.CI ? 1 : undefined, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: [['line'], ['html']], /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { /* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */ actionTimeout: 0, /* Base URL to use in actions like `await page.goto('/')`. */ baseURL: url, /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: 'on-first-retry', }, /* Configure projects for major browsers */ projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'], }, }, { name: 'firefox', use: { ...devices['Desktop Firefox'], }, }, { name: 'webkit', use: { ...devices['Desktop Safari'], }, }, { name: 'Mobile Chrome Portrait', use: { ...devices['Pixel 5'], }, }, { name: 'Mobile Safari Portrait', use: { ...devices['iPhone 12'], }, }, { name: 'Tablet Safari Portrait', use: { ...devices['iPad (gen 7)'], }, }, ], /* Folder for test artifacts such as screenshots, videos, traces, etc. */ // outputDir: 'test-results/', webServer: { command: `yarn start --port ${port}`, url, timeout: 300000, }, /* Run your local dev server before starting the tests */ }; export default config;"><pre class="notranslate"><span class="pl-c">/* eslint-disable no-console */</span> <span class="pl-k">import</span> <span class="pl-k">type</span> <span class="pl-kos">{</span> <span class="pl-smi">PlaywrightTestConfig</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span> <span class="pl-c">/**</span> <span class="pl-c"> * Read environment variables from file.</span> <span class="pl-c"> * https://github.com/motdotla/dotenv</span> <span class="pl-c"> */</span> <span class="pl-c">// require('dotenv').config();</span> <span class="pl-k">const</span> <span class="pl-s1">port</span> <span class="pl-c1">=</span> <span class="pl-s1">global</span><span class="pl-kos">.</span><span class="pl-c1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">PORT</span> ? <span class="pl-en">parseInt</span><span class="pl-kos">(</span><span class="pl-s1">global</span><span class="pl-kos">.</span><span class="pl-c1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">PORT</span><span class="pl-kos">,</span> <span class="pl-c1">10</span><span class="pl-kos">)</span> : <span class="pl-c1">4200</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">url</span> <span class="pl-c1">=</span> <span class="pl-s">`http://localhost:<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">port</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">;</span> <span class="pl-c">/**</span> <span class="pl-c"> * See https://playwright.dev/docs/test-configuration.</span> <span class="pl-c"> */</span> <span class="pl-k">const</span> <span class="pl-s1">config</span>: <span class="pl-smi">PlaywrightTestConfig</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">testDir</span>: <span class="pl-s">'./tests'</span><span class="pl-kos">,</span> <span class="pl-c">/* Maximum time one test can run for. */</span> <span class="pl-c1">timeout</span>: <span class="pl-c1">100000</span><span class="pl-kos">,</span> <span class="pl-c1">expect</span>: <span class="pl-kos">{</span> <span class="pl-c">/**</span> <span class="pl-c"> * Maximum time expect() should wait for the condition to be met.</span> <span class="pl-c"> * For example in `await expect(locator).toHaveText();`</span> <span class="pl-c"> */</span> <span class="pl-c1">timeout</span>: <span class="pl-c1">100000</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c">/* Fail the build on CI if you accidentally left test.only in the source code. */</span> <span class="pl-c1">forbidOnly</span>: <span class="pl-c1">!</span><span class="pl-c1">!</span><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span><span class="pl-kos">,</span> <span class="pl-c">/* Retry on CI only */</span> <span class="pl-c1">retries</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span> ? <span class="pl-c1">2</span> : <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c">/* Opt out of parallel tests on CI. */</span> <span class="pl-c1">workers</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span> ? <span class="pl-c1">1</span> : <span class="pl-c1">undefined</span><span class="pl-kos">,</span> <span class="pl-c">/* Reporter to use. See https://playwright.dev/docs/test-reporters */</span> <span class="pl-c1">reporter</span>: <span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-s">'line'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">'html'</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c">/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> <span class="pl-c">/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */</span> <span class="pl-c1">actionTimeout</span>: <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c">/* Base URL to use in actions like `await page.goto('/')`. */</span> <span class="pl-c1">baseURL</span>: <span class="pl-s1">url</span><span class="pl-kos">,</span> <span class="pl-c">/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */</span> <span class="pl-c1">trace</span>: <span class="pl-s">'on-first-retry'</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c">/* Configure projects for major browsers */</span> <span class="pl-c1">projects</span>: <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'chromium'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'firefox'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Firefox'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'webkit'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Safari'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'Mobile Chrome Portrait'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Pixel 5'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'Mobile Safari Portrait'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'iPhone 12'</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-c1">name</span>: <span class="pl-s">'Tablet Safari Portrait'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'iPad (gen 7)'</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-c">/* Folder for test artifacts such as screenshots, videos, traces, etc. */</span> <span class="pl-c">// outputDir: 'test-results/',</span> <span class="pl-c1">webServer</span>: <span class="pl-kos">{</span> <span class="pl-c1">command</span>: <span class="pl-s">`yarn start --port <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">port</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">,</span> url<span class="pl-kos">,</span> <span class="pl-c1">timeout</span>: <span class="pl-c1">300000</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c">/* Run your local dev server before starting the tests */</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-s1">config</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><code class="notranslate">urls.ts</code></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/* eslint-disable sonarjs/no-duplicate-string */ interface PlaywrightUrl { url: string; pageName: string; mask?: string[]; } export const URLS: PlaywrightUrl[] = [ { url: '/sign/in', pageName: 'sign-in', }, { url: '/contact', pageName: 'contact', }, { url: '/faq', pageName: 'faq', mask: ['app-faq-items'], }, { url: '/dashboard?login-token=token-demo', pageName: 'dashboard', mask: ['.layout__main-content'], }, { url: '/services/wizbii-drive/lessons?login-token=token-demo', pageName: 'wizbii-drive-lessons', }, { url: '/services/wizbii-drive/series?login-token=token-demo', pageName: 'wizbii-drive-series', mask: ['.serie__action', '.serie__status'], }, { url: '/services/wizbii-drive/series?mode=training&amp;login-token=token-demo', pageName: 'wizbii-drive-series-training', mask: ['.serie__action', '.serie__status'], }, { url: '/services/wizbii-drive/series?group-by=thematics&amp;login-token=token-demo', pageName: 'wizbii-drive-thematics', }, { url: '/services/wizbii-drive/series/thematics/l_legales?login-token=token-demo', pageName: 'wizbii-drive-series-theme', mask: ['.serie__action', '.serie__status'], }, { url: '/services/wizbii-drive/series/thematics/l_legales?mode=training&amp;login-token=token-demo', pageName: 'wizbii-drive-series-theme-training', mask: ['.serie__action', '.serie__status'], }, { url: '/services/wizbii-drive/progress?login-token=token-demo', pageName: 'wizbii-drive-progress', mask: ['.serie__action', '.serie__status', '.graph-section'], }, { url: '/services/wizbii-drive/advices?login-token=token-demo', pageName: 'wizbii-drive-advices', mask: ['drive-advice-list-item'], }, { url: '/services/wizbii-blog?login-token=token-demo', pageName: 'wizbii-blog-list', mask: ['app-article-item'], }, { url: '/services/wizbii-blog?category=entrepreneuriat&amp;login-token=token-demo', pageName: 'wizbii-blog-list-category', mask: ['app-article-item'], }, ];"><pre class="notranslate"><span class="pl-c">/* eslint-disable sonarjs/no-duplicate-string */</span> <span class="pl-k">interface</span> <span class="pl-smi">PlaywrightUrl</span> <span class="pl-kos">{</span> <span class="pl-c1">url</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-c1">pageName</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-c1">mask</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-kos">}</span> <span class="pl-k">export</span> <span class="pl-k">const</span> <span class="pl-smi">URLS</span>: <span class="pl-smi">PlaywrightUrl</span><span class="pl-kos">[</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">url</span>: <span class="pl-s">'/sign/in'</span><span class="pl-kos">,</span> <span class="pl-c1">pageName</span>: <span class="pl-s">'sign-in'</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">url</span>: <span class="pl-s">'/contact'</span><span class="pl-kos">,</span> <span class="pl-c1">pageName</span>: <span class="pl-s">'contact'</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">url</span>: <span class="pl-s">'/faq'</span><span class="pl-kos">,</span> <span class="pl-c1">pageName</span>: <span class="pl-s">'faq'</span><span class="pl-kos">,</span> <span class="pl-c1">mask</span>: <span class="pl-kos">[</span><span class="pl-s">'app-faq-items'</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">url</span>: <span class="pl-s">'/dashboard?login-token=token-demo'</span><span class="pl-kos">,</span> <span class="pl-c1">pageName</span>: <span class="pl-s">'dashboard'</span><span class="pl-kos">,</span> <span class="pl-c1">mask</span>: <span class="pl-kos">[</span><span class="pl-s">'.layout__main-content'</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">url</span>: <span class="pl-s">'/services/wizbii-drive/lessons?login-token=token-demo'</span><span class="pl-kos">,</span> <span class="pl-c1">pageName</span>: <span class="pl-s">'wizbii-drive-lessons'</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">url</span>: <span class="pl-s">'/services/wizbii-drive/series?login-token=token-demo'</span><span class="pl-kos">,</span> <span class="pl-c1">pageName</span>: <span class="pl-s">'wizbii-drive-series'</span><span class="pl-kos">,</span> <span class="pl-c1">mask</span>: <span class="pl-kos">[</span><span class="pl-s">'.serie__action'</span><span class="pl-kos">,</span> <span class="pl-s">'.serie__status'</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">url</span>: <span class="pl-s">'/services/wizbii-drive/series?mode=training&amp;login-token=token-demo'</span><span class="pl-kos">,</span> <span class="pl-c1">pageName</span>: <span class="pl-s">'wizbii-drive-series-training'</span><span class="pl-kos">,</span> <span class="pl-c1">mask</span>: <span class="pl-kos">[</span><span class="pl-s">'.serie__action'</span><span class="pl-kos">,</span> <span class="pl-s">'.serie__status'</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">url</span>: <span class="pl-s">'/services/wizbii-drive/series?group-by=thematics&amp;login-token=token-demo'</span><span class="pl-kos">,</span> <span class="pl-c1">pageName</span>: <span class="pl-s">'wizbii-drive-thematics'</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">url</span>: <span class="pl-s">'/services/wizbii-drive/series/thematics/l_legales?login-token=token-demo'</span><span class="pl-kos">,</span> <span class="pl-c1">pageName</span>: <span class="pl-s">'wizbii-drive-series-theme'</span><span class="pl-kos">,</span> <span class="pl-c1">mask</span>: <span class="pl-kos">[</span><span class="pl-s">'.serie__action'</span><span class="pl-kos">,</span> <span class="pl-s">'.serie__status'</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">url</span>: <span class="pl-s">'/services/wizbii-drive/series/thematics/l_legales?mode=training&amp;login-token=token-demo'</span><span class="pl-kos">,</span> <span class="pl-c1">pageName</span>: <span class="pl-s">'wizbii-drive-series-theme-training'</span><span class="pl-kos">,</span> <span class="pl-c1">mask</span>: <span class="pl-kos">[</span><span class="pl-s">'.serie__action'</span><span class="pl-kos">,</span> <span class="pl-s">'.serie__status'</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">url</span>: <span class="pl-s">'/services/wizbii-drive/progress?login-token=token-demo'</span><span class="pl-kos">,</span> <span class="pl-c1">pageName</span>: <span class="pl-s">'wizbii-drive-progress'</span><span class="pl-kos">,</span> <span class="pl-c1">mask</span>: <span class="pl-kos">[</span><span class="pl-s">'.serie__action'</span><span class="pl-kos">,</span> <span class="pl-s">'.serie__status'</span><span class="pl-kos">,</span> <span class="pl-s">'.graph-section'</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">url</span>: <span class="pl-s">'/services/wizbii-drive/advices?login-token=token-demo'</span><span class="pl-kos">,</span> <span class="pl-c1">pageName</span>: <span class="pl-s">'wizbii-drive-advices'</span><span class="pl-kos">,</span> <span class="pl-c1">mask</span>: <span class="pl-kos">[</span><span class="pl-s">'drive-advice-list-item'</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">url</span>: <span class="pl-s">'/services/wizbii-blog?login-token=token-demo'</span><span class="pl-kos">,</span> <span class="pl-c1">pageName</span>: <span class="pl-s">'wizbii-blog-list'</span><span class="pl-kos">,</span> <span class="pl-c1">mask</span>: <span class="pl-kos">[</span><span class="pl-s">'app-article-item'</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">url</span>: <span class="pl-s">'/services/wizbii-blog?category=entrepreneuriat&amp;login-token=token-demo'</span><span class="pl-kos">,</span> <span class="pl-c1">pageName</span>: <span class="pl-s">'wizbii-blog-list-category'</span><span class="pl-kos">,</span> <span class="pl-c1">mask</span>: <span class="pl-kos">[</span><span class="pl-s">'app-article-item'</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"><code class="notranslate">visual-testing.spec.ts</code></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { expect, test } from '@playwright/test'; import { URLS } from './urls'; test.describe.configure({ mode: 'parallel' }); URLS.forEach(({ url, pageName, mask }) =&gt; { test(`${pageName}`, async ({ page }) =&gt; { await page.goto(url); await page.waitForTimeout(5000); expect( await page.screenshot({ fullPage: true, type: 'jpeg', quality: 50, ...(mask &amp;&amp; mask.length &gt; 0 ? { mask: mask.map((m) =&gt; page.locator(m)) } : {}), }) ).toMatchSnapshot(`${pageName}.jpeg`, { threshold: 0.4, }); }); }); "><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">expect</span><span class="pl-kos">,</span> <span class="pl-s1">test</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-smi">URLS</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./urls'</span><span class="pl-kos">;</span> <span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-c1">describe</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">mode</span>: <span class="pl-s">'parallel'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">URLS</span><span class="pl-kos">.</span><span class="pl-en">forEach</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">{</span> url<span class="pl-kos">,</span> pageName<span class="pl-kos">,</span> mask <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">`<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">pageName</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s1">url</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">waitForTimeout</span><span class="pl-kos">(</span><span class="pl-c1">5000</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">page</span><span class="pl-kos">.</span><span class="pl-en">screenshot</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">fullPage</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">type</span>: <span class="pl-s">'jpeg'</span><span class="pl-kos">,</span> <span class="pl-c1">quality</span>: <span class="pl-c1">50</span><span class="pl-kos">,</span> ...<span class="pl-kos">(</span><span class="pl-s1">mask</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">mask</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-c1">mask</span>: <span class="pl-s1">mask</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">m</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">locator</span><span class="pl-kos">(</span><span class="pl-s1">m</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> : <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toMatchSnapshot</span><span class="pl-kos">(</span><span class="pl-s">`<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">pageName</span><span class="pl-kos">}</span></span>.jpeg`</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">threshold</span>: <span class="pl-c1">0.4</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-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">When I'm running the command to update the local screenshots, i have this error on some pages</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Error: maxMemoryUsageInMB limit exceeded by at least 6MB"><pre class="notranslate">Error: maxMemoryUsageInMB limit exceeded by at least 6MB</pre></div> <p dir="auto">I'm guessing it's from <code class="notranslate">jpeg-js</code> but i don't know how to increase the memory limit to not have this bug :/</p>
0
<p dir="auto">React version: 17.0.2</p> <h2 dir="auto">Steps To Reproduce</h2> <ol dir="auto"> <li>Make nested array element like this. All element have unique, fixed key.</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[Element0, [Element1, Element2]]"><pre class="notranslate"><code class="notranslate">[Element0, [Element1, Element2]] </code></pre></div> <ol start="2" dir="auto"> <li>Change the element array.</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[Element1, Element2]"><pre class="notranslate"><code class="notranslate">[Element1, Element2] </code></pre></div> <ol start="3" dir="auto"> <li>Key of element 1 and 2 aren't changed, but the elements are re-mounted.</li> </ol> <p dir="auto">This is not a problem if element 1 and 2 aren't in nested array.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[Element0, Element1, Element2] -&gt; [Element1, Element2]"><pre class="notranslate"><code class="notranslate">[Element0, Element1, Element2] -&gt; [Element1, Element2] </code></pre></div> <p dir="auto">Link to code example: <a href="https://github.com/jwoo0122/nested-child">https://github.com/jwoo0122/nested-child</a></p> <p dir="auto">Clone this repo, open dev tools and see console. In App.js, I made some scenarios to test this behavior.</p> <h2 dir="auto">The current behavior</h2> <p dir="auto">The element with same key always unmount, if they are in nested array.</p> <h2 dir="auto">The expected behavior</h2> <p dir="auto">I have no idea whether this behavior is intended or kind of bug. But I expected that element have same key in same array (also in nested array) do not re-mount, just re-render. Please feedback if my expectation is not correct. Thank you.</p>
<p dir="auto"><g-emoji class="g-emoji" alias="point_right" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f449.png">👉</g-emoji> Please follow one of these issue templates:</p> <ul dir="auto"> <li><a href="https://github.com/facebook/react/issues/new/choose">https://github.com/facebook/react/issues/new/choose</a></li> </ul> <p dir="auto">Note: to keep the backlog clean and actionable, issues may be immediately closed if they do not follow one of the above issue templates.</p>
0
<p dir="auto">An error message <code class="notranslate">Uncaught TypeError: Cannot call method 'remove' of undefined</code> in the console when trying to close a modal initialized without a backdrop.</p> <p dir="auto"><a href="http://jsfiddle.net/wyuenho/wdt2A/" rel="nofollow">jsfiddle</a></p>
<p dir="auto">With options { backdrop: false }, this.$backdrop.remove() is still being called which results in an exception as this.$backdrop is null.</p> <code class="notranslate"> hideModal: function () { var that = this this.$element.hide() this.backdrop(function () { that.removeBackdrop() that.$element.trigger('hidden') }) } <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="removeBackdrop: function () { this.$backdrop.remove() this.$backdrop = null }"><pre class="notranslate"><code class="notranslate">removeBackdrop: function () { this.$backdrop.remove() this.$backdrop = null } </code></pre></div> </code>
1
<ul dir="auto"> <li>Electron version: 1.3.3</li> <li>Operating system: Windows</li> </ul> <p dir="auto">I'm reopening this issue (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="117654309" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/3494" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/3494/hovercard" href="https://github.com/electron/electron/issues/3494">#3494</a>). <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zcbenz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zcbenz">@zcbenz</a> closed it, citing that macOS doesn't support hiding the separator. However; it seems to be working on El Capitan (10.11.16).</p> <p dir="auto">On OSX, I have a menu that collapses as shown (when a user disables SSL):</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/770982/17827362/47bb24f8-6641-11e6-8448-44723a430413.png"><img src="https://cloud.githubusercontent.com/assets/770982/17827362/47bb24f8-6641-11e6-8448-44723a430413.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/770982/17827361/35dfbdfc-6641-11e6-9af6-f515d97dd09e.png"><img src="https://cloud.githubusercontent.com/assets/770982/17827361/35dfbdfc-6641-11e6-9af6-f515d97dd09e.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">On Windows, it looks like this:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/770982/17827418/341bb5ba-6642-11e6-8347-8c2e73d72975.png"><img src="https://cloud.githubusercontent.com/assets/770982/17827418/341bb5ba-6642-11e6-8347-8c2e73d72975.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/770982/17827422/4d6d049c-6642-11e6-9cef-11d0beea1c65.png"><img src="https://cloud.githubusercontent.com/assets/770982/17827422/4d6d049c-6642-11e6-9cef-11d0beea1c65.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">The code responsible for this action looks like:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="sslmenu.items.forEach((item) =&gt; { item.visible = assets.CA.enabled })"><pre class="notranslate"><span class="pl-s1">sslmenu</span><span class="pl-kos">.</span><span class="pl-c1">items</span><span class="pl-kos">.</span><span class="pl-en">forEach</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">item</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-s1">item</span><span class="pl-kos">.</span><span class="pl-c1">visible</span> <span class="pl-c1">=</span> <span class="pl-s1">assets</span><span class="pl-kos">.</span><span class="pl-c1">CA</span><span class="pl-kos">.</span><span class="pl-c1">enabled</span> <span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div> <p dir="auto">Clearly, changing the visibility of a separator on OSX works while Windows does not.</p>
<p dir="auto">OS X does this for us, but Windows and Linux does not. There's absolutely no reason to have leading and trailing separators and it's difficult to not introduce leading/trailing separators in complex context menus where multiple actors modify it. Especially when using the <code class="notranslate">visible</code> option to toggle items as the separator is not connected to that. I think Electron should handle this for us.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const electron = require('electron'); electron.app.on('ready', () =&gt; { electron.Menu.setApplicationMenu(electron.Menu.buildFromTemplate([{ submenu: [{ type: 'separator' }, { label: 'Foo' }, { type: 'separator' }] }])); (new electron.BrowserWindow()) .loadURL(`https://github.com`); });"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">electron</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-s1">electron</span><span class="pl-kos">.</span><span class="pl-c1">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">electron</span><span class="pl-kos">.</span><span class="pl-c1">Menu</span><span class="pl-kos">.</span><span class="pl-en">setApplicationMenu</span><span class="pl-kos">(</span><span class="pl-s1">electron</span><span class="pl-kos">.</span><span class="pl-c1">Menu</span><span class="pl-kos">.</span><span class="pl-en">buildFromTemplate</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">{</span> <span class="pl-c1">submenu</span>: <span class="pl-kos">[</span><span class="pl-kos">{</span> <span class="pl-c1">type</span>: <span class="pl-s">'separator'</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">label</span>: <span class="pl-s">'Foo'</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">type</span>: <span class="pl-s">'separator'</span> <span class="pl-kos">}</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-s1">electron</span><span class="pl-kos">.</span><span class="pl-c1">BrowserWindow</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">loadURL</span><span class="pl-kos">(</span><span class="pl-s">`https://github.com`</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> <h4 dir="auto">OS X</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/170270/15799559/fb6a624c-2a60-11e6-9600-de1338d02b1d.png"><img width="89" alt="screen shot 2016-06-04 at 14 29 49" src="https://cloud.githubusercontent.com/assets/170270/15799559/fb6a624c-2a60-11e6-9600-de1338d02b1d.png" style="max-width: 100%;"></a></p> #### Windows <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/170270/15799560/02ffc1f0-2a61-11e6-98fe-ac1ea800a525.png"><img width="84" alt="screen shot 2016-06-04 at 14 29 22" src="https://cloud.githubusercontent.com/assets/170270/15799560/02ffc1f0-2a61-11e6-98fe-ac1ea800a525.png" style="max-width: 100%;"></a></p> ## <p dir="auto">This includes cases like this, which is annoying to have to handle manually:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[ { label: 'Unicorn' }, { type: 'separator' }, { label: 'Cut', role: '', visible: false }, { label: 'Copy', role: '', visible: false }, { label: 'Paste', role: '', visible: false } ]"><pre class="notranslate"><span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">label</span>: <span class="pl-s">'Unicorn'</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">type</span>: <span class="pl-s">'separator'</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">label</span>: <span class="pl-s">'Cut'</span><span class="pl-kos">,</span> <span class="pl-c1">role</span>: <span class="pl-s">''</span><span class="pl-kos">,</span> <span class="pl-c1">visible</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-c1">label</span>: <span class="pl-s">'Copy'</span><span class="pl-kos">,</span> <span class="pl-c1">role</span>: <span class="pl-s">''</span><span class="pl-kos">,</span> <span class="pl-c1">visible</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-c1">label</span>: <span class="pl-s">'Paste'</span><span class="pl-kos">,</span> <span class="pl-c1">role</span>: <span class="pl-s">''</span><span class="pl-kos">,</span> <span class="pl-c1">visible</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span> <span class="pl-kos">]</span></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/170270/15799784/3d0387ae-2a68-11e6-875a-f0502e88b5ed.png"><img width="109" alt="screen shot 2016-06-04 at 15 22 54" src="https://cloud.githubusercontent.com/assets/170270/15799784/3d0387ae-2a68-11e6-875a-f0502e88b5ed.png" style="max-width: 100%;"></a></p> ## - Electron version: 1.2.1 - Operating system: OS X 10.11.5
1
<ul dir="auto"> <li>VSCode Version: 1.0</li> <li>OS Version: Windows</li> </ul> <p dir="auto">In LICENSE file it says that VS Code is licensed under MIT. However, when installing it, you have to agree to a completely different license, which says that you can't not only "reverse engineer, decompile or disassemble the software" but also "share, publish, or lend the software". In my opinion it quite contradicts the MIT license:</p> <blockquote> <p dir="auto">Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation<br> files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,<br> modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software<br> is furnished to do so, subject to the following conditions:</p> <p dir="auto">The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p> <p dir="auto">THE SOFTWARE IS PROVIDED <em>AS IS</em>, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES<br> OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS<br> BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT<br> OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p> </blockquote> <p dir="auto">Should it be like that or is it a mistake?</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6719472/14562761/3dcc5700-0327-11e6-978b-ac3223631d8b.png"><img src="https://cloud.githubusercontent.com/assets/6719472/14562761/3dcc5700-0327-11e6-978b-ac3223631d8b.png" alt="installation screenshot" style="max-width: 100%;"></a></p>
<p dir="auto">Today we have an interface that describes the contract of telemetry (ITelemetryService) which is OK. The bad thing is that there many implementations of that interface (AbstractTS, MainTS, ElectronTS, AbstractRemoteTS, WorkerTS, ExtHostTS, NullTS, MockTS, TestTS) which have led to leakage and duplication of events. I believe this problem should be solved with less code and abstraction</p>
0
<h4 dir="auto">Challenge Name</h4> <h4 dir="auto">Issue Description</h4> <h4 dir="auto">Browser Information</h4> <ul dir="auto"> <li>Browser Name, Version:</li> <li>Operating System:</li> <li>Mobile, Desktop, or Tablet:</li> </ul> <h4 dir="auto">Your Code</h4> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// If relevant, paste all of your challenge code in here "><pre class="notranslate"><span class="pl-c">// If relevant, paste all of your challenge code in here</span></pre></div> <h4 dir="auto">Screenshot</h4>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Learn how Free Code Camp Works</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Create a GitHub Account and Join our Chat Rooms</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Configure your Code Portfolio</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Join a Campsite in Your City</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Learn What to Do If You Get Stuck</li> </ul>
1
<p dir="auto">虽然是日志打印不对,但具体里面有没其他bug不清楚,麻烦检查下是否是版本号弄错了,非常感谢,2.5.7及之前的日志都是正确的。</p>
<p dir="auto">The <code class="notranslate">Dubbo version</code> report to registry is 2.0.1 after dubbo 2.5.9 and 2.5.10.</p> <p dir="auto">It should be the same as the dubbo version i think.</p>
1
<p dir="auto">Possible (probable) duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="30426131" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/13186" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/13186/hovercard" href="https://github.com/rust-lang/rust/issues/13186">#13186</a>.</p> <p dir="auto">Compiling the following program against with rust@30fe550 against <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/brson/rust-sdl/commit/804adf6/hovercard" href="https://github.com/brson/rust-sdl/commit/804adf6">brson/rust-sdl@<tt>804adf6</tt></a>:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="extern crate sdl; static my_pixfmt: sdl::video::PixelFormat = sdl::video::PixelFormat { palette: None, bpp: 24, r_loss: 0, g_loss: 0, b_loss: 0, a_loss: 0, r_shift: 16, g_shift: 8, b_shift: 0, a_shift: 0, r_mask: 0xff, g_mask: 0xff00, b_mask: 0xff0000, a_mask: 0, color_key: 0, alpha: 0, }; fn main() { print!(&quot;{:?}&quot;, my_pixfmt); }"><pre class="notranslate"><span class="pl-k">extern</span> <span class="pl-k">crate</span> sdl<span class="pl-kos">;</span> <span class="pl-k">static</span> my_pixfmt<span class="pl-kos">:</span> sdl<span class="pl-kos">::</span>video<span class="pl-kos">::</span><span class="pl-smi">PixelFormat</span> = sdl<span class="pl-kos">::</span>video<span class="pl-kos">::</span><span class="pl-smi">PixelFormat</span> <span class="pl-kos">{</span> <span class="pl-c1">palette</span><span class="pl-kos">:</span> <span class="pl-v">None</span><span class="pl-kos">,</span> <span class="pl-c1">bpp</span><span class="pl-kos">:</span> <span class="pl-c1">24</span><span class="pl-kos">,</span> <span class="pl-c1">r_loss</span><span class="pl-kos">:</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">g_loss</span><span class="pl-kos">:</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">b_loss</span><span class="pl-kos">:</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">a_loss</span><span class="pl-kos">:</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">r_shift</span><span class="pl-kos">:</span> <span class="pl-c1">16</span><span class="pl-kos">,</span> <span class="pl-c1">g_shift</span><span class="pl-kos">:</span> <span class="pl-c1">8</span><span class="pl-kos">,</span> <span class="pl-c1">b_shift</span><span class="pl-kos">:</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">a_shift</span><span class="pl-kos">:</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">r_mask</span><span class="pl-kos">:</span> <span class="pl-c1">0xff</span><span class="pl-kos">,</span> <span class="pl-c1">g_mask</span><span class="pl-kos">:</span> <span class="pl-c1">0xff00</span><span class="pl-kos">,</span> <span class="pl-c1">b_mask</span><span class="pl-kos">:</span> <span class="pl-c1">0xff0000</span><span class="pl-kos">,</span> <span class="pl-c1">a_mask</span><span class="pl-kos">:</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">color_key</span><span class="pl-kos">:</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">alpha</span><span class="pl-kos">:</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-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">print</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{:?}"</span>, my_pixfmt<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">gives:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ RUST_BACKTRACE=1 rustc -L rust-sdl -o test test.rs { { i8, [15 x i8] }, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i8 } { { i8, [15 x i8] } { i8 0, [15 x i8] undef }, i8 24, i8 0, i8 0, i8 0, i8 0, i8 16, i8 8, i8 0, i8 0, i32 255, i32 65280, i32 16711680, i32 0, i32 0, i8 0 } { { i8, [7 x i8], [1 x i64] }, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i8 } undef error: internal compiler error: const expr(8: sdl::video::PixelFormat{palette: None, bpp: 24, r_loss: 0, g_loss: 0, b_loss: 0, a_loss: 0, r_shift: 16, g_shift: 8, b_shift: 0, a_shift: 0, r_mask: 255, g_mask: 65280, b_mask: 16711680, a_mask: 0, color_key: 0, alpha: 0,}) of type sdl::video::PixelFormat has size 52 instead of 56 note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at '~Any', /home/robn/code/rust/rust/src/libsyntax/diagnostic.rs:155 stack backtrace: 1: 0x7f46a1812930 - rt::backtrace::imp::write::h726c0ee05b0a1251rta::v0.11.pre 2: 0x7f46a1772370 - rt::unwind::begin_unwind_inner::h9b7e455dab1796daw39::v0.11.pre 3: 0x7f46a0c39430 - rt::unwind::begin_unwind::h5910056841063238677::v0.11.pre 4: 0x7f46a0c3a490 - diagnostic::Handler::bug::h0f9bbab1cbb7e822AYb::v0.11.pre 5: 0x7f46a2429510 - driver::session::Session::bug::h6e55d6e6cbf0d844bhh::v0.11.pre 6: 0x7f46a24db640 - middle::trans::consts::const_expr::ha281951f96861546GFj::v0.11.pre 7: 0x7f46a2426850 - middle::trans::base::get_item_val::h4b8a8b57d5346ddbBNp::v0.11.pre 8: 0x7f46a24dd3c0 - middle::trans::consts::trans_const::h6abb7670a66f1aecstk::v0.11.pre 9: 0x7f46a2425440 - middle::trans::base::trans_item::h65d6980b59f31439Btp::v0.11.pre 10: 0x7f46a250d2c0 - middle::trans::base::trans_mod::hdd24677d9163c30cHyp::v0.11.pre 11: 0x7f46a25151a0 - middle::trans::base::trans_crate::h0920ca7f9115adc25dq::v0.11.pre 12: 0x7f46a2c404a0 - driver::driver::phase_4_translate_to_llvm::hb81995af2fcfe7361Cf::v0.11.pre 13: 0x7f46a2c42a90 - driver::driver::compile_input::hfaa2edba3ed249a4QSf::v0.11.pre 14: 0x7f46a2c67490 - run_compiler::h0c58ff7ffab7f82efpn::v0.11.pre 15: 0x7f46a2c7f210 - main_args::closure.91455 16: 0x7f46a2c7d710 - monitor::closure.91330 17: 0x7f46a2c79000 - task::TaskBuilder::try::closure.91096 18: 0x7f46a1e9d650 - task::spawn_opts::closure.7103 19: 0x7f46a180d970 - rt::task::Task::run::closure.39989 20: 0x7f46a18196b0 - rust_try 21: 0x7f46a180d7b0 - rt::task::Task::run::hc79a6e8202de0a541T7::v0.11.pre 22: 0x7f46a1e9d420 - task::spawn_opts::closure.7076 23: 0x7f46a1811470 - rt::thread::thread_start::h915d8ac90bd84ba1My8::v0.11.pre 24: 0x7f469f52ffa0 - start_thread 25: 0x7f46a1445a09 - __clone 26: 0x0 - &lt;unknown&gt;"><pre class="notranslate"><code class="notranslate">$ RUST_BACKTRACE=1 rustc -L rust-sdl -o test test.rs { { i8, [15 x i8] }, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i8 } { { i8, [15 x i8] } { i8 0, [15 x i8] undef }, i8 24, i8 0, i8 0, i8 0, i8 0, i8 16, i8 8, i8 0, i8 0, i32 255, i32 65280, i32 16711680, i32 0, i32 0, i8 0 } { { i8, [7 x i8], [1 x i64] }, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i8 } undef error: internal compiler error: const expr(8: sdl::video::PixelFormat{palette: None, bpp: 24, r_loss: 0, g_loss: 0, b_loss: 0, a_loss: 0, r_shift: 16, g_shift: 8, b_shift: 0, a_shift: 0, r_mask: 255, g_mask: 65280, b_mask: 16711680, a_mask: 0, color_key: 0, alpha: 0,}) of type sdl::video::PixelFormat has size 52 instead of 56 note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at '~Any', /home/robn/code/rust/rust/src/libsyntax/diagnostic.rs:155 stack backtrace: 1: 0x7f46a1812930 - rt::backtrace::imp::write::h726c0ee05b0a1251rta::v0.11.pre 2: 0x7f46a1772370 - rt::unwind::begin_unwind_inner::h9b7e455dab1796daw39::v0.11.pre 3: 0x7f46a0c39430 - rt::unwind::begin_unwind::h5910056841063238677::v0.11.pre 4: 0x7f46a0c3a490 - diagnostic::Handler::bug::h0f9bbab1cbb7e822AYb::v0.11.pre 5: 0x7f46a2429510 - driver::session::Session::bug::h6e55d6e6cbf0d844bhh::v0.11.pre 6: 0x7f46a24db640 - middle::trans::consts::const_expr::ha281951f96861546GFj::v0.11.pre 7: 0x7f46a2426850 - middle::trans::base::get_item_val::h4b8a8b57d5346ddbBNp::v0.11.pre 8: 0x7f46a24dd3c0 - middle::trans::consts::trans_const::h6abb7670a66f1aecstk::v0.11.pre 9: 0x7f46a2425440 - middle::trans::base::trans_item::h65d6980b59f31439Btp::v0.11.pre 10: 0x7f46a250d2c0 - middle::trans::base::trans_mod::hdd24677d9163c30cHyp::v0.11.pre 11: 0x7f46a25151a0 - middle::trans::base::trans_crate::h0920ca7f9115adc25dq::v0.11.pre 12: 0x7f46a2c404a0 - driver::driver::phase_4_translate_to_llvm::hb81995af2fcfe7361Cf::v0.11.pre 13: 0x7f46a2c42a90 - driver::driver::compile_input::hfaa2edba3ed249a4QSf::v0.11.pre 14: 0x7f46a2c67490 - run_compiler::h0c58ff7ffab7f82efpn::v0.11.pre 15: 0x7f46a2c7f210 - main_args::closure.91455 16: 0x7f46a2c7d710 - monitor::closure.91330 17: 0x7f46a2c79000 - task::TaskBuilder::try::closure.91096 18: 0x7f46a1e9d650 - task::spawn_opts::closure.7103 19: 0x7f46a180d970 - rt::task::Task::run::closure.39989 20: 0x7f46a18196b0 - rust_try 21: 0x7f46a180d7b0 - rt::task::Task::run::hc79a6e8202de0a541T7::v0.11.pre 22: 0x7f46a1e9d420 - task::spawn_opts::closure.7076 23: 0x7f46a1811470 - rt::thread::thread_start::h915d8ac90bd84ba1My8::v0.11.pre 24: 0x7f469f52ffa0 - start_thread 25: 0x7f46a1445a09 - __clone 26: 0x0 - &lt;unknown&gt; </code></pre></div> <p dir="auto">Unfortunately I was unable to reduce this to a case that doesn't require rust-sdl. The PixelFormat structure is a bit too complex for me to know which bits are important for this case.</p> <p dir="auto">Happy to help reduce it further if I can. Let me know.</p>
<p dir="auto">bug.rs:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pub struct Request { analyze: Option&lt;int&gt;, unknown_command: Option&lt;Option&lt;bool&gt;&gt;, } pub fn default_instance() -&gt; &amp;'static Request { static instance: Request = Request { analyze: None, unknown_command: None, }; &amp;'static instance } fn main() {}"><pre class="notranslate"><code class="notranslate">pub struct Request { analyze: Option&lt;int&gt;, unknown_command: Option&lt;Option&lt;bool&gt;&gt;, } pub fn default_instance() -&gt; &amp;'static Request { static instance: Request = Request { analyze: None, unknown_command: None, }; &amp;'static instance } fn main() {} </code></pre></div> <p dir="auto">RUST_BACKTRACE=1 rustc ./bug.rs:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ { i8, [15 x i8] }, { i8, [2 x i8] } } { { i8, [15 x i8] } { i8 0, [15 x i8] undef }, { i8, [2 x i8] } { i8 0, [2 x i8] undef } } { { i8, [7 x i8], [1 x i64] }, { i8, [0 x i8], [2 x i8] } } undef error: internal compiler error: const expr(27: Request{analyze: None, unknown_command: None,}) of type Request has size 19 instead of 24 note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at '~Any', /build/buildd/rust-nightly-201403270405~c83994e~precise/src/libsyntax/diagnostic.rs:123 stack backtrace: 1: 0x7f25fdd3ad40 - rt::backtrace::imp::write::h6b777dcaf409ea23F2b::v0.10.pre 2: 0x7f25fdc9c930 - rt::unwind::begin_unwind_inner::h127556ef836f43d59Cb::v0.10.pre 3: 0x7f25fcf775c0 - &lt;unknown&gt; 4: 0x7f25fcf781a0 - diagnostic::Handler::bug::h90ba33079579ed8cpVb::v0.10.pre 5: 0x7f25fe934450 - driver::session::Session::bug::h861141e387b844784gg::v0.10.pre 6: 0x7f25fe9d5d00 - middle::trans::consts::const_expr::h184e010c42c47b98ASi::v0.10.pre 7: 0x7f25fe9313c0 - middle::trans::base::get_item_val::h6182c9507a6ad448T4o::v0.10.pre 8: 0x7f25fe9d7ad0 - middle::trans::consts::trans_const::hb8427f2eaca603fbmGj::v0.10.pre 9: 0x7f25fe9301b0 - middle::trans::base::trans_item::ha5706cc0fc79239cXKo::v0.10.pre 10: 0x7f25fe9619f0 - middle::trans::controlflow::trans_stmt::h768eb5d45871275d8Xa::v0.10.pre 11: 0x7f25fe963570 - middle::trans::controlflow::trans_block::hc51a2a8399fee0bcc2a::v0.10.pre 12: 0x7f25fea05730 - middle::trans::base::trans_closure::h80d2b66d04a2d7e9yro::v0.10.pre 13: 0x7f25fe9352d0 - middle::trans::base::trans_fn::h4d00598e72c1fbe7mzo::v0.10.pre 14: 0x7f25fe9301b0 - middle::trans::base::trans_item::ha5706cc0fc79239cXKo::v0.10.pre 15: 0x7f25fea0a140 - middle::trans::base::trans_mod::h3b0d6ed6e779ebe82Po::v0.10.pre 16: 0x7f25fea13600 - middle::trans::base::trans_crate::h0223b28ee84b5a27vmq::v0.10.pre 17: 0x7f25ff0599d0 - driver::driver::phase_4_translate_to_llvm::h70976aba4cbfb3846Fe::v0.10.pre 18: 0x7f25ff05bba0 - driver::driver::compile_input::h8b8903fabd6a5683VVe::v0.10.pre 19: 0x7f25ff07fa80 - run_compiler::h41aecde7ee81abf7cym::v0.10.pre 20: 0x7f25ff0972d0 - &lt;unknown&gt; 21: 0x7f25ff095c00 - &lt;unknown&gt; 22: 0x7f25ff091530 - &lt;unknown&gt; 23: 0x7f25fe3df590 - &lt;unknown&gt; 24: 0x7f25fdd361d0 - &lt;unknown&gt; 25: 0x7f25fdd41810 - rust_try 26: 0x7f25fdd36010 - rt::task::Task::run::heda54ea5581c3cc41t9::v0.10.pre 27: 0x7f25fe3df360 - &lt;unknown&gt; 28: 0x7f25fdd39880 - &lt;unknown&gt; 29: 0x7f25fb2a4dc0 - start_thread 30: 0x0 - &lt;unknown&gt;"><pre class="notranslate"><code class="notranslate">{ { i8, [15 x i8] }, { i8, [2 x i8] } } { { i8, [15 x i8] } { i8 0, [15 x i8] undef }, { i8, [2 x i8] } { i8 0, [2 x i8] undef } } { { i8, [7 x i8], [1 x i64] }, { i8, [0 x i8], [2 x i8] } } undef error: internal compiler error: const expr(27: Request{analyze: None, unknown_command: None,}) of type Request has size 19 instead of 24 note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at '~Any', /build/buildd/rust-nightly-201403270405~c83994e~precise/src/libsyntax/diagnostic.rs:123 stack backtrace: 1: 0x7f25fdd3ad40 - rt::backtrace::imp::write::h6b777dcaf409ea23F2b::v0.10.pre 2: 0x7f25fdc9c930 - rt::unwind::begin_unwind_inner::h127556ef836f43d59Cb::v0.10.pre 3: 0x7f25fcf775c0 - &lt;unknown&gt; 4: 0x7f25fcf781a0 - diagnostic::Handler::bug::h90ba33079579ed8cpVb::v0.10.pre 5: 0x7f25fe934450 - driver::session::Session::bug::h861141e387b844784gg::v0.10.pre 6: 0x7f25fe9d5d00 - middle::trans::consts::const_expr::h184e010c42c47b98ASi::v0.10.pre 7: 0x7f25fe9313c0 - middle::trans::base::get_item_val::h6182c9507a6ad448T4o::v0.10.pre 8: 0x7f25fe9d7ad0 - middle::trans::consts::trans_const::hb8427f2eaca603fbmGj::v0.10.pre 9: 0x7f25fe9301b0 - middle::trans::base::trans_item::ha5706cc0fc79239cXKo::v0.10.pre 10: 0x7f25fe9619f0 - middle::trans::controlflow::trans_stmt::h768eb5d45871275d8Xa::v0.10.pre 11: 0x7f25fe963570 - middle::trans::controlflow::trans_block::hc51a2a8399fee0bcc2a::v0.10.pre 12: 0x7f25fea05730 - middle::trans::base::trans_closure::h80d2b66d04a2d7e9yro::v0.10.pre 13: 0x7f25fe9352d0 - middle::trans::base::trans_fn::h4d00598e72c1fbe7mzo::v0.10.pre 14: 0x7f25fe9301b0 - middle::trans::base::trans_item::ha5706cc0fc79239cXKo::v0.10.pre 15: 0x7f25fea0a140 - middle::trans::base::trans_mod::h3b0d6ed6e779ebe82Po::v0.10.pre 16: 0x7f25fea13600 - middle::trans::base::trans_crate::h0223b28ee84b5a27vmq::v0.10.pre 17: 0x7f25ff0599d0 - driver::driver::phase_4_translate_to_llvm::h70976aba4cbfb3846Fe::v0.10.pre 18: 0x7f25ff05bba0 - driver::driver::compile_input::h8b8903fabd6a5683VVe::v0.10.pre 19: 0x7f25ff07fa80 - run_compiler::h41aecde7ee81abf7cym::v0.10.pre 20: 0x7f25ff0972d0 - &lt;unknown&gt; 21: 0x7f25ff095c00 - &lt;unknown&gt; 22: 0x7f25ff091530 - &lt;unknown&gt; 23: 0x7f25fe3df590 - &lt;unknown&gt; 24: 0x7f25fdd361d0 - &lt;unknown&gt; 25: 0x7f25fdd41810 - rust_try 26: 0x7f25fdd36010 - rt::task::Task::run::heda54ea5581c3cc41t9::v0.10.pre 27: 0x7f25fe3df360 - &lt;unknown&gt; 28: 0x7f25fdd39880 - &lt;unknown&gt; 29: 0x7f25fb2a4dc0 - start_thread 30: 0x0 - &lt;unknown&gt; </code></pre></div> <p dir="auto">Using rust nightly, version: 201403270405~c83994e, on Linux x86_64.</p>
1
<p dir="auto">On Android you can double tap a word in a text field to select it, but in a flutter TextField this doesn't seem to work. You need to long press to select it.</p> <h2 dir="auto">Steps to Reproduce</h2> <ul dir="auto"> <li>Add a new TextField</li> <li>Write some words</li> <li>Double tap a word</li> </ul>
<h2 dir="auto">Steps to Reproduce</h2> <ol dir="auto"> <li>Tap in a text field in a Flutter app.</li> <li>Enter some text with spaces; e.g., <code class="notranslate">foo bar baz</code>.</li> <li>Double-tap on a word.</li> </ol> <p dir="auto"><del>On iOS, the double-tapped word should be selected. This behaviour is iOS-specific and does not apply on Android.</del><br> The double-tapped word should be selected.</p> <h2 dir="auto">Flutter Doctor</h2> <p dir="auto">[✓] Flutter (on Mac OS X 10.12.4 16E195, channel master)<br> • Flutter at /Users/cbracken/src/flutter/flutter<br> • Framework revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/1b948cbb85e499b7ace73729ce11dc0a3c638f74/hovercard" href="https://github.com/flutter/flutter/commit/1b948cbb85e499b7ace73729ce11dc0a3c638f74"><tt>1b948cb</tt></a> (2 days ago), 2017-04-05 12:27:59 -0700<br> • Engine revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/5d9a6422577d95c242f45f48c47b431f7cf3c548/hovercard" href="https://github.com/flutter/flutter/commit/5d9a6422577d95c242f45f48c47b431f7cf3c548"><tt>5d9a642</tt></a><br> • Tools Dart version 1.23.0-dev.11.5</p>
1
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p> <p dir="auto">Not sure what the precise problem is here, but on my system I get the following exception with the current sqlalchemy trunk from Subversion (revision 1344)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[15:27:20,845](2006-04-27) [engine](engine): DELETE FROM managers WHERE managers.person_id = %(person_id)s [15:27:20,845](2006-04-27) [engine](engine): [1}, {'person_id': 2}]({'person_id':) Traceback (most recent call last): File &quot;polymorph2.py&quot;, line 130, in ? objectstore.commit() File &quot;build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/objectstore.py&quot;, line 250, in commit File &quot;build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/objectstore.py&quot;, line 81, in flush File &quot;build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/unitofwork.py&quot;, line 249, in flush File &quot;build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/unitofwork.py&quot;, line 374, in execute File &quot;build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/unitofwork.py&quot;, line 540, in execute File &quot;build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/unitofwork.py&quot;, line 540, in execute File &quot;build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/unitofwork.py&quot;, line 544, in execute File &quot;build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/mapper.py&quot;, line 661, in delete_obj sqlalchemy.exceptions.CommitError: ConcurrencyError - updated rowcount 1 does not match number of objects updated 2"><pre class="notranslate"><code class="notranslate">[15:27:20,845](2006-04-27) [engine](engine): DELETE FROM managers WHERE managers.person_id = %(person_id)s [15:27:20,845](2006-04-27) [engine](engine): [1}, {'person_id': 2}]({'person_id':) Traceback (most recent call last): File "polymorph2.py", line 130, in ? objectstore.commit() File "build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/objectstore.py", line 250, in commit File "build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/objectstore.py", line 81, in flush File "build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/unitofwork.py", line 249, in flush File "build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/unitofwork.py", line 374, in execute File "build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/unitofwork.py", line 540, in execute File "build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/unitofwork.py", line 540, in execute File "build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/unitofwork.py", line 544, in execute File "build/bdist.darwin-8.6.0-Power_Macintosh/egg/sqlalchemy/mapping/mapper.py", line 661, in delete_obj sqlalchemy.exceptions.CommitError: ConcurrencyError - updated rowcount 1 does not match number of objects updated 2 </code></pre></div>
<p dir="auto"><strong>Describe the bug</strong><br> The column name <code class="notranslate">values</code> is causing a bug when doing an upsert with MySQL (using <code class="notranslate">pymysql</code>).<br> For testing purposes, you can change the column name in the variable <code class="notranslate">values_column_name</code> to something else than <code class="notranslate">values</code> and then you will see that no errors occur.</p> <p dir="auto"><strong>To Reproduce</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sqlalchemy import create_engine, Column, Integer, MetaData, Table, Text from sqlalchemy.dialects.mysql.dml import insert as mysql_insert # config table_name = 'test_upsert_mysql' engine = create_engine(CONNECTION_STRING) # please put your connection string to a MySQL database here engine.execute(f'DROP TABLE IF EXISTS {table_name};') # reset previous tests values_column_name = 'values' # change this to anything else than &quot;values&quot; and there shall be no bug # table model table = Table('test_upsert_mysql', MetaData(bind=engine), Column('profileid', Integer(), primary_key=True, nullable=False), Column(values_column_name, Integer())) table.create() # test upsert values = [{'profileid':1, values_column_name:1}] insert_stmt = mysql_insert(table).values(values) upsert = insert_stmt.on_duplicate_key_update({values_column_name:getattr(insert_stmt.inserted, values_column_name)}) engine.execute(upsert)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span> <span class="pl-k">import</span> <span class="pl-s1">create_engine</span>, <span class="pl-v">Column</span>, <span class="pl-v">Integer</span>, <span class="pl-v">MetaData</span>, <span class="pl-v">Table</span>, <span class="pl-v">Text</span> <span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">dialects</span>.<span class="pl-s1">mysql</span>.<span class="pl-s1">dml</span> <span class="pl-k">import</span> <span class="pl-s1">insert</span> <span class="pl-k">as</span> <span class="pl-s1">mysql_insert</span> <span class="pl-c"># config</span> <span class="pl-s1">table_name</span> <span class="pl-c1">=</span> <span class="pl-s">'test_upsert_mysql'</span> <span class="pl-s1">engine</span> <span class="pl-c1">=</span> <span class="pl-en">create_engine</span>(<span class="pl-v">CONNECTION_STRING</span>) <span class="pl-c"># please put your connection string to a MySQL database here</span> <span class="pl-s1">engine</span>.<span class="pl-en">execute</span>(<span class="pl-s">f'DROP TABLE IF EXISTS <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">table_name</span><span class="pl-kos">}</span></span>;'</span>) <span class="pl-c"># reset previous tests</span> <span class="pl-s1">values_column_name</span> <span class="pl-c1">=</span> <span class="pl-s">'values'</span> <span class="pl-c"># change this to anything else than "values" and there shall be no bug</span> <span class="pl-c"># table model</span> <span class="pl-s1">table</span> <span class="pl-c1">=</span> <span class="pl-v">Table</span>(<span class="pl-s">'test_upsert_mysql'</span>, <span class="pl-v">MetaData</span>(<span class="pl-s1">bind</span><span class="pl-c1">=</span><span class="pl-s1">engine</span>), <span class="pl-v">Column</span>(<span class="pl-s">'profileid'</span>, <span class="pl-v">Integer</span>(), <span class="pl-s1">primary_key</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">nullable</span><span class="pl-c1">=</span><span class="pl-c1">False</span>), <span class="pl-v">Column</span>(<span class="pl-s1">values_column_name</span>, <span class="pl-v">Integer</span>())) <span class="pl-s1">table</span>.<span class="pl-en">create</span>() <span class="pl-c"># test upsert</span> <span class="pl-s1">values</span> <span class="pl-c1">=</span> [{<span class="pl-s">'profileid'</span>:<span class="pl-c1">1</span>, <span class="pl-s1">values_column_name</span>:<span class="pl-c1">1</span>}] <span class="pl-s1">insert_stmt</span> <span class="pl-c1">=</span> <span class="pl-en">mysql_insert</span>(<span class="pl-s1">table</span>).<span class="pl-en">values</span>(<span class="pl-s1">values</span>) <span class="pl-s1">upsert</span> <span class="pl-c1">=</span> <span class="pl-s1">insert_stmt</span>.<span class="pl-en">on_duplicate_key_update</span>({<span class="pl-s1">values_column_name</span>:<span class="pl-en">getattr</span>(<span class="pl-s1">insert_stmt</span>.<span class="pl-s1">inserted</span>, <span class="pl-s1">values_column_name</span>)}) <span class="pl-s1">engine</span>.<span class="pl-en">execute</span>(<span class="pl-s1">upsert</span>)</pre></div> <p dir="auto"><strong>Error</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) &lt;ipython-input-5-6e7be1d0a0c8&gt; in &lt;module&gt; 20 insert_stmt = mysql_insert(table).values(values) 21 upsert = insert_stmt.on_duplicate_key_update({values_column_name:getattr(insert_stmt.inserted, values_column_name)}) ---&gt; 22 engine.execute(upsert) &lt;string&gt; in execute(self, statement, *multiparams, **params) ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/util/deprecations.py in warned(fn, *args, **kwargs) 388 if not skip_warning: 389 _warn_with_version(message, version, wtype, stacklevel=3) --&gt; 390 return fn(*args, **kwargs) 391 392 doc = func.__doc__ is not None and func.__doc__ or &quot;&quot; ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/engine/base.py in execute(self, statement, *multiparams, **params) 3105 &quot;&quot;&quot; 3106 connection = self.connect(close_with_result=True) -&gt; 3107 return connection.execute(statement, *multiparams, **params) 3108 3109 @util.deprecated_20( ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/engine/base.py in execute(self, statement, *multiparams, **params) 1260 ) 1261 else: -&gt; 1262 return meth(self, multiparams, params, _EMPTY_EXECUTION_OPTS) 1263 1264 def _execute_function(self, func, multiparams, params, execution_options): ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/sql/elements.py in _execute_on_connection(self, connection, multiparams, params, execution_options, _force) 322 ): 323 if _force or self.supports_execution: --&gt; 324 return connection._execute_clauseelement( 325 self, multiparams, params, execution_options 326 ) ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/engine/base.py in _execute_clauseelement(self, elem, multiparams, params, execution_options) 1449 linting=self.dialect.compiler_linting | compiler.WARN_LINTING, 1450 ) -&gt; 1451 ret = self._execute_context( 1452 dialect, 1453 dialect.execution_ctx_cls._init_compiled, ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/engine/base.py in _execute_context(self, dialect, constructor, statement, parameters, execution_options, *args, **kw) 1811 1812 except BaseException as e: -&gt; 1813 self._handle_dbapi_exception( 1814 e, statement, parameters, cursor, context 1815 ) ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/engine/base.py in _handle_dbapi_exception(self, e, statement, parameters, cursor, context) 1996 ) 1997 else: -&gt; 1998 util.raise_(exc_info[1], with_traceback=exc_info[2]) 1999 2000 finally: ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/util/compat.py in raise_(***failed resolving arguments***) 205 206 try: --&gt; 207 raise exception 208 finally: 209 # credit to ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/engine/base.py in _execute_context(self, dialect, constructor, statement, parameters, execution_options, *args, **kw) 1768 break 1769 if not evt_handled: -&gt; 1770 self.dialect.do_execute( 1771 cursor, statement, parameters, context 1772 ) ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/engine/default.py in do_execute(self, cursor, statement, parameters, context) 715 716 def do_execute(self, cursor, statement, parameters, context=None): --&gt; 717 cursor.execute(statement, parameters) 718 719 def do_execute_no_params(self, cursor, statement, context=None): ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/cursors.py in execute(self, query, args) 159 pass 160 --&gt; 161 query = self.mogrify(query, args) 162 163 result = self._query(query) ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/cursors.py in mogrify(self, query, args) 138 139 if args is not None: --&gt; 140 query = query % self._escape_args(args, conn) 141 142 return query ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/cursors.py in _escape_args(self, args, conn) 118 args = {ensure_bytes(key): ensure_bytes(val) for 119 (key, val) in args.items()} --&gt; 120 return {key: conn.literal(val) for (key, val) in args.items()} 121 else: 122 # If it's not a dictionary let's try escaping it anyways. ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/cursors.py in &lt;dictcomp&gt;(.0) 118 args = {ensure_bytes(key): ensure_bytes(val) for 119 (key, val) in args.items()} --&gt; 120 return {key: conn.literal(val) for (key, val) in args.items()} 121 else: 122 # If it's not a dictionary let's try escaping it anyways. ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/connections.py in literal(self, obj) 467 Non-standard, for internal use; do not use this in your applications. 468 &quot;&quot;&quot; --&gt; 469 return self.escape(obj, self.encoders) 470 471 def escape_string(self, s): ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/connections.py in escape(self, obj, mapping) 460 ret = &quot;_binary&quot; + ret 461 return ret --&gt; 462 return converters.escape_item(obj, self.charset, mapping=mapping) 463 464 def literal(self, obj): ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/converters.py in escape_item(val, charset, mapping) 25 val = encoder(val, charset, mapping) 26 else: ---&gt; 27 val = encoder(val, mapping) 28 return val 29 ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/converters.py in escape_unicode(value, mapping) 121 122 def escape_unicode(value, mapping=None): --&gt; 123 return u&quot;'%s'&quot; % _escape_unicode(value) 124 125 def escape_str(value, mapping=None): ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/converters.py in _escape_unicode(value, mapping) 76 Value should be unicode 77 &quot;&quot;&quot; ---&gt; 78 return value.translate(_escape_table) 79 80 if PY2: AttributeError: 'function' object has no attribute 'translate'"><pre class="notranslate"><code class="notranslate">--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) &lt;ipython-input-5-6e7be1d0a0c8&gt; in &lt;module&gt; 20 insert_stmt = mysql_insert(table).values(values) 21 upsert = insert_stmt.on_duplicate_key_update({values_column_name:getattr(insert_stmt.inserted, values_column_name)}) ---&gt; 22 engine.execute(upsert) &lt;string&gt; in execute(self, statement, *multiparams, **params) ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/util/deprecations.py in warned(fn, *args, **kwargs) 388 if not skip_warning: 389 _warn_with_version(message, version, wtype, stacklevel=3) --&gt; 390 return fn(*args, **kwargs) 391 392 doc = func.__doc__ is not None and func.__doc__ or "" ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/engine/base.py in execute(self, statement, *multiparams, **params) 3105 """ 3106 connection = self.connect(close_with_result=True) -&gt; 3107 return connection.execute(statement, *multiparams, **params) 3108 3109 @util.deprecated_20( ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/engine/base.py in execute(self, statement, *multiparams, **params) 1260 ) 1261 else: -&gt; 1262 return meth(self, multiparams, params, _EMPTY_EXECUTION_OPTS) 1263 1264 def _execute_function(self, func, multiparams, params, execution_options): ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/sql/elements.py in _execute_on_connection(self, connection, multiparams, params, execution_options, _force) 322 ): 323 if _force or self.supports_execution: --&gt; 324 return connection._execute_clauseelement( 325 self, multiparams, params, execution_options 326 ) ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/engine/base.py in _execute_clauseelement(self, elem, multiparams, params, execution_options) 1449 linting=self.dialect.compiler_linting | compiler.WARN_LINTING, 1450 ) -&gt; 1451 ret = self._execute_context( 1452 dialect, 1453 dialect.execution_ctx_cls._init_compiled, ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/engine/base.py in _execute_context(self, dialect, constructor, statement, parameters, execution_options, *args, **kw) 1811 1812 except BaseException as e: -&gt; 1813 self._handle_dbapi_exception( 1814 e, statement, parameters, cursor, context 1815 ) ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/engine/base.py in _handle_dbapi_exception(self, e, statement, parameters, cursor, context) 1996 ) 1997 else: -&gt; 1998 util.raise_(exc_info[1], with_traceback=exc_info[2]) 1999 2000 finally: ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/util/compat.py in raise_(***failed resolving arguments***) 205 206 try: --&gt; 207 raise exception 208 finally: 209 # credit to ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/engine/base.py in _execute_context(self, dialect, constructor, statement, parameters, execution_options, *args, **kw) 1768 break 1769 if not evt_handled: -&gt; 1770 self.dialect.do_execute( 1771 cursor, statement, parameters, context 1772 ) ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/sqlalchemy/engine/default.py in do_execute(self, cursor, statement, parameters, context) 715 716 def do_execute(self, cursor, statement, parameters, context=None): --&gt; 717 cursor.execute(statement, parameters) 718 719 def do_execute_no_params(self, cursor, statement, context=None): ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/cursors.py in execute(self, query, args) 159 pass 160 --&gt; 161 query = self.mogrify(query, args) 162 163 result = self._query(query) ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/cursors.py in mogrify(self, query, args) 138 139 if args is not None: --&gt; 140 query = query % self._escape_args(args, conn) 141 142 return query ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/cursors.py in _escape_args(self, args, conn) 118 args = {ensure_bytes(key): ensure_bytes(val) for 119 (key, val) in args.items()} --&gt; 120 return {key: conn.literal(val) for (key, val) in args.items()} 121 else: 122 # If it's not a dictionary let's try escaping it anyways. ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/cursors.py in &lt;dictcomp&gt;(.0) 118 args = {ensure_bytes(key): ensure_bytes(val) for 119 (key, val) in args.items()} --&gt; 120 return {key: conn.literal(val) for (key, val) in args.items()} 121 else: 122 # If it's not a dictionary let's try escaping it anyways. ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/connections.py in literal(self, obj) 467 Non-standard, for internal use; do not use this in your applications. 468 """ --&gt; 469 return self.escape(obj, self.encoders) 470 471 def escape_string(self, s): ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/connections.py in escape(self, obj, mapping) 460 ret = "_binary" + ret 461 return ret --&gt; 462 return converters.escape_item(obj, self.charset, mapping=mapping) 463 464 def literal(self, obj): ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/converters.py in escape_item(val, charset, mapping) 25 val = encoder(val, charset, mapping) 26 else: ---&gt; 27 val = encoder(val, mapping) 28 return val 29 ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/converters.py in escape_unicode(value, mapping) 121 122 def escape_unicode(value, mapping=None): --&gt; 123 return u"'%s'" % _escape_unicode(value) 124 125 def escape_str(value, mapping=None): ~/anaconda3/envs/pangres-dev/lib/python3.8/site-packages/pymysql/converters.py in _escape_unicode(value, mapping) 76 Value should be unicode 77 """ ---&gt; 78 return value.translate(_escape_table) 79 80 if PY2: AttributeError: 'function' object has no attribute 'translate' </code></pre></div> <p dir="auto"><strong>Versions.</strong></p> <ul dir="auto"> <li>OS: Pop!_OS 20.04 LTS</li> <li>Python: 3.8.5</li> <li>SQLAlchemy: 1.4.18</li> <li>Database: MySQL</li> <li>DBAPI: pymysql 0.10.1</li> </ul> <p dir="auto"><strong>Additional context</strong><br> This came to my attention via an <a href="https://github.com/ThibTrip/pangres/issues/34" data-hovercard-type="issue" data-hovercard-url="/ThibTrip/pangres/issues/34/hovercard">issue</a> thtat a user of my library <code class="notranslate">pangres</code> created.</p> <p dir="auto"><strong>Have a nice day!</strong></p>
0
<p dir="auto">ES6 supports duplicate properties in object literals even in strict mode, but some (recent versions of) browsers still fail to parse strict mode code that has object literals with duplicate properties. Chrome 38 and Safari 8 are two browsers like this.</p> <p dir="auto">Currently, the following code:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var x = {o: 5, o: 6};"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-c1">o</span>: <span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">o</span>: <span class="pl-c1">6</span><span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> <p dir="auto">transpiles 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 x = { o: 5, o: 6 };"><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">x</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">o</span>: <span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">o</span>: <span class="pl-c1">6</span> <span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> <p dir="auto">which entirely fails to parse in some browsers.</p> <p dir="auto">Could babel transpile code with duplicate properties in object literals as defining an object literal with no duplicate properties, and then assigning further properties, similar to how computed keys are handled? So that way</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var x = {o: 5, o: 6};"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-c1">o</span>: <span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">o</span>: <span class="pl-c1">6</span><span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> <p dir="auto">and</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var x = {o: 5, [&quot;o&quot;]: 6};"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-c1">o</span>: <span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">"o"</span><span class="pl-kos">]</span>: <span class="pl-c1">6</span><span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> <p dir="auto">would both transpile to the same following thing, which works in all browsers:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } var x = _defineProperty({ o: 5 }, &quot;o&quot;, 6);"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-en">_defineProperty</span><span class="pl-kos">(</span><span class="pl-s1">obj</span><span class="pl-kos">,</span> <span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">key</span> <span class="pl-k">in</span> <span class="pl-s1">obj</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">defineProperty</span><span class="pl-kos">(</span><span class="pl-s1">obj</span><span class="pl-kos">,</span> <span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">value</span>: <span class="pl-s1">value</span><span class="pl-kos">,</span> <span class="pl-c1">enumerable</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">configurable</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">writable</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-kos">{</span> <span class="pl-s1">obj</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-s1">value</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">return</span> <span class="pl-s1">obj</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">var</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-en">_defineProperty</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">o</span>: <span class="pl-c1">5</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s">"o"</span><span class="pl-kos">,</span> <span class="pl-c1">6</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">The following ES6 code:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var x = {x: 1, x: 2};"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-c1">x</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">x</span>: <span class="pl-c1">2</span><span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> <p dir="auto">generates the following code:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; var x = { x: 1, x: 2 };"><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">x</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">x</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">x</span>: <span class="pl-c1">2</span> <span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> <p dir="auto">which will result in an error for ES5-compliant engines. I'm not sure what should be done here instead as duplicate keys are back to being valid in strict mode in ES6, but maybe something like this:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; var x = { x: 1 }; x.x = 2;"><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">x</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">x</span>: <span class="pl-c1">1</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">x</span><span class="pl-kos">.</span><span class="pl-c1">x</span> <span class="pl-c1">=</span> <span class="pl-c1">2</span><span class="pl-kos">;</span></pre></div> <p dir="auto">This bug also occurs with JSX:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var x = &lt;x x={1} x={2} /&gt;;"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-c1">&lt;</span><span class="pl-s1">x</span> <span class="pl-c1">x</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">x</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-c1">2</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span></pre></div> <p dir="auto">becomes</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; var x = React.createElement(&quot;x&quot;, { x: 1, x: 2 });"><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">x</span> <span class="pl-c1">=</span> <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span><span class="pl-s">"x"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">x</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">x</span>: <span class="pl-c1">2</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
1
<p dir="auto">The following code (as of commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/0012b5008b32543cf61a2beba36160c42f36d704/hovercard" href="https://github.com/rust-lang/rust/commit/0012b5008b32543cf61a2beba36160c42f36d704"><tt>0012b50</tt></a>) gives an internal compiler error <code class="notranslate">drop_ty_immediate: non-box ty</code>.</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="use std::rt::rtio::RtioTimer; use std::rt::io::Timer; fn main() { let maybe_timer = Timer::new(); maybe_timer.expect(&quot;Expected a timer&quot;).sleep(1); }"><pre class="notranslate"><span class="pl-k">use</span> std<span class="pl-kos">::</span>rt<span class="pl-kos">::</span>rtio<span class="pl-kos">::</span><span class="pl-v">RtioTimer</span><span class="pl-kos">;</span> <span class="pl-k">use</span> std<span class="pl-kos">::</span>rt<span class="pl-kos">::</span>io<span class="pl-kos">::</span><span class="pl-v">Timer</span><span class="pl-kos">;</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> maybe_timer = <span class="pl-smi">Timer</span><span class="pl-kos">::</span><span class="pl-en">new</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> maybe_timer<span class="pl-kos">.</span><span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s">"Expected a timer"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">sleep</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div>
<p dir="auto">It seems like this was broken as a result of the recent change to make newtypes structs immediate in certain cases.</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="struct TestNode(@int); fn mm(_x: &amp;TestNode) {} fn main() { let x = &amp;TestNode(@21); mm(x); }"><pre class="notranslate"><span class="pl-k">struct</span> <span class="pl-smi">TestNode</span><span class="pl-kos">(</span>@<span class="pl-smi">int</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">fn</span> <span class="pl-en">mm</span><span class="pl-kos">(</span><span class="pl-s1">_x</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-smi">TestNode</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> x = <span class="pl-c1">&amp;</span><span class="pl-v">TestNode</span><span class="pl-kos">(</span>@<span class="pl-c1">21</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">mm</span><span class="pl-kos">(</span>x<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="% rustc foo.rs error: internal compiler error: drop_ty_immediate: non-box ty"><pre class="notranslate"><code class="notranslate">% rustc foo.rs error: internal compiler error: drop_ty_immediate: non-box ty </code></pre></div>
1
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br> I would like to request a bug.</p> <p dir="auto"><strong>What is the current behavior?</strong><br> From what I know, it is possible to inject object in props. However, this object seems to be html escaped when inserted into the DOM from my observation.</p> <p dir="auto">Thus, if I try to add an onerror=alert('XSS') in a &lt;img {this.props.dangerousAtt /&gt; tag through a props, this is gonna be escaped when rendered. Then, I realized that inserting an id='test' is totally possible with a props. So I thought only dangerous javascript injectable attributes are escaped such as onerror, onload, ...</p> <p dir="auto">However, I realized that the href=javascript:alert('1') is not escaped when inserted through a props. The javascript gets executed. Here, I thought it might a bug.</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (<a href="https://jsfiddle.net/Luktwrdm/" rel="nofollow">https://jsfiddle.net/Luktwrdm/</a>) or CodeSandbox (<a href="https://codesandbox.io/s/new" rel="nofollow">https://codesandbox.io/s/new</a>) example below:</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class App extends Component { render() { const href = {href: &quot;javascript:alert('1')&quot;}; return ( &lt;div&gt; &lt;a {...href}&gt;Click here&lt;/a&gt; &lt;/div&gt; ); } ReactDOM.render(&lt;App /&gt;, document.getElementById('root')); "><pre class="notranslate"><code class="notranslate">class App extends Component { render() { const href = {href: "javascript:alert('1')"}; return ( &lt;div&gt; &lt;a {...href}&gt;Click here&lt;/a&gt; &lt;/div&gt; ); } ReactDOM.render(&lt;App /&gt;, document.getElementById('root')); </code></pre></div> <p dir="auto"><strong>What is the expected behavior?</strong></p> <p dir="auto">I would expect the href object to be escaped as a props, so being treated exactly like onerror or other javascript attributes.</p> <p dir="auto"><strong>Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?</strong><br> React version: 16.6.0<br> Browser: Chrome 70.0.3538.77</p>
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p> <p dir="auto">A bug, but a well known and worked-around one.</p> <p dir="auto"><strong>What is the current behavior?</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var x = 'javascript:alert(1)'; ReactDOM.render( (&lt;a href={x}&gt;Link&lt;/a&gt;), document.getElementById('container') );"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s">'javascript:alert(1)'</span><span class="pl-kos">;</span> <span class="pl-v">ReactDOM</span><span class="pl-kos">.</span><span class="pl-en">render</span><span class="pl-kos">(</span> <span class="pl-kos">(</span><span class="pl-c1">&lt;</span><span class="pl-ent">a</span> <span class="pl-c1">href</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">x</span><span class="pl-kos">}</span><span class="pl-c1">&gt;</span>Link<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">a</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">getElementById</span><span class="pl-kos">(</span><span class="pl-s">'container'</span><span class="pl-kos">)</span> <span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">produces a link that alerts.</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (<a href="https://jsfiddle.net/Luktwrdm/" rel="nofollow">https://jsfiddle.net/Luktwrdm/</a>) or CodeSandbox (<a href="https://codesandbox.io/s/new" rel="nofollow">https://codesandbox.io/s/new</a>) example below:</strong></p> <ul dir="auto"> <li><a href="https://jsfiddle.net/Luktwrdm/202/" rel="nofollow">Load the code above in the codepen REPL</a></li> <li>After the REPL loads, click the "Run" button at the top left.</li> <li>You should see a blue "link" in the bottom-right pane.</li> <li>Click it. An alert will popup.</li> </ul> <p dir="auto">The alert should not pop up.</p> <p dir="auto">A simple string that reaches an <code class="notranslate">href</code> attribute should not cause arbitrary code execution even with user interaction.</p> <p dir="auto"><strong>What is the expected behavior?</strong><br> A string that reaches a browser builtin like the <code class="notranslate">HTMLAElement.prototype.href</code> setter should not cause code execution.</p> <p dir="auto"><strong>Discussion</strong></p> <p dir="auto"><a href="https://docs.google.com/presentation/d/1hepAXMroHSNTM0NV1aGlntjHrw0a0QOM5X5JvfXv_N0/edit#slide=id.g227691820f_0_198" rel="nofollow">Polymer Resin</a> uses hooks in another webcomponents framework to intercept value before they reach browser builtins where they can be vetted. A similar approach could work for React.</p> <p dir="auto">It allows values to reach browser builtins when they are innocuous or have a runtime type that indicates that the author intentionally marked them as safe for that kind of browser builtin.</p> <p dir="auto">For example, an <code class="notranslate">instanceof SafeURL</code> would be allowed to reach <code class="notranslate">HTMLAElement.prototype.href</code> as would any string that is a relative URL, or one with a whitelisted protocol in (<code class="notranslate">http</code>, <code class="notranslate">https</code>, <code class="notranslate">mailto</code>, <code class="notranslate">tel</code>) but not <code class="notranslate">javascript:...</code>.</p> <p dir="auto">Many developers know that <code class="notranslate">&lt;a href={...}&gt;</code> is risky, but if the link is an implementation detail of a custom React element, then developers don't have the context to know which attributes they need to be careful with. They shouldn't have to either since it is an implementation detail.</p> <p dir="auto"><strong>Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?</strong></p> <p dir="auto">I believe this is widespread across versions.</p> <p dir="auto">An earlier REPL I tried showed that it worked on version 16.2.0 from <a href="https://unpkg.com/react-dom/umd/react-dom.development.js" rel="nofollow">https://unpkg.com/react-dom/umd/react-dom.development.js</a> but I don't know what version the jsfiddle above uses.</p>
1
<p dir="auto">in r69 the Raycaster object is detecting intersection with a parallel line that is shifted 3 units on the x direction (so not overlapping).</p> <p dir="auto">BROWSER: Chromium Version 38.0.2121.0 (288663)<br> OS: Windows 7<br> GRAPHICS CARD: AMD Radeon HD 7570M</p> <p dir="auto">REPRO: <a href="http://jsfiddle.net/4phen0xe/" rel="nofollow">jsfiddle</a><br> ACTUAL OUTCOME: intersectObject returns true for parallel, non-overlapping line<br> EXPECTED OUTCOME: intersectObject returns false for parallel, non-overlapping line</p> <p dir="auto">ORIGINAL POST FROM SO: <a href="http://stackoverflow.com/questions/27528783/threejs-raycaster-with-direction-parallel-but-offset-by-3-from-line-reports-tr" rel="nofollow">stackoverflow</a></p>
<h5 dir="auto">Description of the problem</h5> <p dir="auto">When importing a file exported from Blender with instanced lights, only one of each instanced light is visible.</p> <h6 dir="auto">Instanced Lights (Failure case. <code class="notranslate">ALT</code>+<code class="notranslate">D</code>/Shared datablocks in Blender.)</h6> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/37680486/86521918-0c34da80-be46-11ea-97c6-ed68a74c35d7.png"><img src="https://user-images.githubusercontent.com/37680486/86521918-0c34da80-be46-11ea-97c6-ed68a74c35d7.png" alt="BlenderView_instancedlights" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/37680486/86521919-1060f800-be46-11ea-8575-6aabb6e5e3d8.png"><img src="https://user-images.githubusercontent.com/37680486/86521919-1060f800-be46-11ea-8575-6aabb6e5e3d8.png" alt="GLTFLoader_instancedlights" style="max-width: 100%;"></a></p> <p dir="auto">(This also renders correctly (I.E. with all faces lit) when re-imported back into Blender. Re-importing actually creates separate datablocks back in Blender, but I suspect that's more likely a quirk of the Blender GLTF exporter.)</p> <h6 dir="auto">Duplicated Lights (Expected behaviour. <code class="notranslate">SHIFT</code>+<code class="notranslate">D</code>/<code class="notranslate">Make Single User</code>/Unique datablocks in Blender.)</h6> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/37680486/86521923-18b93300-be46-11ea-8c18-453e024ea3b9.png"><img src="https://user-images.githubusercontent.com/37680486/86521923-18b93300-be46-11ea-8c18-453e024ea3b9.png" alt="BlenderView_copiedlights" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/37680486/86521925-1fe04100-be46-11ea-9348-2d2f768c58df.png"><img src="https://user-images.githubusercontent.com/37680486/86521925-1fe04100-be46-11ea-9348-2d2f768c58df.png" alt="GLTFLoader_copiedlights" style="max-width: 100%;"></a></p> <h6 dir="auto">Test Files</h6> <details> <summary> GLTFLoader_instancedlights.glb (Data URI): </summary> <p dir="auto">data:application/octet-stream;base64,Z2xURgIAAABQEQAA4AwAAEpTT057ImFzc2V0Ijp7ImdlbmVyYXRvciI6Iktocm9ub3MgZ2xURiBCbGVuZGVyIEkvTyB2MS4yLjc1IiwidmVyc2lvbiI6IjIuMCJ9LCJleHRlbnNpb25zVXNlZCI6WyJLSFJfbGlnaHRzX3B1bmN0dWFsIl0sImV4dGVuc2lvbnNSZXF1aXJlZCI6WyJLSFJfbGlnaHRzX3B1bmN0dWFsIl0sImV4dGVuc2lvbnMiOnsiS0hSX2xpZ2h0c19wdW5jdHVhbCI6eyJsaWdodHMiOlt7ImNvbG9yIjpbMSwwLDBdLCJpbnRlbnNpdHkiOjIsInR5cGUiOiJkaXJlY3Rpb25hbCIsIm5hbWUiOiJSZWQifSx7ImNvbG9yIjpbMCwwLDFdLCJpbnRlbnNpdHkiOjIsInR5cGUiOiJkaXJlY3Rpb25hbCIsIm5hbWUiOiJCbHVlIn1dfX0sInNjZW5lIjowLCJzY2VuZXMiOlt7Im5hbWUiOiJTY2VuZSIsIm5vZGVzIjpbMSwyLDQsNiw4LDEwLDEyLDE0LDE2XX1dLCJub2RlcyI6W3siZXh0ZW5zaW9ucyI6eyJLSFJfbGlnaHRzX3B1bmN0dWFsIjp7ImxpZ2h0IjowfX0sIm5hbWUiOiJSZWQuMDAzX09yaWVudGF0aW9uIiwicm90YXRpb24iOlstMC43MDcxMDY3NjkwODQ5MzA0LDAsMCwwLjcwNzEwNjc2OTA4NDkzMDRdfSx7ImNoaWxkcmVuIjpbMF0sIm5hbWUiOiJSZWQuMDAzIiwidHJhbnNsYXRpb24iOlswLDIsMF19LHsibWVzaCI6MCwibmFtZSI6IkNpcmNsZSIsInJvdGF0aW9uIjpbMC43MDcxMDY3NjkwODQ5MzA0LDAsMCwwLjcwNzEwNjc2OTA4NDkzMDRdfSx7ImV4dGVuc2lvbnMiOnsiS0hSX2xpZ2h0c19wdW5jdHVhbCI6eyJsaWdodCI6MH19LCJuYW1lIjoiUmVkLjAwMl9PcmllbnRhdGlvbiIsInJvdGF0aW9uIjpbLTAuNzA3MTA2NzY5MDg0OTMwNCwwLDAsMC43MDcxMDY3NjkwODQ5MzA0XX0seyJjaGlsZHJlbiI6WzNdLCJuYW1lIjoiUmVkLjAwMiIsInJvdGF0aW9uIjpbMCwwLC0wLjcwNzEwNjcwOTQ4MDI4NTYsMC43MDcxMDY4Mjg2ODk1NzUyXSwidHJhbnNsYXRpb24iOlsyLDAsMF19LHsiZXh0ZW5zaW9ucyI6eyJLSFJfbGlnaHRzX3B1bmN0dWFsIjp7ImxpZ2h0IjowfX0sIm5hbWUiOiJSZWQuMDAxX09yaWVudGF0aW9uIiwicm90YXRpb24iOlstMC43MDcxMDY3NjkwODQ5MzA0LDAsMCwwLjcwNzEwNjc2OTA4NDkzMDRdfSx7ImNoaWxkcmVuIjpbNV0sIm5hbWUiOiJSZWQuMDAxIiwicm90YXRpb24iOlswLDAsLTEsNy41NDk3ODg3MDUzMTg4NmUtMDhdLCJ0cmFuc2xhdGlvbiI6WzAsLTIsMF19LHsiZXh0ZW5zaW9ucyI6eyJLSFJfbGlnaHRzX3B1bmN0dWFsIjp7ImxpZ2h0IjowfX0sIm5hbWUiOiJSZWRfT3JpZW50YXRpb24iLCJyb3RhdGlvbiI6Wy0wLjcwNzEwNjc2OTA4NDkzMDQsMCwwLDAuNzA3MTA2NzY5MDg0OTMwNF19LHsiY2hpbGRyZW4iOls3XSwibmFtZSI6IlJlZCIsInJvdGF0aW9uIjpbMCwwLC0wLjcwNzEwNjU5MDI3MDk5NjEsLTAuNzA3MTA2OTQ3ODk4ODY0N10sInRyYW5zbGF0aW9uIjpbLTIsMCwwXX0seyJleHRlbnNpb25zIjp7IktIUl9saWdodHNfcHVuY3R1YWwiOnsibGlnaHQiOjF9fSwibmFtZSI6IkJsdWUuMDAyX09yaWVudGF0aW9uIiwicm90YXRpb24iOlstMC43MDcxMDY3NjkwODQ5MzA0LDAsMCwwLjcwNzEwNjc2OTA4NDkzMDRdfSx7ImNoaWxkcmVuIjpbOV0sIm5hbWUiOiJCbHVlLjAwMiIsInJvdGF0aW9uIjpbMCwwLC0wLjM4MjY4MzQ1NTk0NDA2MTMsMC45MjM4Nzk1MDQyMDM3OTY0XSwidHJhbnNsYXRpb24iOlsxLjQxNDIxMzUzODE2OTg2MDgsMS40MTQyMTM1MzgxNjk4NjA4LDBdfSx7ImV4dGVuc2lvbnMiOnsiS0hSX2xpZ2h0c19wdW5jdHVhbCI6eyJsaWdodCI6MX19LCJuYW1lIjoiQmx1ZS4wMDFfT3JpZW50YXRpb24iLCJyb3RhdGlvbiI6Wy0wLjcwNzEwNjc2OTA4NDkzMDQsMCwwLDAuNzA3MTA2NzY5MDg0OTMwNF19LHsiY2hpbGRyZW4iOlsxMV0sIm5hbWUiOiJCbHVlLjAwMSIsInJvdGF0aW9uIjpbMCwwLC0wLjkyMzg3OTUwNDIwMzc5NjQsMC4zODI2ODM1NDUzNTEwMjg0NF0sInRyYW5zbGF0aW9uIjpbMS40MTQyMTM1MzgxNjk4NjA4LC0xLjQxNDIxMzUzODE2OTg2MDgsMF19LHsiZXh0ZW5zaW9ucyI6eyJLSFJfbGlnaHRzX3B1bmN0dWFsIjp7ImxpZ2h0IjoxfX0sIm5hbWUiOiJCbHVlLjAwM19PcmllbnRhdGlvbiIsInJvdGF0aW9uIjpbLTAuNzA3MTA2NzY5MDg0OTMwNCwwLDAsMC43MDcxMDY3NjkwODQ5MzA0XX0seyJjaGlsZHJlbiI6WzEzXSwibmFtZSI6IkJsdWUuMDAzIiwicm90YXRpb24iOlswLDAsLTAuOTIzODc5NTYzODA4NDQxMiwtMC4zODI2ODMzOTYzMzk0MTY1XSwidHJhbnNsYXRpb24iOlstMS40MTQyMTM1MzgxNjk4NjA4LC0xLjQxNDIxMzUzODE2OTg2MDgsMF19LHsiZXh0ZW5zaW9ucyI6eyJLSFJfbGlnaHRzX3B1bmN0dWFsIjp7ImxpZ2h0IjoxfX0sIm5hbWUiOiJCbHVlX09yaWVudGF0aW9uIiwicm90YXRpb24iOlstMC43MDcxMDY3NjkwODQ5MzA0LDAsMCwwLjcwNzEwNjc2OTA4NDkzMDRdfSx7ImNoaWxkcmVuIjpbMTVdLCJuYW1lIjoiQmx1ZSIsInJvdGF0aW9uIjpbMCwwLC0wLjM4MjY4MzA2ODUxMzg3MDI0LC0wLjkyMzg3OTY4MzAxNzczMDddLCJ0cmFuc2xhdGlvbiI6Wy0xLjQxNDIxMzUzODE2OTg2MDgsMS40MTQyMTM1MzgxNjk4NjA4LDBdfV0sIm1lc2hlcyI6W3sibmFtZSI6IkNpcmNsZSIsInByaW1pdGl2ZXMiOlt7ImF0dHJpYnV0ZXMiOnsiUE9TSVRJT04iOjAsIk5PUk1BTCI6MSwiVEVYQ09PUkRfMCI6Mn0sImluZGljZXMiOjN9XX1dLCJhY2Nlc3NvcnMiOlt7ImJ1ZmZlclZpZXciOjAsImNvbXBvbmVudFR5cGUiOjUxMjYsImNvdW50IjozMiwibWF4IjpbMC45MjM4Nzk2MjM0MTMwODU5LDEsMC45MjM4Nzk1NjM4MDg0NDEyXSwibWluIjpbLTAuOTIzODc5NTA0MjAzNzk2NCwtMy40Njg5Mjc5MDA0ODUxNDE0ZS0wOCwtMC45MjM4Nzk1MDQyMDM3OTY0XSwidHlwZSI6IlZFQzMifSx7ImJ1ZmZlclZpZXciOjEsImNvbXBvbmVudFR5cGUiOjUxMjYsImNvdW50IjozMiwidHlwZSI6IlZFQzMifSx7ImJ1ZmZlclZpZXciOjIsImNvbXBvbmVudFR5cGUiOjUxMjYsImNvdW50IjozMiwidHlwZSI6IlZFQzIifSx7ImJ1ZmZlclZpZXciOjMsImNvbXBvbmVudFR5cGUiOjUxMjMsImNvdW50Ijo0MiwidHlwZSI6IlNDQUxBUiJ9XSwiYnVmZmVyVmlld3MiOlt7ImJ1ZmZlciI6MCwiYnl0ZUxlbmd0aCI6Mzg0LCJieXRlT2Zmc2V0IjowfSx7ImJ1ZmZlciI6MCwiYnl0ZUxlbmd0aCI6Mzg0LCJieXRlT2Zmc2V0IjozODR9LHsiYnVmZmVyIjowLCJieXRlTGVuZ3RoIjoyNTYsImJ5dGVPZmZzZXQiOjc2OH0seyJidWZmZXIiOjAsImJ5dGVMZW5ndGgiOjg0LCJieXRlT2Zmc2V0IjoxMDI0fV0sImJ1ZmZlcnMiOlt7ImJ5dGVMZW5ndGgiOjExMDh9XX0gIFQEAABCSU4AFu/DPicW7bFeg2y/AACAMgAAgD8AAACyYINsPzad/LIO78O+XoNsP0T9FLMW78M+AACAMgAAgD8AAACyGe/DPpjKqLJdg2w/FO/DviIW7TFfg2w/AACAMgAAgD8AAACyXoNsvzWd/DIU78M+XoNsv0T9FDMV78O+AACAMgAAgD8AAACyFO/DvpXKqDJeg2y/YINsPzad/LIO78O+AACAMgAAgD8AAACyXoNsP0T9FLMW78M+Ge/DPpjKqLJdg2w/AACAMgAAgD8AAACyFO/DviIW7TFfg2w/XoNsvzWd/DIU78M+AACAMgAAgD8AAACyXoNsv0T9FDMV78O+FO/DvpXKqDJeg2y/AACAMgAAgD8AAACyFu/DPicW7bFeg2y/XoNsv0T9FDMV78O+FO/DvpXKqDJeg2y/Fu/DPicW7bFeg2y/YINsPzad/LIO78O+XoNsvzWd/DIU78M+XoNsP0T9FLMW78M+FO/DviIW7TFfg2w/Ge/DPpjKqLJdg2w/4PUEP5+4LT/e9QS/4PUEP5+4LT/e9QS/4PUEP5+4LT/e9QS/3vUEP564LT/e9QQ/3vUEP564LT/e9QQ/3vUEP564LT/e9QQ/4PUEv5+4LT/f9QQ/4PUEv5+4LT/f9QQ/4PUEv5+4LT/f9QQ/3vUEv6C4LT/g9QS/3vUEv6C4LT/g9QS/3vUEv6C4LT/g9QS/0Qg8P564LT/MrfUz0Qg8P564LT/MrfUz0Qg8P564LT/MrfUzyK31M5+4LT/SCDw/yK31M5+4LT/SCDw/yK31M5+4LT/SCDw/0Qg8v5+4LT/KrXUz0Qg8v5+4LT/KrXUz0Qg8v5+4LT/KrXUzAAAAAKC4LT/SCDy/AAAAAKC4LT/SCDy/AAAAAKC4LT/SCDy/Rf0Us///f78sFu2xRf0Us///f78sFu2xRf0Us///f78sFu2xRf0Us///f78sFu2xRf0Us///f78sFu2xRf0Us///f78sFu2xRf0Us///f78sFu2xRf0Us///f78sFu2xAAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAQACAAMABAAFAAYABwAIAAkACgALAAwADQAOAA8AEAARABIAEwAUABUAFgAXABgAGQAaABgAGgAbABwAGAAbABwAGwAdAB4AHAAdAB4AHQAfAA==</p> </details> <details> <summary> GLTFLoader_copiedlights.glb (Data URI): </summary> <p dir="auto">data:application/octet-stream;base64,Z2xURgIAAAD4EgAAiA4AAEpTT057ImFzc2V0Ijp7ImdlbmVyYXRvciI6Iktocm9ub3MgZ2xURiBCbGVuZGVyIEkvTyB2MS4yLjc1IiwidmVyc2lvbiI6IjIuMCJ9LCJleHRlbnNpb25zVXNlZCI6WyJLSFJfbGlnaHRzX3B1bmN0dWFsIl0sImV4dGVuc2lvbnNSZXF1aXJlZCI6WyJLSFJfbGlnaHRzX3B1bmN0dWFsIl0sImV4dGVuc2lvbnMiOnsiS0hSX2xpZ2h0c19wdW5jdHVhbCI6eyJsaWdodHMiOlt7ImNvbG9yIjpbMSwwLDBdLCJpbnRlbnNpdHkiOjIsInR5cGUiOiJkaXJlY3Rpb25hbCIsIm5hbWUiOiJSZWQuMDAxIn0seyJjb2xvciI6WzEsMCwwXSwiaW50ZW5zaXR5IjoyLCJ0eXBlIjoiZGlyZWN0aW9uYWwiLCJuYW1lIjoiUmVkLjAwMiJ9LHsiY29sb3IiOlsxLDAsMF0sImludGVuc2l0eSI6MiwidHlwZSI6ImRpcmVjdGlvbmFsIiwibmFtZSI6IlJlZC4wMDMifSx7ImNvbG9yIjpbMSwwLDBdLCJpbnRlbnNpdHkiOjIsInR5cGUiOiJkaXJlY3Rpb25hbCIsIm5hbWUiOiJSZWQifSx7ImNvbG9yIjpbMCwwLDFdLCJpbnRlbnNpdHkiOjIsInR5cGUiOiJkaXJlY3Rpb25hbCIsIm5hbWUiOiJCbHVlLjAwMSJ9LHsiY29sb3IiOlswLDAsMV0sImludGVuc2l0eSI6MiwidHlwZSI6ImRpcmVjdGlvbmFsIiwibmFtZSI6IkJsdWUuMDAyIn0seyJjb2xvciI6WzAsMCwxXSwiaW50ZW5zaXR5IjoyLCJ0eXBlIjoiZGlyZWN0aW9uYWwiLCJuYW1lIjoiQmx1ZS4wMDMifSx7ImNvbG9yIjpbMCwwLDFdLCJpbnRlbnNpdHkiOjIsInR5cGUiOiJkaXJlY3Rpb25hbCIsIm5hbWUiOiJCbHVlIn1dfX0sInNjZW5lIjowLCJzY2VuZXMiOlt7Im5hbWUiOiJTY2VuZSIsIm5vZGVzIjpbMSwyLDQsNiw4LDEwLDEyLDE0LDE2XX1dLCJub2RlcyI6W3siZXh0ZW5zaW9ucyI6eyJLSFJfbGlnaHRzX3B1bmN0dWFsIjp7ImxpZ2h0IjowfX0sIm5hbWUiOiJSZWQuMDAzX09yaWVudGF0aW9uIiwicm90YXRpb24iOlstMC43MDcxMDY3NjkwODQ5MzA0LDAsMCwwLjcwNzEwNjc2OTA4NDkzMDRdfSx7ImNoaWxkcmVuIjpbMF0sIm5hbWUiOiJSZWQuMDAzIiwidHJhbnNsYXRpb24iOlswLDIsMF19LHsibWVzaCI6MCwibmFtZSI6IkNpcmNsZSIsInJvdGF0aW9uIjpbMC43MDcxMDY3NjkwODQ5MzA0LDAsMCwwLjcwNzEwNjc2OTA4NDkzMDRdfSx7ImV4dGVuc2lvbnMiOnsiS0hSX2xpZ2h0c19wdW5jdHVhbCI6eyJsaWdodCI6MX19LCJuYW1lIjoiUmVkLjAwMl9PcmllbnRhdGlvbiIsInJvdGF0aW9uIjpbLTAuNzA3MTA2NzY5MDg0OTMwNCwwLDAsMC43MDcxMDY3NjkwODQ5MzA0XX0seyJjaGlsZHJlbiI6WzNdLCJuYW1lIjoiUmVkLjAwMiIsInJvdGF0aW9uIjpbMCwwLC0wLjcwNzEwNjcwOTQ4MDI4NTYsMC43MDcxMDY4Mjg2ODk1NzUyXSwidHJhbnNsYXRpb24iOlsyLDAsMF19LHsiZXh0ZW5zaW9ucyI6eyJLSFJfbGlnaHRzX3B1bmN0dWFsIjp7ImxpZ2h0IjoyfX0sIm5hbWUiOiJSZWQuMDAxX09yaWVudGF0aW9uIiwicm90YXRpb24iOlstMC43MDcxMDY3NjkwODQ5MzA0LDAsMCwwLjcwNzEwNjc2OTA4NDkzMDRdfSx7ImNoaWxkcmVuIjpbNV0sIm5hbWUiOiJSZWQuMDAxIiwicm90YXRpb24iOlswLDAsLTEsNy41NDk3ODg3MDUzMTg4NmUtMDhdLCJ0cmFuc2xhdGlvbiI6WzAsLTIsMF19LHsiZXh0ZW5zaW9ucyI6eyJLSFJfbGlnaHRzX3B1bmN0dWFsIjp7ImxpZ2h0IjozfX0sIm5hbWUiOiJSZWRfT3JpZW50YXRpb24iLCJyb3RhdGlvbiI6Wy0wLjcwNzEwNjc2OTA4NDkzMDQsMCwwLDAuNzA3MTA2NzY5MDg0OTMwNF19LHsiY2hpbGRyZW4iOls3XSwibmFtZSI6IlJlZCIsInJvdGF0aW9uIjpbMCwwLC0wLjcwNzEwNjU5MDI3MDk5NjEsLTAuNzA3MTA2OTQ3ODk4ODY0N10sInRyYW5zbGF0aW9uIjpbLTIsMCwwXX0seyJleHRlbnNpb25zIjp7IktIUl9saWdodHNfcHVuY3R1YWwiOnsibGlnaHQiOjR9fSwibmFtZSI6IkJsdWUuMDAyX09yaWVudGF0aW9uIiwicm90YXRpb24iOlstMC43MDcxMDY3NjkwODQ5MzA0LDAsMCwwLjcwNzEwNjc2OTA4NDkzMDRdfSx7ImNoaWxkcmVuIjpbOV0sIm5hbWUiOiJCbHVlLjAwMiIsInJvdGF0aW9uIjpbMCwwLC0wLjM4MjY4MzQ1NTk0NDA2MTMsMC45MjM4Nzk1MDQyMDM3OTY0XSwidHJhbnNsYXRpb24iOlsxLjQxNDIxMzUzODE2OTg2MDgsMS40MTQyMTM1MzgxNjk4NjA4LDBdfSx7ImV4dGVuc2lvbnMiOnsiS0hSX2xpZ2h0c19wdW5jdHVhbCI6eyJsaWdodCI6NX19LCJuYW1lIjoiQmx1ZS4wMDFfT3JpZW50YXRpb24iLCJyb3RhdGlvbiI6Wy0wLjcwNzEwNjc2OTA4NDkzMDQsMCwwLDAuNzA3MTA2NzY5MDg0OTMwNF19LHsiY2hpbGRyZW4iOlsxMV0sIm5hbWUiOiJCbHVlLjAwMSIsInJvdGF0aW9uIjpbMCwwLC0wLjkyMzg3OTUwNDIwMzc5NjQsMC4zODI2ODM1NDUzNTEwMjg0NF0sInRyYW5zbGF0aW9uIjpbMS40MTQyMTM1MzgxNjk4NjA4LC0xLjQxNDIxMzUzODE2OTg2MDgsMF19LHsiZXh0ZW5zaW9ucyI6eyJLSFJfbGlnaHRzX3B1bmN0dWFsIjp7ImxpZ2h0Ijo2fX0sIm5hbWUiOiJCbHVlLjAwM19PcmllbnRhdGlvbiIsInJvdGF0aW9uIjpbLTAuNzA3MTA2NzY5MDg0OTMwNCwwLDAsMC43MDcxMDY3NjkwODQ5MzA0XX0seyJjaGlsZHJlbiI6WzEzXSwibmFtZSI6IkJsdWUuMDAzIiwicm90YXRpb24iOlswLDAsLTAuOTIzODc5NTYzODA4NDQxMiwtMC4zODI2ODMzOTYzMzk0MTY1XSwidHJhbnNsYXRpb24iOlstMS40MTQyMTM1MzgxNjk4NjA4LC0xLjQxNDIxMzUzODE2OTg2MDgsMF19LHsiZXh0ZW5zaW9ucyI6eyJLSFJfbGlnaHRzX3B1bmN0dWFsIjp7ImxpZ2h0Ijo3fX0sIm5hbWUiOiJCbHVlX09yaWVudGF0aW9uIiwicm90YXRpb24iOlstMC43MDcxMDY3NjkwODQ5MzA0LDAsMCwwLjcwNzEwNjc2OTA4NDkzMDRdfSx7ImNoaWxkcmVuIjpbMTVdLCJuYW1lIjoiQmx1ZSIsInJvdGF0aW9uIjpbMCwwLC0wLjM4MjY4MzA2ODUxMzg3MDI0LC0wLjkyMzg3OTY4MzAxNzczMDddLCJ0cmFuc2xhdGlvbiI6Wy0xLjQxNDIxMzUzODE2OTg2MDgsMS40MTQyMTM1MzgxNjk4NjA4LDBdfV0sIm1lc2hlcyI6W3sibmFtZSI6IkNpcmNsZSIsInByaW1pdGl2ZXMiOlt7ImF0dHJpYnV0ZXMiOnsiUE9TSVRJT04iOjAsIk5PUk1BTCI6MSwiVEVYQ09PUkRfMCI6Mn0sImluZGljZXMiOjN9XX1dLCJhY2Nlc3NvcnMiOlt7ImJ1ZmZlclZpZXciOjAsImNvbXBvbmVudFR5cGUiOjUxMjYsImNvdW50IjozMiwibWF4IjpbMC45MjM4Nzk2MjM0MTMwODU5LDEsMC45MjM4Nzk1NjM4MDg0NDEyXSwibWluIjpbLTAuOTIzODc5NTA0MjAzNzk2NCwtMy40Njg5Mjc5MDA0ODUxNDE0ZS0wOCwtMC45MjM4Nzk1MDQyMDM3OTY0XSwidHlwZSI6IlZFQzMifSx7ImJ1ZmZlclZpZXciOjEsImNvbXBvbmVudFR5cGUiOjUxMjYsImNvdW50IjozMiwidHlwZSI6IlZFQzMifSx7ImJ1ZmZlclZpZXciOjIsImNvbXBvbmVudFR5cGUiOjUxMjYsImNvdW50IjozMiwidHlwZSI6IlZFQzIifSx7ImJ1ZmZlclZpZXciOjMsImNvbXBvbmVudFR5cGUiOjUxMjMsImNvdW50Ijo0MiwidHlwZSI6IlNDQUxBUiJ9XSwiYnVmZmVyVmlld3MiOlt7ImJ1ZmZlciI6MCwiYnl0ZUxlbmd0aCI6Mzg0LCJieXRlT2Zmc2V0IjowfSx7ImJ1ZmZlciI6MCwiYnl0ZUxlbmd0aCI6Mzg0LCJieXRlT2Zmc2V0IjozODR9LHsiYnVmZmVyIjowLCJieXRlTGVuZ3RoIjoyNTYsImJ5dGVPZmZzZXQiOjc2OH0seyJidWZmZXIiOjAsImJ5dGVMZW5ndGgiOjg0LCJieXRlT2Zmc2V0IjoxMDI0fV0sImJ1ZmZlcnMiOlt7ImJ5dGVMZW5ndGgiOjExMDh9XX0gICBUBAAAQklOABbvwz4nFu2xXoNsvwAAgDIAAIA/AAAAsmCDbD82nfyyDu/Dvl6DbD9E/RSzFu/DPgAAgDIAAIA/AAAAshnvwz6YyqiyXYNsPxTvw74iFu0xX4NsPwAAgDIAAIA/AAAAsl6DbL81nfwyFO/DPl6DbL9E/RQzFe/DvgAAgDIAAIA/AAAAshTvw76VyqgyXoNsv2CDbD82nfyyDu/DvgAAgDIAAIA/AAAAsl6DbD9E/RSzFu/DPhnvwz6YyqiyXYNsPwAAgDIAAIA/AAAAshTvw74iFu0xX4NsP16DbL81nfwyFO/DPgAAgDIAAIA/AAAAsl6DbL9E/RQzFe/DvhTvw76VyqgyXoNsvwAAgDIAAIA/AAAAshbvwz4nFu2xXoNsv16DbL9E/RQzFe/DvhTvw76VyqgyXoNsvxbvwz4nFu2xXoNsv2CDbD82nfyyDu/Dvl6DbL81nfwyFO/DPl6DbD9E/RSzFu/DPhTvw74iFu0xX4NsPxnvwz6YyqiyXYNsP+D1BD+fuC0/3vUEv+D1BD+fuC0/3vUEv+D1BD+fuC0/3vUEv971BD+euC0/3vUEP971BD+euC0/3vUEP971BD+euC0/3vUEP+D1BL+fuC0/3/UEP+D1BL+fuC0/3/UEP+D1BL+fuC0/3/UEP971BL+guC0/4PUEv971BL+guC0/4PUEv971BL+guC0/4PUEv9EIPD+euC0/zK31M9EIPD+euC0/zK31M9EIPD+euC0/zK31M8it9TOfuC0/0gg8P8it9TOfuC0/0gg8P8it9TOfuC0/0gg8P9EIPL+fuC0/yq11M9EIPL+fuC0/yq11M9EIPL+fuC0/yq11MwAAAACguC0/0gg8vwAAAACguC0/0gg8vwAAAACguC0/0gg8v0X9FLP//3+/LBbtsUX9FLP//3+/LBbtsUX9FLP//3+/LBbtsUX9FLP//3+/LBbtsUX9FLP//3+/LBbtsUX9FLP//3+/LBbtsUX9FLP//3+/LBbtsUX9FLP//3+/LBbtsQAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAAAAACAPwAAAAAAAIA/AAAAAAAAgD8AAAEAAgADAAQABQAGAAcACAAJAAoACwAMAA0ADgAPABAAEQASABMAFAAVABYAFwAYABkAGgAYABoAGwAcABgAGwAcABsAHQAeABwAHQAeAB0AHwA=</p> </details> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Dev</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r118</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r116</li> </ul> <h5 dir="auto">Browser</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them (probably)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Chrome</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Firefox</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li> </ul> <h5 dir="auto">OS</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them (probably)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> macOS</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> iOS</li> </ul> <h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5>
0
<p dir="auto">When trying to run "superset db upgrade" I get an error message.</p> <h3 dir="auto">Expected results</h3> <p dir="auto">I was expecting a successful message and program ready to use.</p> <h3 dir="auto">Actual results</h3> <p dir="auto">sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) duplicate column name: filter_type [SQL: ALTER TABLE row_level_security_filters ADD COLUMN filter_type varchar(255)]</p> <h4 dir="auto">Screenshots</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1051586/122998363-51b62480-d383-11eb-829a-c65b6905b760.jpg"><img src="https://user-images.githubusercontent.com/1051586/122998363-51b62480-d383-11eb-829a-c65b6905b760.jpg" alt="instalacao_superset_errosqlalchemy" style="max-width: 100%;"></a></p> <h4 dir="auto">How to reproduce the bug</h4> <ol dir="auto"> <li>Run 'sudo apt-get install build-essential libssl-dev libffi-dev python-dev python-pip libsasl2-dev libldap2-dev'</li> <li>Run 'pip3 install virtualenv'</li> <li>Run 'python3 -m venv venv'</li> <li>Run '. venv/bin/activate'</li> <li>Run 'pip3 install apache-superset'</li> <li>Run 'pip3 install sqlalchemy==1.3.24' (had to downgrade existing version)</li> <li>Run 'superset db upgrade'</li> <li>'See error</li> </ol> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Ubuntu 18.04 LTS;</li> <li>superset version: 0.38.1</li> <li>python version: 3.6.9</li> <li>node.js version: 8.10.0</li> <li>SQLAlchemy 1.3.24</li> </ul> <h3 dir="auto">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 checked the superset logs for python stacktraces and included it here as text if there are any.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have reproduced the issue with at least the latest released version of superset.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the issue tracker for the same issue and I haven't found one similar.</li> </ul> <h3 dir="auto">Additional context</h3> <p dir="auto">I was able to complete the following tasks:<br> i) install all required dependencies;<br> ii) install and start python virtual environment.</p> <p dir="auto">This is a virtual machine.</p>
<p dir="auto">We have a query that returns timeseries data with two columns:</p> <ul dir="auto"> <li>date</li> <li>count</li> </ul> <p dir="auto">I would like to simply graph the data as a line chart. However, when selecting the line chart, it requires that I choose a metric for the data, e.g. sum, average, etc</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/17307/55236091-cbf4ae80-5237-11e9-9aad-50b5db6c9def.png"><img src="https://user-images.githubusercontent.com/17307/55236091-cbf4ae80-5237-11e9-9aad-50b5db6c9def.png" alt="flameshot-2019-03-29T15:31:01" style="max-width: 100%;"></a></p> <p dir="auto">Since my data are already in the desired form, how can I just tell the chart to use the data as-is?</p> <p dir="auto">Note: I can also select the "sum" metric, since I am not performing any additional aggregation, but this seems a bit "kludgy".</p>
0
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/accessing-objects-properties-with-variables" rel="nofollow">Accessing Objects Properties with Variables</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <p dir="auto">Code:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Setup var testObj = { 12: &quot;Namath&quot;, 16: &quot;Montana&quot;, 19: &quot;Unitas&quot; }; // Only change code below this line; var playerNumber; // Change this Line var player = testObj; // Change this Line"><pre class="notranslate"><span class="pl-c">// Setup</span> <span class="pl-k">var</span> <span class="pl-s1">testObj</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">12</span>: <span class="pl-s">"Namath"</span><span class="pl-kos">,</span> <span class="pl-c1">16</span>: <span class="pl-s">"Montana"</span><span class="pl-kos">,</span> <span class="pl-c1">19</span>: <span class="pl-s">"Unitas"</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-c">// Only change code below this line;</span> <span class="pl-k">var</span> <span class="pl-s1">playerNumber</span><span class="pl-kos">;</span> <span class="pl-c">// Change this Line</span> <span class="pl-k">var</span> <span class="pl-s1">player</span> <span class="pl-c1">=</span> <span class="pl-s1">testObj</span><span class="pl-kos">;</span> <span class="pl-c">// Change this Line</span></pre></div> <p dir="auto">If you use this code:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var playerNumber = 16;// Change this Line testObj[playerNumber] var player; // Change this Line"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">playerNumber</span> <span class="pl-c1">=</span> <span class="pl-c1">16</span><span class="pl-kos">;</span><span class="pl-c">// Change this Line</span> <span class="pl-s1">testObj</span><span class="pl-kos">[</span><span class="pl-s1">playerNumber</span><span class="pl-kos">]</span> <span class="pl-k">var</span> <span class="pl-s1">player</span><span class="pl-kos">;</span> <span class="pl-c">// Change this Line</span></pre></div> <p dir="auto">The challenge will pass.<br> ...<br> ...<br> However, the correct response is:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var playerNumber = 16;// Change this Line var player = testObj[playerNumber]; // Change this Line"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">playerNumber</span> <span class="pl-c1">=</span> <span class="pl-c1">16</span><span class="pl-kos">;</span><span class="pl-c">// Change this Line</span> <span class="pl-k">var</span> <span class="pl-s1">player</span> <span class="pl-c1">=</span> <span class="pl-s1">testObj</span><span class="pl-kos">[</span><span class="pl-s1">playerNumber</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-c">// Change this Line</span></pre></div>
<h4 dir="auto">Challenge Name</h4> <p dir="auto">Accessing Objects Properties with Variables</p> <h4 dir="auto">Issue Description</h4> <p dir="auto"><a href="https://www.freecodecamp.com/challenges/accessing-objects-properties-with-variables#?solution=%0A%2F%2F%20Setup%0Avar%20testObj%20%3D%20%7B%0A%20%2012%3A%20%22Namath%22%2C%0A%20%2016%3A%20%22Montana%22%2C%0A%20%2019%3A%20%22Unitas%22%0A%7D%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%3B%0A%0Avar%20playerNumber%20%3D%2016%3B%2F%2F%20Change%20this%20Line%0AtestObj%5BplayerNumber%5D%0Avar%20player%20%3D%20%22Montana%22%3B%20%20%20%2F%2F%20Change%20this%20Line%0A" rel="nofollow">https://www.freecodecamp.com/challenges/accessing-objects-properties-with-variables#?solution=%0A%2F%2F%20Setup%0Avar%20testObj%20%3D%20%7B%0A%20%2012%3A%20%22Namath%22%2C%0A%20%2016%3A%20%22Montana%22%2C%0A%20%2019%3A%20%22Unitas%22%0A%7D%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%3B%0A%0Avar%20playerNumber%20%3D%2016%3B%2F%2F%20Change%20this%20Line%0AtestObj%5BplayerNumber%5D%0Avar%20player%20%3D%20%22Montana%22%3B%20%20%20%2F%2F%20Change%20this%20Line%0A</a></p> <h4 dir="auto">Browser Information</h4> <ul dir="auto"> <li>Browser Name, Version: latest firefox browswer</li> <li>Operating System: windows 10</li> <li>Mobile, Desktop, or Tablet: desktop</li> </ul> <h4 dir="auto">Your Code</h4> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" // Setup var testObj = { 12: &quot;Namath&quot;, 16: &quot;Montana&quot;, 19: &quot;Unitas&quot; }; // Only change code below this line; var playerNumber = 16;// Change this Line testObj[playerNumber] var player = &quot;Montana&quot;; // Change this Line "><pre class="notranslate"><span class="pl-c">// Setup</span> <span class="pl-k">var</span> <span class="pl-s1">testObj</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">12</span>: <span class="pl-s">"Namath"</span><span class="pl-kos">,</span> <span class="pl-c1">16</span>: <span class="pl-s">"Montana"</span><span class="pl-kos">,</span> <span class="pl-c1">19</span>: <span class="pl-s">"Unitas"</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-c">// Only change code below this line;</span> <span class="pl-k">var</span> <span class="pl-s1">playerNumber</span> <span class="pl-c1">=</span> <span class="pl-c1">16</span><span class="pl-kos">;</span><span class="pl-c">// Change this Line</span> <span class="pl-s1">testObj</span><span class="pl-kos">[</span><span class="pl-s1">playerNumber</span><span class="pl-kos">]</span> <span class="pl-k">var</span> <span class="pl-s1">player</span> <span class="pl-c1">=</span> <span class="pl-s">"Montana"</span><span class="pl-kos">;</span> <span class="pl-c">// Change this Line</span> </pre></div> <h4 dir="auto">Screenshot</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/25807078/24818654/0148d33c-1ba7-11e7-9066-9fe22d63a19c.png"><img src="https://cloud.githubusercontent.com/assets/25807078/24818654/0148d33c-1ba7-11e7-9066-9fe22d63a19c.png" alt="image" style="max-width: 100%;"></a></p>
1
<h2 dir="auto">Feature request</h2> <p dir="auto">Implement NodeJS v12+ internal package.json imports that only apply to import specifiers from within the package itself.</p> <p dir="auto">NodeJS documentation: <a href="https://nodejs.org/api/packages.html#packages_subpath_imports" rel="nofollow">https://nodejs.org/api/packages.html#packages_subpath_imports</a></p> <p dir="auto"><strong>What is the expected behavior?</strong></p> <blockquote> <p dir="auto">Entries in the imports field must always start with # to ensure they are disambiguated from package specifiers.</p> <p dir="auto">For example, the imports field can be used to gain the benefits of conditional exports for internal modules:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// package.json { &quot;imports&quot;: { &quot;#dep&quot;: { &quot;node&quot;: &quot;dep-node-native&quot;, &quot;default&quot;: &quot;./dep-polyfill.js&quot; } }, &quot;dependencies&quot;: { &quot;dep-node-native&quot;: &quot;^1.0.0&quot; } }"><pre class="notranslate"><code class="notranslate">// package.json { "imports": { "#dep": { "node": "dep-node-native", "default": "./dep-polyfill.js" } }, "dependencies": { "dep-node-native": "^1.0.0" } } </code></pre></div> <p dir="auto">where import '#dep' does not get the resolution of the external package dep-node-native (including its exports in turn), and<br> instead gets the local file ./dep-polyfill.js relative to the package in other environments.</p> <p dir="auto">Unlike the "exports" field, the "imports" field permits mapping to external packages.</p> <p dir="auto">The resolution rules for the imports field are otherwise analogous to the exports field.</p> </blockquote> <p dir="auto"><strong>What is motivation or use case for adding/changing the behavior?</strong></p> <ol dir="auto"> <li>Maintaining interoperability with node package.json specifications.</li> <li>This feature dis-incentive the use of subpath exports + self-referencing package for internal access. It offers a clean way to replace these <code class="notranslate">import { X } from "../../../lib"</code>, (e.g: by <code class="notranslate">import { X } from "#lib"</code>).</li> </ol> <p dir="auto"><strong>How should this be implemented in your opinion?</strong></p> <p dir="auto">No idea, but looks like webpack subpath exports already implement most of the feature.</p> <p dir="auto"><strong>Are you willing to work on this yourself?</strong><br> no</p>
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p> <p dir="auto">Bug.</p> <p dir="auto"><strong>What is the current behavior?</strong></p> <p dir="auto">When using any <code class="notranslate">devtool</code> strategy that uses <code class="notranslate">eval</code>, such as <code class="notranslate">cheap-module-eval-source-map</code>, the browser developer tools show <em>two</em> sets of files with quasi-identical names. The first set under the <code class="notranslate">webpack://</code> origin contains original sources. The second set under <code class="notranslate">webpack-internal://</code> origin contains transpiled sources.</p> <p dir="auto">Note that this has changed in webpack 4. In the previous version that <code class="notranslate">webpack-internal://</code> files used numeric identifiers, so there was no risk to open them by accident and they did not show up when using Ctrl+P in Chrome.</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git clone https://github.com/lorenzodallavecchia/webpack-bug-duplicatesource.git cd webpack-bug-duplicatesource npm install npm start"><pre class="notranslate"><code class="notranslate">git clone https://github.com/lorenzodallavecchia/webpack-bug-duplicatesource.git cd webpack-bug-duplicatesource npm install npm start </code></pre></div> <p dir="auto"><strong>What is the expected behavior?</strong></p> <p dir="auto">I would expect to only see original sources (under <code class="notranslate">webpack://</code>) or at least give the "internal" sources a numeric identifier so that they do not show up when searching with Ctrl+P.</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">webpack 4<br> Node 6.11.0<br> Chrome 65<br> Windows 10 1709</p>
0
<ul dir="auto"> <li>VSCode Version: Version 1.0.0-alpha Commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/vscode/commit/6ea1266160aa9eb3ed6e71a5099bec3952090037/hovercard" href="https://github.com/microsoft/vscode/commit/6ea1266160aa9eb3ed6e71a5099bec3952090037"><tt>6ea1266</tt></a></li> <li>OS Version: Ubuntu 14.04</li> </ul> <p dir="auto">Steps to Reproduce:</p> <ol dir="auto"> <li>Compile <a href="https://gist.github.com/edumunoz/6e2ca90d4b5d3dbfa5340576e79ac113">https://gist.github.com/edumunoz/6e2ca90d4b5d3dbfa5340576e79ac113</a> with <code class="notranslate">g++ -g -std=c++11 -pthread hello.cpp -o hello</code></li> <li>Install the <a href="https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools" rel="nofollow">C++ debug adapter</a></li> <li>Set a breakpoint in line 17 from the gist</li> <li>Have the main thread expanded in the callstack viewlet</li> <li>Expand another thread and click on a frame for which no source is available</li> <li>The "Load More Stack Frames" button appears for the main thread</li> <li>The "Load More Stack Frames" button is clicked, the callstack for the main thread gets duplicated (two <code class="notranslate">main()</code> in the screenshot)</li> </ol> <p dir="auto">Step 3<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/637952/14575064/49c19a7e-0314-11e6-8863-6b457d261f6e.png"><img src="https://cloud.githubusercontent.com/assets/637952/14575064/49c19a7e-0314-11e6-8863-6b457d261f6e.png" alt="loadmoreframes-1" style="max-width: 100%;"></a></p> <p dir="auto">Step 5<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/637952/14575071/5a5a64f6-0314-11e6-8438-f0e9390a7d53.png"><img src="https://cloud.githubusercontent.com/assets/637952/14575071/5a5a64f6-0314-11e6-8438-f0e9390a7d53.png" alt="loadmoreframes-2" style="max-width: 100%;"></a></p> <p dir="auto">Step 6<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/637952/14575076/64f29410-0314-11e6-8a2f-a06df05cb8e2.png"><img src="https://cloud.githubusercontent.com/assets/637952/14575076/64f29410-0314-11e6-8a2f-a06df05cb8e2.png" alt="loadmoreframes-3" style="max-width: 100%;"></a></p> <p dir="auto">I understand if the debug adapter implements the "Load More Frames" feature, this will work. However the experience seems kind of weird if the debug adapter doesn't implement the feature (like C++ debug adapter as of now).</p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/isidorn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/isidorn">@isidorn</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/weinand/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/weinand">@weinand</a></p>
<ul dir="auto"> <li>VSCode Version: 0.10.11</li> <li>OS Version: OS X 10.11.5</li> </ul> <p dir="auto">Steps to Reproduce:</p> <ol dir="auto"> <li>Open a file and change its language.</li> <li>Open the file in the git changes view.</li> </ol> <p dir="auto">The old version will be displayed in the default language for the file, ignoring the user selection.</p>
0
<p dir="auto">What about a dynamic RTL/LTR direction with a less variable ....</p>
<p dir="auto">Would be great to have support for right-to-left languages.</p>
1
<p dir="auto">I did notice, that ansible consumes very high amount of memory, for no serious reason.</p> <h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h3 dir="auto">ANSIBLE VERSION</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.2.1.0 config file = /home/muszynski/ansible/ansible2.cfg configured module search path = ['lib/modules'] "><pre class="notranslate"><code class="notranslate">ansible 2.2.1.0 config file = /home/muszynski/ansible/ansible2.cfg configured module search path = ['lib/modules'] </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <h5 dir="auto">OS / ENVIRONMENT</h5> <h5 dir="auto">SUMMARY</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="The ansible is failing with Cannot allocate memory "><pre class="notranslate"><code class="notranslate">The ansible is failing with Cannot allocate memory </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [rundeck-server] ********************************************************** TASK [setup] ******************************************************************* ok: [prd-inner-mgmt202] TASK [include_vars] ************************************************************ [WARNING]: While constructing a mapping from True, line 2, column 1, found a duplicate dict key (elasticsearch). Using last defined value only. ok: [prd-inner-mgmt202] =&gt; (item=../system_version/stg_default.yml) ok: [prd-inner-mgmt202] =&gt; (item=../system_version/stg_default_vault.yml) TASK [include_vars] ************************************************************ skipping: [prd-inner-mgmt202] =&gt; (item=../system_version/prd_default.yml) skipping: [prd-inner-mgmt202] =&gt; (item=../system_version/prd_default_vault.yml) TASK [mid_rundeck_jobs_build : set_fact] *************************************** ok: [prd-inner-mgmt202] TASK [mid_rundeck_jobs_build : include] **************************************** included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 [some other lines] TASK [mid_rundeck_jobs_build : echo upload jobs] ******************************* An exception occurred during task execution. To see the full traceback, use -vvv. The error was: OSError: [Errno 12] Cannot allocate memory fatal: [prd-inner-mgmt202]: FAILED! =&gt; {&quot;failed&quot;: true, &quot;msg&quot;: &quot;Unexpected failure during module execution.&quot;, &quot;stdout&quot;: &quot;&quot;} "><pre class="notranslate"><code class="notranslate">PLAY [rundeck-server] ********************************************************** TASK [setup] ******************************************************************* ok: [prd-inner-mgmt202] TASK [include_vars] ************************************************************ [WARNING]: While constructing a mapping from True, line 2, column 1, found a duplicate dict key (elasticsearch). Using last defined value only. ok: [prd-inner-mgmt202] =&gt; (item=../system_version/stg_default.yml) ok: [prd-inner-mgmt202] =&gt; (item=../system_version/stg_default_vault.yml) TASK [include_vars] ************************************************************ skipping: [prd-inner-mgmt202] =&gt; (item=../system_version/prd_default.yml) skipping: [prd-inner-mgmt202] =&gt; (item=../system_version/prd_default_vault.yml) TASK [mid_rundeck_jobs_build : set_fact] *************************************** ok: [prd-inner-mgmt202] TASK [mid_rundeck_jobs_build : include] **************************************** included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 included: /home/ansible/etc/playbooks/roles/mid_rundeck_jobs_build/tasks/render_template.yml for prd-inner-mgmt202 [some other lines] TASK [mid_rundeck_jobs_build : echo upload jobs] ******************************* An exception occurred during task execution. To see the full traceback, use -vvv. The error was: OSError: [Errno 12] Cannot allocate memory fatal: [prd-inner-mgmt202]: FAILED! =&gt; {"failed": true, "msg": "Unexpected failure during module execution.", "stdout": ""} </code></pre></div> <p dir="auto"><strong>I do not like this include statement run all-in-one instead of on-by-one - is there a way to change this behaviour?</strong></p> <p dir="auto">The memory usage during ansible run:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dstat -fm used buff cach free 12.4G 25.8M 1189M 1833M 12.4G 25.8M 1190M 1824M 12.5G 25.9M 1190M 1779M 12.5G 25.9M 1194M 1764M 12.5G 26.6M 1202M 1758M 12.5G 26.7M 1206M 1765M 12.5G 26.7M 1206M 1733M 12.5G 26.7M 1206M 1741M 12.5G 26.7M 1210M 1707M 12.6G 26.8M 1210M 1623M 12.5G 26.8M 1210M 1693M 12.7G 26.8M 1210M 1550M 12.8G 26.8M 1210M 1422M 12.9G 26.8M 1210M 1352M 12.9G 26.8M 1210M 1334M 13.0G 26.8M 1210M 1239M 13.0G 26.8M 1210M 1158M 13.1G 26.8M 1210M 1079M 13.1G 26.8M 1211M 1067M 13.2G 26.9M 1211M 986M 13.2G 26.9M 1211M 943M 13.3G 26.9M 1211M 879M 13.4G 26.9M 1212M 780M 13.5G 26.9M 1212M 731M 13.4G 26.9M 1211M 790M 13.6G 27.0M 1211M 627M 13.7G 27.0M 1211M 513M 13.7G 27.0M 1211M 467M 13.7G 27.0M 1211M 517M 13.8G 27.0M 1211M 397M 13.9G 27.0M 1212M 292M 14.0G 27.0M 1212M 149M 12.5G 27.9M 1131M 1834M 12.5G 27.9M 1131M 1811M 12.5G 28.0M 1131M 1791M 12.5G 28.0M 1131M 1820M 12.4G 28.0M 1131M 1850M"><pre class="notranslate"><code class="notranslate">dstat -fm used buff cach free 12.4G 25.8M 1189M 1833M 12.4G 25.8M 1190M 1824M 12.5G 25.9M 1190M 1779M 12.5G 25.9M 1194M 1764M 12.5G 26.6M 1202M 1758M 12.5G 26.7M 1206M 1765M 12.5G 26.7M 1206M 1733M 12.5G 26.7M 1206M 1741M 12.5G 26.7M 1210M 1707M 12.6G 26.8M 1210M 1623M 12.5G 26.8M 1210M 1693M 12.7G 26.8M 1210M 1550M 12.8G 26.8M 1210M 1422M 12.9G 26.8M 1210M 1352M 12.9G 26.8M 1210M 1334M 13.0G 26.8M 1210M 1239M 13.0G 26.8M 1210M 1158M 13.1G 26.8M 1210M 1079M 13.1G 26.8M 1211M 1067M 13.2G 26.9M 1211M 986M 13.2G 26.9M 1211M 943M 13.3G 26.9M 1211M 879M 13.4G 26.9M 1212M 780M 13.5G 26.9M 1212M 731M 13.4G 26.9M 1211M 790M 13.6G 27.0M 1211M 627M 13.7G 27.0M 1211M 513M 13.7G 27.0M 1211M 467M 13.7G 27.0M 1211M 517M 13.8G 27.0M 1211M 397M 13.9G 27.0M 1212M 292M 14.0G 27.0M 1212M 149M 12.5G 27.9M 1131M 1834M 12.5G 27.9M 1131M 1811M 12.5G 28.0M 1131M 1791M 12.5G 28.0M 1131M 1820M 12.4G 28.0M 1131M 1850M </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" [rundeck_role/main.yml ] --- - set_fact: project: rundeck_url: 'http://somehost:4440/api/11' token: &quot;{{ rundeck_token }}&quot; template: 'promo_apps' rd_group: &quot;{{ system_env }}&quot; project_name: 'PromoCloud' tags: ['promo_cloud', 'frontends', 'hadoop', 'backends', 'importers'] - include: promo_cloud.yml vars: tags: ['promo_cloud'] [promo_cloud.yml] --- - include: render_template.yml vars: host_list: &quot;{{ item_instance.host_list }}&quot; project_template: &quot;{{ item_instance.template }}&quot; action: &quot;{{ item_instance.action }}&quot; choosen_app: &quot;{{ item_instance.app }}&quot; choosen_proxy_backend: &quot;{{ item_instance.backend }}&quot; playbook: &quot;{{ item_instance.playbook }}&quot; loop_control: loop_var: item_instance with_items: [here goes a list of 30 templates items &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;] [render_template.yml] --- - debug: msg=&quot;{{ item_instance }} {{ item }}&quot; with_items: &quot;{{ host_list }}&quot; - file: path: /tmp/{{ project_template }} state: directory - set_fact: choosen_app_version: &quot;{{ versions[choosen_app] | default('x') }}&quot; - name: &quot;template jobs {{ choosen_app }}&quot; template: src: job_templates/{{ project_template }} dest: /tmp/{{ project_template }}/{{ project_name | default('empty') }}_{{ project.rd_group }}_{{ item }}_{{ choosen_app | default() }}_{{ action | default() }}.yml with_items: &quot;{{ host_list }}&quot; - name: &quot;upload jobs&quot; shell: rd-jobs load -r -F yaml -f /tmp/{{ project_template }}/{{ project_name | default('empty') }}_{{ project.rd_group }}_{{ item }}_{{ choosen_app | default() }}_{{ act on |default() }}.yml become: True changed_when: False with_items: &quot;{{ host_list }}&quot; "><pre class="notranslate"><code class="notranslate"> [rundeck_role/main.yml ] --- - set_fact: project: rundeck_url: 'http://somehost:4440/api/11' token: "{{ rundeck_token }}" template: 'promo_apps' rd_group: "{{ system_env }}" project_name: 'PromoCloud' tags: ['promo_cloud', 'frontends', 'hadoop', 'backends', 'importers'] - include: promo_cloud.yml vars: tags: ['promo_cloud'] [promo_cloud.yml] --- - include: render_template.yml vars: host_list: "{{ item_instance.host_list }}" project_template: "{{ item_instance.template }}" action: "{{ item_instance.action }}" choosen_app: "{{ item_instance.app }}" choosen_proxy_backend: "{{ item_instance.backend }}" playbook: "{{ item_instance.playbook }}" loop_control: loop_var: item_instance with_items: [here goes a list of 30 templates items &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;] [render_template.yml] --- - debug: msg="{{ item_instance }} {{ item }}" with_items: "{{ host_list }}" - file: path: /tmp/{{ project_template }} state: directory - set_fact: choosen_app_version: "{{ versions[choosen_app] | default('x') }}" - name: "template jobs {{ choosen_app }}" template: src: job_templates/{{ project_template }} dest: /tmp/{{ project_template }}/{{ project_name | default('empty') }}_{{ project.rd_group }}_{{ item }}_{{ choosen_app | default() }}_{{ action | default() }}.yml with_items: "{{ host_list }}" - name: "upload jobs" shell: rd-jobs load -r -F yaml -f /tmp/{{ project_template }}/{{ project_name | default('empty') }}_{{ project.rd_group }}_{{ item }}_{{ choosen_app | default() }}_{{ act on |default() }}.yml become: True changed_when: False with_items: "{{ host_list }}" </code></pre></div> <p dir="auto">So I know this playbook/templates usage is an extreme one, but I know the magic, so why not to use ansible at it's full power...</p>
<h5 dir="auto">Issue Type:</h5> <p dir="auto">Bug Report</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">1.6.2</p> <h5 dir="auto">Environment:</h5> <p dir="auto">Ubuntu 12.04 LTS (running on travis ci)</p> <h5 dir="auto">Summary:</h5> <p dir="auto">The <code class="notranslate">locale_gen</code> module fails with <code class="notranslate">msg: /etc/locale.gen and /var/lib/locales/supported.d/local are missing. Is the package “locales” installed?</code> when that file does not exist on the system before hand even when the <code class="notranslate">locales</code> package is installed.</p> <p dir="auto">The work around is to conditionally touch this file if it does not exist which seems a bit user unfriendly. Maybe this logic could be encapsulated in the module itself?</p> <p dir="auto">Here's a travis build failing:<br> <a href="https://travis-ci.org/nickjj/ansible-locale/builds/28623557" rel="nofollow">https://travis-ci.org/nickjj/ansible-locale/builds/28623557</a></p> <p dir="auto">Here's a travis build working:<br> <a href="https://travis-ci.org/nickjj/ansible-locale/builds/28626066" rel="nofollow">https://travis-ci.org/nickjj/ansible-locale/builds/28626066</a></p> <p dir="auto">Without this snippet running before <code class="notranslate">locale_gen</code> then it fails:<br> <a href="https://github.com/nickjj/ansible-locale/blob/v0.1.1/tasks/main.yml#L14=L20">https://github.com/nickjj/ansible-locale/blob/v0.1.1/tasks/main.yml#L14=L20</a></p> <h5 dir="auto">Steps To Reproduce:</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: ensure the system locale is configured locale_gen: name=en_US.UTF-8 state=present"><pre class="notranslate"><code class="notranslate">- name: ensure the system locale is configured locale_gen: name=en_US.UTF-8 state=present </code></pre></div> <h5 dir="auto">Expected Results:</h5> <p dir="auto">The locale to be written out to a config file and then enabled.</p> <h5 dir="auto">Actual Results:</h5> <p dir="auto">It failed with the error posted in the summary.</p>
0
<p dir="auto">Currently multifield mapping support path parameter per property so if you need to have several fields mapped for a property they will either all have full path name or just_name</p> <p dir="auto">it is rather inconvenient when you want to have the property with say two secondary fields one with full name (because it only makes sense as a variant of primary field say not analyzed) and one with just_name because you want to have an all-like field to which many of your properties contribute.</p> <p dir="auto">consider an example (a part of a bigger json)</p> <p dir="auto">"category": {"code":"CTZ", "description":"My Description"}</p> <p dir="auto">code was indexed as multifield resulting in names<br> category.code<br> category.code.untouched</p> <p dir="auto">later I want to have my_all field to where I want to index category.code as well as other fields</p> <p dir="auto">I will add path:"just_name" to my mapping and another field my_all</p> <p dir="auto">that will immediately break my application because untouched will become a just_name mapping as well and all untouched from all my data elements will be rolled into it</p> <p dir="auto">My current workaround is to provide full name for untouched field (category.code.untouched) so it retains its full name. I am not sure it is intentional behavior but it seems to work (need to test it more)</p> <p dir="auto">But much cleaner approach would be to allow path per field in multifield mapping</p>
<p dir="auto">Hi,</p> <p dir="auto">I have indexed documents that have a duplicate field. During the search I want to display only the document that has the highest score among its duplicate class (the group of documents that have the same field value).</p> <p dir="auto">There has been a discussion about deduplication in Lucene mailing-list:<br> <a href="http://www.mail-archive.com/[email protected]/msg21437.html" rel="nofollow">http://www.mail-archive.com/[email protected]/msg21437.html</a></p> <p dir="auto">Would it be possible to implement the Duplicate filter which is in contrib:<br> <a href="https://svn.apache.org/repos/asf/lucene/dev/trunk/lucene/contrib/sandbox/src/test/org/apache/lucene/sandbox/queries/DuplicateFilterTest.java" rel="nofollow">https://svn.apache.org/repos/asf/lucene/dev/trunk/lucene/contrib/sandbox/src/test/org/apache/lucene/sandbox/queries/DuplicateFilterTest.java</a></p> <p dir="auto">So the request would look like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;query&quot;: { &quot;term&quot;: { &quot;name&quot;: &quot;alexis&quot; } }, &quot;filter&quot;: { &quot;duplicate&quot;: { &quot;field&quot;: &quot;name&quot; } } }"><pre class="notranslate"><code class="notranslate">{ "query": { "term": { "name": "alexis" } }, "filter": { "duplicate": { "field": "name" } } } </code></pre></div> <p dir="auto">Let me know if that makes sense...</p>
0
<p dir="auto">It would be awesome if flutter had support for the YouTube api. Right now I am using a webview to show the player in an iframe. Is it possible to implement a flutter plugin for YouTube api? I never developed for Android and iOS, just web development. Also I am new to flutter.</p>
<h2 dir="auto">Steps to Reproduce</h2> <p dir="auto">I am following along with this section of the tutorial: <a href="https://codelabs.developers.google.com/codelabs/flutter-firebase/#5" rel="nofollow">https://codelabs.developers.google.com/codelabs/flutter-firebase/#5</a></p> <p dir="auto">Repro:</p> <ol dir="auto"> <li>Run the flutter app (on my device via flutter run -d )</li> <li>Type a message</li> <li>Hit send</li> <li>App does not add message to the List of messages and instead fails with the logged output below.</li> </ol> <p dir="auto">If the problem is with your application's rendering, please attach a screenshot and any relevant source code.<br> <code class="notranslate">Not Applicable</code><br> If you are getting an exception in the logs, and your code is implicated in the first few frames, then please include the source code for the functions involved.<br> <code class="notranslate">Not Applicable</code></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="[VERBOSE-2:dart_error.cc(16)] Unhandled exception: type '_Future' is not a subtype of type 'Future&lt;Null&gt;' where _Future is from dart:async Future is from dart:async Null is from dart:core #0 GoogleSignIn._callMethod (package:google_sign_in/google_sign_in.dart) &lt;asynchronous suspension&gt; #1 GoogleSignIn._addMethodCall.&lt;anonymous closure&gt; (package:google_sign_in/google_sign_in.dart:196:28) #2 _RootZone.run (dart:async/zone.dart:1376:54) #3 _FutureListener.handleWhenComplete (dart:async/future_impl.dart:151:18) #4 _Future._propagateToListeners.handleWhenCompleteCallback (dart:async/future_impl.dart:603:39) #5 _Future._propagateToListeners (dart:async/future_impl.dart:659:37) #6 _Future._addListener.&lt;anonymous closure&gt; (dart:async/future_impl.dart:342:9) #7 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #8 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)"><pre class="notranslate"><code class="notranslate">[VERBOSE-2:dart_error.cc(16)] Unhandled exception: type '_Future' is not a subtype of type 'Future&lt;Null&gt;' where _Future is from dart:async Future is from dart:async Null is from dart:core #0 GoogleSignIn._callMethod (package:google_sign_in/google_sign_in.dart) &lt;asynchronous suspension&gt; #1 GoogleSignIn._addMethodCall.&lt;anonymous closure&gt; (package:google_sign_in/google_sign_in.dart:196:28) #2 _RootZone.run (dart:async/zone.dart:1376:54) #3 _FutureListener.handleWhenComplete (dart:async/future_impl.dart:151:18) #4 _Future._propagateToListeners.handleWhenCompleteCallback (dart:async/future_impl.dart:603:39) #5 _Future._propagateToListeners (dart:async/future_impl.dart:659:37) #6 _Future._addListener.&lt;anonymous closure&gt; (dart:async/future_impl.dart:342:9) #7 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #8 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) </code></pre></div> <p dir="auto">Run <code class="notranslate">flutter analyze</code> and attach any output of that command also.<br> <code class="notranslate">➜ whatschat git:(master) ✗ flutter analyze Analyzing /Users/calvinnguyen/safezone/projects/mobile/flutter/whatschat... No issues found! Ran in 5.3s</code></p> <h2 dir="auto">Flutter Doctor</h2> <p dir="auto">Paste the output of running <code class="notranslate">flutter doctor -v</code> here.<br> `<br> ➜ whatschat git:(master) ✗ flutter doctor -v<br> [✓] Flutter (Channel dev, v0.2.4, on Mac OS X 10.13.3 17D102, locale en-US)<br> • Flutter version 0.2.4 at /usr/local/Cellar/google-flutter/flutter<br> • Framework revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/3352a3fb488df4742ff323243d3dc44d9b7cd3e8/hovercard" href="https://github.com/flutter/flutter/commit/3352a3fb488df4742ff323243d3dc44d9b7cd3e8"><tt>3352a3f</tt></a> (3 weeks ago), 2018-03-20 19:30:06 +0100<br> • Engine revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/6280adbfb1f9f63cdc6179b9b78634add1e4f2e3/hovercard" href="https://github.com/flutter/flutter/commit/6280adbfb1f9f63cdc6179b9b78634add1e4f2e3"><tt>6280adb</tt></a><br> • Dart version 2.0.0-dev.39.0.flutter-06949dc985</p> <p dir="auto">[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)<br> • Android SDK at /Users/calvinnguyen/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 9.2)<br> • Xcode at /Applications/Xcode.app/Contents/Developer<br> • Xcode 9.2, Build version 9C40b<br> ✗ Verify that all connected devices have been paired with this computer in Xcode.<br> If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.<br> To update, run:<br> brew uninstall --ignore-dependencies libimobiledevice<br> brew install --HEAD libimobiledevice<br> brew install ideviceinstaller<br> • ios-deploy 1.9.2<br> • CocoaPods version 1.4.0</p> <p dir="auto">[✓] Android Studio (version 3.1)<br> • Android Studio at /Applications/Android Studio.app/Contents<br> • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)</p> <p dir="auto">[✓] VS Code (version 1.21.1)<br> • VS Code at /Applications/Visual Studio Code.app/Contents<br> • Dart Code extension version 2.11.1</p> <p dir="auto">[✓] Connected devices (3 available)<br> • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)<br> • CALVIN’s iPhone X • 59a045705b5301f9f931d1731b52997e48305a4a • ios • iOS 11.3<br> • iPhone 5s • 3EA133DB-9AE9-4B42-86C7-06B818C50C51 • ios • iOS 11.2 (simulator)</p> <p dir="auto">! Doctor found issues in 1 category.<br> `<br> ➜ whatschat git:(master) ✗ flutter doctor -v<br> [✓] Flutter (Channel dev, v0.2.4, on Mac OS X 10.13.3 17D102, locale en-US)<br> • Flutter version 0.2.4 at /usr/local/Cellar/google-flutter/flutter<br> • Framework revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/3352a3fb488df4742ff323243d3dc44d9b7cd3e8/hovercard" href="https://github.com/flutter/flutter/commit/3352a3fb488df4742ff323243d3dc44d9b7cd3e8"><tt>3352a3f</tt></a> (3 weeks ago), 2018-03-20 19:30:06 +0100<br> • Engine revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/6280adbfb1f9f63cdc6179b9b78634add1e4f2e3/hovercard" href="https://github.com/flutter/flutter/commit/6280adbfb1f9f63cdc6179b9b78634add1e4f2e3"><tt>6280adb</tt></a><br> • Dart version 2.0.0-dev.39.0.flutter-06949dc985</p> <p dir="auto">[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)<br> • Android SDK at /Users/calvinnguyen/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 9.2)<br> • Xcode at /Applications/Xcode.app/Contents/Developer<br> • Xcode 9.2, Build version 9C40b<br> ✗ Verify that all connected devices have been paired with this computer in Xcode.<br> If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.<br> To update, run:<br> brew uninstall --ignore-dependencies libimobiledevice<br> brew install --HEAD libimobiledevice<br> brew install ideviceinstaller<br> • ios-deploy 1.9.2<br> • CocoaPods version 1.4.0</p> <p dir="auto">[✓] Android Studio (version 3.1)<br> • Android Studio at /Applications/Android Studio.app/Contents<br> • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)</p> <p dir="auto">[✓] VS Code (version 1.21.1)<br> • VS Code at /Applications/Visual Studio Code.app/Contents<br> • Dart Code extension version 2.11.1</p> <p dir="auto">[✓] Connected devices (3 available)<br> • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)<br> • CALVIN’s iPhone X • 59a045705b5301f9f931d1731b52997e48305a4a • ios • iOS 11.3<br> • iPhone 5s • 3EA133DB-9AE9-4B42-86C7-06B818C50C51 • ios • iOS 11.2 (simulator)</p> <p dir="auto">! Doctor found issues in 1 category.<br> ➜ whatschat git:(master) ✗ A<br> `</p> <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>
0
<ul dir="auto"> <li>Electron version: 1.8.2</li> <li>Operating system: macOS 10.13.3</li> </ul> <h3 dir="auto">Expected behavior</h3> <p dir="auto">It seems like you should be able to copy text in the devtools using Cmd-C <em>regardless of whether or not the app itself has those keys assigned as menu items</em></p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">Cmd-C does nothing (apparently you have to add menu items to get this to work). My app as no need of Copy so those keys are not assigned and no menu is added. The normal app keys do not affect the devtools, why should Cmd-C be any different? In other words pressing Cmd-F in devtools will start a search even though my app has no menu for Cmd-F. Similarly it seems like Cmd-C should copy when devtools has the focus regardless of what my app is doing.</p> <h3 dir="auto">How to reproduce</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git clone -b cmd-c-not-working https://github.com/greggman/electron-quick-start.git cd electron-quick-start npm install npm start"><pre class="notranslate"><code class="notranslate">git clone -b cmd-c-not-working https://github.com/greggman/electron-quick-start.git cd electron-quick-start npm install npm start </code></pre></div> <p dir="auto">Then try to copy something in devtools by pressing Cmd-C. Nothing happens. Notice that Cmd-F works even though there is no Cmd-F menu item and even though the app is trapping all keypresses. The point being it seems like Electron's devtools shouldn't rely on the App's setup for basic functionality. That works in Chrome because a webpage can't change the App's menus but in Electron arguably Electron's devtools should be checking for Cmd-C/Cmd-X/Cmd-V in some other way, maybe the same way it's checking for Cmd-F.</p>
<ul dir="auto"> <li>Electron version: 1.7.10</li> <li>Operating system: Windows 7 64-bit</li> </ul> <h3 dir="auto">Expected behavior</h3> <p dir="auto">Sandboxing doesn't cause Electron to crash for anyone.</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">A smallish fraction of users report crashes.</p> <p dir="auto">We're working on an Electron app and we estimate 1-5% of users encounter Sandboxing issues: the app crashes. Our app calls app.enableMixedSandboxing() to enable sandboxing, but I would expect this issue to occur with --enable-sanbox as well. We have devs running Win 7 and the same A/V software as the users with the repro with no issues When we look at the stack trace, we see:</p> <blockquote> <p dir="auto">Project Maestro.exe!base::debug::BreakDebugger() Line 21 C++<br> Project Maestro.exe!logging::LogMessage::~LogMessage() Line 762 C++<br> Project Maestro.exe!content::<code class="notranslate">anonymous namespace'::CheckDuplicateHandle(void * handle) Line 514 C++ Project Maestro.exe!content::</code>anonymous namespace'::DuplicateHandlePatch(void * source_process_handle, void * source_handle, void * target_process_handle, void * * target_handle, unsigned long desired_access, int inherit_handle, unsigned long options) Line 563 C++<br> Project Maestro.exe!sandbox::ProcessPolicy::OpenProcessAction(const sandbox::ClientInfo &amp; client_info, unsigned int desired_access, unsigned int process_id, void * * handle) Line 158 C++<br> Project Maestro.exe!sandbox::ThreadProcessDispatcher::NtOpenProcess(sandbox::IPCInfo * ipc, unsigned int desired_access, unsigned int process_id) Line 187 C++<br> Project Maestro.exe!sandbox::SharedMemIPCServer::InvokeCallback(const sandbox::SharedMemIPCServer::ServerControl * service_context, void * ipc_buffer, sandbox::CrossCallReturn * call_result) Line 279 C++<br> Project Maestro.exe!sandbox::SharedMemIPCServer::ThreadPingEventReady(void * context, unsigned char __formal) Line 398 C++<br> [Frames may be missing, no binary loaded for ntdll.dll]<br> ntdll.dll!00000000775ced52() Unknown</p> <p dir="auto">If we attach a debugger and look at the log message, we see:</p> <p dir="auto">[12224:0322/155853.691:FATAL:sandbox_win.cc(511)] Check failed: !(basic_info.GrantedAccess &amp; kDangerousMask). You are attempting to duplicate a privileged handle into a sandboxed process.</p> <p dir="auto">Please contact <a href="mailto:[email protected]">[email protected]</a> for assistance.</p> </blockquote> <p dir="auto">plus some other stuff (can attach if you really want it, but it's probably not really relevant to the fix).</p> <p dir="auto">We did notice the user had Chrome installed on their machine and reported no problems with it.</p> <p dir="auto">If you look at <a href="https://chromium.googlesource.com/chromium/chromium/+/trunk/content/common/sandbox_win.cc" rel="nofollow">https://chromium.googlesource.com/chromium/chromium/+/trunk/content/common/sandbox_win.cc</a> line 545, the sandoxing code only patches the DuplicateHandle Win32 API with DuplicateHandlePatch when the OFFICIAL_BUILD macro isn't defined.</p> <p dir="auto">I reached out the Chromium security folks and they confirmed that many of the sanity checks only run when you don't define the OFFICIAL_BUILD precompiler macro while building Chromium. They explicitly turn this off for release builds because anti-virus and god knows what tends to break these sandbox sanity checks.</p> <p dir="auto">I would attach the email thread to this bug, but their email boilerplate says not to, as it is security related. I'm sure whoever needs to cab get looped into the thread if you ask them.</p> <p dir="auto">Disabling sandboxing resolves the issue on afflicted users' machines.</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto">No idea. Happens deterministically on a small fraction of users' machines. Our 2 datapoints so far indicate both users had Win 7 and Sophos anti-virus installed, but others in our org have this same setup and have had no issues.</p>
0
<p dir="auto">Using <code class="notranslate">Flask 2.2.2</code>, it seems that serving static resources leads to a duplicate <code class="notranslate">Date</code> HTTP Header field.</p> <p dir="auto">Here is a simple snippet easy to understand and to show how to reproduce:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from flask import Flask app = Flask(__name__, static_url_path='/static') @app.route('/', methods=['GET']) def index(): return &quot;Hello World&quot; app.run(port=30887)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">flask</span> <span class="pl-k">import</span> <span class="pl-v">Flask</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">Flask</span>(<span class="pl-s1">__name__</span>, <span class="pl-s1">static_url_path</span><span class="pl-c1">=</span><span class="pl-s">'/static'</span>) <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">route</span>(<span class="pl-s">'/'</span>, <span class="pl-s1">methods</span><span class="pl-c1">=</span>[<span class="pl-s">'GET'</span>])</span> <span class="pl-k">def</span> <span class="pl-en">index</span>(): <span class="pl-k">return</span> <span class="pl-s">"Hello World"</span> <span class="pl-s1">app</span>.<span class="pl-en">run</span>(<span class="pl-s1">port</span><span class="pl-c1">=</span><span class="pl-c1">30887</span>)</pre></div> <p dir="auto">Let's create a simple file inside <code class="notranslate">static</code> directory:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="mkdir static echo Hello &gt; style.css"><pre class="notranslate">mkdir static <span class="pl-c1">echo</span> Hello <span class="pl-k">&gt;</span> style.css</pre></div> <p dir="auto">Now let's check HTTP headers:</p> <div class="highlight highlight-source-httpspec notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="maxux@workx0 ~ $ curl -I http://127.0.0.1:30887 HTTP/1.1 200 OK Server: Werkzeug/2.2.2 Python/3.10.8 Date: Thu, 05 Jan 2023 21:53:31 GMT Content-Type: text/html; charset=utf-8 Content-Length: 11 Connection: close"><pre class="notranslate"><span class="pl-ii">maxux@workx0 ~ $ curl -I http://127.0.0.1:30887</span> <span class="pl-c1">HTTP/1.1 200 OK</span> <span class="pl-s"><span class="pl-v">Server:</span> Werkzeug/2.2.2 Python/3.10.8</span> <span class="pl-s"><span class="pl-v">Date:</span> Thu, 05 Jan 2023 21:53:31 GMT</span> <span class="pl-s"><span class="pl-v">Content-Type:</span> text/html; charset=utf-8</span> <span class="pl-s"><span class="pl-v">Content-Length:</span> 11</span> <span class="pl-s"><span class="pl-v">Connection:</span> close</span></pre></div> <p dir="auto">All good here.</p> <div class="highlight highlight-source-httpspec notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="maxux@workx0 ~ $ curl -I http://127.0.0.1:30887/static/style.css HTTP/1.1 200 OK Server: Werkzeug/2.2.2 Python/3.10.8 Date: Thu, 05 Jan 2023 21:53:53 GMT &lt;&lt;&lt;&lt; Content-Disposition: inline; filename=style.css Content-Type: text/css; charset=utf-8 Content-Length: 6 Last-Modified: Thu, 05 Jan 2023 21:50:59 GMT Cache-Control: no-cache ETag: &quot;1672955459.103843-6-1459357711&quot; Date: Thu, 05 Jan 2023 21:53:53 GMT &lt;&lt;&lt;&lt; Connection: close"><pre class="notranslate"><span class="pl-ii">maxux@workx0 ~ $ curl -I http://127.0.0.1:30887/static/style.css</span> <span class="pl-c1">HTTP/1.1 200 OK</span> <span class="pl-s"><span class="pl-v">Server:</span> Werkzeug/2.2.2 Python/3.10.8</span> <span class="pl-s"><span class="pl-v">Date:</span> Thu, 05 Jan 2023 21:53:53 GMT &lt;&lt;&lt;&lt;</span> <span class="pl-s"><span class="pl-v">Content-Disposition:</span> inline; filename=style.css</span> <span class="pl-s"><span class="pl-v">Content-Type:</span> text/css; charset=utf-8</span> <span class="pl-s"><span class="pl-v">Content-Length:</span> 6</span> <span class="pl-s"><span class="pl-v">Last-Modified:</span> Thu, 05 Jan 2023 21:50:59 GMT</span> <span class="pl-s"><span class="pl-v">Cache-Control:</span> no-cache</span> <span class="pl-s"><span class="pl-v">ETag:</span> "1672955459.103843-6-1459357711"</span> <span class="pl-s"><span class="pl-v">Date:</span> Thu, 05 Jan 2023 21:53:53 GMT &lt;&lt;&lt;&lt;</span> <span class="pl-s"><span class="pl-v">Connection:</span> close</span></pre></div> <p dir="auto">You can see <code class="notranslate">Date</code> header twice, for a static content response.</p> <p dir="auto">In addition, you can see python and Flask running version in the response as well to confirm running version.</p> <p dir="auto">This was spotted using nginx on front which complains (by a warning) that the header is duplicated.</p>
<p dir="auto">I ran into some warnings from nginx that my Flask server was generating duplicate Date headers, so I investigated.</p> <p dir="auto">Here's how to reproduce the situation:</p> <p dir="auto">app.py</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from flask import Flask app = Flask(__name__) @app.route(&quot;/hello&quot;) def hello_world(): return &quot;Hello from a flask route!&quot;"><pre class="notranslate"><code class="notranslate">from flask import Flask app = Flask(__name__) @app.route("/hello") def hello_world(): return "Hello from a flask route!" </code></pre></div> <p dir="auto">static/hello</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Hello from static world."><pre class="notranslate"><code class="notranslate">Hello from static world. </code></pre></div> <p dir="auto"><code class="notranslate">$flask run</code></p> <p dir="auto">From another terminal run:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[root@vis cli]$ curl -v 'http://127.0.0.1:5000/hello' * Trying 127.0.0.1:5000... * Connected to 127.0.0.1 (127.0.0.1) port 5000 (#0) &gt; GET /hello HTTP/1.1 &gt; Host: 127.0.0.1:5000 &gt; User-Agent: curl/7.81.0 &gt; Accept: */* &gt; * Mark bundle as not supporting multiuse &lt; HTTP/1.1 200 OK &lt; Server: Werkzeug/2.2.2 Python/3.10.4 &lt; Date: Wed, 10 Aug 2022 08:05:18 GMT &lt; Content-Type: text/html; charset=utf-8 &lt; Content-Length: 25 &lt; Connection: close &lt; * Closing connection 0 Hello from a flask route! [root@vis cli]$ curl -v 'http://127.0.0.1:5000/static/hello' * Trying 127.0.0.1:5000... * Connected to 127.0.0.1 (127.0.0.1) port 5000 (#0) &gt; GET /static/hello HTTP/1.1 &gt; Host: 127.0.0.1:5000 &gt; User-Agent: curl/7.81.0 &gt; Accept: */* &gt; * Mark bundle as not supporting multiuse &lt; HTTP/1.1 200 OK &lt; Server: Werkzeug/2.2.2 Python/3.10.4 &lt; Date: Wed, 10 Aug 2022 08:05:22 GMT &lt; Content-Disposition: inline; filename=hello &lt; Content-Type: application/octet-stream &lt; Content-Length: 25 &lt; Last-Modified: Wed, 10 Aug 2022 08:00:56 GMT &lt; Cache-Control: no-cache &lt; Date: Wed, 10 Aug 2022 08:05:22 GMT &lt; Connection: close &lt; Hello from static world. * Closing connection 0"><pre class="notranslate"><code class="notranslate">[root@vis cli]$ curl -v 'http://127.0.0.1:5000/hello' * Trying 127.0.0.1:5000... * Connected to 127.0.0.1 (127.0.0.1) port 5000 (#0) &gt; GET /hello HTTP/1.1 &gt; Host: 127.0.0.1:5000 &gt; User-Agent: curl/7.81.0 &gt; Accept: */* &gt; * Mark bundle as not supporting multiuse &lt; HTTP/1.1 200 OK &lt; Server: Werkzeug/2.2.2 Python/3.10.4 &lt; Date: Wed, 10 Aug 2022 08:05:18 GMT &lt; Content-Type: text/html; charset=utf-8 &lt; Content-Length: 25 &lt; Connection: close &lt; * Closing connection 0 Hello from a flask route! [root@vis cli]$ curl -v 'http://127.0.0.1:5000/static/hello' * Trying 127.0.0.1:5000... * Connected to 127.0.0.1 (127.0.0.1) port 5000 (#0) &gt; GET /static/hello HTTP/1.1 &gt; Host: 127.0.0.1:5000 &gt; User-Agent: curl/7.81.0 &gt; Accept: */* &gt; * Mark bundle as not supporting multiuse &lt; HTTP/1.1 200 OK &lt; Server: Werkzeug/2.2.2 Python/3.10.4 &lt; Date: Wed, 10 Aug 2022 08:05:22 GMT &lt; Content-Disposition: inline; filename=hello &lt; Content-Type: application/octet-stream &lt; Content-Length: 25 &lt; Last-Modified: Wed, 10 Aug 2022 08:00:56 GMT &lt; Cache-Control: no-cache &lt; Date: Wed, 10 Aug 2022 08:05:22 GMT &lt; Connection: close &lt; Hello from static world. * Closing connection 0 </code></pre></div> <p dir="auto">The -v turns on curl's verbose mode so that the request and response headers are printed.</p> <p dir="auto">Note how the headers of the static route have two Date fields, whereas the headers of the dynamic route only have one.</p> <p dir="auto">I dove into this some more and it seems that here's what is happening:</p> <p dir="auto">The http package always adds the date header, regardless of if it's a dynamic or static route.<br> /usr/lib/python3.10/http/server.py:493<br> <code class="notranslate"> self.send_header('Date', self.date_time_string())</code></p> <p dir="auto">The werkzeug package adds it again for a static request:<br> /usr/local/lib/python3.10/dist-packages/werkzeug/wrappers/response.py:802<br> <code class="notranslate"> self.headers["Date"] = http_date()</code></p> <p dir="auto">Obviously we should be doubling up on headers, right? What do you believe is the best fix for this?</p>
1
<p dir="auto">When I try to define a variable, the following messages show.<br> However, these messages will only show when I define the first variable.</p> <p dir="auto">Python 3.5.2 |Anaconda 4.1.1 (64-bit)| (default, Jul 5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] on win32<br> Type "help", "copyright", "credits" or "license" for more information.</p> <blockquote> <blockquote> <blockquote> <p dir="auto">import tensorflow as tf<br> bias = tf.Variable(tf.random_normal([1]))<br> E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "BestSplits" device_type: "CPU"') for unknown op: BestSplits<br> E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "CountExtremelyRandomStats" device_type: "CPU"') for unknown op: CountExtremelyRandomStats<br> E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "FinishedNodes" device_type: "CPU"') for unknown op: FinishedNodes<br> E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "GrowTree" device_type: "CPU"') for unknown op: GrowTree<br> E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "ReinterpretStringToFloat" device_type: "CPU"') for unknown op: ReinterpretStringToFloat<br> E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "SampleInputs" device_type: "CPU"') for unknown op: SampleInputs<br> E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "ScatterAddNdim" device_type: "CPU"') for unknown op: ScatterAddNdim<br> E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "TopNInsert" device_type: "CPU"') for unknown op: TopNInsert<br> E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "TopNRemove" device_type: "CPU"') for unknown op: TopNRemove<br> E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "TreePredictions" device_type: "CPU"') for unknown op: TreePredictions<br> E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "UpdateFertileSlots" device_type: "CPU"') for unknown op: UpdateFertileSlots</p> </blockquote> </blockquote> </blockquote>
<p dir="auto">I installed TensorFlow version 1.0.0-rc2 on Windows 7 SP1 x64 Ultimate (Python 3.5.2 |Anaconda custom (64-bit)) using:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.0rc2-cp35-cp35m-win_amd64.whl"><pre class="notranslate"><code class="notranslate">pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.0rc2-cp35-cp35m-win_amd64.whl </code></pre></div> <p dir="auto">When I try running the test script from <a href="https://web.archive.org/web/20170214034751/https://www.tensorflow.org/get_started/os_setup#test_the_tensorflow_installation" rel="nofollow">https://web.archive.org/web/20170214034751/https://www.tensorflow.org/get_started/os_setup#test_the_tensorflow_installation</a> in Eclipse 4.5 or in the console:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import tensorflow as tf print('TensorFlow version: {0}'.format(tf.__version__)) hello = tf.constant('Hello, TensorFlow!') sess = tf.Session() print(sess.run(hello))"><pre class="notranslate"><code class="notranslate">import tensorflow as tf print('TensorFlow version: {0}'.format(tf.__version__)) hello = tf.constant('Hello, TensorFlow!') sess = tf.Session() print(sess.run(hello)) </code></pre></div> <p dir="auto">I obtain some error message:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TensorFlow version: 1.0.0-rc2 'Hello, TensorFlow!' E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflob w\core\framework\op_kernel.cc:943] OpKernel ('op: &quot;BestSplits&quot; device_type: &quot;CPU&quot;') for unknown op: BestSplits E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: &quot;CountExtremelyRandomStats&quot; device_type: &quot;CPU&quot;') for unknown op: CountExtremelyRandomStats E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: &quot;FinishedNodes&quot; device_type: &quot;CPU&quot;') for unknown op: FinishedNodes E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: &quot;GrowTree&quot; device_type: &quot;CPU&quot;') for unknown op: GrowTree E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: &quot;ReinterpretStringToFloat&quot; device_type: &quot;CPU&quot;') for unknown op: ReinterpretStringToFloat E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: &quot;SampleInputs&quot; device_type: &quot;CPU&quot;') for unknown op: SampleInputs E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: &quot;ScatterAddNdim&quot; device_type: &quot;CPU&quot;') for unknown op: ScatterAddNdim E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: &quot;TopNInsert&quot; device_type: &quot;CPU&quot;') for unknown op: TopNInsert E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: &quot;TopNRemove&quot; device_type: &quot;CPU&quot;') for unknown op: TopNRemove E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: &quot;TreePredictions&quot; device_type: &quot;CPU&quot;') for unknown op: TreePredictions E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: &quot;UpdateFertileSlots&quot; device_type: &quot;CPU&quot;') for unknown op: UpdateFertileSlots"><pre class="notranslate"><code class="notranslate">TensorFlow version: 1.0.0-rc2 'Hello, TensorFlow!' E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflob w\core\framework\op_kernel.cc:943] OpKernel ('op: "BestSplits" device_type: "CPU"') for unknown op: BestSplits E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "CountExtremelyRandomStats" device_type: "CPU"') for unknown op: CountExtremelyRandomStats E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "FinishedNodes" device_type: "CPU"') for unknown op: FinishedNodes E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "GrowTree" device_type: "CPU"') for unknown op: GrowTree E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "ReinterpretStringToFloat" device_type: "CPU"') for unknown op: ReinterpretStringToFloat E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "SampleInputs" device_type: "CPU"') for unknown op: SampleInputs E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "ScatterAddNdim" device_type: "CPU"') for unknown op: ScatterAddNdim E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "TopNInsert" device_type: "CPU"') for unknown op: TopNInsert E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "TopNRemove" device_type: "CPU"') for unknown op: TopNRemove E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "TreePredictions" device_type: "CPU"') for unknown op: TreePredictions E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "UpdateFertileSlots" device_type: "CPU"') for unknown op: UpdateFertileSlots </code></pre></div> <p dir="auto">Why?</p> <p dir="auto">I didn't have such issues with TensorFlow 0.12.1 (installed with <code class="notranslate">pip install tensorflow==0.12.1</code>):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TensorFlow version: 0.12.1 b'Hello, TensorFlow!'"><pre class="notranslate"><code class="notranslate">TensorFlow version: 0.12.1 b'Hello, TensorFlow!' </code></pre></div> <p dir="auto">Stack Exchange thread: <a href="http://stackoverflow.com/q/42217532/395857" rel="nofollow">TensorFlow version 1.0.0-rc2 on Windows: "OpKernel ('op: "BestSplits" device_type: "CPU"') for unknown op: BestSplits" with test code</a></p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/drpngx/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/drpngx">@drpngx</a></p>
1
<p dir="auto"><strong>Migrated issue, originally created by florent breheret (<a href="https://github.com/florentbr">@florentbr</a>)</strong></p> <p dir="auto">python 2.7.8, firebird 2.5.3, sqlalchemy 0.9.8, fdb 1.4.3</p> <p dir="auto">For a table with a check constraint, I noticed that this check constraint is missing in the reflected metadata.<br> The test case to reproduce:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import unittest from sqlalchemy import * class TestSuite(unittest.TestCase): def setUp(self): self.engine = create_engine('firebird+fdb://SYSDBA:masterkey@/c:/unitest.fdb') self.connection = self.engine.connect() def tearDown(self): self.connection.execute(&quot;DROP TABLE TMP_TABLE&quot;) self.connection.close() def test_check_constraint_reflected(self): table = Table('TMP_TABLE', MetaData(bind=self.connection), Column('dt', Integer), CheckConstraint('dt &gt; 1') ) table.create(self.engine) reflected_constraints = MetaData(bind=self.connection, reflect=True).tables['tmp_table'].constraints self.assertItemsEqual( [c.__class__.__name__ for c in table.constraints], [c.__class__.__name__ for c in reflected_constraints] ) if __name__ == '__main__': unittest.main() "><pre class="notranslate"><code class="notranslate">import unittest from sqlalchemy import * class TestSuite(unittest.TestCase): def setUp(self): self.engine = create_engine('firebird+fdb://SYSDBA:masterkey@/c:/unitest.fdb') self.connection = self.engine.connect() def tearDown(self): self.connection.execute("DROP TABLE TMP_TABLE") self.connection.close() def test_check_constraint_reflected(self): table = Table('TMP_TABLE', MetaData(bind=self.connection), Column('dt', Integer), CheckConstraint('dt &gt; 1') ) table.create(self.engine) reflected_constraints = MetaData(bind=self.connection, reflect=True).tables['tmp_table'].constraints self.assertItemsEqual( [c.__class__.__name__ for c in table.constraints], [c.__class__.__name__ for c in reflected_constraints] ) if __name__ == '__main__': unittest.main() </code></pre></div>
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p> <p dir="auto">I'm not sure about other DB backends, but postgres supports also unique/check constraints to be inspected on db. Any change to get this into SA?</p>
1
<p dir="auto"><strong>TypeScript Version:</strong> 1.9.0-dev.20160523-1.0</p> <p dir="auto"><strong>Code</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// A self-contained demonstration of the problem follows... class Foo { identity&lt;T&gt;(x: T): T { return x } compose&lt;A, B, C&gt;(f: (b: B) =&gt; C, g: (a: A) =&gt; B) : (a:A) =&gt; C { return (a: A) =&gt; f(g(a)) } constructor()  { let value = this.compose((a : number) =&gt; a, this.identity) } } "><pre class="notranslate"><span class="pl-c">// A self-contained demonstration of the problem follows...</span> <span class="pl-k">class</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span> <span class="pl-en">identity</span><span class="pl-c1">&lt;</span><span class="pl-smi">T</span><span class="pl-c1">&gt;</span><span class="pl-kos">(</span><span class="pl-s1">x</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">x</span> <span class="pl-kos">}</span> <span class="pl-en">compose</span><span class="pl-c1">&lt;</span><span class="pl-smi">A</span><span class="pl-kos">,</span> <span class="pl-smi">B</span><span class="pl-kos">,</span> <span class="pl-smi">C</span><span class="pl-c1">&gt;</span><span class="pl-kos">(</span><span class="pl-s1">f</span>: <span class="pl-kos">(</span><span class="pl-s1">b</span>: <span class="pl-smi">B</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">C</span><span class="pl-kos">,</span> <span class="pl-s1">g</span>: <span class="pl-kos">(</span><span class="pl-s1">a</span>: <span class="pl-smi">A</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">B</span><span class="pl-kos">)</span> : <span class="pl-kos">(</span><span class="pl-s1">a</span>:<span class="pl-smi">A</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">C</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-kos">(</span><span class="pl-s1">a</span>: <span class="pl-smi">A</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-en">g</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span>  <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-s1">value</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">compose</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">a</span> : <span class="pl-smi">number</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">identity</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><strong>Expected behavior:</strong></p> <p dir="auto">value should have type (a: number) =&gt; number<br> OR<br> it should issue an error as the tsconfig.json has "noImplicitAny" defined to true.</p> <p dir="auto"><strong>Actual behavior:</strong></p> <p dir="auto">value has type (a: {}) =&gt; number<br> AND<br> no error from the compiler.</p>
<p dir="auto">I'm using TypeScript 1.6.3 in Visual Studio 2015. The es6-promise declaration I'm using contains:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="declare class Promise&lt;R&gt; implements Thenable&lt;R&gt; { constructor(callback: (resolve : (value?: R | Thenable&lt;R&gt;) =&gt; void, reject: (error?: any) =&gt; void) =&gt; void); then&lt;U&gt;(onFulfilled?: (value: R) =&gt; U | Thenable&lt;U&gt;, onRejected?: (error: any) =&gt; U | Thenable&lt;U&gt;): Promise&lt;U&gt;; }"><pre class="notranslate"><code class="notranslate">declare class Promise&lt;R&gt; implements Thenable&lt;R&gt; { constructor(callback: (resolve : (value?: R | Thenable&lt;R&gt;) =&gt; void, reject: (error?: any) =&gt; void) =&gt; void); then&lt;U&gt;(onFulfilled?: (value: R) =&gt; U | Thenable&lt;U&gt;, onRejected?: (error: any) =&gt; U | Thenable&lt;U&gt;): Promise&lt;U&gt;; } </code></pre></div> <p dir="auto">The following works with an explicit typing of the Promise generic:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="new Promise &lt; { foo: number }&gt;((resolve) =&gt; { resolve({ foo: 1 }); }).then((value) =&gt; { value.foo; });"><pre class="notranslate"><code class="notranslate">new Promise &lt; { foo: number }&gt;((resolve) =&gt; { resolve({ foo: 1 }); }).then((value) =&gt; { value.foo; }); </code></pre></div> <p dir="auto">However, shouldn't type inference allow the following to work?</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="new Promise((resolve) =&gt; { resolve({ foo: 1 }); }).then((value) =&gt; { value.foo; });"><pre class="notranslate"><code class="notranslate">new Promise((resolve) =&gt; { resolve({ foo: 1 }); }).then((value) =&gt; { value.foo; }); </code></pre></div> <p dir="auto">Instead, I am getting an error when accessing value.foo that foo does not exist on type '{}'. Why is TypeScript defaulting to the <code class="notranslate">{}</code> type?</p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.4.1</li> <li>Operating System version: win10</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>create class implements org.apache.dubbo.rpc.Filter</li> <li>Write setter method on API fields , Field on @org.apache.dubbo.config.annotation.Reference</li> <li>run my app<br> 4.block DubboMetadataServiceProxy#initProxy() in dubboMetadataServiceCache.computeIfAbsent Infinite loop</li> </ol> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">What do you expected from the above steps?</p> <p dir="auto">I want my app to start up properly</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">What actually happens?</p> <p dir="auto">My application cannot be started, stuck in DubboMetadataServiceProxy# initProxy here</p> <p dir="auto">If there is an exception, please attach the exception trace:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/18204507/75248936-1ef03080-5810-11ea-93f5-51c80e8f8717.png"><img src="https://user-images.githubusercontent.com/18204507/75248936-1ef03080-5810-11ea-93f5-51c80e8f8717.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/18204507/75248763-bdc85d00-580f-11ea-84e2-0a661311ac21.png"><img src="https://user-images.githubusercontent.com/18204507/75248763-bdc85d00-580f-11ea-84e2-0a661311ac21.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/18204507/75248641-8063cf80-580f-11ea-899a-76a25a74214b.png"><img src="https://user-images.githubusercontent.com/18204507/75248641-8063cf80-580f-11ea-899a-76a25a74214b.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/18204507/75248568-5dd1b680-580f-11ea-951f-5c409ddb687f.png"><img src="https://user-images.githubusercontent.com/18204507/75248568-5dd1b680-580f-11ea-951f-5c409ddb687f.png" alt="image" style="max-width: 100%;"></a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here! at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1673) at com.alibaba.cloud.dubbo.service.DubboMetadataServiceProxy.initProxy(DubboMetadataServiceProxy.java:52) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initDubboMetadataServiceProxy(DubboServiceMetadataRepository.java:647) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.lambda$null$4(DubboServiceMetadataRepository.java:625) at java.util.ArrayList.forEach(ArrayList.java:1257) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.lambda$initSubscribedDubboMetadataService$5(DubboServiceMetadataRepository.java:621) at java.util.Optional.ifPresent(Optional.java:159) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initSubscribedDubboMetadataService(DubboServiceMetadataRepository.java:620) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initializeMetadata(DubboServiceMetadataRepository.java:292) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository$$FastClassBySpringCGLIB$$4ef4b7bd.invoke(&lt;generated&gt;) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:769) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository$$EnhancerBySpringCGLIB$$aec22326.initializeMetadata(&lt;generated&gt;) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.subscribeDubboServiceURL(AbstractSpringCloudRegistry.java:257) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.lambda$doSubscribeDubboServiceURLs$0(AbstractSpringCloudRegistry.java:206) at java.lang.Iterable.forEach(Iterable.java:75) at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1082) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.doSubscribeDubboServiceURLs(AbstractSpringCloudRegistry.java:206) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.subscribeDubboServiceURLs(AbstractSpringCloudRegistry.java:172) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.doSubscribe(AbstractSpringCloudRegistry.java:166) at org.apache.dubbo.registry.support.FailbackRegistry.subscribe(FailbackRegistry.java:295) at org.apache.dubbo.registry.integration.RegistryDirectory.subscribe(RegistryDirectory.java:172) at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:412) at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:393) at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:69) at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:71) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:128) at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java) at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:396) at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:329) at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:250) at org.apache.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:73) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:171) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:101) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1818) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1266) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:260) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:227) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1155) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveBean(DefaultListableBeanFactory.java:416) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:349) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:342) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1126) at org.apache.dubbo.config.spring.extension.SpringExtensionFactory.getExtension(SpringExtensionFactory.java:94) at org.apache.dubbo.common.extension.factory.AdaptiveExtensionFactory.getExtension(AdaptiveExtensionFactory.java:47) at org.apache.dubbo.common.extension.ExtensionLoader.injectExtension(ExtensionLoader.java:570) at org.apache.dubbo.common.extension.ExtensionLoader.createExtension(ExtensionLoader.java:532) at org.apache.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:346) at org.apache.dubbo.common.extension.ExtensionLoader.getActivateExtension(ExtensionLoader.java:230) at org.apache.dubbo.common.extension.ExtensionLoader.getActivateExtension(ExtensionLoader.java:194) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.buildInvokerChain(ProtocolFilterWrapper.java:55) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:130) at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java) at org.apache.dubbo.registry.integration.RegistryDirectory.toInvokers(RegistryDirectory.java:423) at org.apache.dubbo.registry.integration.RegistryDirectory.refreshInvoker(RegistryDirectory.java:280) at org.apache.dubbo.registry.integration.RegistryDirectory.refreshOverrideAndInvoker(RegistryDirectory.java:239) at org.apache.dubbo.registry.integration.RegistryDirectory.notify(RegistryDirectory.java:233) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.subscribeDubboMetadataServiceURLs(AbstractSpringCloudRegistry.java:352) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.doSubscribe(AbstractSpringCloudRegistry.java:163) at org.apache.dubbo.registry.support.FailbackRegistry.subscribe(FailbackRegistry.java:295) at org.apache.dubbo.registry.integration.RegistryDirectory.subscribe(RegistryDirectory.java:172) at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:412) at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:393) at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:69) at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:71) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:128) at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java) at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:396) at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:329) at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:250) at com.alibaba.cloud.dubbo.service.DubboGenericServiceFactory.create(DubboGenericServiceFactory.java:81) at com.alibaba.cloud.dubbo.service.DubboMetadataServiceInvocationHandler.&lt;init&gt;(DubboMetadataServiceInvocationHandler.java:40) at com.alibaba.cloud.dubbo.service.DubboMetadataServiceProxy.newProxy(DubboMetadataServiceProxy.java:92) at com.alibaba.cloud.dubbo.service.DubboMetadataServiceProxy.lambda$initProxy$0(DubboMetadataServiceProxy.java:53) at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) at com.alibaba.cloud.dubbo.service.DubboMetadataServiceProxy.initProxy(DubboMetadataServiceProxy.java:52) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initDubboMetadataServiceProxy(DubboServiceMetadataRepository.java:647) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.lambda$null$4(DubboServiceMetadataRepository.java:625) at java.util.ArrayList.forEach(ArrayList.java:1257) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.lambda$initSubscribedDubboMetadataService$5(DubboServiceMetadataRepository.java:621) at java.util.Optional.ifPresent(Optional.java:159) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initSubscribedDubboMetadataService(DubboServiceMetadataRepository.java:620) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initializeMetadata(DubboServiceMetadataRepository.java:292) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository$$FastClassBySpringCGLIB$$4ef4b7bd.invoke(&lt;generated&gt;) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:769) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository$$EnhancerBySpringCGLIB$$aec22326.initializeMetadata(&lt;generated&gt;) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.subscribeDubboServiceURL(AbstractSpringCloudRegistry.java:257) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.lambda$doSubscribeDubboServiceURLs$0(AbstractSpringCloudRegistry.java:206) at java.lang.Iterable.forEach(Iterable.java:75) at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1082) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.doSubscribeDubboServiceURLs(AbstractSpringCloudRegistry.java:206) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.subscribeDubboServiceURLs(AbstractSpringCloudRegistry.java:172) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.doSubscribe(AbstractSpringCloudRegistry.java:166) at org.apache.dubbo.registry.support.FailbackRegistry.subscribe(FailbackRegistry.java:295) at org.apache.dubbo.registry.integration.RegistryDirectory.subscribe(RegistryDirectory.java:172) at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:412) at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:393) at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:69) at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:71) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:128) at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java) at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:396) at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:329) at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:250) at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.getOrCreateProxy(ReferenceAnnotationBeanPostProcessor.java:246) at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.doGetInjectedBean(ReferenceAnnotationBeanPostProcessor.java:143) at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor.getInjectedObject(AnnotationInjectedBeanPostProcessor.java:359) at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor$AnnotatedFieldElement.inject(AnnotationInjectedBeanPostProcessor.java:539) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:116) at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor.postProcessPropertyValues(AnnotationInjectedBeanPostProcessor.java:146) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1434) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.resolveBeanReference(ConfigurationClassEnhancer.java:394) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:366) at com.ig.web.quake.conf.WebMvcConfig$$EnhancerBySpringCGLIB$$e0c6cf87.securityUserFilter(&lt;generated&gt;) at com.ig.web.quake.conf.WebMvcConfig.securityUserFilterRegistration(WebMvcConfig.java:53) at com.ig.web.quake.conf.WebMvcConfig$$EnhancerBySpringCGLIB$$e0c6cf87.CGLIB$securityUserFilterRegistration$4(&lt;generated&gt;) at com.ig.web.quake.conf.WebMvcConfig$$EnhancerBySpringCGLIB$$e0c6cf87$$FastClassBySpringCGLIB$$aa41d8bb.invoke(&lt;generated&gt;) at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363) at com.ig.web.quake.conf.WebMvcConfig$$EnhancerBySpringCGLIB$$e0c6cf87.securityUserFilterRegistration(&lt;generated&gt;) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:640) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:475) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1338) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:211) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:202) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addServletContextInitializerBeans(ServletContextInitializerBeans.java:96) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.&lt;init&gt;(ServletContextInitializerBeans.java:85) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getServletContextInitializerBeans(ServletWebServerApplicationContext.java:253) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.selfInitialize(ServletWebServerApplicationContext.java:227) at org.springframework.boot.web.embedded.tomcat.TomcatStarter.onStartup(TomcatStarter.java:53) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5135) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) at java.util.concurrent.FutureTask.run(FutureTask.java) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) at java.util.concurrent.FutureTask.run(FutureTask.java) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.startup.Tomcat.start(Tomcat.java:459) at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:107) at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.&lt;init&gt;(TomcatWebServer.java:88) at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:438) at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:191) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:153) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) at com.ig.web.quake.IGWebQuakeBootstrap.main(IGWebQuakeBootstrap.java:55)"><pre class="notranslate"><code class="notranslate">Just put your stack trace here! at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1673) at com.alibaba.cloud.dubbo.service.DubboMetadataServiceProxy.initProxy(DubboMetadataServiceProxy.java:52) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initDubboMetadataServiceProxy(DubboServiceMetadataRepository.java:647) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.lambda$null$4(DubboServiceMetadataRepository.java:625) at java.util.ArrayList.forEach(ArrayList.java:1257) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.lambda$initSubscribedDubboMetadataService$5(DubboServiceMetadataRepository.java:621) at java.util.Optional.ifPresent(Optional.java:159) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initSubscribedDubboMetadataService(DubboServiceMetadataRepository.java:620) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initializeMetadata(DubboServiceMetadataRepository.java:292) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository$$FastClassBySpringCGLIB$$4ef4b7bd.invoke(&lt;generated&gt;) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:769) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository$$EnhancerBySpringCGLIB$$aec22326.initializeMetadata(&lt;generated&gt;) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.subscribeDubboServiceURL(AbstractSpringCloudRegistry.java:257) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.lambda$doSubscribeDubboServiceURLs$0(AbstractSpringCloudRegistry.java:206) at java.lang.Iterable.forEach(Iterable.java:75) at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1082) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.doSubscribeDubboServiceURLs(AbstractSpringCloudRegistry.java:206) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.subscribeDubboServiceURLs(AbstractSpringCloudRegistry.java:172) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.doSubscribe(AbstractSpringCloudRegistry.java:166) at org.apache.dubbo.registry.support.FailbackRegistry.subscribe(FailbackRegistry.java:295) at org.apache.dubbo.registry.integration.RegistryDirectory.subscribe(RegistryDirectory.java:172) at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:412) at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:393) at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:69) at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:71) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:128) at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java) at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:396) at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:329) at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:250) at org.apache.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:73) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:171) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:101) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1818) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1266) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:260) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:227) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1155) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveBean(DefaultListableBeanFactory.java:416) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:349) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:342) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1126) at org.apache.dubbo.config.spring.extension.SpringExtensionFactory.getExtension(SpringExtensionFactory.java:94) at org.apache.dubbo.common.extension.factory.AdaptiveExtensionFactory.getExtension(AdaptiveExtensionFactory.java:47) at org.apache.dubbo.common.extension.ExtensionLoader.injectExtension(ExtensionLoader.java:570) at org.apache.dubbo.common.extension.ExtensionLoader.createExtension(ExtensionLoader.java:532) at org.apache.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:346) at org.apache.dubbo.common.extension.ExtensionLoader.getActivateExtension(ExtensionLoader.java:230) at org.apache.dubbo.common.extension.ExtensionLoader.getActivateExtension(ExtensionLoader.java:194) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.buildInvokerChain(ProtocolFilterWrapper.java:55) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:130) at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java) at org.apache.dubbo.registry.integration.RegistryDirectory.toInvokers(RegistryDirectory.java:423) at org.apache.dubbo.registry.integration.RegistryDirectory.refreshInvoker(RegistryDirectory.java:280) at org.apache.dubbo.registry.integration.RegistryDirectory.refreshOverrideAndInvoker(RegistryDirectory.java:239) at org.apache.dubbo.registry.integration.RegistryDirectory.notify(RegistryDirectory.java:233) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.subscribeDubboMetadataServiceURLs(AbstractSpringCloudRegistry.java:352) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.doSubscribe(AbstractSpringCloudRegistry.java:163) at org.apache.dubbo.registry.support.FailbackRegistry.subscribe(FailbackRegistry.java:295) at org.apache.dubbo.registry.integration.RegistryDirectory.subscribe(RegistryDirectory.java:172) at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:412) at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:393) at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:69) at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:71) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:128) at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java) at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:396) at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:329) at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:250) at com.alibaba.cloud.dubbo.service.DubboGenericServiceFactory.create(DubboGenericServiceFactory.java:81) at com.alibaba.cloud.dubbo.service.DubboMetadataServiceInvocationHandler.&lt;init&gt;(DubboMetadataServiceInvocationHandler.java:40) at com.alibaba.cloud.dubbo.service.DubboMetadataServiceProxy.newProxy(DubboMetadataServiceProxy.java:92) at com.alibaba.cloud.dubbo.service.DubboMetadataServiceProxy.lambda$initProxy$0(DubboMetadataServiceProxy.java:53) at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) at com.alibaba.cloud.dubbo.service.DubboMetadataServiceProxy.initProxy(DubboMetadataServiceProxy.java:52) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initDubboMetadataServiceProxy(DubboServiceMetadataRepository.java:647) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.lambda$null$4(DubboServiceMetadataRepository.java:625) at java.util.ArrayList.forEach(ArrayList.java:1257) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.lambda$initSubscribedDubboMetadataService$5(DubboServiceMetadataRepository.java:621) at java.util.Optional.ifPresent(Optional.java:159) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initSubscribedDubboMetadataService(DubboServiceMetadataRepository.java:620) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initializeMetadata(DubboServiceMetadataRepository.java:292) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository$$FastClassBySpringCGLIB$$4ef4b7bd.invoke(&lt;generated&gt;) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:769) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689) at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository$$EnhancerBySpringCGLIB$$aec22326.initializeMetadata(&lt;generated&gt;) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.subscribeDubboServiceURL(AbstractSpringCloudRegistry.java:257) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.lambda$doSubscribeDubboServiceURLs$0(AbstractSpringCloudRegistry.java:206) at java.lang.Iterable.forEach(Iterable.java:75) at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1082) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.doSubscribeDubboServiceURLs(AbstractSpringCloudRegistry.java:206) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.subscribeDubboServiceURLs(AbstractSpringCloudRegistry.java:172) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.doSubscribe(AbstractSpringCloudRegistry.java:166) at org.apache.dubbo.registry.support.FailbackRegistry.subscribe(FailbackRegistry.java:295) at org.apache.dubbo.registry.integration.RegistryDirectory.subscribe(RegistryDirectory.java:172) at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:412) at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:393) at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:69) at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:71) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:128) at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java) at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:396) at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:329) at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:250) at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.getOrCreateProxy(ReferenceAnnotationBeanPostProcessor.java:246) at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.doGetInjectedBean(ReferenceAnnotationBeanPostProcessor.java:143) at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor.getInjectedObject(AnnotationInjectedBeanPostProcessor.java:359) at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor$AnnotatedFieldElement.inject(AnnotationInjectedBeanPostProcessor.java:539) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:116) at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor.postProcessPropertyValues(AnnotationInjectedBeanPostProcessor.java:146) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1434) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.resolveBeanReference(ConfigurationClassEnhancer.java:394) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:366) at com.ig.web.quake.conf.WebMvcConfig$$EnhancerBySpringCGLIB$$e0c6cf87.securityUserFilter(&lt;generated&gt;) at com.ig.web.quake.conf.WebMvcConfig.securityUserFilterRegistration(WebMvcConfig.java:53) at com.ig.web.quake.conf.WebMvcConfig$$EnhancerBySpringCGLIB$$e0c6cf87.CGLIB$securityUserFilterRegistration$4(&lt;generated&gt;) at com.ig.web.quake.conf.WebMvcConfig$$EnhancerBySpringCGLIB$$e0c6cf87$$FastClassBySpringCGLIB$$aa41d8bb.invoke(&lt;generated&gt;) at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363) at com.ig.web.quake.conf.WebMvcConfig$$EnhancerBySpringCGLIB$$e0c6cf87.securityUserFilterRegistration(&lt;generated&gt;) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:640) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:475) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1338) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:211) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:202) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addServletContextInitializerBeans(ServletContextInitializerBeans.java:96) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.&lt;init&gt;(ServletContextInitializerBeans.java:85) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getServletContextInitializerBeans(ServletWebServerApplicationContext.java:253) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.selfInitialize(ServletWebServerApplicationContext.java:227) at org.springframework.boot.web.embedded.tomcat.TomcatStarter.onStartup(TomcatStarter.java:53) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5135) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) at java.util.concurrent.FutureTask.run(FutureTask.java) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) at java.util.concurrent.FutureTask.run(FutureTask.java) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.startup.Tomcat.start(Tomcat.java:459) at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:107) at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.&lt;init&gt;(TomcatWebServer.java:88) at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:438) at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:191) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:153) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) at com.ig.web.quake.IGWebQuakeBootstrap.main(IGWebQuakeBootstrap.java:55) </code></pre></div>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: master</li> <li>Operating System version: macos 10.14.3</li> <li>Java version: 1.8.0_201-b09</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>demo-xml model,use zookeeper registery just change:<br> &lt;dubbo:registry address="multicast://224.5.6.7:1234" /&gt;<br> to<br> &lt;dubbo:registry protocol="zookeeper" address="127.0.0.1:2181" /&gt;</li> </ol> <p dir="auto">2.Exception:<br> java.lang.IllegalStateException: No such extension org.apache.dubbo.registry.RegistryFactory by name zookeeper</p> <p dir="auto">3.solution:<br> add maven dependency in demo pom as:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &lt;dependency&gt; &lt;groupId&gt;org.apache.dubbo&lt;/groupId&gt; &lt;artifactId&gt;dubbo-registry-zookeeper&lt;/artifactId&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.apache.dubbo&lt;/groupId&gt; &lt;artifactId&gt;dubbo-configcenter-zookeeper&lt;/artifactId&gt; &lt;/dependency&gt;"><pre class="notranslate"><code class="notranslate"> &lt;dependency&gt; &lt;groupId&gt;org.apache.dubbo&lt;/groupId&gt; &lt;artifactId&gt;dubbo-registry-zookeeper&lt;/artifactId&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.apache.dubbo&lt;/groupId&gt; &lt;artifactId&gt;dubbo-configcenter-zookeeper&lt;/artifactId&gt; &lt;/dependency&gt; </code></pre></div> <p dir="auto">maybe it's not useful in multicast registry, so may be some lines in readme can help</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">can run without Exception</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">Exception:<br> java.lang.IllegalStateException: No such extension org.apache.dubbo.registry.RegistryFactory by name zookeeper</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java.lang.IllegalStateException: No such extension org.apache.dubbo.registry.RegistryFactory by name zookeeper at org.apache.dubbo.common.extension.ExtensionLoader.findException(ExtensionLoader.java:520) at org.apache.dubbo.common.extension.ExtensionLoader.createExtension(ExtensionLoader.java:527) at org.apache.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:351) at org.apache.dubbo.registry.RegistryFactory$Adaptive.getRegistry(RegistryFactory$Adaptive.java) at org.apache.dubbo.registry.integration.RegistryProtocol.getRegistry(RegistryProtocol.java:298) at org.apache.dubbo.registry.integration.RegistryProtocol.access$1100(RegistryProtocol.java:111) at org.apache.dubbo.registry.integration.RegistryProtocol$ExporterChangeableWrapper.unexport(RegistryProtocol.java:669) at org.apache.dubbo.registry.integration.RegistryProtocol.destroy(RegistryProtocol.java:442) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.destroy(ProtocolFilterWrapper.java:135) at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.destroy(ProtocolListenerWrapper.java:79) at org.apache.dubbo.config.DubboShutdownHook.destroyProtocols(DubboShutdownHook.java:103) at org.apache.dubbo.config.DubboShutdownHook.doDestroy(DubboShutdownHook.java:91) at org.apache.dubbo.config.spring.extension.SpringExtensionFactory$ShutdownHookListener.onApplicationEvent(SpringExtensionFactory.java:114) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:991) at org.springframework.context.support.AbstractApplicationContext$2.run(AbstractApplicationContext.java:929)```"><pre class="notranslate"><code class="notranslate">java.lang.IllegalStateException: No such extension org.apache.dubbo.registry.RegistryFactory by name zookeeper at org.apache.dubbo.common.extension.ExtensionLoader.findException(ExtensionLoader.java:520) at org.apache.dubbo.common.extension.ExtensionLoader.createExtension(ExtensionLoader.java:527) at org.apache.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:351) at org.apache.dubbo.registry.RegistryFactory$Adaptive.getRegistry(RegistryFactory$Adaptive.java) at org.apache.dubbo.registry.integration.RegistryProtocol.getRegistry(RegistryProtocol.java:298) at org.apache.dubbo.registry.integration.RegistryProtocol.access$1100(RegistryProtocol.java:111) at org.apache.dubbo.registry.integration.RegistryProtocol$ExporterChangeableWrapper.unexport(RegistryProtocol.java:669) at org.apache.dubbo.registry.integration.RegistryProtocol.destroy(RegistryProtocol.java:442) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.destroy(ProtocolFilterWrapper.java:135) at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.destroy(ProtocolListenerWrapper.java:79) at org.apache.dubbo.config.DubboShutdownHook.destroyProtocols(DubboShutdownHook.java:103) at org.apache.dubbo.config.DubboShutdownHook.doDestroy(DubboShutdownHook.java:91) at org.apache.dubbo.config.spring.extension.SpringExtensionFactory$ShutdownHookListener.onApplicationEvent(SpringExtensionFactory.java:114) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:991) at org.springframework.context.support.AbstractApplicationContext$2.run(AbstractApplicationContext.java:929)``` </code></pre></div>
0
<p dir="auto">Toggling Atom's Soft Tabs setting from Preferences\Settings\Editor Settings has no effect.<br> The only way to toggle the setting is using Editor: Toggle Soft Tabs from the Command Palette</p>
<p dir="auto">And I have to close the current document and then reopen it in order to see the tab=&gt;space changes.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ atom --version 0.188.0"><pre class="notranslate"><code class="notranslate">$ atom --version 0.188.0 </code></pre></div>
1
<p dir="auto"><a href="https://deno.land/std/manual.md#typescript-compiler-options" rel="nofollow">https://deno.land/std/manual.md#typescript-compiler-options</a></p>
<p dir="auto"><code class="notranslate">Manual</code> link <a href="https://deno.land/std/manual.md" rel="nofollow">https://deno.land/std/manual.md</a> on the page <a href="https://deno.land/" rel="nofollow">https://deno.land/</a> forwards to <a href="https://github.com/denoland/deno/tree/master/docs">https://github.com/denoland/deno/tree/master/docs</a>.</p> <p dir="auto">I assume because there is no <code class="notranslate">manual.md</code> file in the <code class="notranslate">docs</code> folder.<br> As far as I remember a few days back the <code class="notranslate">md</code> files' content was shown under each other.</p>
1
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">ANSIBLE VERSION</h5> <p dir="auto">2.1</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">OpenBSD 5.9</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Using unarchvie for tar-archives on OpenBSD (and possibly FreeBSD/NetBSD) causes an error (Unexpected error when accessing exploded file: [Errno 2] No such file or directory).<br> From looking at the ansible 2.0 output it looks like ansible would make use of the tar argument --diff. OpenBSD and FreeBSD doesn't have an --diff, -d, --compare option for tar.</p> <p dir="auto">It runs fine against any Linux host (tested with CentOS 6.8).</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">run unarchive with a tar.gz against OpenBSD 5.9</p> <p dir="auto">e.g.</p> <ul dir="auto"> <li>name: unarchive mmonit<br> unarchive:<br> copy: no<br> creates: /usr/local/mmonit-3.5.1<br> dest: /usr/local<br> src: <a href="https://mmonit.com/dist/mmonit-3.5.1-openbsd-x64.tar.gz" rel="nofollow">https://mmonit.com/dist/mmonit-3.5.1-openbsd-x64.tar.gz</a></li> </ul> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">Command works</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">Command failed.</p> <p dir="auto">fatal: [xxx]: FAILED! =&gt; {"changed": false, "failed": true, "msg": "Unexpected error when accessing exploded file: [Errno 2] No such file or directory: '/usr/local/mmonit-3.5.1'", "stat": {"exists": false}}<br> to retry, use: --limit @site.retry</p>
<h5 dir="auto">ISSUE TYPE</h5> <p dir="auto">Bug</p> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">unarchive module</p> <h5 dir="auto">ANSIBLE VERSION</h5> <p dir="auto">Ansible on OSX 10.10, installed through Homebrew.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible --version ansible 2.1.0.0 config file = configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">$ ansible --version ansible 2.1.0.0 config file = configured module search path = Default w/o overrides </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">Not settings changed (to my knowledge ;-)).</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">OSX 10.10, Homebrew</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">When executing the play pasted below Ansible fails when excuting the unarchive command.</p> <p dir="auto">EDIT:<br> This is a regression because it happens with my existing plays which worked perfectly not long ago. I am pretty sure that this problem did not exist in the Ansible 2.0.x release on OSX using Homebrew.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <ol dir="auto"> <li>Copy the play below into a file</li> <li>Download the archive file (<a href="http://share.astina.io/openssl-certs.tar.gz" rel="nofollow">http://share.astina.io/openssl-certs.tar.gz</a>) and put it besides the file. Alternatively you can just create your own archive, I guess the contents are irrelevant (maybe it is relevant it being a <code class="notranslate">tar.gz</code> archive)</li> <li>Run <code class="notranslate">ansible-playbook -vvvv main.yml</code></li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" --- - name: Test unarchive hosts: 127.0.0.1 connection: local tasks: - name: Create destination folder file: path=test-certificates state=directory - name: Install public certificates for OpenSSL unarchive: src=openssl-certs.tar.gz dest=test-certificates creates=test-certificates/VeriSign_Universal_Root_Certification_Authority.pem"><pre class="notranslate"><code class="notranslate"> --- - name: Test unarchive hosts: 127.0.0.1 connection: local tasks: - name: Create destination folder file: path=test-certificates state=directory - name: Install public certificates for OpenSSL unarchive: src=openssl-certs.tar.gz dest=test-certificates creates=test-certificates/VeriSign_Universal_Root_Certification_Authority.pem </code></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">The play runs through and in the play's directory there is a directory called <code class="notranslate">test-certificates</code> with the contents of the archive.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">Ansible fails with the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal: [127.0.0.1]: FAILED! =&gt; {&quot;changed&quot;: false, &quot;failed&quot;: true, &quot;invocation&quot;: {&quot;module_args&quot;: {&quot;backup&quot;: null, &quot;content&quot;: null, &quot;copy&quot;: true, &quot;creates&quot;: &quot;test-certificates/VeriSign_Universal_Root_Certification_Authority.pem&quot;, &quot;delimiter&quot;: null, &quot;dest&quot;: &quot;test-certificates&quot;, &quot;directory_mode&quot;: null, &quot;exclude&quot;: [], &quot;extra_opts&quot;: [], &quot;follow&quot;: false, &quot;force&quot;: null, &quot;group&quot;: null, &quot;keep_newer&quot;: false, &quot;list_files&quot;: false, &quot;mode&quot;: null, &quot;original_basename&quot;: &quot;openssl-certs.tar.gz&quot;, &quot;owner&quot;: null, &quot;regexp&quot;: null, &quot;remote_src&quot;: null, &quot;selevel&quot;: null, &quot;serole&quot;: null, &quot;setype&quot;: null, &quot;seuser&quot;: null, &quot;src&quot;: &quot;/Users/raffaele/.ansible/tmp/ansible-tmp-1465980002.6-168001143856730/source&quot;}}, &quot;msg&quot;: &quot;Unexpected error when accessing exploded file: [Errno 2] No such file or directory: 'test-certificates/ACCVRAIZ1.pem'&quot;, &quot;stat&quot;: {&quot;exists&quot;: false}}"><pre class="notranslate"><code class="notranslate">fatal: [127.0.0.1]: FAILED! =&gt; {"changed": false, "failed": true, "invocation": {"module_args": {"backup": null, "content": null, "copy": true, "creates": "test-certificates/VeriSign_Universal_Root_Certification_Authority.pem", "delimiter": null, "dest": "test-certificates", "directory_mode": null, "exclude": [], "extra_opts": [], "follow": false, "force": null, "group": null, "keep_newer": false, "list_files": false, "mode": null, "original_basename": "openssl-certs.tar.gz", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/Users/raffaele/.ansible/tmp/ansible-tmp-1465980002.6-168001143856730/source"}}, "msg": "Unexpected error when accessing exploded file: [Errno 2] No such file or directory: 'test-certificates/ACCVRAIZ1.pem'", "stat": {"exists": false}} </code></pre></div>
1
<p dir="auto">I've upgraded caravel to <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/apache/superset/commit/131372740e79fa0d6ebd7484026cb9ac5918f631/hovercard" href="https://github.com/apache/superset/commit/131372740e79fa0d6ebd7484026cb9ac5918f631"><tt>1313727</tt></a> and on a sunburst slice i get this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/internals.py&quot;, line 3600, in set loc = self.items.get_loc(item) File &quot;/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/indexes/base.py&quot;, line 1985, in get_loc return self._engine.get_loc(self._maybe_cast_indexer(key)) File &quot;pandas/index.pyx&quot;, line 137, in pandas.index.IndexEngine.get_loc (pandas/index.c:4154) File &quot;pandas/index.pyx&quot;, line 159, in pandas.index.IndexEngine.get_loc (pandas/index.c:4018) File &quot;pandas/hashtable.pyx&quot;, line 675, in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:12368) File &quot;pandas/hashtable.pyx&quot;, line 683, in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:12322) KeyError: 'm1' During handling of the above exception, another exception occurred: Traceback (most recent call last): File &quot;/home/rm/caraveltest/venv/lib/python3.4/site-packages/caravel/views.py&quot;, line 799, in explore payload = obj.get_json() File &quot;/home/rm/caraveltest/venv/lib/python3.4/site-packages/caravel/viz.py&quot;, line 275, in get_json 'data': self.get_data(), File &quot;/home/rm/caraveltest/venv/lib/python3.4/site-packages/caravel/viz.py&quot;, line 1288, in get_data ndf['m1'] = df[metric] File &quot;/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/frame.py&quot;, line 2357, in __setitem__ self._set_item(key, value) File &quot;/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/frame.py&quot;, line 2424, in _set_item NDFrame._set_item(self, key, value) File &quot;/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/generic.py&quot;, line 1465, in _set_item self._data.set(key, value) File &quot;/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/internals.py&quot;, line 3603, in set self.insert(len(self.items), item, value) File &quot;/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/internals.py&quot;, line 3704, in insert placement=slice(loc, loc + 1)) File &quot;/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/internals.py&quot;, line 2619, in make_block return klass(values, ndim=ndim, fastpath=fastpath, placement=placement) File &quot;/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/internals.py&quot;, line 90, in __init__ len(self.mgr_locs))) ValueError: Wrong number of items passed 2, placement implies 1"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/internals.py", line 3600, in set loc = self.items.get_loc(item) File "/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/indexes/base.py", line 1985, in get_loc return self._engine.get_loc(self._maybe_cast_indexer(key)) File "pandas/index.pyx", line 137, in pandas.index.IndexEngine.get_loc (pandas/index.c:4154) File "pandas/index.pyx", line 159, in pandas.index.IndexEngine.get_loc (pandas/index.c:4018) File "pandas/hashtable.pyx", line 675, in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:12368) File "pandas/hashtable.pyx", line 683, in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:12322) KeyError: 'm1' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/rm/caraveltest/venv/lib/python3.4/site-packages/caravel/views.py", line 799, in explore payload = obj.get_json() File "/home/rm/caraveltest/venv/lib/python3.4/site-packages/caravel/viz.py", line 275, in get_json 'data': self.get_data(), File "/home/rm/caraveltest/venv/lib/python3.4/site-packages/caravel/viz.py", line 1288, in get_data ndf['m1'] = df[metric] File "/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/frame.py", line 2357, in __setitem__ self._set_item(key, value) File "/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/frame.py", line 2424, in _set_item NDFrame._set_item(self, key, value) File "/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/generic.py", line 1465, in _set_item self._data.set(key, value) File "/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/internals.py", line 3603, in set self.insert(len(self.items), item, value) File "/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/internals.py", line 3704, in insert placement=slice(loc, loc + 1)) File "/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/internals.py", line 2619, in make_block return klass(values, ndim=ndim, fastpath=fastpath, placement=placement) File "/home/rm/caraveltest/venv/lib/python3.4/site-packages/pandas/core/internals.py", line 90, in __init__ len(self.mgr_locs))) ValueError: Wrong number of items passed 2, placement implies 1 </code></pre></div>
<p dir="auto"><strong>Is your feature request related to a problem? Please describe.</strong><br> We would like to have a feature that allow users to duplicate dashboard, and optionally duplicate (deep copy of ) charts associated with the dashboard.</p> <p dir="auto"><strong>Describe the solution you'd like</strong><br> It would be great to have such feature as one of the items in the Action column in the dashboard list page (/dashboard/list/).</p> <p dir="auto"><strong>Describe alternatives you've considered</strong><br> Also, it would be great to have such icon next to the report scheduling icon and before the 3 dots in the upper right corner of the single dashboard page, or put such icon in both dashboard list page and the single dashboard page.</p> <p dir="auto"><strong>Additional context</strong><br> Add any other context or screenshots about the feature request here.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4207782/146499358-fb466309-b94d-49d7-8cd6-c93a75fe5f69.png"><img src="https://user-images.githubusercontent.com/4207782/146499358-fb466309-b94d-49d7-8cd6-c93a75fe5f69.png" alt="Screen Shot 2021-12-16 at 10 25 34 PM" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4207782/146499373-2c80ae9e-2668-45dd-9d82-cef78cc47799.png"><img src="https://user-images.githubusercontent.com/4207782/146499373-2c80ae9e-2668-45dd-9d82-cef78cc47799.png" alt="Screen Shot 2021-12-16 at 10 26 04 PM" style="max-width: 100%;"></a></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>user</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 = /home/user/work/git/ansible/ansible.cfg configured module search path = [u'./library/'] python version = 2.7.5 (default, Aug 2 2016, 04:20:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)]"><pre class="notranslate"><code class="notranslate">ansible 2.3.0.0 config file = /home/user/work/git/ansible/ansible.cfg configured module search path = [u'./library/'] python version = 2.7.5 (default, Aug 2 2016, 04:20:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Running from "Red Hat Enterprise Linux Server release 7.3 (Maipo)"<br> Managing AIX 7.1 TL04 SP02 (1614)</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Attempts to create user fail during setting of password.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">ansible server -m user -a 'name=unxtst01 password="********"'<br> server | FAILED! =&gt; {<br> "changed": false,<br> "cmd": "/ u s r / b i n / c h p a s s w d ' ' - e ' ' - c",<br> "failed": true,<br> "msg": "[Errno 13] Permission denied",<br> "rc": 13<br> }</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">The password would be set without error.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible -vvvv server -m user -a 'name=unxtst01 password=&quot;letmein&quot;' Using /home/xxx1234/work/git/ansible/ansible.cfg as config file Loading callback plugin minimal of type stdout, v2.0 from /usr/lib/python2.7/site-packages/ansible/plugins/callback/__init__.pyc META: ran handlers Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/user.py &lt;server&gt; ESTABLISH SSH CONNECTION FOR USER: None &lt;server&gt; SSH: EXEC ssh -vvv -oLogLevel=quiet -oConnectTimeout=10 -oControlMaster=auto -oControlPersist=90s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/ansible/.ansible/cp/827e06aeba server'/bin/sh -c '&quot;'&quot;'sudo -H -S -n -u root /bin/sh -c '&quot;'&quot;'&quot;'&quot;'&quot;'&quot;'&quot;'&quot;'echo BECOME-SUCCESS-oeclakddmuojlwurlnqaljnulbngfhsd; /usr/bin/python'&quot;'&quot;'&quot;'&quot;'&quot;'&quot;'&quot;'&quot;' &amp;&amp; sleep 0'&quot;'&quot;'' &lt;server&gt; (1, '\n{&quot;msg&quot;: &quot;[Errno 13] Permission denied&quot;, &quot;failed&quot;: true, &quot;cmd&quot;: &quot;/ u s r / b i n / c h p a s s w d \' \' - e \' \' - c&quot;, &quot;rc&quot;: 13, &quot;invocation&quot;: {&quot;module_args&quot;: {&quot;comment&quot;: null, &quot;ssh_key_bits&quot;: 0, &quot;update_password&quot;: &quot;always&quot;, &quot;non_unique&quot;: false, &quot;force&quot;: false, &quot;ssh_key_type&quot;: &quot;rsa&quot;, &quot;ssh_key_passphrase&quot;: null, &quot;createhome&quot;: true, &quot;uid&quot;: null, &quot;home&quot;: null, &quot;append&quot;: false, &quot;skeleton&quot;: null, &quot;ssh_key_comment&quot;: &quot;ansible-generated on server&quot;, &quot;group&quot;: null, &quot;system&quot;: false, &quot;state&quot;: &quot;present&quot;, &quot;shell&quot;: null, &quot;expires&quot;: null, &quot;ssh_key_file&quot;: null, &quot;groups&quot;: null, &quot;move_home&quot;: false, &quot;password&quot;: &quot;VALUE_SPECIFIED_IN_NO_LOG_PARAMETER&quot;, &quot;name&quot;: &quot;unxtst01&quot;, &quot;seuser&quot;: null, &quot;remove&quot;: false, &quot;login_class&quot;: null, &quot;generate_ssh_key&quot;: null}}}\n', 'OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 20: Applying options for *\r\ndebug3: ciphers ok: [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]\r\ndebug3: macs ok: [hmac-md5,hmac-sha1,[email protected],hmac-ripemd160]\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket &quot;/home/ansible/.ansible/cp/827e06aeba&quot; does not exist\r\ndebug2: ssh_connect: needpriv 0\r\ndebug1: Connecting to server [10.30.6.242] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 10000 ms remain after connect\r\ndebug1: identity file /home/ansible/.ssh/identity type -1\r\ndebug1: identity file /home/ansible/.ssh/identity-cert type -1\r\ndebug3: Incorrect RSA1 identifier\r\ndebug3: Could not load &quot;/home/ansible/.ssh/id_rsa&quot; as a RSA1 public key\r\ndebug1: identity file /home/ansible/.ssh/id_rsa type 1\r\ndebug1: identity file /home/ansible/.ssh/id_rsa-cert type -1\r\ndebug1: identity file /home/ansible/.ssh/id_dsa type -1\r\ndebug1: identity file /home/ansible/.ssh/id_dsa-cert type -1\r\ndebug1: Enabling compatibility mode for protocol 2.0\r\ndebug1: Local version string SSH-2.0-OpenSSH_6.6.1\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_6.0\r\ndebug1: match: OpenSSH_6.0 pat OpenSSH* compat 0x04000000\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug3: load_hostkeys: loading entries for host &quot;server&quot; from file &quot;/home/ansible/.ssh/known_hosts&quot;\r\ndebug3: load_hostkeys: found key type RSA in file /home/ansible/.ssh/known_hosts:1\r\ndebug3: load_hostkeys: loaded 1 keys\r\ndebug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],ssh-rsa\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: kex_parse_kexinit: [email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: kex_parse_kexinit: [email protected],[email protected],ssh-rsa,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-dss\r\ndebug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc\r\ndebug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc\r\ndebug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160\r\ndebug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160\r\ndebug2: kex_parse_kexinit: [email protected],zlib,none\r\ndebug2: kex_parse_kexinit: [email protected],zlib,none\r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: first_kex_follows 0 \r\ndebug2: kex_parse_kexinit: reserved 0 \r\ndebug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: kex_parse_kexinit: ssh-rsa,ssh-dss\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]\r\ndebug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96\r\ndebug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96\r\ndebug2: kex_parse_kexinit: none,[email protected]\r\ndebug2: kex_parse_kexinit: none,[email protected]\r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: first_kex_follows 0 \r\ndebug2: kex_parse_kexinit: reserved 0 \r\ndebug2: mac_setup: setup hmac-md5\r\ndebug1: kex: server-&gt;client aes128-cbc hmac-md5 [email protected]\r\ndebug2: mac_setup: setup hmac-md5\r\ndebug1: kex: client-&gt;server aes128-cbc hmac-md5 [email protected]\r\ndebug1: kex: ecdh-sha2-nistp256 need=16 dh_need=16\r\ndebug1: kex: ecdh-sha2-nistp256 need=16 dh_need=16\r\ndebug1: sending SSH2_MSG_KEX_ECDH_INIT\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug1: Server host key: RSA 46:d0:38:19:69:0b:ae:47:82:24:10:06:04:c5:d3:f7\r\ndebug3: load_hostkeys: loading entries for host &quot;server&quot; from file &quot;/home/ansible/.ssh/known_hosts&quot;\r\ndebug3: load_hostkeys: found key type RSA in file /home/ansible/.ssh/known_hosts:1\r\ndebug3: load_hostkeys: loaded 1 keys\r\ndebug3: load_hostkeys: loading entries for host &quot;10.30.6.242&quot; from file &quot;/home/ansible/.ssh/known_hosts&quot;\r\ndebug3: load_hostkeys: found key type RSA in file /home/ansible/.ssh/known_hosts:1\r\ndebug3: load_hostkeys: loaded 1 keys\r\ndebug1: Host \'server\' is known and matches the RSA host key.\r\ndebug1: Found key in /home/ansible/.ssh/known_hosts:1\r\ndebug1: ssh_rsa_verify: signature correct\r\ndebug2: kex_derive_keys\r\ndebug2: set_newkeys: mode 1\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug2: set_newkeys: mode 0\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug1: SSH2_MSG_SERVICE_REQUEST sent\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug2: key: /home/ansible/.ssh/identity ((nil)),\r\ndebug2: key: /home/ansible/.ssh/id_rsa (0x7fcd22182bb0),\r\ndebug2: key: /home/ansible/.ssh/id_dsa ((nil)),\r\ndebug3: input_userauth_banner\r\n\nBy proceeding further, I accept the following:\n\nYou are about to access an HCA-Information Technology &amp; Services, Inc. (IT&amp;S)\ncomputer system. This system is to be used only by authorized users of IT&amp;S, its\ncustomers and affiliates. As a user of this system, you have no expectation of\nprivacy rights or ownership in anything you may create, store, send or receive\non this system. By proceeding, your use of this system 1) constitutes your\nagreement that IT&amp;S and/or your company may consent to law enforcement officials\nand agencies accessing information regarding your use of this network, 2)\nconstitutes your consent to monitoring, retrieval, and disclosure of any\ninformation within this system for all purposes deemed appropriate by IT&amp;S,\nincluding enforcement of rules concerning unacceptable uses of this system, and\n3) constitutes your agreement to comply with all privacy, security and other\npolicies and procedures of IT&amp;S and your company. If you have any questions\nabout what constitutes an acceptable use by you, please consult the written\npolicies provided by IT&amp;S and your company.\n\n\ndebug1: Authentications that can continue: publickey,password,keyboard-interactive\r\ndebug3: start over, passed a different list publickey,password,keyboard-interactive\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Trying private key: /home/ansible/.ssh/identity\r\ndebug3: no such identity: /home/ansible/.ssh/identity: No such file or directory\r\ndebug1: Offering RSA public key: /home/ansible/.ssh/id_rsa\r\ndebug3: send_pubkey_test\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug1: Server accepts key: pkalg ssh-rsa blen 279\r\ndebug2: input_userauth_pk_ok: fp 23:23:fa:43:d7:bb:09:0c:cd:be:1b:85:aa:48:72:d0\r\ndebug3: sign_and_send_pubkey: RSA 23:23:fa:43:d7:bb:09:0c:cd:be:1b:85:aa:48:72:d0\r\ndebug1: key_parse_private2: missing begin marker\r\ndebug1: read PEM private key done: type RSA\r\ndebug1: Enabling compression at level 6.\r\ndebug1: Authentication succeeded (publickey).\r\nAuthenticated to server ([10.30.6.242]:22).\r\ndebug1: setting up multiplex master socket\r\ndebug3: muxserver_listen: temporary control path /home/ansible/.ansible/cp/827e06aeba.CdHkoloOJP6Xe8wb\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug3: fd 4 is O_NONBLOCK\r\ndebug3: fd 4 is O_NONBLOCK\r\ndebug1: channel 0: new [/home/ansible/.ansible/cp/827e06aeba]\r\ndebug3: muxserver_listen: mux listener channel 0 fd 4\r\ndebug2: fd 3 setting TCP_NODELAY\r\ndebug3: packet_set_tos: set IP_TOS 0x08\r\ndebug1: control_persist_detach: backgrounding master process\r\ndebug2: control_persist_detach: background process is 15150\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug1: forking to background\r\ndebug1: Entering interactive session.\r\ndebug2: set_control_persist_exit_time: schedule exit in 90 seconds\r\ndebug1: multiplexing control connection\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug3: fd 5 is O_NONBLOCK\r\ndebug1: channel 1: new [mux-control]\r\ndebug3: channel_post_mux_listener: new mux channel 1 fd 5\r\ndebug3: mux_master_read_cb: channel 1: hello sent\r\ndebug2: set_control_persist_exit_time: cancel scheduled exit\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4\r\ndebug2: process_mux_master_hello: channel 1 slave version 4\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x10000004 len 4\r\ndebug2: process_mux_alive_check: channel 1: alive check\r\ndebug3: mux_client_request_alive: done pid = 15152\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 177\r\ndebug2: process_mux_new_session: channel 1: request tty 0, X 0, agent 0, subsys 0, term &quot;vt220&quot;, cmd &quot;/bin/sh -c \'sudo -H -S -n -u root /bin/sh -c \'&quot;\'&quot;\'echo BECOME-SUCCESS-oeclakddmuojlwurlnqaljnulbngfhsd; /usr/bin/python\'&quot;\'&quot;\' &amp;&amp; sleep 0\'&quot;, env 0\r\ndebug3: process_mux_new_session: got fds stdin 6, stdout 7, stderr 8\r\ndebug2: fd 6 setting O_NONBLOCK\r\ndebug2: fd 7 setting O_NONBLOCK\r\ndebug2: fd 8 setting O_NONBLOCK\r\ndebug1: channel 2: new [client-session]\r\ndebug2: process_mux_new_session: channel_new: 2 linked to control channel 1\r\ndebug2: channel 2: send open\r\ndebug2: callback start\r\ndebug2: client_session2_setup: id 2\r\ndebug1: Sending command: /bin/sh -c \'sudo -H -S -n -u root /bin/sh -c \'&quot;\'&quot;\'echo BECOME-SUCCESS-oeclakddmuojlwurlnqaljnulbngfhsd; /usr/bin/python\'&quot;\'&quot;\' &amp;&amp; sleep 0\'\r\ndebug2: channel 2: request exec confirm 1\r\ndebug3: mux_session_confirm: sending success reply\r\ndebug2: callback done\r\ndebug2: channel 2: open confirm rwindow 0 rmax 32768\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: channel 2: rcvd adjust 2097152\r\ndebug2: channel_input_status_confirm: type 99 id 2\r\ndebug2: exec request accepted on channel 2\r\ndebug2: channel 2: read&lt;=0 rfd 6 len 0\r\ndebug2: channel 2: read failed\r\ndebug2: channel 2: close_read\r\ndebug2: channel 2: input open -&gt; drain\r\ndebug2: channel 2: ibuf empty\r\ndebug2: channel 2: send eof\r\ndebug2: channel 2: input drain -&gt; closed\r\ndebug2: channel 2: rcvd eof\r\ndebug2: channel 2: output open -&gt; drain\r\ndebug2: channel 2: obuf empty\r\ndebug2: channel 2: close_write\r\ndebug2: channel 2: output drain -&gt; closed\r\ndebug2: channel 2: send close\r\ndebug1: client_input_channel_req: channel 2 rtype exit-status reply 0\r\ndebug3: mux_exit_message: channel 2: exit message, exitval 1\r\ndebug2: channel 2: rcvd close\r\ndebug3: channel 2: will not send data after close\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: gc: notify user\r\ndebug3: mux_master_session_cleanup_cb: entering for channel 2\r\ndebug2: channel 1: rcvd close\r\ndebug2: channel 1: output open -&gt; drain\r\ndebug2: channel 1: close_read\r\ndebug2: channel 1: input open -&gt; closed\r\ndebug2: channel 2: gc: user detached\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: garbage collecting\r\ndebug1: channel 2: free: client-session, nchannels 3\r\ndebug3: channel 2: status: The following connections are open:\r\n #2 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)\r\n\r\ndebug2: channel 1: obuf empty\r\ndebug2: channel 1: close_write\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\ndebug2: channel 1: output drain -&gt; closed\r\ndebug2: channel 1: is dead (local)\r\ndebug2: channel 1: gc: notify user\r\ndebug3: mux_master_control_cleanup_cb: entering for channel 1\r\ndebug2: channel 1: gc: user detached\r\ndebug2: channel 1: is dead (local)\r\ndebug2: channel 1: garbage collecting\r\ndebug1: channel 1: free: mux-control, nchannels 2\r\ndebug3: channel 1: status: The following connections are open:\r\n\r\ndebug2: set_control_persist_exit_time: schedule exit in 90 seconds\r\n') server | FAILED! =&gt; { &quot;changed&quot;: false, &quot;cmd&quot;: &quot;/ u s r / b i n / c h p a s s w d ' ' - e ' ' - c&quot;, &quot;failed&quot;: true, &quot;invocation&quot;: { &quot;module_args&quot;: { &quot;append&quot;: false, &quot;comment&quot;: null, &quot;createhome&quot;: true, &quot;expires&quot;: null, &quot;force&quot;: false, &quot;generate_ssh_key&quot;: null, &quot;group&quot;: null, &quot;groups&quot;: null, &quot;home&quot;: null, &quot;login_class&quot;: null, &quot;move_home&quot;: false, &quot;name&quot;: &quot;unxtst01&quot;, &quot;non_unique&quot;: false, &quot;password&quot;: &quot;VALUE_SPECIFIED_IN_NO_LOG_PARAMETER&quot;, &quot;remove&quot;: false, &quot;seuser&quot;: null, &quot;shell&quot;: null, &quot;skeleton&quot;: null, &quot;ssh_key_bits&quot;: 0, &quot;ssh_key_comment&quot;: &quot;ansible-generated on server&quot;, &quot;ssh_key_file&quot;: null, &quot;ssh_key_passphrase&quot;: null, &quot;ssh_key_type&quot;: &quot;rsa&quot;, &quot;state&quot;: &quot;present&quot;, &quot;system&quot;: false, &quot;uid&quot;: null, &quot;update_password&quot;: &quot;always&quot; } }, &quot;msg&quot;: &quot;[Errno 13] Permission denied&quot;, &quot;rc&quot;: 13 }"><pre class="notranslate"><code class="notranslate">$ ansible -vvvv server -m user -a 'name=unxtst01 password="letmein"' Using /home/xxx1234/work/git/ansible/ansible.cfg as config file Loading callback plugin minimal of type stdout, v2.0 from /usr/lib/python2.7/site-packages/ansible/plugins/callback/__init__.pyc META: ran handlers Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/user.py &lt;server&gt; ESTABLISH SSH CONNECTION FOR USER: None &lt;server&gt; SSH: EXEC ssh -vvv -oLogLevel=quiet -oConnectTimeout=10 -oControlMaster=auto -oControlPersist=90s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/ansible/.ansible/cp/827e06aeba server'/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-oeclakddmuojlwurlnqaljnulbngfhsd; /usr/bin/python'"'"'"'"'"'"'"'"' &amp;&amp; sleep 0'"'"'' &lt;server&gt; (1, '\n{"msg": "[Errno 13] Permission denied", "failed": true, "cmd": "/ u s r / b i n / c h p a s s w d \' \' - e \' \' - c", "rc": 13, "invocation": {"module_args": {"comment": null, "ssh_key_bits": 0, "update_password": "always", "non_unique": false, "force": false, "ssh_key_type": "rsa", "ssh_key_passphrase": null, "createhome": true, "uid": null, "home": null, "append": false, "skeleton": null, "ssh_key_comment": "ansible-generated on server", "group": null, "system": false, "state": "present", "shell": null, "expires": null, "ssh_key_file": null, "groups": null, "move_home": false, "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "name": "unxtst01", "seuser": null, "remove": false, "login_class": null, "generate_ssh_key": null}}}\n', 'OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 20: Applying options for *\r\ndebug3: ciphers ok: [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]\r\ndebug3: macs ok: [hmac-md5,hmac-sha1,[email protected],hmac-ripemd160]\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket "/home/ansible/.ansible/cp/827e06aeba" does not exist\r\ndebug2: ssh_connect: needpriv 0\r\ndebug1: Connecting to server [10.30.6.242] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 10000 ms remain after connect\r\ndebug1: identity file /home/ansible/.ssh/identity type -1\r\ndebug1: identity file /home/ansible/.ssh/identity-cert type -1\r\ndebug3: Incorrect RSA1 identifier\r\ndebug3: Could not load "/home/ansible/.ssh/id_rsa" as a RSA1 public key\r\ndebug1: identity file /home/ansible/.ssh/id_rsa type 1\r\ndebug1: identity file /home/ansible/.ssh/id_rsa-cert type -1\r\ndebug1: identity file /home/ansible/.ssh/id_dsa type -1\r\ndebug1: identity file /home/ansible/.ssh/id_dsa-cert type -1\r\ndebug1: Enabling compatibility mode for protocol 2.0\r\ndebug1: Local version string SSH-2.0-OpenSSH_6.6.1\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_6.0\r\ndebug1: match: OpenSSH_6.0 pat OpenSSH* compat 0x04000000\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug3: load_hostkeys: loading entries for host "server" from file "/home/ansible/.ssh/known_hosts"\r\ndebug3: load_hostkeys: found key type RSA in file /home/ansible/.ssh/known_hosts:1\r\ndebug3: load_hostkeys: loaded 1 keys\r\ndebug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],ssh-rsa\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: kex_parse_kexinit: [email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: kex_parse_kexinit: [email protected],[email protected],ssh-rsa,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-dss\r\ndebug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc\r\ndebug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc\r\ndebug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160\r\ndebug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160\r\ndebug2: kex_parse_kexinit: [email protected],zlib,none\r\ndebug2: kex_parse_kexinit: [email protected],zlib,none\r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: first_kex_follows 0 \r\ndebug2: kex_parse_kexinit: reserved 0 \r\ndebug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: kex_parse_kexinit: ssh-rsa,ssh-dss\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]\r\ndebug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96\r\ndebug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96\r\ndebug2: kex_parse_kexinit: none,[email protected]\r\ndebug2: kex_parse_kexinit: none,[email protected]\r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: first_kex_follows 0 \r\ndebug2: kex_parse_kexinit: reserved 0 \r\ndebug2: mac_setup: setup hmac-md5\r\ndebug1: kex: server-&gt;client aes128-cbc hmac-md5 [email protected]\r\ndebug2: mac_setup: setup hmac-md5\r\ndebug1: kex: client-&gt;server aes128-cbc hmac-md5 [email protected]\r\ndebug1: kex: ecdh-sha2-nistp256 need=16 dh_need=16\r\ndebug1: kex: ecdh-sha2-nistp256 need=16 dh_need=16\r\ndebug1: sending SSH2_MSG_KEX_ECDH_INIT\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug1: Server host key: RSA 46:d0:38:19:69:0b:ae:47:82:24:10:06:04:c5:d3:f7\r\ndebug3: load_hostkeys: loading entries for host "server" from file "/home/ansible/.ssh/known_hosts"\r\ndebug3: load_hostkeys: found key type RSA in file /home/ansible/.ssh/known_hosts:1\r\ndebug3: load_hostkeys: loaded 1 keys\r\ndebug3: load_hostkeys: loading entries for host "10.30.6.242" from file "/home/ansible/.ssh/known_hosts"\r\ndebug3: load_hostkeys: found key type RSA in file /home/ansible/.ssh/known_hosts:1\r\ndebug3: load_hostkeys: loaded 1 keys\r\ndebug1: Host \'server\' is known and matches the RSA host key.\r\ndebug1: Found key in /home/ansible/.ssh/known_hosts:1\r\ndebug1: ssh_rsa_verify: signature correct\r\ndebug2: kex_derive_keys\r\ndebug2: set_newkeys: mode 1\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug2: set_newkeys: mode 0\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug1: SSH2_MSG_SERVICE_REQUEST sent\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug2: key: /home/ansible/.ssh/identity ((nil)),\r\ndebug2: key: /home/ansible/.ssh/id_rsa (0x7fcd22182bb0),\r\ndebug2: key: /home/ansible/.ssh/id_dsa ((nil)),\r\ndebug3: input_userauth_banner\r\n\nBy proceeding further, I accept the following:\n\nYou are about to access an HCA-Information Technology &amp; Services, Inc. (IT&amp;S)\ncomputer system. This system is to be used only by authorized users of IT&amp;S, its\ncustomers and affiliates. As a user of this system, you have no expectation of\nprivacy rights or ownership in anything you may create, store, send or receive\non this system. By proceeding, your use of this system 1) constitutes your\nagreement that IT&amp;S and/or your company may consent to law enforcement officials\nand agencies accessing information regarding your use of this network, 2)\nconstitutes your consent to monitoring, retrieval, and disclosure of any\ninformation within this system for all purposes deemed appropriate by IT&amp;S,\nincluding enforcement of rules concerning unacceptable uses of this system, and\n3) constitutes your agreement to comply with all privacy, security and other\npolicies and procedures of IT&amp;S and your company. If you have any questions\nabout what constitutes an acceptable use by you, please consult the written\npolicies provided by IT&amp;S and your company.\n\n\ndebug1: Authentications that can continue: publickey,password,keyboard-interactive\r\ndebug3: start over, passed a different list publickey,password,keyboard-interactive\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Trying private key: /home/ansible/.ssh/identity\r\ndebug3: no such identity: /home/ansible/.ssh/identity: No such file or directory\r\ndebug1: Offering RSA public key: /home/ansible/.ssh/id_rsa\r\ndebug3: send_pubkey_test\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug1: Server accepts key: pkalg ssh-rsa blen 279\r\ndebug2: input_userauth_pk_ok: fp 23:23:fa:43:d7:bb:09:0c:cd:be:1b:85:aa:48:72:d0\r\ndebug3: sign_and_send_pubkey: RSA 23:23:fa:43:d7:bb:09:0c:cd:be:1b:85:aa:48:72:d0\r\ndebug1: key_parse_private2: missing begin marker\r\ndebug1: read PEM private key done: type RSA\r\ndebug1: Enabling compression at level 6.\r\ndebug1: Authentication succeeded (publickey).\r\nAuthenticated to server ([10.30.6.242]:22).\r\ndebug1: setting up multiplex master socket\r\ndebug3: muxserver_listen: temporary control path /home/ansible/.ansible/cp/827e06aeba.CdHkoloOJP6Xe8wb\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug3: fd 4 is O_NONBLOCK\r\ndebug3: fd 4 is O_NONBLOCK\r\ndebug1: channel 0: new [/home/ansible/.ansible/cp/827e06aeba]\r\ndebug3: muxserver_listen: mux listener channel 0 fd 4\r\ndebug2: fd 3 setting TCP_NODELAY\r\ndebug3: packet_set_tos: set IP_TOS 0x08\r\ndebug1: control_persist_detach: backgrounding master process\r\ndebug2: control_persist_detach: background process is 15150\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug1: forking to background\r\ndebug1: Entering interactive session.\r\ndebug2: set_control_persist_exit_time: schedule exit in 90 seconds\r\ndebug1: multiplexing control connection\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug3: fd 5 is O_NONBLOCK\r\ndebug1: channel 1: new [mux-control]\r\ndebug3: channel_post_mux_listener: new mux channel 1 fd 5\r\ndebug3: mux_master_read_cb: channel 1: hello sent\r\ndebug2: set_control_persist_exit_time: cancel scheduled exit\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4\r\ndebug2: process_mux_master_hello: channel 1 slave version 4\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x10000004 len 4\r\ndebug2: process_mux_alive_check: channel 1: alive check\r\ndebug3: mux_client_request_alive: done pid = 15152\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 177\r\ndebug2: process_mux_new_session: channel 1: request tty 0, X 0, agent 0, subsys 0, term "vt220", cmd "/bin/sh -c \'sudo -H -S -n -u root /bin/sh -c \'"\'"\'echo BECOME-SUCCESS-oeclakddmuojlwurlnqaljnulbngfhsd; /usr/bin/python\'"\'"\' &amp;&amp; sleep 0\'", env 0\r\ndebug3: process_mux_new_session: got fds stdin 6, stdout 7, stderr 8\r\ndebug2: fd 6 setting O_NONBLOCK\r\ndebug2: fd 7 setting O_NONBLOCK\r\ndebug2: fd 8 setting O_NONBLOCK\r\ndebug1: channel 2: new [client-session]\r\ndebug2: process_mux_new_session: channel_new: 2 linked to control channel 1\r\ndebug2: channel 2: send open\r\ndebug2: callback start\r\ndebug2: client_session2_setup: id 2\r\ndebug1: Sending command: /bin/sh -c \'sudo -H -S -n -u root /bin/sh -c \'"\'"\'echo BECOME-SUCCESS-oeclakddmuojlwurlnqaljnulbngfhsd; /usr/bin/python\'"\'"\' &amp;&amp; sleep 0\'\r\ndebug2: channel 2: request exec confirm 1\r\ndebug3: mux_session_confirm: sending success reply\r\ndebug2: callback done\r\ndebug2: channel 2: open confirm rwindow 0 rmax 32768\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: channel 2: rcvd adjust 2097152\r\ndebug2: channel_input_status_confirm: type 99 id 2\r\ndebug2: exec request accepted on channel 2\r\ndebug2: channel 2: read&lt;=0 rfd 6 len 0\r\ndebug2: channel 2: read failed\r\ndebug2: channel 2: close_read\r\ndebug2: channel 2: input open -&gt; drain\r\ndebug2: channel 2: ibuf empty\r\ndebug2: channel 2: send eof\r\ndebug2: channel 2: input drain -&gt; closed\r\ndebug2: channel 2: rcvd eof\r\ndebug2: channel 2: output open -&gt; drain\r\ndebug2: channel 2: obuf empty\r\ndebug2: channel 2: close_write\r\ndebug2: channel 2: output drain -&gt; closed\r\ndebug2: channel 2: send close\r\ndebug1: client_input_channel_req: channel 2 rtype exit-status reply 0\r\ndebug3: mux_exit_message: channel 2: exit message, exitval 1\r\ndebug2: channel 2: rcvd close\r\ndebug3: channel 2: will not send data after close\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: gc: notify user\r\ndebug3: mux_master_session_cleanup_cb: entering for channel 2\r\ndebug2: channel 1: rcvd close\r\ndebug2: channel 1: output open -&gt; drain\r\ndebug2: channel 1: close_read\r\ndebug2: channel 1: input open -&gt; closed\r\ndebug2: channel 2: gc: user detached\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: garbage collecting\r\ndebug1: channel 2: free: client-session, nchannels 3\r\ndebug3: channel 2: status: The following connections are open:\r\n #2 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)\r\n\r\ndebug2: channel 1: obuf empty\r\ndebug2: channel 1: close_write\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\ndebug2: channel 1: output drain -&gt; closed\r\ndebug2: channel 1: is dead (local)\r\ndebug2: channel 1: gc: notify user\r\ndebug3: mux_master_control_cleanup_cb: entering for channel 1\r\ndebug2: channel 1: gc: user detached\r\ndebug2: channel 1: is dead (local)\r\ndebug2: channel 1: garbage collecting\r\ndebug1: channel 1: free: mux-control, nchannels 2\r\ndebug3: channel 1: status: The following connections are open:\r\n\r\ndebug2: set_control_persist_exit_time: schedule exit in 90 seconds\r\n') server | FAILED! =&gt; { "changed": false, "cmd": "/ u s r / b i n / c h p a s s w d ' ' - e ' ' - c", "failed": true, "invocation": { "module_args": { "append": false, "comment": null, "createhome": true, "expires": null, "force": false, "generate_ssh_key": null, "group": null, "groups": null, "home": null, "login_class": null, "move_home": false, "name": "unxtst01", "non_unique": false, "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "remove": false, "seuser": null, "shell": null, "skeleton": null, "ssh_key_bits": 0, "ssh_key_comment": "ansible-generated on server", "ssh_key_file": null, "ssh_key_passphrase": null, "ssh_key_type": "rsa", "state": "present", "system": false, "uid": null, "update_password": "always" } }, "msg": "[Errno 13] Permission denied", "rc": 13 } </code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" --- - hosts: localhost tasks: - name: test task debug: msg=test when: False when: True when: False"><pre class="notranslate"><code class="notranslate"> --- - hosts: localhost tasks: - name: test task debug: msg=test when: False when: True when: False </code></pre></div> <p dir="auto">Test task is skipped in this configuration, but if you comment out the last line, it is launched. Experiments showed, that only last <code class="notranslate">when</code> statement is considered by ansible. I see two ways to fix this:</p> <ul dir="auto"> <li>make multiple <code class="notranslate">when</code> statements work with 'AND' logic</li> <li>return error if multiple <code class="notranslate">when</code> statements are used</li> </ul>
0
<p dir="auto">Tooltip.d.ts is missing the disable trigger props in TooltipProps.</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Expect the disableTriggerXXX props to be available.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Receiving a type error when attempting to use the disableTriggerFocus prop.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;Tooltip title=&quot;Copy&quot; disableTriggerFocus placement=&quot;left&quot;&gt;...&lt;/Tooltip&gt;"><pre class="notranslate"><span class="pl-c1">&lt;</span><span class="pl-ent">Tooltip</span> <span class="pl-c1">title</span><span class="pl-c1">=</span><span class="pl-s">"Copy"</span> <span class="pl-c1">disableTriggerFocus</span> <span class="pl-c1">placement</span><span class="pl-c1">=</span><span class="pl-s">"left"</span><span class="pl-c1">&gt;</span>...<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">Tooltip</span><span class="pl-c1">&gt;</span></pre></div> <p dir="auto">Error: <code class="notranslate">[ts] Property 'disableTriggerFocus' does not exist on type 'IntrinsicAttributes &amp; HTMLAttributes&lt;HTMLDivElement&gt; &amp; { title: ReactNode; onRequestClose?: ((eve...'.</code></p> <h2 dir="auto">Context</h2> <p dir="auto">Attempting to adjust to behavior of the Tooltip component results in an error.</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>1.0.0-beta.16</td> </tr> <tr> <td>React</td> <td>16.0.0</td> </tr> <tr> <td>browser</td> <td></td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
<p dir="auto">Going to <a href="https://material-ui.com/demos/dialogs/#confirmation-dialogs" rel="nofollow">https://material-ui.com/demos/dialogs/#confirmation-dialogs</a> and clicking Phone Ringtone will cause the screen to go gray and a thin mostly white vertical line to appear.</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">A Dialog should appear that requires an explicit OK button</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>Go to <a href="https://material-ui.com/demos/dialogs/#confirmation-dialogs" rel="nofollow">https://material-ui.com/demos/dialogs/#confirmation-dialogs</a></li> <li>Click on Phone Ring</li> <li>Screen darkens and white line appears</li> <li>You can't escape</li> </ol> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1627527/32996809-bb57bf30-cd3c-11e7-9266-33778163638b.png"><img width="861" alt="dialogs_-_material-ui" src="https://user-images.githubusercontent.com/1627527/32996809-bb57bf30-cd3c-11e7-9266-33778163638b.png" style="max-width: 100%;"></a></p> <h2 dir="auto">Context</h2> <p dir="auto">I am new user to material, and decided to go with v1 because it seems like it will ship before we are live. If dialogs are not rock solid, we will have to use another system</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>browser</td> <td>Chrome 62.0.3202.94 and Safari Version 11.0.1 (12604.3.5.1.1)</td> </tr> <tr> <td>Material V1 Doc git commit</td> <td><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/mui/material-ui/commit/e56d3788775e8347ab8c6cbd9f0f26a9e803dd7b/hovercard" href="https://github.com/mui/material-ui/commit/e56d3788775e8347ab8c6cbd9f0f26a9e803dd7b"><tt>e56d378</tt></a></td> </tr> </tbody> </table>
0
<p dir="auto">Needs docs on how to configure UI session timeout</p>
<p dir="auto">I have a problem. Now I reference the iframe tag in the HTML page. I reference 9 iframe tags in one page, which are different graphics, but the page is loaded slowly. After checking, I found that when the loading explore.31a5ac0d241c9667d5a2.entry.js size is 11.9M, it loads. 9 times, so the page loading speed is very slow, how can I avoid repeated loading the js files ? Or is there a way to reference many graphics without iframe tags?the json tag can resolve this problem?</p> <p dir="auto">Thank you!</p> <p dir="auto">Superset version<br> incubator-superset-0.27.0</p> <p dir="auto">The result I want is the ability to speed up page loading.</p> <p dir="auto">This is a screenshot of the problem I encountered:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/32925916/45527792-08b70600-b810-11e8-966e-463baf280e61.png"><img src="https://user-images.githubusercontent.com/32925916/45527792-08b70600-b810-11e8-966e-463baf280e61.png" alt="2018_09_14 08_43" style="max-width: 100%;"></a></p>
0
<p dir="auto">When I'm on my laptop I use 13pt Monaco. When I get to work, I change font to 16pt (because of larger screen, higher resolution) and the preferred line length (80 columns) stays the same. I need to close and reopen all files in order to get it to behave correctly.</p>
<p dir="auto">This is a continuation from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="40161866" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/3254" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/3254/hovercard?comment_id=74852872&amp;comment_type=issue_comment" href="https://github.com/atom/atom/issues/3254#issuecomment-74852872">atom/atom#3254 (comment)</a> (cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mdekauwe/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mdekauwe">@mdekauwe</a>).</p> <p dir="auto">When the font size is increased and decreased with commands, the wrap guide updates correctly. Here's a video:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/38924/6245949/f35bd818-b763-11e4-8487-551fd83dab1d.gif"><img src="https://cloud.githubusercontent.com/assets/38924/6245949/f35bd818-b763-11e4-8487-551fd83dab1d.gif" alt="font" data-animated-image="" style="max-width: 100%;"></a></p> <p dir="auto">However, if the font size is modified via the settings view, it doesn't update correct (it does update, but not to the expected position). Here's a video:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/38924/6247264/a87fa8c4-b772-11e4-9072-d78d66a1f234.gif"><img src="https://cloud.githubusercontent.com/assets/38924/6247264/a87fa8c4-b772-11e4-9072-d78d66a1f234.gif" alt="font" data-animated-image="" style="max-width: 100%;"></a></p> <p dir="auto">Notice that the font size is 11. Then I modify it to 14 in settings view and go back to the editor. The wrap guide moved only slightly to the right (not as much as expected). After that I <em>decrease</em> the font size with <code class="notranslate">cmd -</code> to 13, but notice that the wrap guide moves to the <em>right</em> instead of to the left which is what should happen when you decrease font size. This happened because the wrap guide wasn't at the correct position before I hit <code class="notranslate">cmd -</code>, and then moved to the correct position after I hit <code class="notranslate">cmd -</code>.</p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/benogle/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/benogle">@benogle</a></p>
1
<p dir="auto">When a function has multiple optional arguments, callers of the function must use <code class="notranslate">undefined</code> to get the default, optional value.</p> <h2 dir="auto">Proposal</h2> <p dir="auto">Add a syntax allowing function arguments to be passed by name. Unless there is a better suggestion, I propose the use of <code class="notranslate">:=</code>. This would be sugar, and rewrite the call site to invoke the function properly. A syntax error would be thrown if the argument name was not a specified parameter.</p> <p dir="auto"><code class="notranslate">argumentName := value</code></p> <p dir="auto">Example syntax:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" function func(a, b=2, c=3) { // Do work } // Proposed syntax func(c:=4, a:=1); // Results in the following javascript being output: func(1, void 0, 4); // Syntax error - Multiple specifications for argument 'a' func(1, a:=1); // Syntax error - 'd' is not a function parameter func(1, d:=4); // Valid syntax func(a:=1); // Rewrites to func(1);"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">func</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-c1">=</span><span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-s1">c</span><span class="pl-c1">=</span><span class="pl-c1">3</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// Do work</span> <span class="pl-kos">}</span> <span class="pl-c">// Proposed syntax</span> <span class="pl-en">func</span><span class="pl-kos">(</span><span class="pl-s1">c</span>:<span class="pl-c1">=</span><span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-s1">a</span>:<span class="pl-c1">=</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Results in the following javascript being output:</span> <span class="pl-en">func</span><span class="pl-kos">(</span><span class="pl-c1">1</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-c">// Syntax error - Multiple specifications for argument 'a'</span> <span class="pl-en">func</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-s1">a</span>:<span class="pl-c1">=</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Syntax error - 'd' is not a function parameter</span> <span class="pl-en">func</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-s1">d</span>:<span class="pl-c1">=</span><span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Valid syntax</span> <span class="pl-en">func</span><span class="pl-kos">(</span><span class="pl-s1">a</span>:<span class="pl-c1">=</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Rewrites to</span> <span class="pl-en">func</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<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>
1
<p dir="auto">The popover will not destroy properly while showing.</p> <p dir="auto">Here is a fiddle to demonstrate it: <a href="http://jsfiddle.net/vBUFu/20/" rel="nofollow">http://jsfiddle.net/vBUFu/20/</a> [edited].<br> Hover over the button and wait 5sec to see what i mean.<br> (I changed the opacity of the fade class so that the popover stays visible.)</p> <p dir="auto">The problem is that even with opacity 0, one cannot click on elements behind it!</p> <p dir="auto">It works when its manually shown, but not with events like 'hover' or 'click'.</p>
<p dir="auto">Using toggle popover hidden and ok. When using hide command, popover is hidden, but button inside popover still trigering mouse over.</p> <p dir="auto"><a href="http://jsfiddle.net/conx/n8FYQ/4/" rel="nofollow">http://jsfiddle.net/conx/n8FYQ/4/</a></p>
1
<table role="table"> <thead> <tr> <th>Q</th> <th>A</th> </tr> </thead> <tbody> <tr> <td>Bug report?</td> <td>yes</td> </tr> <tr> <td>Feature request?</td> <td>no</td> </tr> <tr> <td>BC Break report?</td> <td>no</td> </tr> <tr> <td>RFC?</td> <td>no</td> </tr> <tr> <td>Symfony version</td> <td>2.7</td> </tr> </tbody> </table> <p dir="auto">Fabien added <a href="https://github.com/symfony/symfony/pull/21210#issuecomment-271297002" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/21210/hovercard">this comment</a> about this bug:</p> <blockquote> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="179024195" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/20044" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/20044/hovercard" href="https://github.com/symfony/symfony/issues/20044">#20044</a> this is a bug on Console that should be fixed, when passing --prefix="", the prefix should be empty.</p> </blockquote>
<p dir="auto">Forgive me if this is a known issue or is due to misconfiguration.</p> <p dir="auto">I have two configuration files, config_test.yml and config.yml. The first one imports the second, so I expect all values in config_test.yml to override config.yml. However, in my bundle extension class where I am processing the bundle configuration, I am seeing some strange behaviour. Below is the portion of the config that I am having problems with in both YML files...</p> <p dir="auto">config_test.yml:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="tickit_cache: default_namespace: &quot;tickit.test&quot; types: memcached: servers: main: host: test.local port: ~ weight: 2 retry_time: 5 enabled: true alternate: host: test.local port: ~ weight: 1 retry_time: 10 enabled: true"><pre class="notranslate"><span class="pl-ent">tickit_cache</span>: <span class="pl-ent">default_namespace</span>: <span class="pl-s"><span class="pl-pds">"</span>tickit.test<span class="pl-pds">"</span></span> <span class="pl-ent">types</span>: <span class="pl-ent">memcached</span>: <span class="pl-ent">servers</span>: <span class="pl-ent">main</span>: <span class="pl-ent">host</span>: <span class="pl-s">test.local</span> <span class="pl-ent">port</span>: <span class="pl-c1">~</span> <span class="pl-ent">weight</span>: <span class="pl-c1">2</span> <span class="pl-ent">retry_time</span>: <span class="pl-c1">5</span> <span class="pl-ent">enabled</span>: <span class="pl-c1">true</span> <span class="pl-ent">alternate</span>: <span class="pl-ent">host</span>: <span class="pl-s">test.local</span> <span class="pl-ent">port</span>: <span class="pl-c1">~</span> <span class="pl-ent">weight</span>: <span class="pl-c1">1</span> <span class="pl-ent">retry_time</span>: <span class="pl-c1">10</span> <span class="pl-ent">enabled</span>: <span class="pl-c1">true</span></pre></div> <p dir="auto">config.yml:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="tickit_cache: default_namespace: &quot;tickit&quot; types: memcached: servers: main: host: localhost port: ~ weight: 2 retry_time: 5 enabled: true alternate: host: localhost port: ~ weight: 1 retry_time: 10 enabled: true"><pre class="notranslate"><span class="pl-ent">tickit_cache</span>: <span class="pl-ent">default_namespace</span>: <span class="pl-s"><span class="pl-pds">"</span>tickit<span class="pl-pds">"</span></span> <span class="pl-ent">types</span>: <span class="pl-ent">memcached</span>: <span class="pl-ent">servers</span>: <span class="pl-ent">main</span>: <span class="pl-ent">host</span>: <span class="pl-s">localhost</span> <span class="pl-ent">port</span>: <span class="pl-c1">~</span> <span class="pl-ent">weight</span>: <span class="pl-c1">2</span> <span class="pl-ent">retry_time</span>: <span class="pl-c1">5</span> <span class="pl-ent">enabled</span>: <span class="pl-c1">true</span> <span class="pl-ent">alternate</span>: <span class="pl-ent">host</span>: <span class="pl-s">localhost</span> <span class="pl-ent">port</span>: <span class="pl-c1">~</span> <span class="pl-ent">weight</span>: <span class="pl-c1">1</span> <span class="pl-ent">retry_time</span>: <span class="pl-c1">10</span> <span class="pl-ent">enabled</span>: <span class="pl-c1">true</span></pre></div> <p dir="auto">After these are processed by <code class="notranslate">Symfony\Component\Config\Definition\Processor</code> I expect to see something like this...</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Array ( [default_namespace] =&gt; tickit.test [types] =&gt; Array ( [memcached] =&gt; Array ( [servers] =&gt; Array ( [main] =&gt; Array ( [host] =&gt; test.local [port] =&gt; [weight] =&gt; 2 [retry_time] =&gt; 5 [enabled] =&gt; 1 [persistent] =&gt; 1 ) [alternate] =&gt; Array ( [host] =&gt; test.local [port] =&gt; [weight] =&gt; 1 [retry_time] =&gt; 10 [enabled] =&gt; 1 [persistent] =&gt; 1 ) ) ) ) );"><pre class="notranslate"><code class="notranslate">Array ( [default_namespace] =&gt; tickit.test [types] =&gt; Array ( [memcached] =&gt; Array ( [servers] =&gt; Array ( [main] =&gt; Array ( [host] =&gt; test.local [port] =&gt; [weight] =&gt; 2 [retry_time] =&gt; 5 [enabled] =&gt; 1 [persistent] =&gt; 1 ) [alternate] =&gt; Array ( [host] =&gt; test.local [port] =&gt; [weight] =&gt; 1 [retry_time] =&gt; 10 [enabled] =&gt; 1 [persistent] =&gt; 1 ) ) ) ) ); </code></pre></div> <p dir="auto">Instead, the "servers" portion of the configuration is being duplicated and I receive something like this...</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Array ( [default_namespace] =&gt; tickit.test [types] =&gt; Array ( [memcached] =&gt; Array ( [servers] =&gt; Array ( [main] =&gt; Array ( [host] =&gt; localhost [port] =&gt; [weight] =&gt; 2 [retry_time] =&gt; 5 [enabled] =&gt; 1 [persistent] =&gt; 1 ) [alternate] =&gt; Array ( [host] =&gt; localhost [port] =&gt; [weight] =&gt; 1 [retry_time] =&gt; 10 [enabled] =&gt; 1 [persistent] =&gt; 1 ) [0] =&gt; Array ( [host] =&gt; test.local [port] =&gt; [weight] =&gt; 2 [retry_time] =&gt; 5 [enabled] =&gt; 1 [persistent] =&gt; 1 ) [1] =&gt; Array ( [host] =&gt; test.local [port] =&gt; [weight] =&gt; 1 [retry_time] =&gt; 10 [enabled] =&gt; 1 [persistent] =&gt; 1 ) ) ) ) );"><pre class="notranslate"><code class="notranslate">Array ( [default_namespace] =&gt; tickit.test [types] =&gt; Array ( [memcached] =&gt; Array ( [servers] =&gt; Array ( [main] =&gt; Array ( [host] =&gt; localhost [port] =&gt; [weight] =&gt; 2 [retry_time] =&gt; 5 [enabled] =&gt; 1 [persistent] =&gt; 1 ) [alternate] =&gt; Array ( [host] =&gt; localhost [port] =&gt; [weight] =&gt; 1 [retry_time] =&gt; 10 [enabled] =&gt; 1 [persistent] =&gt; 1 ) [0] =&gt; Array ( [host] =&gt; test.local [port] =&gt; [weight] =&gt; 2 [retry_time] =&gt; 5 [enabled] =&gt; 1 [persistent] =&gt; 1 ) [1] =&gt; Array ( [host] =&gt; test.local [port] =&gt; [weight] =&gt; 1 [retry_time] =&gt; 10 [enabled] =&gt; 1 [persistent] =&gt; 1 ) ) ) ) ); </code></pre></div> <p dir="auto">The "default_namespace" is correctly using the value from config_test.yml, but the "servers" array is being duplicated instead of using just config_test.yml values.</p> <p dir="auto">For reference, here is my tree builder logic:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$builder-&gt;root('tickit_cache') -&gt;addDefaultsIfNotSet() -&gt;children() -&gt;scalarNode('default_namespace')-&gt;defaultValue('tickit_cache')-&gt;end() -&gt;arrayNode('types') -&gt;children() -&gt;arrayNode('memcached')-&gt;addDefaultsIfNotSet() -&gt;children() -&gt;arrayNode('servers') -&gt;prototype('array') -&gt;children() -&gt;scalarNode('host')-&gt;end() -&gt;scalarNode('port')-&gt;end() -&gt;booleanNode('persistent')-&gt;defaultValue(true)-&gt;end() -&gt;scalarNode('weight')-&gt;defaultValue(1)-&gt;end() -&gt;scalarNode('retry_time')-&gt;defaultValue(10)-&gt;end() -&gt;booleanNode('enabled')-&gt;defaultValue(true)-&gt;end() -&gt;end() -&gt;end() -&gt;end() -&gt;end() -&gt;end() -&gt;end() -&gt;end() -&gt;end();"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>builder</span>-&gt;<span class="pl-en">root</span>(<span class="pl-s">'tickit_cache'</span>) -&gt;<span class="pl-en">addDefaultsIfNotSet</span>() -&gt;<span class="pl-en">children</span>() -&gt;<span class="pl-en">scalarNode</span>(<span class="pl-s">'default_namespace'</span>)-&gt;<span class="pl-en">defaultValue</span>(<span class="pl-s">'tickit_cache'</span>)-&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">arrayNode</span>(<span class="pl-s">'types'</span>) -&gt;<span class="pl-en">children</span>() -&gt;<span class="pl-en">arrayNode</span>(<span class="pl-s">'memcached'</span>)-&gt;<span class="pl-en">addDefaultsIfNotSet</span>() -&gt;<span class="pl-en">children</span>() -&gt;<span class="pl-en">arrayNode</span>(<span class="pl-s">'servers'</span>) -&gt;<span class="pl-en">prototype</span>(<span class="pl-s">'array'</span>) -&gt;<span class="pl-en">children</span>() -&gt;<span class="pl-en">scalarNode</span>(<span class="pl-s">'host'</span>)-&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">scalarNode</span>(<span class="pl-s">'port'</span>)-&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">booleanNode</span>(<span class="pl-s">'persistent'</span>)-&gt;<span class="pl-en">defaultValue</span>(<span class="pl-c1">true</span>)-&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">scalarNode</span>(<span class="pl-s">'weight'</span>)-&gt;<span class="pl-en">defaultValue</span>(<span class="pl-c1">1</span>)-&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">scalarNode</span>(<span class="pl-s">'retry_time'</span>)-&gt;<span class="pl-en">defaultValue</span>(<span class="pl-c1">10</span>)-&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">booleanNode</span>(<span class="pl-s">'enabled'</span>)-&gt;<span class="pl-en">defaultValue</span>(<span class="pl-c1">true</span>)-&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">end</span>();</pre></div>
0
<p dir="auto">I am in the process of migrating from RequireJS to Webpack, but following AMD module that worked in RequireJS produces "SyntaxError: missing ; before statement" with webpack:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="define([], function() { var modules = []; if (modules.length) { require(modules, function() {}); } });"><pre class="notranslate"><code class="notranslate">define([], function() { var modules = []; if (modules.length) { require(modules, function() {}); } }); </code></pre></div> <p dir="auto">This is basically an excerpt that causes error. Webpack transforms it to following:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() { var modules = []; if (modules.length) { __webpack_require__(1)!/* require */(/* empty */function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = modules; (function () {}.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}()); } }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined &amp;&amp; (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));"><pre class="notranslate"><code class="notranslate"> var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() { var modules = []; if (modules.length) { __webpack_require__(1)!/* require */(/* empty */function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = modules; (function () {}.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}()); } }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined &amp;&amp; (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); </code></pre></div> <p dir="auto">Browser reports "SyntaxError: missing ; before statement" in the string <em><strong>webpack_require</strong>(1)!</em> after function call.</p> <p dir="auto">Is it a bug or I can transform this call to some other form?</p> <p dir="auto">I use webpack 1.7.3</p>
<h1 dir="auto">Bug report</h1> <p dir="auto"><strong>What is the current behavior?</strong><br> When using an import() in the base level of a file (i.e. not inside any functions/classes), webpack fetches 4 files on the browser. It's possible that this is caused by two separate issues (one about the extra <code class="notranslate">vendor~</code> file and the other about the duplicate requests). The code I use is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import( /* webpackChunkName: &quot;brace_modes&quot; */ /* webpackMode: &quot;lazy&quot; */ /* webpackPrefetch: true */ './brace_modes' );"><pre class="notranslate"><code class="notranslate">import( /* webpackChunkName: "brace_modes" */ /* webpackMode: "lazy" */ /* webpackPrefetch: true */ './brace_modes' ); </code></pre></div> <p dir="auto">and this is what the browser does:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4096676/52254179-da76b780-28d1-11e9-830a-e9deb309daca.png"><img src="https://user-images.githubusercontent.com/4096676/52254179-da76b780-28d1-11e9-830a-e9deb309daca.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">For my full webpack.config.js, go <a href="https://gist.github.com/shravan2x/f2c37c3d365cfa8ec16a938cdd14045f">here</a>.</p> <p dir="auto">Note that this seems to be a regression in Webpack 4.</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong><br> Create a dynamic import in the base level of a file. Run it.</p> <p dir="auto"><strong>What is the expected behavior?</strong><br> Only a single file is imported dynamically - <code class="notranslate">brace_modes.&lt;hash&gt;.js</code>.</p> <p dir="auto"><strong>Other relevant information:</strong><br> webpack version: 4.28.4 (I didn't use 4.29 due to the issues with import)<br> Node.js version: 10<br> Operating System: Windows 10<br> Additional tools: -</p>
0
<p dir="auto">I just updated to 3.5 and im getting a warning when i start my application. My manifest sets the dimensions like so:</p> <div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;meta-data android:name=&quot;com.sec.android.support.multiwindow&quot; android:value=&quot;true&quot; /&gt; &lt;meta-data android:name=&quot;com.sec.android.multiwindow.DEFAULT_SIZE_W&quot; android:resource=&quot;@dimen/app_defaultsize_w&quot; /&gt; &lt;meta-data android:name=&quot;com.sec.android.multiwindow.DEFAULT_SIZE_H&quot; android:resource=&quot;@dimen/app_defaultsize_h&quot; /&gt; &lt;meta-data android:name=&quot;com.sec.android.multiwindow.MINIMUM_SIZE_W&quot; android:resource=&quot;@dimen/app_minimumsize_w&quot; /&gt; &lt;meta-data android:name=&quot;com.sec.android.multiwindow.MINIMUM_SIZE_H&quot; android:resource=&quot;@dimen/app_minimumsize_h&quot; /&gt;"><pre class="notranslate">&lt;<span class="pl-ent">meta-data</span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>com.sec.android.support.multiwindow<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">value</span>=<span class="pl-s"><span class="pl-pds">"</span>true<span class="pl-pds">"</span></span> /&gt; &lt;<span class="pl-ent">meta-data</span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>com.sec.android.multiwindow.DEFAULT_SIZE_W<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">resource</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/app_defaultsize_w<span class="pl-pds">"</span></span> /&gt; &lt;<span class="pl-ent">meta-data</span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>com.sec.android.multiwindow.DEFAULT_SIZE_H<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">resource</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/app_defaultsize_h<span class="pl-pds">"</span></span> /&gt; &lt;<span class="pl-ent">meta-data</span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>com.sec.android.multiwindow.MINIMUM_SIZE_W<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">resource</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/app_minimumsize_w<span class="pl-pds">"</span></span> /&gt; &lt;<span class="pl-ent">meta-data</span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>com.sec.android.multiwindow.MINIMUM_SIZE_H<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">resource</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/app_minimumsize_h<span class="pl-pds">"</span></span> /&gt;</pre></div> <p dir="auto">Log</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="01-28 23:09:37.913 2076-2076/gonemad.gmmp W/Bundle﹕ Key com.sec.android.multiwindow.MINIMUM_SIZE_H expected String but value was a java.lang.Integer. The default value &lt;null&gt; was returned. 01-28 23:09:37.923 2076-2076/gonemad.gmmp W/Bundle﹕ Attempt to cast generated internal exception: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String at android.os.Bundle.getString(Bundle.java:1121) at com.bumptech.glide.module.ManifestParser.parse(ManifestParser.java:29) at com.bumptech.glide.Glide.get(Glide.java:151)"><pre class="notranslate"><code class="notranslate">01-28 23:09:37.913 2076-2076/gonemad.gmmp W/Bundle﹕ Key com.sec.android.multiwindow.MINIMUM_SIZE_H expected String but value was a java.lang.Integer. The default value &lt;null&gt; was returned. 01-28 23:09:37.923 2076-2076/gonemad.gmmp W/Bundle﹕ Attempt to cast generated internal exception: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String at android.os.Bundle.getString(Bundle.java:1121) at com.bumptech.glide.module.ManifestParser.parse(ManifestParser.java:29) at com.bumptech.glide.Glide.get(Glide.java:151) </code></pre></div>
<p dir="auto">Glide 3.5.0<br> com.bumptech.glide.module.ManifestParser<br> ==&gt; GLIDE_MODULE_VALUE.equals(appInfo.metaData.getString(key))</p> <p dir="auto">may cause ClassCastException if the manifest has meta-data for other libraries that is not a string value.</p>
1
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1500781/12747238/ce6c4762-c9dd-11e5-8820-6e9bb5fcc173.png"><img src="https://cloud.githubusercontent.com/assets/1500781/12747238/ce6c4762-c9dd-11e5-8820-6e9bb5fcc173.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Node ver: 5.0.0</p> <p dir="auto">Babel Deps:</p> <ul dir="auto"> <li> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;babel-cli&quot;: &quot;^6.4.0&quot;,"><pre class="notranslate"><code class="notranslate">"babel-cli": "^6.4.0", </code></pre></div> </li> <li> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;babel-core&quot;: &quot;^6.3.26&quot;,"><pre class="notranslate"><code class="notranslate">"babel-core": "^6.3.26", </code></pre></div> </li> <li> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;babel-eslint&quot;: &quot;^5.0.0-beta6&quot;,"><pre class="notranslate"><code class="notranslate">"babel-eslint": "^5.0.0-beta6", </code></pre></div> </li> <li> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;babel-loader&quot;: &quot;^6.2.0&quot;,"><pre class="notranslate"><code class="notranslate">"babel-loader": "^6.2.0", </code></pre></div> </li> <li> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;babel-plugin-add-module-exports&quot;: &quot;^0.1.2&quot;,"><pre class="notranslate"><code class="notranslate">"babel-plugin-add-module-exports": "^0.1.2", </code></pre></div> </li> <li> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;babel-polyfill&quot;: &quot;^6.3.14&quot;,"><pre class="notranslate"><code class="notranslate">"babel-polyfill": "^6.3.14", </code></pre></div> </li> <li> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;babel-preset-es2015&quot;: &quot;^6.3.13&quot;,"><pre class="notranslate"><code class="notranslate">"babel-preset-es2015": "^6.3.13", </code></pre></div> </li> <li> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;babel-preset-react&quot;: &quot;^6.3.13&quot;,"><pre class="notranslate"><code class="notranslate">"babel-preset-react": "^6.3.13", </code></pre></div> </li> <li> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;babel-preset-react-hmre&quot;: &quot;^1.0.1&quot;,"><pre class="notranslate"><code class="notranslate">"babel-preset-react-hmre": "^1.0.1", </code></pre></div> </li> <li> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;babel-preset-stage-0&quot;: &quot;^6.3.13&quot;"><pre class="notranslate"><code class="notranslate">"babel-preset-stage-0": "^6.3.13" </code></pre></div> </li> </ul> <p dir="auto">It seems cause by custom html tag.</p>
<p dir="auto">The <code class="notranslate">className</code> prop does not appear to get mapped correctly when applied to custom DOM elements in <code class="notranslate">0.14.0-rc1</code>.</p> <p dir="auto">JSFiddle: <a href="https://jsfiddle.net/hellosmithy/5pdujnfq/1/" rel="nofollow">https://jsfiddle.net/hellosmithy/5pdujnfq/1/</a></p>
1
<p dir="auto">I am doing CI testing on different devices.</p> <p dir="auto">Could the team make a Flutter Plugin Gallery please that uses all the official plugins and publish it to the Play and Apple store please ?</p> <p dir="auto">It will make it much easier to test on various real devices and in saucelabs.</p>
<p dir="auto">The official flutter plugins are really useful.<br> Would it not be smart to have a flutter gallery plugins app tmso developers can get firsthand experience and the plugin team get more cross device testing ??</p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.3</li> <li>Operating System version: Mac</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li><code class="notranslate">org/apache/dubbo/registry/support/ProviderConsumerRegTable.java:65</code> Type 'ProviderInvokerWrapper&lt;&gt;' does not define hashCode(), but is used in a hashing data-structure.</li> <li>Class overrides equals but not hashCode.</li> </ol> <ul dir="auto"> <li>org.apache.dubbo.config.AbstractConfig</li> <li>org.apache.dubbo.registry.support.ProviderInvokerWrapper</li> <li>org.apache.dubbo.remoting.buffer.AbstractChannelBuffer</li> </ul> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">Whether the above suggestions can be fixed or have other considerations</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">Is it considered a bug? Will it fix?</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/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.4.1</li> <li>Operating System version:Linux version 4.15.0-88-generic 16.04.1-Ubuntu</li> <li>Java version: java version "1.8.0_201"</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>server-side configuration</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &lt;dubbo:registry address=&quot;zookeeper://127.0.0.1:2181&quot; check=&quot;false&quot; simplified=&quot;true&quot; file=&quot;${user.home}/.dubbo/${application.name}-cache.properties&quot;/&gt; &lt;dubbo:provider timeout=&quot;60000&quot; retries=&quot;1&quot; payload=&quot;104857600&quot; /&gt; &lt;dubbo:metadata-report address=&quot;zookeeper://127.0.0.1:2181&quot; /&gt;"><pre class="notranslate"><code class="notranslate"> &lt;dubbo:registry address="zookeeper://127.0.0.1:2181" check="false" simplified="true" file="${user.home}/.dubbo/${application.name}-cache.properties"/&gt; &lt;dubbo:provider timeout="60000" retries="1" payload="104857600" /&gt; &lt;dubbo:metadata-report address="zookeeper://127.0.0.1:2181" /&gt; </code></pre></div> <ol start="2" dir="auto"> <li>client-side<br> invoke method, and the response' data size is more than 8M(default payload) but less than 100M(configued payload).</li> </ol> <h3 dir="auto">Expected Result</h3> <p dir="auto">there is not exception, and the result was returned as expected.</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">throws an ExceedPayloadLimitException</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Caused by: org.apache.dubbo.remoting.transport.ExceedPayloadLimitException: Data length too large: 11727594, max payload: 8388608, channel: NettyChannel [channel=[id: 0x61f431d2, L:/172.18.0.1:52186 - R:/172.18.0.1:20880]] at org.apache.dubbo.remoting.transport.AbstractCodec.checkPayload(AbstractCodec.java:50)"><pre class="notranslate"><code class="notranslate">Caused by: org.apache.dubbo.remoting.transport.ExceedPayloadLimitException: Data length too large: 11727594, max payload: 8388608, channel: NettyChannel [channel=[id: 0x61f431d2, L:/172.18.0.1:52186 - R:/172.18.0.1:20880]] at org.apache.dubbo.remoting.transport.AbstractCodec.checkPayload(AbstractCodec.java:50) </code></pre></div>
0
<p dir="auto">If you're in one of the demo app directories when you run <code class="notranslate">flutter analyze --flutter-repo</code>, it will include that directory twice (once because of the crawl, once because of the current directory having a package), which seems to result in duplicate errors sometimes? (The latter might be an analyzer bug.)</p>
<h2 dir="auto">command</h2> <p dir="auto">flutter build apk</p> <h2 dir="auto">exception</h2> <p dir="auto">FormatException: FormatException: Bad UTF-8 encoding 0xa8 (at offset 165)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#0 _Utf8Decoder.convert (dart:convert/utf.dart:568:13) #1 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:345:14) #2 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:341:5) #3 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:86:18) #4 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #5 _rootRunUnary (dart:async/zone.dart:1132:38) #6 _CustomZone.runUnary (dart:async/zone.dart:1029:19) #7 _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7) #8 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #9 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #10 _SyncStreamController._sendData (dart:async/stream_controller.dart:763:19) #11 _StreamController._add (dart:async/stream_controller.dart:639:7) #12 _StreamController.add (dart:async/stream_controller.dart:585:5) #13 _Socket._onData (dart:io/runtime/binsocket_patch.dart:1721:41) #14 _rootRunUnary (dart:async/zone.dart:1136:13) #15 _CustomZone.runUnary (dart:async/zone.dart:1029:19) #16 _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7) #17 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #18 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #19 _SyncStreamController._sendData (dart:async/stream_controller.dart:763:19) #20 _StreamController._add (dart:async/stream_controller.dart:639:7) #21 _StreamController.add (dart:async/stream_controller.dart:585:5) #22 new _RawSocket.&lt;anonymous closure&gt; (dart:io/runtime/binsocket_patch.dart:1283:33) #23 _NativeSocket.issueReadEvent.issue (dart:io/runtime/binsocket_patch.dart:826:14) #24 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #25 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #26 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13) #27 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)"><pre class="notranslate"><code class="notranslate">#0 _Utf8Decoder.convert (dart:convert/utf.dart:568:13) #1 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:345:14) #2 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:341:5) #3 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:86:18) #4 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24) #5 _rootRunUnary (dart:async/zone.dart:1132:38) #6 _CustomZone.runUnary (dart:async/zone.dart:1029:19) #7 _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7) #8 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #9 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #10 _SyncStreamController._sendData (dart:async/stream_controller.dart:763:19) #11 _StreamController._add (dart:async/stream_controller.dart:639:7) #12 _StreamController.add (dart:async/stream_controller.dart:585:5) #13 _Socket._onData (dart:io/runtime/binsocket_patch.dart:1721:41) #14 _rootRunUnary (dart:async/zone.dart:1136:13) #15 _CustomZone.runUnary (dart:async/zone.dart:1029:19) #16 _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7) #17 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11) #18 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7) #19 _SyncStreamController._sendData (dart:async/stream_controller.dart:763:19) #20 _StreamController._add (dart:async/stream_controller.dart:639:7) #21 _StreamController.add (dart:async/stream_controller.dart:585:5) #22 new _RawSocket.&lt;anonymous closure&gt; (dart:io/runtime/binsocket_patch.dart:1283:33) #23 _NativeSocket.issueReadEvent.issue (dart:io/runtime/binsocket_patch.dart:826:14) #24 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #25 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #26 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13) #27 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5) </code></pre></div> <h2 dir="auto">flutter doctor</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="�[32m[✓]�[39m Flutter (Channel beta, v1.0.0, on Microsoft Windows [Version 10.0.17134.407], locale zh-CN) �[32m•�[39m Flutter version 1.0.0 at E:\flutter\flutter_windows_v0.3.2-beta\flutter �[32m•�[39m Framework revision 5391447fae (7 days ago), 2018-11-29 19:41:26 -0800 �[32m•�[39m Engine revision 7375a0f414 �[32m•�[39m Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297) �[32m[✓]�[39m Android toolchain - develop for Android devices (Android SDK 28.0.3) �[32m•�[39m Android SDK at C:\Users\sinosoft\AppData\Local\Android\Sdk �[32m•�[39m Android NDK location not configured (optional; useful for native profiling support) �[32m•�[39m Platform android-28, build-tools 28.0.3 �[32m•�[39m ANDROID_HOME = C:\Users\sinosoft\AppData\Local\Android\Sdk �[32m•�[39m Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java �[32m•�[39m Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) �[32m•�[39m All Android licenses accepted. �[32m[✓]�[39m Android Studio (version 3.2) �[32m•�[39m Android Studio at C:\Program Files\Android\Android Studio �[31m✗�[39m Flutter plugin not installed; this adds Flutter specific functionality. �[31m✗�[39m Dart plugin not installed; this adds Dart specific functionality. �[32m•�[39m Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) �[33m[!]�[39m IntelliJ IDEA Ultimate Edition (version 2018.3) �[32m•�[39m IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.3 �[31m✗�[39m Flutter plugin not installed; this adds Flutter specific functionality. �[31m✗�[39m Dart plugin not installed; this adds Dart specific functionality. �[32m•�[39m For information about installing plugins, see https://flutter.io/intellij-setup/#installing-the-plugins �[32m[✓]�[39m VS Code, 64-bit edition (version 1.29.1) �[32m•�[39m VS Code at C:\Program Files\Microsoft VS Code �[32m•�[39m Flutter extension version 2.21.0 �[32m[✓]�[39m Connected device (1 available) �[32m•�[39m BKL AL00 • RKKDU18104007058 • android-arm64 • Android 9 (API 28) �[33m!�[39m Doctor found issues in 1 category."><pre class="notranslate"><code class="notranslate">�[32m[✓]�[39m Flutter (Channel beta, v1.0.0, on Microsoft Windows [Version 10.0.17134.407], locale zh-CN) �[32m•�[39m Flutter version 1.0.0 at E:\flutter\flutter_windows_v0.3.2-beta\flutter �[32m•�[39m Framework revision 5391447fae (7 days ago), 2018-11-29 19:41:26 -0800 �[32m•�[39m Engine revision 7375a0f414 �[32m•�[39m Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297) �[32m[✓]�[39m Android toolchain - develop for Android devices (Android SDK 28.0.3) �[32m•�[39m Android SDK at C:\Users\sinosoft\AppData\Local\Android\Sdk �[32m•�[39m Android NDK location not configured (optional; useful for native profiling support) �[32m•�[39m Platform android-28, build-tools 28.0.3 �[32m•�[39m ANDROID_HOME = C:\Users\sinosoft\AppData\Local\Android\Sdk �[32m•�[39m Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java �[32m•�[39m Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) �[32m•�[39m All Android licenses accepted. �[32m[✓]�[39m Android Studio (version 3.2) �[32m•�[39m Android Studio at C:\Program Files\Android\Android Studio �[31m✗�[39m Flutter plugin not installed; this adds Flutter specific functionality. �[31m✗�[39m Dart plugin not installed; this adds Dart specific functionality. �[32m•�[39m Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) �[33m[!]�[39m IntelliJ IDEA Ultimate Edition (version 2018.3) �[32m•�[39m IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.3 �[31m✗�[39m Flutter plugin not installed; this adds Flutter specific functionality. �[31m✗�[39m Dart plugin not installed; this adds Dart specific functionality. �[32m•�[39m For information about installing plugins, see https://flutter.io/intellij-setup/#installing-the-plugins �[32m[✓]�[39m VS Code, 64-bit edition (version 1.29.1) �[32m•�[39m VS Code at C:\Program Files\Microsoft VS Code �[32m•�[39m Flutter extension version 2.21.0 �[32m[✓]�[39m Connected device (1 available) �[32m•�[39m BKL AL00 • RKKDU18104007058 • android-arm64 • Android 9 (API 28) �[33m!�[39m Doctor found issues in 1 category. </code></pre></div>
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 <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Electron Version</h3> <p dir="auto">13.1.6</p> <h3 dir="auto">What operating system are you using?</h3> <p dir="auto">Ubuntu</p> <h3 dir="auto">Operating System Version</h3> <p dir="auto">Ubuntu 20.04.2 LTS</p> <h3 dir="auto">What arch are you using?</h3> <p dir="auto">x64</p> <h3 dir="auto">Last Known Working Electron version</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">I expect the print dialog <strong><em>not</em></strong> to appear when pressing print.</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">The print dialog shows.</p> <h3 dir="auto">Testcase Gist URL</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Additional Information</h3> <p dir="auto">This is the code I have seen used, but it does not work. I cannot find any further docs on this and I have seen people in the past report it as a bug, but I can't find what the actual issue is and any work arounds.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const mainWindow = new BrowserWindow({ width: 800, height: 600, }); mainWindow.webContents.print( { silent: true, printBackground: false, deviceName: &quot;HP_DeskJet_4100_series_A6BABF_test&quot;, }"><pre class="notranslate"><code class="notranslate">const mainWindow = new BrowserWindow({ width: 800, height: 600, }); mainWindow.webContents.print( { silent: true, printBackground: false, deviceName: "HP_DeskJet_4100_series_A6BABF_test", } </code></pre></div>
0
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4> <p dir="auto">In 0.18.1, a single NaN in a column will cause the reported percentiles to all be NaN. In 0.18.0 and according to the documentation, NaNs are excluded.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pandas as pd import numpy as np df = pd.DataFrame(data={'blah': range(10) + [np.nan]}) df.describe(percentiles=[0.1, 0.5, 0.9])"><pre class="notranslate"><code class="notranslate">import pandas as pd import numpy as np df = pd.DataFrame(data={'blah': range(10) + [np.nan]}) df.describe(percentiles=[0.1, 0.5, 0.9]) </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" blah count 10.00000 mean 4.50000 std 3.02765 min 0.00000 10% NaN 50% NaN 90% NaN max 9.00000"><pre class="notranslate"><code class="notranslate"> blah count 10.00000 mean 4.50000 std 3.02765 min 0.00000 10% NaN 50% NaN 90% NaN max 9.00000 </code></pre></div> <h4 dir="auto">Expected Output</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" blah count 10.00000 mean 4.50000 std 3.02765 min 0.00000 10% 0.90000 50% 4.50000 90% 8.10000 max 9.00000"><pre class="notranslate"><code class="notranslate"> blah count 10.00000 mean 4.50000 std 3.02765 min 0.00000 10% 0.90000 50% 4.50000 90% 8.10000 max 9.00000 </code></pre></div> <h4 dir="auto">output of <code class="notranslate">pd.show_versions()</code></h4> <h2 dir="auto">INSTALLED VERSIONS</h2> <p dir="auto">commit: None<br> python: 2.7.11.final.0<br> python-bits: 64<br> OS: Darwin<br> OS-release: 15.5.0<br> machine: x86_64<br> processor: i386<br> byteorder: little<br> LC_ALL: None<br> LANG: en_US.UTF-8</p> <p dir="auto">pandas: 0.18.1<br> nose: 1.3.7<br> pip: 8.1.2<br> setuptools: 20.3<br> Cython: 0.23.4<br> numpy: 1.11.0<br> scipy: 0.17.0<br> statsmodels: 0.6.1<br> xarray: None<br> IPython: 4.1.2<br> sphinx: 1.3.5<br> patsy: 0.4.0<br> dateutil: 2.5.3<br> pytz: 2016.4<br> blosc: None<br> bottleneck: 1.0.0<br> tables: 3.2.2<br> numexpr: 2.5<br> matplotlib: 1.5.1<br> openpyxl: 2.3.2<br> xlrd: 0.9.4<br> xlwt: 1.0.0<br> xlsxwriter: 0.8.4<br> lxml: 3.6.0<br> bs4: 4.4.1<br> html5lib: None<br> httplib2: None<br> apiclient: None<br> sqlalchemy: 1.0.12<br> pymysql: None<br> psycopg2: 2.6.1 (dt dec pq3 ext)<br> jinja2: 2.8<br> boto: 2.39.0<br> pandas_datareader: None</p>
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas as pd import numpy s = pd.Series([1, 2, 3, 4, numpy.nan]) s.quantile(0.5) nan"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-s1">s</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Series</span>([<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>, <span class="pl-c1">4</span>, <span class="pl-s1">numpy</span>.<span class="pl-s1">nan</span>]) <span class="pl-s1">s</span>.<span class="pl-en">quantile</span>(<span class="pl-c1">0.5</span>) <span class="pl-s1">nan</span></pre></div> <h4 dir="auto">Expected Output</h4> <p dir="auto">I would expect 2.5 as output (as with version 0.17.1).</p> <h4 dir="auto">output of <code class="notranslate">pd.show_versions()</code></h4> <p dir="auto">commit: None<br> python: 2.7.6.final.0<br> python-bits: 64<br> OS: Linux<br> OS-release: 3.13.0-85-generic<br> machine: x86_64<br> processor: x86_64<br> byteorder: little<br> LC_ALL: None<br> LANG: de_DE.UTF-8</p> <p dir="auto">pandas: 0.18.1<br> nose: None<br> pip: 1.5.4<br> setuptools: 2.2<br> Cython: None<br> numpy: 1.11.0<br> scipy: 0.16.1<br> statsmodels: None<br> xarray: None<br> IPython: None<br> sphinx: None<br> patsy: None<br> dateutil: 2.5.3<br> pytz: 2016.4<br> blosc: None<br> bottleneck: None<br> tables: None<br> numexpr: None<br> matplotlib: 1.5.1<br> openpyxl: 2.3.2<br> xlrd: 0.9.4<br> xlwt: None<br> xlsxwriter: None<br> lxml: None<br> bs4: None<br> html5lib: None<br> httplib2: None<br> apiclient: None<br> sqlalchemy: None<br> pymysql: None<br> psycopg2: None<br> jinja2: None<br> boto: None<br> pandas_datareader: None</p>
1
<p dir="auto">for consistency with <code class="notranslate">dropna</code> (and also to not use <code class="notranslate">cols</code> which is being deprecated)</p> <p dir="auto">related <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="29493759" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6645" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/6645/hovercard" href="https://github.com/pandas-dev/pandas/issues/6645">#6645</a></p>
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np import pandas as pd persons = [ { 'name': ''.join([ np.random.choice([chr(x) for x in range(97, 97 + 26)]) for i in range(5) ]), 'age': np.random.randint(0, 100), 'sex': np.random.choice(['male', 'female']), 'job': np.random.choice(['staff', 'cook', 'student']), 'birthday': np.random.choice(pd.date_range('1990-01-01', '2010-01-01')), 'hobby': np.random.choice(['cs', 'war3', 'dota']) } for i in range(10) ] df = pd.DataFrame(persons) df.set_index('birthday', inplace=True) print(df) df.iloc[0] = { 'name': 'john', 'age': int(10), 'sex': 'male', 'hobby': 'nohobby', 'job': 'haha' } print(df)"><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">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-s1">persons</span> <span class="pl-c1">=</span> [ { <span class="pl-s">'name'</span>: <span class="pl-s">''</span>.<span class="pl-en">join</span>([ <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">choice</span>([<span class="pl-en">chr</span>(<span class="pl-s1">x</span>) <span class="pl-k">for</span> <span class="pl-s1">x</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">97</span>, <span class="pl-c1">97</span> <span class="pl-c1">+</span> <span class="pl-c1">26</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">5</span>) ]), <span class="pl-s">'age'</span>: <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randint</span>(<span class="pl-c1">0</span>, <span class="pl-c1">100</span>), <span class="pl-s">'sex'</span>: <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">choice</span>([<span class="pl-s">'male'</span>, <span class="pl-s">'female'</span>]), <span class="pl-s">'job'</span>: <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">choice</span>([<span class="pl-s">'staff'</span>, <span class="pl-s">'cook'</span>, <span class="pl-s">'student'</span>]), <span class="pl-s">'birthday'</span>: <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">choice</span>(<span class="pl-s1">pd</span>.<span class="pl-en">date_range</span>(<span class="pl-s">'1990-01-01'</span>, <span class="pl-s">'2010-01-01'</span>)), <span class="pl-s">'hobby'</span>: <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">choice</span>([<span class="pl-s">'cs'</span>, <span class="pl-s">'war3'</span>, <span class="pl-s">'dota'</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">10</span>) ] <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">persons</span>) <span class="pl-s1">df</span>.<span class="pl-en">set_index</span>(<span class="pl-s">'birthday'</span>, <span class="pl-s1">inplace</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-en">print</span>(<span class="pl-s1">df</span>) <span class="pl-s1">df</span>.<span class="pl-s1">iloc</span>[<span class="pl-c1">0</span>] <span class="pl-c1">=</span> { <span class="pl-s">'name'</span>: <span class="pl-s">'john'</span>, <span class="pl-s">'age'</span>: <span class="pl-en">int</span>(<span class="pl-c1">10</span>), <span class="pl-s">'sex'</span>: <span class="pl-s">'male'</span>, <span class="pl-s">'hobby'</span>: <span class="pl-s">'nohobby'</span>, <span class="pl-s">'job'</span>: <span class="pl-s">'haha'</span> } <span class="pl-en">print</span>(<span class="pl-s1">df</span>)</pre></div> <h4 dir="auto">Problem description</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" age hobby job name sex birthday 2007-12-31 name age sex hobby job 2004-07-31 20 dota student uwxhn female 2001-10-22 34 war3 cook udknv female 2002-10-13 91 dota cook bofcv female 1992-05-25 54 war3 cook tcqew male 2009-09-02 95 war3 staff jcolr female 1998-12-15 61 war3 student dibkw female 2004-07-03 4 war3 student mntqh male 2000-06-08 88 war3 staff jknxm female 2006-10-19 82 cs student asrpz male "><pre class="notranslate"><code class="notranslate"> age hobby job name sex birthday 2007-12-31 name age sex hobby job 2004-07-31 20 dota student uwxhn female 2001-10-22 34 war3 cook udknv female 2002-10-13 91 dota cook bofcv female 1992-05-25 54 war3 cook tcqew male 2009-09-02 95 war3 staff jcolr female 1998-12-15 61 war3 student dibkw female 2004-07-03 4 war3 student mntqh male 2000-06-08 88 war3 staff jknxm female 2006-10-19 82 cs student asrpz male </code></pre></div> <p dir="auto">Have no idea why the keys are set to the rows.</p> <h4 dir="auto">Expected Output</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" age hobby job name sex birthday 2007-12-31 10 nohobby haha john male 2004-07-31 20 dota student uwxhn female 2001-10-22 34 war3 cook udknv female 2002-10-13 91 dota cook bofcv female 1992-05-25 54 war3 cook tcqew male 2009-09-02 95 war3 staff jcolr female 1998-12-15 61 war3 student dibkw female 2004-07-03 4 war3 student mntqh male 2000-06-08 88 war3 staff jknxm female 2006-10-19 82 cs student asrpz male"><pre class="notranslate"><code class="notranslate"> age hobby job name sex birthday 2007-12-31 10 nohobby haha john male 2004-07-31 20 dota student uwxhn female 2001-10-22 34 war3 cook udknv female 2002-10-13 91 dota cook bofcv female 1992-05-25 54 war3 cook tcqew male 2009-09-02 95 war3 staff jcolr female 1998-12-15 61 war3 student dibkw female 2004-07-03 4 war3 student mntqh male 2000-06-08 88 war3 staff jknxm female 2006-10-19 82 cs student asrpz male </code></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: None<br> python: 3.6.1.final.0<br> python-bits: 64<br> OS: Darwin<br> OS-release: 16.6.0<br> machine: x86_64<br> processor: i386<br> byteorder: little<br> LC_ALL: en_US.UTF-8<br> LANG: en_US.UTF-8<br> LOCALE: en_US.UTF-8</p> <p dir="auto">pandas: 0.20.1<br> pytest: 3.0.7<br> pip: 9.0.1<br> setuptools: 35.0.2<br> Cython: 0.25.2<br> numpy: 1.12.1<br> scipy: 0.19.0<br> xarray: 0.9.5<br> IPython: 6.0.0<br> sphinx: 1.5.5<br> patsy: 0.4.1<br> dateutil: 2.6.0<br> pytz: 2017.2<br> blosc: None<br> bottleneck: 1.2.0<br> tables: 3.4.2<br> numexpr: 2.6.2<br> feather: None<br> matplotlib: 2.0.2<br> openpyxl: 2.4.7<br> xlrd: 1.0.0<br> xlwt: None<br> xlsxwriter: None<br> lxml: 3.7.3<br> bs4: 4.6.0<br> html5lib: 0.999999999<br> sqlalchemy: 1.1.9<br> pymysql: None<br> psycopg2: None<br> jinja2: 2.9.6<br> s3fs: None<br> pandas_gbq: None<br> pandas_datareader: None</p> </details>
0
<ul dir="auto"> <li>VSCode Version: 1.1.1-insiders</li> <li>OS Version: Win10</li> </ul> <p dir="auto">I know window.visibleEditors is supposed to contain actual text editors but it is not possible to tell at the moment if a VirtualDocument (ie a htmlContentProvider) is in view.</p> <p dir="auto">The scenario I would need this for is for detecting if a Virtual Document has focus when a command is triggered. If there is another work around for this please let me know.</p> <p dir="auto">Thanks 😄</p>
<p dir="auto">I have a use case where I would like to be able to get a list of all the open editors (basically exactly what is shown here).</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5217568/20104763/68b379fa-a58c-11e6-8f48-185e5ae47060.png"><img width="222" alt="loginstructions_ts_-_vs-apex-debug" src="https://cloud.githubusercontent.com/assets/5217568/20104763/68b379fa-a58c-11e6-8f48-185e5ae47060.png" style="max-width: 100%;"></a></p> <p dir="auto">I understand that Editors are disposed but I just need a list of filenames.</p> <p dir="auto">Something like: <code class="notranslate">workspace.openDocuments:Array&lt;TextDocument&gt;</code> or even just <code class="notranslate">workspace.openFiles:Array&lt;string&gt;</code>.</p> <p dir="auto">Long term, it might be nice to have API access to operate on this list (EG: sort open editors pane by last opened, name, etc).</p>
1