text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<p dir="auto">Since many follows a pull-request flow. It would be ideal if a developer could see a (HEAD+changes)-to-branch diff views and not ont only Changes-to-HEAD diff view as it is currently.</p>
<p dir="auto">Many make some changes and makes some commits on a feature or bug branch. They push the new commits to their fork and review the changes before submitting a pull request. The review is a diff against, most likely, an upstream master branch. The problem is, that it is time consuming to make many micro changes online by force pushing etc. It would be more ideal if this diff view could be viewed locally in VSCode and not only on Github.</p> | <p dir="auto">It would be awesome to be able to squash commits right from the UI too</p> | 1 |
<h4 dir="auto">Description</h4>
<p dir="auto">When I try to build scikit-learn on NixOS with numpy/scipy compiled with MKL, the build succeeds but tests fail:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="=================================== FAILURES ===================================
_________________________________ test_omp_cv __________________________________
def test_omp_cv():
y_ = y[:, 0]
gamma_ = gamma[:, 0]
ompcv = OrthogonalMatchingPursuitCV(normalize=True, fit_intercept=False,
max_iter=10, cv=5)
ompcv.fit(X, y_)
> assert_equal(ompcv.n_nonzero_coefs_, n_nonzero_coefs)
/nix/store/7sz7kr8szqhmy75mx2hxbfz3wvgq2iyx-python3.7-scikit-learn-0.21.2/lib/python3.7/site-packages/sklearn/linear_model/tests/test_omp.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/nix/store/4g2ilwnk4mj4g68rc52kygx7gcqxnjd0-python3-3.7.5/lib/python3.7/unittest/case.py:852: in assertEqual
assertion_func(first, second, msg=msg)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <sklearn.utils._unittest_backport.TestCase testMethod=__init__>
first = 6, second = 5, msg = '6 != 5'
def _baseAssertEqual(self, first, second, msg=None):
"""The default assertEqual implementation, not type specific."""
if not first == second:
standardMsg = '%s != %s' % _common_shorten_repr(first, second)
msg = self._formatMessage(msg, standardMsg)
> raise self.failureException(msg)
E AssertionError: 6 != 5
/nix/store/4g2ilwnk4mj4g68rc52kygx7gcqxnjd0-python3-3.7.5/lib/python3.7/unittest/case.py:845: AssertionError"><pre class="notranslate"><code class="notranslate">=================================== FAILURES ===================================
_________________________________ test_omp_cv __________________________________
def test_omp_cv():
y_ = y[:, 0]
gamma_ = gamma[:, 0]
ompcv = OrthogonalMatchingPursuitCV(normalize=True, fit_intercept=False,
max_iter=10, cv=5)
ompcv.fit(X, y_)
> assert_equal(ompcv.n_nonzero_coefs_, n_nonzero_coefs)
/nix/store/7sz7kr8szqhmy75mx2hxbfz3wvgq2iyx-python3.7-scikit-learn-0.21.2/lib/python3.7/site-packages/sklearn/linear_model/tests/test_omp.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/nix/store/4g2ilwnk4mj4g68rc52kygx7gcqxnjd0-python3-3.7.5/lib/python3.7/unittest/case.py:852: in assertEqual
assertion_func(first, second, msg=msg)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <sklearn.utils._unittest_backport.TestCase testMethod=__init__>
first = 6, second = 5, msg = '6 != 5'
def _baseAssertEqual(self, first, second, msg=None):
"""The default assertEqual implementation, not type specific."""
if not first == second:
standardMsg = '%s != %s' % _common_shorten_repr(first, second)
msg = self._formatMessage(msg, standardMsg)
> raise self.failureException(msg)
E AssertionError: 6 != 5
/nix/store/4g2ilwnk4mj4g68rc52kygx7gcqxnjd0-python3-3.7.5/lib/python3.7/unittest/case.py:845: AssertionError
</code></pre></div>
<h4 dir="auto">Steps/Code to Reproduce</h4>
<p dir="auto">Using nix, can reproduce with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="> curl https://nixos.org/nix/install | sh # install nix (follow instructions if needed)
> nix-shell -p 'python3.withPackages(ps: with ps; [ scikitlearn ])'
[success]
> nix-shell -p '(python37.override {packageOverrides = self: super: { numpy = super.numpy.override { blas = mkl;}; }; } ).withPackages(ps: with ps; [ scikitlearn ])'
[fail]"><pre class="notranslate"><code class="notranslate">> curl https://nixos.org/nix/install | sh # install nix (follow instructions if needed)
> nix-shell -p 'python3.withPackages(ps: with ps; [ scikitlearn ])'
[success]
> nix-shell -p '(python37.override {packageOverrides = self: super: { numpy = super.numpy.override { blas = mkl;}; }; } ).withPackages(ps: with ps; [ scikitlearn ])'
[fail]
</code></pre></div>
<p dir="auto">full output: <a href="https://gist.github.com/tbenst/f32351229c0330edf3aefa003e6c1053">https://gist.github.com/tbenst/f32351229c0330edf3aefa003e6c1053</a></p>
<p dir="auto">Thanks for any tips / pointers!</p>
<h4 dir="auto">Versions</h4>
<p dir="auto">python: 3.7.5<br>
scikit-learn: 0.21.2<br>
numpy: 1.17.3<br>
scipy: 1.3.1</p> | <p dir="auto">In newly released scikit-learn 0.20.1 (and actually in 0.20.0) <strong>test_omp_cv</strong> case fails during running test suite. Any help appreciated!</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="_______________________________ test_omp_cv _______________________________
def test_omp_cv():
y_ = y[:, 0]
gamma_ = gamma[:, 0]
ompcv = OrthogonalMatchingPursuitCV(normalize=True, fit_intercept=False,
max_iter=10, cv=5)
ompcv.fit(X, y_)
> assert_equal(ompcv.n_nonzero_coefs_, n_nonzero_coefs)
/usr/local/lib/python3.6/dist-packages/scikit_learn-0.20.1-py3.6-linux-x86_64.egg/sklearn/linear_model/tests/test_omp.py:209:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.6/unittest/case.py:829: in assertEqual
assertion_func(first, second, msg=msg)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <sklearn.utils._unittest_backport.TestCase testMethod=__init__>, first = 6, second = 5, msg = '6 != 5'
def _baseAssertEqual(self, first, second, msg=None):
"""The default assertEqual implementation, not type specific."""
if not first == second:
standardMsg = '%s != %s' % _common_shorten_repr(first, second)
msg = self._formatMessage(msg, standardMsg)
> raise self.failureException(msg)
E AssertionError: 6 != 5
/usr/lib/python3.6/unittest/case.py:822: AssertionError"><pre class="notranslate"><code class="notranslate">_______________________________ test_omp_cv _______________________________
def test_omp_cv():
y_ = y[:, 0]
gamma_ = gamma[:, 0]
ompcv = OrthogonalMatchingPursuitCV(normalize=True, fit_intercept=False,
max_iter=10, cv=5)
ompcv.fit(X, y_)
> assert_equal(ompcv.n_nonzero_coefs_, n_nonzero_coefs)
/usr/local/lib/python3.6/dist-packages/scikit_learn-0.20.1-py3.6-linux-x86_64.egg/sklearn/linear_model/tests/test_omp.py:209:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.6/unittest/case.py:829: in assertEqual
assertion_func(first, second, msg=msg)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <sklearn.utils._unittest_backport.TestCase testMethod=__init__>, first = 6, second = 5, msg = '6 != 5'
def _baseAssertEqual(self, first, second, msg=None):
"""The default assertEqual implementation, not type specific."""
if not first == second:
standardMsg = '%s != %s' % _common_shorten_repr(first, second)
msg = self._formatMessage(msg, standardMsg)
> raise self.failureException(msg)
E AssertionError: 6 != 5
/usr/lib/python3.6/unittest/case.py:822: AssertionError
</code></pre></div>
<h4 dir="auto">Versions</h4>
<p dir="auto">System:<br>
python: 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0]<br>
executable: /usr/bin/python3<br>
machine: Linux-4.15.0-39-generic-x86_64-with-Ubuntu-18.04-bionic</p>
<p dir="auto">BLAS:<br>
macros: SCIPY_MKL_H=None, HAVE_CBLAS=None<br>
lib_dirs: /opt/intel/mkl/lib/intel64<br>
cblas_libs: mkl_rt, pthread</p>
<p dir="auto">Python deps:<br>
pip: 18.1<br>
setuptools: 40.6.2<br>
sklearn: 0.20.1<br>
numpy: 1.15.4<br>
scipy: 1.1.0<br>
Cython: 0.29<br>
pandas: None</p> | 1 |
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gaearon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gaearon">@gaearon</a> You're <a href="https://github.com/facebook/react/issues/9328" data-hovercard-type="issue" data-hovercard-url="/facebook/react/issues/9328/hovercard">arguing</a> that <code class="notranslate">ref</code> functions need to be called twice (once with <code class="notranslate">null</code>) <em>due to internal implementation details that are insignificant with respect to how end users use React</em>.</p>
<p dir="auto">End user don't care how their ref functions are called, just that they work. Honestly having them called twice is strange from a perspective of an end-user who knows nothing about React's internal implementation.</p>
<p dir="auto">You haven't stated why end users <em>actually need</em> to guard against <code class="notranslate">null</code> values from duplicate calls to ref functions. It only complicates end-user code.</p>
<p dir="auto">I would urge for the internal implementation to be modified to stop calling ref functions twice.</p> | 0 |
|
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3364271/5744008/1e9efe78-9c58-11e4-92fb-8309de0cff27.png"><img src="https://cloud.githubusercontent.com/assets/3364271/5744008/1e9efe78-9c58-11e4-92fb-8309de0cff27.png" alt="qq20150115-6" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3364271/5743951/a89aac22-9c57-11e4-8c58-daaed03efa0d.png"><img src="https://cloud.githubusercontent.com/assets/3364271/5743951/a89aac22-9c57-11e4-8c58-daaed03efa0d.png" alt="qq20150115-7" style="max-width: 100%;"></a></p>
<p dir="auto">You can find the correct location on the tree view, but on title the location don't change.</p>
<p dir="auto">If this location is represent for the current folder on the view, it will confuse the user. It will be a disaster for a user editing 2 files with the same name in different folders.</p>
<p dir="auto">I think this title is to indicate the current file location, so this must be a bug..</p> | <p dir="auto">When a project is open (i.e. the file browser is open), if I open the LICENSE or other non-project file, then the title bar will show like:</p>
<blockquote>
<p dir="auto">LICENSE -- /path/to/project</p>
</blockquote>
<p dir="auto">This is misleading because it implies that the <code class="notranslate">LICENSE</code> file is inside the /path/to/project when it is not. In fact... I have no idea where the hell LICENSE is. It would be better to have something else in the title bar. Recommendations are:</p>
<ul dir="auto">
<li><code class="notranslate">LICENSE</code></li>
<li><code class="notranslate">Atom - LICENSE</code></li>
<li><code class="notranslate">Atom - Version 0.179.0 - LICENSE</code></li>
</ul>
<p dir="auto">Now, for example, when I open "Open your Config", the titlebar shows <code class="notranslate">config.cson -- /path/to/project</code>, I am unsure if this is a global config file or if the file is actually saved at /path/to/project/config.cson.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/382183/6230650/5197078e-b68f-11e4-9a82-a5b7b92aa02f.png"><img src="https://cloud.githubusercontent.com/assets/382183/6230650/5197078e-b68f-11e4-9a82-a5b7b92aa02f.png" alt="screen shot 2015-02-17 at 10 23 46 am" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/382183/6230652/546984be-b68f-11e4-808a-7d8747361fff.png"><img src="https://cloud.githubusercontent.com/assets/382183/6230652/546984be-b68f-11e4-808a-7d8747361fff.png" alt="screen shot 2015-02-17 at 10 22 36 am" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto"><a v-bind:[someAttr]="value"> ... </p> | <h3 dir="auto">Version</h3>
<p dir="auto">2.6.6</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://jsfiddle.net/6s4cg2pv/3/" rel="nofollow">https://jsfiddle.net/6s4cg2pv/3/</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">when you open the fiddle you will see dynamic attributes refers camel case varibales(slotName , attributeName) but vue is looking for lower case variables.<br>
if you cahange varibale names in data to slotname and attributename it works fine.</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">dynamic attribute variables must look for exact variable name</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">dynamic attributes refers camel case varibales but vue is looking for lower case variables.</p> | 1 |
<p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: 1.0.2</li>
<li>Operating System: Windows 10</li>
<li>Node version: 13.12, 14.0, 14.2</li>
<li>Browser: All</li>
</ul>
<p dir="auto"><strong>Code Snippet</strong></p>
<p dir="auto">Using the snippet from getting started:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const { chromium, firefox, webkit } = require('playwright');
(async () => {
try {
const browser = await chromium.launch();
// const browser = await firefox.launch();
// const browser = await webkit.launch();
const page = await browser.newPage();
await page.goto('http://whatsmyuseragent.org/');
await page.screenshot({ path: `example.png` });
await browser.close();
} catch (err) {
console.error(err);
}
})();"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-kos">{</span> chromium<span class="pl-kos">,</span> firefox<span class="pl-kos">,</span> webkit <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'playwright'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">try</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">browser</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">chromium</span><span class="pl-kos">.</span><span class="pl-en">launch</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// const browser = await firefox.launch();</span>
<span class="pl-c">// const browser = await webkit.launch();</span>
<span class="pl-k">const</span> <span class="pl-s1">page</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-en">newPage</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">'http://whatsmyuseragent.org/'</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">screenshot</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">path</span>: <span class="pl-s">`example.png`</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-en">close</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span> <span class="pl-k">catch</span> <span class="pl-kos">(</span><span class="pl-s1">err</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">error</span><span class="pl-kos">(</span><span class="pl-s1">err</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><br>
In an existing project (that had Cypress installed, not sure if that's relevant), I ran <code class="notranslate">npm i playwright</code> (in Windows Terminal/PowerShell), then ran <code class="notranslate">npm audit fix</code> (I got distracted) and noticed that Cypress re-ran some things. Then I ran the snippet above, and it failed for all three browsers.</p>
<p dir="auto">I uninstalled Cypress, deleted <code class="notranslate">package-lock.json</code> and <code class="notranslate">node_modules</code> and ran <code class="notranslate">npm i</code> again. Still all three failed. I switched from Node 14.0 to 13.12 (using <a href="https://github.com/coreybutler/nvm-windows">nvm windows</a>, if that's relevant) and tried again, all three failed, switched to Node 14.2 and now webkit and firefox work (although I admit I'm maybe changing more than one variable between attempts).</p>
<p dir="auto">My directory <code class="notranslate">C:\Users\david\AppData\Local\ms-playwright\chromium-764964\chrome-win</code> contains only a single file, <code class="notranslate">84.0.4135.0.manifest</code>. Its contents are:</p>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<assembly
xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<assemblyIdentity
name='84.0.4135.0'
version='84.0.4135.0'
type='win32'/>
<file name='chrome_elf.dll'/>
</assembly>"><pre class="notranslate"><<span class="pl-ent">assembly</span>
<span class="pl-e">xmlns</span>=<span class="pl-s"><span class="pl-pds">'</span>urn:schemas-microsoft-com:asm.v1<span class="pl-pds">'</span></span> <span class="pl-e">manifestVersion</span>=<span class="pl-s"><span class="pl-pds">'</span>1.0<span class="pl-pds">'</span></span>>
<<span class="pl-ent">assemblyIdentity</span>
<span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">'</span>84.0.4135.0<span class="pl-pds">'</span></span>
<span class="pl-e">version</span>=<span class="pl-s"><span class="pl-pds">'</span>84.0.4135.0<span class="pl-pds">'</span></span>
<span class="pl-e">type</span>=<span class="pl-s"><span class="pl-pds">'</span>win32<span class="pl-pds">'</span></span>/>
<<span class="pl-ent">file</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">'</span>chrome_elf.dll<span class="pl-pds">'</span></span>/>
</<span class="pl-ent">assembly</span>></pre></div>
<p dir="auto">I have Chrome and Chrome Canary (and Edge and Edge Canary) installed on my machine, not sure if that makes a difference.</p>
<p dir="auto">With Node 14.2 I created a brand new project, installed only <code class="notranslate">playwright</code>, and it failed for chromium but works for firefox and webkit.</p>
<p dir="auto">Then I deleted <code class="notranslate">C:\Users\david\AppData\Local\ms-playwright</code> and started all over again with Node 14.2 and everything worked. This seems to indicate that during install something is checking if the <code class="notranslate">ms-playwright</code> directory is there, but not checking that its contents are correct.</p>
<p dir="auto">Lastly, I went back to how (I thought) I started out. Node 13.2, deleted <code class="notranslate">C:\Users\david\AppData\Local\ms-playwright</code>, and ran <code class="notranslate">npm i playwright</code> again and everything worked fine. So after all that I can't pinpoint a specific scenario, but hopefully some of the above is useful in ironing out install kinks.</p>
<p dir="auto">May I suggest that when running, you check that the correct assets are available and install them if necessary?</p>
<p dir="auto">Maybe this is a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="607524129" data-permission-text="Title is private" data-url="https://github.com/microsoft/playwright/issues/1992" data-hovercard-type="issue" data-hovercard-url="/microsoft/playwright/issues/1992/hovercard" href="https://github.com/microsoft/playwright/issues/1992">#1992</a> or <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="607104886" data-permission-text="Title is private" data-url="https://github.com/microsoft/playwright/issues/1988" data-hovercard-type="issue" data-hovercard-url="/microsoft/playwright/issues/1988/hovercard" href="https://github.com/microsoft/playwright/issues/1988">#1988</a> or <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="569610323" data-permission-text="Title is private" data-url="https://github.com/microsoft/playwright/issues/1085" data-hovercard-type="issue" data-hovercard-url="/microsoft/playwright/issues/1085/hovercard" href="https://github.com/microsoft/playwright/issues/1085">#1085</a>, but they seem different enough that I'll create this as a new issue.</p> | <p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>GOOD Playwright Version: 0.13.0-next.1587452068410</li>
<li>BAD Playwright Version: 0.14.0</li>
<li>Operating System: macOS</li>
</ul>
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">I'm seeing a <em>lot</em> of <code class="notranslate">Navigation timeout</code> errors on 0.14.0 that don't seem valid. I haven't found a way to reliably repro yet, but I did find one clue. A lot of the time, my error message gets duplicated in this weird way.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TimeoutError: Navigation timeout exceeded while navigating to https://portfolio.adobe.com/ while navigating to https://portfolio.adobe.com/"><pre lang="ssh" class="notranslate"><code class="notranslate">TimeoutError: Navigation timeout exceeded while navigating to https://portfolio.adobe.com/ while navigating to https://portfolio.adobe.com/
</code></pre></div>
<p dir="auto">I'm going to keep trying to repro, but I figured it was worth posting now anyway in case the double error message was enough. This was also happening to me sometimes in 0.13.0-*, but not nearly as often.</p> | 0 |
<p dir="auto">by <strong><a href="mailto:[email protected]">[email protected]</a></strong>:</p>
<pre class="notranslate">I found a few issues with "Codelab: Writing Web Applications":
In section "Handling non-existant pages," the function signature includes a
third parameter, "title string" which is not introduced until later in the
last section. This may be confusing to some readers.
In section "Template caching," the code snippet for the init() function is not
in blockquote source code formatting.
In section "Validation," the code block for constructing the regular
expression is empty. I think it is supposed to read:
"""
var titleValidator regexp.Regexp = regexp.MustCompile("^[a-zA-Z0-9]+$")
"""
but there currently is nothing in the <pre> tag for that line.
Also, this is not an error, but it would be circumspect if you could give an example URL
that would be dangerous in the "Validation" section. When I tried to do
something nasty like "<a href="http://localhost:8080/view/" rel="nofollow">http://localhost:8080/view/</a>../../../etc/passwd" or
similar, the URL was automatically rewritten to remove all '../' and preceding
directories. I suppose this is a part of the URL parsing in the http package? I was
able to form an attack only by creating more files underneath my tree (or soft-linking
my home directory from the go-wiki directory), and even then only when the extension
matched the one used for wiki content (which I had changed to .wiki early on). Even if
this is the extent of that possible attack, I agree that it's a good idea to mention it,
I just think a more specific example might be worthwhile.
Great tutorial, thanks for providing it!</pre> | <p dir="auto">Under normal circumstances you would place test code into a file matching the <code class="notranslate">test</code> build constraint/tag, e.g. <code class="notranslate">my_test.go</code>. The naming convention of the file has led me to believe that this is a build constraint/tag.</p>
<p dir="auto">However, it is not possible to <em>exclude</em> some code from being built into tests ran by <code class="notranslate">go test</code>, because writing a file like <code class="notranslate">foo.go</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// +build !test
package foo
..."><pre class="notranslate"><code class="notranslate">// +build !test
package foo
...
</code></pre></div>
<p dir="auto">Will always compile under <code class="notranslate">go test</code>. This is a shame because there are some situations that do warrant different behavior for testing, and this makes it hard to deal with such situations.</p> | 0 |
<h2 dir="auto">Emoji Keyboard Extension</h2>
<p dir="auto"><em>In Windows 10, we have a special emoji keyboard for whenever we need to add emoji while writing anything. but it would be great if I don't have to switch to keyboard. Like suppose if I write :rocket then it should be automatically turned to emoji <g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> . Same way we use emojis on Github. If we can use this extension in whole Windows 10 PC ecosystem. It will be great !!. It will be great of user experience as we do it on mobile platforms such as when we write some key words that matches to a emoji it suggests us to use an emoji. Using this extension we can add this feature to Windows PCs.</em></p>
<h4 dir="auto">We can do it easily on mac using <a href="https://matthewpalmer.net/rocket/" rel="nofollow">Rocket app</a>. But I just don't think there's another way to do it on PC without using emoji keyboard.</h4>
<hr>
<p dir="auto">Let me know what you think of this guys.</p> | <p dir="auto">A simple text replacement tool, my examples are from macOS and iOS, it is also a feature in Android.</p>
<p dir="auto">Basically this feature: <a href="https://support.apple.com/guide/mac-help/replace-text-punctuation-documents-mac-mh35735/mac" rel="nofollow">Text Replacements</a></p>
<p dir="auto">On your Mac, choose Apple menu > System Preferences, click Keyboard, then click Text.</p>
<p dir="auto">Another example: <a href="https://support.apple.com/en-us/HT207525" rel="nofollow">Third one down</a> "Set up text replacement"</p>
<p dir="auto">It's very handy if you have things you need to type regularly, and just typing one word and having my system fill in a whole sentence saves a lot of time and effort at work instead of keeping a copy past text file. I have many web addresses I send to customers and many full sentences for my notes at work that used repeatedly and this kind of feature is surprisingly missing from Windows.</p>
<p dir="auto">Sorry to open a new issue for this, but my last one was closed already.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/67873106/87842334-d3e7c000-c879-11ea-9433-75b8ccd83778.png"><img src="https://user-images.githubusercontent.com/67873106/87842334-d3e7c000-c879-11ea-9433-75b8ccd83778.png" alt="mac-autoreplace-fun" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/67873106/87842335-d4805680-c879-11ea-97ea-1c32f278863a.jpg"><img src="https://user-images.githubusercontent.com/67873106/87842335-d4805680-c879-11ea-97ea-1c32f278863a.jpg" alt="ios12-iphone-x-settings-keyboards-text-replacement-social-card" style="max-width: 100%;"></a></p> | 1 |
<h2 dir="auto">Bug Report</h2>
<p dir="auto">I'm currently investigating <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="784348146" data-permission-text="Title is private" data-url="https://github.com/blitz-js/babel-plugin-superjson-next/issues/29" data-hovercard-type="issue" data-hovercard-url="/blitz-js/babel-plugin-superjson-next/issues/29/hovercard" href="https://github.com/blitz-js/babel-plugin-superjson-next/issues/29">blitz-js/babel-plugin-superjson-next#29</a>.<br>
It occurs since Next.js updated @babel/plugin-transform-react-jsx to 7.12.10.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: /[...]/babel-plugin-superjson-repro/pages/index.js: d(...) is not a function"><pre class="notranslate"><code class="notranslate">TypeError: /[...]/babel-plugin-superjson-repro/pages/index.js: d(...) is not a function
</code></pre></div>
<p dir="auto">It's caused by this code:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export function getServerSideProps() {
return {
props: {
date: new Date(),
},
};
}
export default function Home(props) {
return <div>hello world {props.date instanceof Date ? "true" : "false"}</div>;
}"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">function</span> <span class="pl-en">getServerSideProps</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">{</span>
<span class="pl-c1">props</span>: <span class="pl-kos">{</span>
<span class="pl-c1">date</span>: <span class="pl-k">new</span> <span class="pl-smi">Date</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">export</span> <span class="pl-k">default</span> <span class="pl-k">function</span> <span class="pl-smi">Home</span><span class="pl-kos">(</span><span class="pl-s1">props</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos"><</span><span class="pl-smi">div</span><span class="pl-kos">></span><span class="pl-s1">hello</span> <span class="pl-s1">world</span> <span class="pl-kos">{</span><span class="pl-s1">props</span><span class="pl-kos">.</span><span class="pl-c1">date</span> <span class="pl-k">instanceof</span> <span class="pl-smi">Date</span> ? <span class="pl-s">"true"</span> : <span class="pl-s">"false"</span><span class="pl-kos">}</span><span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-smi">div</span><span class="pl-c1">></span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">After being passed through <code class="notranslate">babel-plugin-superjson-next</code>, it looks like this:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { withSuperJSONPage as _withSuperJSONPage } from 'babel-plugin-superjson-next/tools';
import { withSuperJSONProps as _withSuperJSONProps } from 'babel-plugin-superjson-next/tools';
export const getServerSideProps = _withSuperJSONProps(
function getServerSideProps() {
return {
props: {
date: new Date(),
},
};
}
);
function Page({ products }) {
return <div>hello world {props.date instanceof Date ? "true" : "false"}</div>;
}
export default _withSuperJSONPage(Page);"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">withSuperJSONPage</span> <span class="pl-k">as</span> <span class="pl-s1">_withSuperJSONPage</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'babel-plugin-superjson-next/tools'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">withSuperJSONProps</span> <span class="pl-k">as</span> <span class="pl-s1">_withSuperJSONProps</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'babel-plugin-superjson-next/tools'</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">const</span> <span class="pl-s1">getServerSideProps</span> <span class="pl-c1">=</span> <span class="pl-en">_withSuperJSONProps</span><span class="pl-kos">(</span>
<span class="pl-k">function</span> <span class="pl-en">getServerSideProps</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">{</span>
<span class="pl-c1">props</span>: <span class="pl-kos">{</span>
<span class="pl-c1">date</span>: <span class="pl-k">new</span> <span class="pl-smi">Date</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-k">function</span> <span class="pl-smi">Page</span><span class="pl-kos">(</span><span class="pl-kos">{</span> products <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos"><</span><span class="pl-smi">div</span><span class="pl-kos">></span><span class="pl-s1">hello</span> <span class="pl-s1">world</span> <span class="pl-kos">{</span><span class="pl-s1">props</span><span class="pl-kos">.</span><span class="pl-c1">date</span> <span class="pl-k">instanceof</span> <span class="pl-smi">Date</span> ? <span class="pl-s">"true"</span> : <span class="pl-s">"false"</span><span class="pl-kos">}</span><span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-smi">div</span><span class="pl-c1">></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-en">_withSuperJSONPage</span><span class="pl-kos">(</span><span class="pl-smi">Page</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Interestingly, the error does not occur if you move the <code class="notranslate">export default</code> onto it's own line: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="784348146" data-permission-text="Title is private" data-url="https://github.com/blitz-js/babel-plugin-superjson-next/issues/29" data-hovercard-type="issue" data-hovercard-url="/blitz-js/babel-plugin-superjson-next/issues/29/hovercard?comment_id=760224611&comment_type=issue_comment" href="https://github.com/blitz-js/babel-plugin-superjson-next/issues/29#issuecomment-760224611">blitz-js/babel-plugin-superjson-next#29 (comment)</a></p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I would like to work on a fix! (provided you give me a hint in the right direction, and this is indeed a bug on Babel's side)</li>
</ul>
<p dir="auto"><strong>Current behavior</strong></p>
<p dir="auto">Repro: <a href="https://github.com/Skn0tt/babel-plugin-superjson-next-10.0.5-repro">Skn0tt/babel-plugin-superjson-next-10.0.5-repro</a></p>
<blockquote>
<p dir="auto">(FYI: Since Next bundles Babel, linking a local Babel package for debugging won't work.)</p>
</blockquote>
<p dir="auto"><strong>Expected behavior</strong><br>
I expected it not to crash.</p>
<p dir="auto"><strong>Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)</strong></p>
<p dir="auto">Next.js 10.0.5, babel-plugin-superjson-next.</p>
<p dir="auto"><strong>Environment</strong></p>
<ul dir="auto">
<li>Babel version(s): 7.12.10</li>
<li>Node/npm version: occurs on multiple versions</li>
<li>OS: occurs on multiple platforms</li>
<li>Monorepo: no</li>
<li>How you are using Babel: <code class="notranslate">webpack</code> / <code class="notranslate">next</code></li>
</ul>
<p dir="auto"><strong>Additional context</strong><br>
I was able to track the error down to this line:</p>
<p dir="auto"></p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/babel/babel/blob/6e9a174e7f70180a7ae7b7c01a2c988849666cf0/packages/babel-plugin-transform-react-jsx/src/create-plugin.js#L277">babel/packages/babel-plugin-transform-react-jsx/src/create-plugin.js</a>
</p>
<p class="mb-0 color-fg-muted">
Line 277
in
<a data-pjax="true" class="commit-tease-sha" href="/babel/babel/commit/6e9a174e7f70180a7ae7b7c01a2c988849666cf0">6e9a174</a>
</p>
</div>
<div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
<table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">
<tbody><tr class="border-0">
<td id="L277" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="277"></td>
<td id="LC277" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">const</span> <span class="pl-s1">node</span> <span class="pl-c1">=</span> <span class="pl-s1">t</span><span class="pl-kos">.</span><span class="pl-en">callExpression</span><span class="pl-kos">(</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s1">pass</span><span class="pl-kos">,</span> <span class="pl-s">`id/<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">name</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">args</span><span class="pl-kos">)</span><span class="pl-kos">;</span> </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">In my case, <code class="notranslate">name</code> is <code class="notranslate">"jsxs"</code>. So it tries to access <code class="notranslate">id/jsxs</code> from the plugin pass, which should have been defined here:</p>
<p dir="auto"></p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/babel/babel/blob/6e9a174e7f70180a7ae7b7c01a2c988849666cf0/packages/babel-plugin-transform-react-jsx/src/create-plugin.js#L205">babel/packages/babel-plugin-transform-react-jsx/src/create-plugin.js</a>
</p>
<p class="mb-0 color-fg-muted">
Line 205
in
<a data-pjax="true" class="commit-tease-sha" href="/babel/babel/commit/6e9a174e7f70180a7ae7b7c01a2c988849666cf0">6e9a174</a>
</p>
</div>
<div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
<table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">
<tbody><tr class="border-0">
<td id="L205" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="205"></td>
<td id="LC205" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-en">define</span><span class="pl-kos">(</span><span class="pl-s">"id/jsxs"</span><span class="pl-kos">,</span> <span class="pl-s1">development</span> ? <span class="pl-s">"jsxDEV"</span> : <span class="pl-s">"jsxs"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">Since this is in <code class="notranslate">Program#enter</code>, this should have run before, but it didn't.</p>
<p dir="auto">I'm out of ideas and would very much appreciate your thoughts <g-emoji class="g-emoji" alias="relaxed" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/263a.png">☺️</g-emoji></p> | <h2 dir="auto">Bug Report</h2>
<p dir="auto">Hi there 👋 So from this morning around 08:30GMT we are seeing the following error when we try to compile our code with Rollup. Here is the stack trace that we are seeing.....</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/15871032/101793507-c8818380-3afd-11eb-9de5-1e2b510daa30.png"><img src="https://user-images.githubusercontent.com/15871032/101793507-c8818380-3afd-11eb-9de5-1e2b510daa30.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">It looks to be able the same time you published an update to @babel/plugin-transform-react-jsx recently.</p>
<p dir="auto">Here is the setup of Babel packages we are using.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""@babel/cli": "7.2.0",
"@babel/core": "7.2.0",
"@babel/eslint-parser": "^7.11.3",
"@babel/plugin-proposal-class-properties": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/plugin-transform-spread": "7.2.0",
"@babel/preset-env": "7.2.0",
"@babel/preset-react": "7.0.0",
"babel-core": "7.0.0-bridge.0",
"babel-loader": "8.0.4",
"babel-plugin-add-react-displayname": "0.0.5",
"babel-plugin-file-loader": "1.1.1",
"babel-plugin-inline-import-data-uri": "1.0.1",
"babel-plugin-inline-react-svg": "1.1.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-transform-replace-object-assign": "^2.0.0","><pre class="notranslate"><code class="notranslate">"@babel/cli": "7.2.0",
"@babel/core": "7.2.0",
"@babel/eslint-parser": "^7.11.3",
"@babel/plugin-proposal-class-properties": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/plugin-transform-spread": "7.2.0",
"@babel/preset-env": "7.2.0",
"@babel/preset-react": "7.0.0",
"babel-core": "7.0.0-bridge.0",
"babel-loader": "8.0.4",
"babel-plugin-add-react-displayname": "0.0.5",
"babel-plugin-file-loader": "1.1.1",
"babel-plugin-inline-import-data-uri": "1.0.1",
"babel-plugin-inline-react-svg": "1.1.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-transform-replace-object-assign": "^2.0.0",
</code></pre></div>
<p dir="auto">Is there anything you suggest we should do instead?</p>
<p dir="auto"><strong>Environment</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate">
</code></pre></div>
<ul dir="auto">
<li>Node/npm version: 10.15.3</li>
<li>OS: Windows</li>
<li>Monorepo: No</li>
<li>How you are using Babel: Rollup</li>
</ul> | 1 |
<ul dir="auto">
<li>Your Windows build number: (Type <code class="notranslate">ver</code> at a Windows Command Prompt)</li>
</ul>
<p dir="auto">Microsoft Windows [Version 10.0.17763.292]</p>
<ul dir="auto">
<li>What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)</li>
</ul>
<p dir="auto">When using the new ConPTY feature it seems there is some behind the scenes optimisation happening surrounding colours that is assuming colour state. For example when using the default background/foreground escape sequences ([49m/[39m), they are either getting removed or changed into a reset sequence ([m), this make it difficult to write a frontend to ConPTY that wants to for example have a window background colour that isn't one of the colours specified by the escape sequences. (i.e. where [m and [49m would do different things).</p>
<p dir="auto">And example of this is at <a href="https://github.com/brads55/conpty-testcase">https://github.com/brads55/conpty-testcase</a> (based on the EchoCon sample), where the following can be seen:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8070284/51805191-5766b900-2262-11e9-95a9-ef6268d29990.png"><img src="https://user-images.githubusercontent.com/8070284/51805191-5766b900-2262-11e9-95a9-ef6268d29990.png" alt="testcase" style="max-width: 100%;"></a></p>
<p dir="auto">I also suspect this is the cause of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="372725082" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/293" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/293/hovercard" href="https://github.com/microsoft/terminal/issues/293">#293</a>.</p>
<ul dir="auto">
<li>What's wrong / what should be happening instead:</li>
</ul>
<p dir="auto">It would be great if either these optimisations didn't happen or there was at least a way of disabling them in order to get the real raw escape sequences.</p> | <p dir="auto">bash repro: <code class="notranslate">echo -e '\x1b[40mabc'</code><br>
powershell repro: <code class="notranslate">Write-Host -BackgroundColor Black "Hello"</code></p>
<p dir="auto">Expected (conhost/powershell.exe):</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2193314/47322816-4593cb00-d60e-11e8-868e-3eed3f982faf.png"><img src="https://user-images.githubusercontent.com/2193314/47322816-4593cb00-d60e-11e8-868e-3eed3f982faf.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Actual (vscode/conpty):</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2193314/47322787-21d08500-d60e-11e8-8245-7ba4a1c0e8b3.png"><img src="https://user-images.githubusercontent.com/2193314/47322787-21d08500-d60e-11e8-8245-7ba4a1c0e8b3.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/2193314/47322839-547a7d80-d60e-11e8-99ab-e25df61c19cf.png"><img src="https://user-images.githubusercontent.com/2193314/47322839-547a7d80-d60e-11e8-99ab-e25df61c19cf.png" alt="image" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=simonwg" rel="nofollow">Simon Wong</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9479?redirect=false" rel="nofollow">SPR-9479</a></strong> and commented</p>
<p dir="auto">The Spring reference didn't mention that I MUST use <code class="notranslate">@Configuration</code> for the configuration class being imported. And I found that the bean could be created normally most of the time.</p>
<p dir="auto">The case I found that if <code class="notranslate">@Configuration</code> is missing, transaction is not behave normally in some cases.</p>
<p dir="auto">I have setup a simple program to illustrate this. Please refer to "readme.txt" for the running procedures. From the log, I have checked that the transaction commit command has been issued, but the end result is the value is not committed.</p>
<p dir="auto">In the example, I have already used SingleConnectionDataSource, to avoid multiple database connection issue.</p>
<p dir="auto">I have also tried to move the <code class="notranslate">@EnableTransactionManagement</code> and transactionManager() to other Spring Java Config class (no matter with/without <code class="notranslate">@Configuration</code>), but the problem still occurs.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1.1</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/19822/TestSpring31Transaction.zip" rel="nofollow">TestSpring31Transaction.zip</a> (<em>8.20 kB</em>)</li>
</ul>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398116814" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13690" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13690/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13690">#13690</a> spring-test allows you to reference configuration classes that aren't annotated with <code class="notranslate">@Configuration</code> (<em><strong>"duplicates"</strong></em>)</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=kdonald" rel="nofollow">Keith Donald</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9051?redirect=false" rel="nofollow">SPR-9051</a></strong> and commented</p>
<p dir="auto">When a <code class="notranslate">@ContextConfiguration</code> test class references a config class missing a <code class="notranslate">@Configuration</code> annotation, <code class="notranslate">@Bean</code> dependencies are wired successfully but the bean lifecycle is not applied (no init methods are invoked, for example). Adding the missing <code class="notranslate">@Configuration</code> annotation solves the problem, however the problem and solution isn't obvious since wiring/injection appeared to work.</p>
<p dir="auto">It would be better if an integration test failed-fast if you reference a config class with no <code class="notranslate">@Configuration</code> annotation.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1 GA</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398151012" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14114" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14114/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14114">#14114</a> Missing <code class="notranslate">@Configuration</code> annotation will cause transaction not working (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398150646" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14061" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14061/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14061">#14061</a> Document <code class="notranslate">@Bean</code> 'lite' mode and annotated classes in the reference manual</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398157839" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/15002" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/15002/hovercard" href="https://github.com/spring-projects/spring-framework/issues/15002">#15002</a> Log warning when using inner-bean referenced without <code class="notranslate">@Configuration</code></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398161996" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/15599" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/15599/hovercard" href="https://github.com/spring-projects/spring-framework/issues/15599">#15599</a> Throw exception when <code class="notranslate">@ContextConfiguration</code>#classes are not annotated with <code class="notranslate">@Configuration</code></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398150475" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14037" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14037/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14037">#14037</a> Improve documentation for <code class="notranslate">@Bean</code> 'lite' mode and annotated class support in the TestContext Framework (<em><strong>"is superseded by"</strong></em>)</li>
</ul>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/500a4dd99579b00027918abda7d4d74f2a65b3a9/hovercard" href="https://github.com/spring-projects/spring-framework/commit/500a4dd99579b00027918abda7d4d74f2a65b3a9"><tt>500a4dd</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/2017b24867c6b009cad316960a84a7f55bec58c5/hovercard" href="https://github.com/spring-projects/spring-framework/commit/2017b24867c6b009cad316960a84a7f55bec58c5"><tt>2017b24</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/1cec0f9c6575edb9f81ef39a7019b5d3edc0d656/hovercard" href="https://github.com/spring-projects/spring-framework/commit/1cec0f9c6575edb9f81ef39a7019b5d3edc0d656"><tt>1cec0f9</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/78c6d70f0b3123d53708544324a8bbc734b81251/hovercard" href="https://github.com/spring-projects/spring-framework/commit/78c6d70f0b3123d53708544324a8bbc734b81251"><tt>78c6d70</tt></a></p>
<p dir="auto">0 votes, 5 watchers</p> | 1 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">yum</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.1.2.0"><pre class="notranslate"><code class="notranslate">ansible 2.1.2.0
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Running on Ubuntu 14.04<br>
Managing CentOS 7.2</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">The tasks outputs OK but actually failed. This happens only when using with_items.<br>
Because of the wrong output. In Big playbooks it's hard to find the error.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
---
- name: Test yum install
hosts: somehost
tasks:
- name: install package
become: yes
yum:
state: present
name: "{{ item }}"
with_items:
- bash
- doesnotexist"><pre class="notranslate"><code class="notranslate">
---
- name: Test yum install
hosts: somehost
tasks:
- name: install package
become: yes
yum:
state: present
name: "{{ item }}"
with_items:
- bash
- doesnotexist
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [install package] *********************************************************
fatal: [somehost]: FAILED! => {"changed": false, "failed": true, "msg": "No Package matching 'doesnotexisthere' found available, installed or updated", "rc": 0, "results": []}"><pre class="notranslate"><code class="notranslate">TASK [install package] *********************************************************
fatal: [somehost]: FAILED! => {"changed": false, "failed": true, "msg": "No Package matching 'doesnotexisthere' found available, installed or updated", "rc": 0, "results": []}
</code></pre></div>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [install package] *********************************************************
ok: [somehost] => (item=[u'bash', u'doesnotexist'])
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @/home/user/stuff/ansible/playbooks/test.retry
PLAY RECAP *********************************************************************
somehost : ok=0 changed=0 unreachable=0 failed=1
"><pre class="notranslate"><code class="notranslate">TASK [install package] *********************************************************
ok: [somehost] => (item=[u'bash', u'doesnotexist'])
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @/home/user/stuff/ansible/playbooks/test.retry
PLAY RECAP *********************************************************************
somehost : ok=0 changed=0 unreachable=0 failed=1
</code></pre></div> | <p dir="auto">I looked but couldn't see an obvious issue for this</p>
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible-playbook 2.1.0.0
config file = /Users/g.lynch/git/tos/ansible_pulp/ansible.cfg
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible-playbook 2.1.0.0
config file = /Users/g.lynch/git/tos/ansible_pulp/ansible.cfg
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[defaults]
inventory = hosts
roles_path = roles
retry_files_enabled = False"><pre class="notranslate"><code class="notranslate">[defaults]
inventory = hosts
roles_path = roles
retry_files_enabled = False
</code></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Docker container FROM: centos:6.8</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Using yum and with_items returns OK instead of FATAL in the task, followed by NO MORE HOSTS LEFT, when an item fails.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# foo.yml
---
- hosts: all
vars:
mongodb_packages:
- name: mongodb-server
tasks:
- name: configure the packages
yum:
name: "{{ item.name }}"
state: "{{ item.state|default('present') }}"
with_items: "{{ mongodb_packages }}""><pre class="notranslate"><code class="notranslate"># foo.yml
---
- hosts: all
vars:
mongodb_packages:
- name: mongodb-server
tasks:
- name: configure the packages
yum:
name: "{{ item.name }}"
state: "{{ item.state|default('present') }}"
with_items: "{{ mongodb_packages }}"
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="docker run -dt --name centos68 centos:6.8 /sbin/init
ansible-playbook -i 'centos68,' foo.yml -c docker -vvv"><pre class="notranslate"><code class="notranslate">docker run -dt --name centos68 centos:6.8 /sbin/init
ansible-playbook -i 'centos68,' foo.yml -c docker -vvv
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">The task should output an obvious fatal message</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal: [centos68]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_args": {"conf_file": null, "disable_gpg_check": false, "disablerepo": null, "enablerepo": null, "exclude": null, "install_repoquery": true, "list": null, "name": ["mongodb-server"], "state": "present", "update_cache": false, "validate_certs": true}, "module_name": "yum"}, "msg": "No Package matching 'mongodb-server' found available, installed or updated", "rc": 0, "results": []}"><pre class="notranslate"><code class="notranslate">fatal: [centos68]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_args": {"conf_file": null, "disable_gpg_check": false, "disablerepo": null, "enablerepo": null, "exclude": null, "install_repoquery": true, "list": null, "name": ["mongodb-server"], "state": "present", "update_cache": false, "validate_certs": true}, "module_name": "yum"}, "msg": "No Package matching 'mongodb-server' found available, installed or updated", "rc": 0, "results": []}
</code></pre></div>
<p dir="auto">Note I get the fatal message if I remove the with_items.</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">I get an OK response followed by an initially confusing NO MORE HOSTS LEFT message</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-playbook -i 'centos68,' foo.yml -c docker -vvv
Using /tmp/ansible.cfg as config file
PLAYBOOK: foo.yml **************************************************************
1 plays in foo.yml
PLAY [all] *********************************************************************
TASK [setup] *******************************************************************
<centos68> ESTABLISH DOCKER CONNECTION FOR USER: root
<centos68> EXEC ['/usr/local/bin/docker', 'exec', '-i', 'centos68', u'/bin/sh', '-c', u'/bin/sh -c \'( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1467802796.84-176847019920783 `" && echo ansible-tmp-1467802796.84-176847019920783="` echo $HOME/.ansible/tmp/ansible-tmp-1467802796.84-176847019920783 `" ) && sleep 0\'']
<centos68> PUT /var/folders/_j/pvqg__g512v5jgc3kl9vnlvd_6vfxx/T/tmpEkhN1i TO /root/.ansible/tmp/ansible-tmp-1467802796.84-176847019920783/setup
<centos68> EXEC ['/usr/local/bin/docker', 'exec', '-i', 'centos68', u'/bin/sh', '-c', u'/bin/sh -c \'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1467802796.84-176847019920783/setup; rm -rf "/root/.ansible/tmp/ansible-tmp-1467802796.84-176847019920783/" > /dev/null 2>&1 && sleep 0\'']
ok: [centos68]
TASK [configure the packages] **************************************************
task path: /tmp/foo.yml:7
<centos68> ESTABLISH DOCKER CONNECTION FOR USER: root
<centos68> EXEC ['/usr/local/bin/docker', 'exec', '-i', 'centos68', u'/bin/sh', '-c', u'/bin/sh -c \'( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1467802797.72-8724224930718 `" && echo ansible-tmp-1467802797.72-8724224930718="` echo $HOME/.ansible/tmp/ansible-tmp-1467802797.72-8724224930718 `" ) && sleep 0\'']
<centos68> PUT /var/folders/_j/pvqg__g512v5jgc3kl9vnlvd_6vfxx/T/tmpytRzHJ TO /root/.ansible/tmp/ansible-tmp-1467802797.72-8724224930718/yum
<centos68> EXEC ['/usr/local/bin/docker', 'exec', '-i', 'centos68', u'/bin/sh', '-c', u'/bin/sh -c \'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1467802797.72-8724224930718/yum; rm -rf "/root/.ansible/tmp/ansible-tmp-1467802797.72-8724224930718/" > /dev/null 2>&1 && sleep 0\'']
ok: [centos68] => (item={u'name': u'mongodb-server'}) => {"changed": false, "failed": true, "invocation": {"module_args": {"conf_file": null, "disable_gpg_check": false, "disablerepo": null, "enablerepo": null, "exclude": null, "install_repoquery": true, "list": null, "name": ["mongodb-server"], "state": "present", "update_cache": false, "validate_certs": true}, "module_name": "yum"}, "item": {"name": "mongodb-server"}, "msg": "No Package matching 'mongodb-server' found available, installed or updated", "rc": 0, "results": []}
NO MORE HOSTS LEFT *************************************************************
PLAY RECAP *********************************************************************
centos68 : ok=1 changed=0 unreachable=0 failed=1"><pre class="notranslate"><code class="notranslate">$ ansible-playbook -i 'centos68,' foo.yml -c docker -vvv
Using /tmp/ansible.cfg as config file
PLAYBOOK: foo.yml **************************************************************
1 plays in foo.yml
PLAY [all] *********************************************************************
TASK [setup] *******************************************************************
<centos68> ESTABLISH DOCKER CONNECTION FOR USER: root
<centos68> EXEC ['/usr/local/bin/docker', 'exec', '-i', 'centos68', u'/bin/sh', '-c', u'/bin/sh -c \'( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1467802796.84-176847019920783 `" && echo ansible-tmp-1467802796.84-176847019920783="` echo $HOME/.ansible/tmp/ansible-tmp-1467802796.84-176847019920783 `" ) && sleep 0\'']
<centos68> PUT /var/folders/_j/pvqg__g512v5jgc3kl9vnlvd_6vfxx/T/tmpEkhN1i TO /root/.ansible/tmp/ansible-tmp-1467802796.84-176847019920783/setup
<centos68> EXEC ['/usr/local/bin/docker', 'exec', '-i', 'centos68', u'/bin/sh', '-c', u'/bin/sh -c \'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1467802796.84-176847019920783/setup; rm -rf "/root/.ansible/tmp/ansible-tmp-1467802796.84-176847019920783/" > /dev/null 2>&1 && sleep 0\'']
ok: [centos68]
TASK [configure the packages] **************************************************
task path: /tmp/foo.yml:7
<centos68> ESTABLISH DOCKER CONNECTION FOR USER: root
<centos68> EXEC ['/usr/local/bin/docker', 'exec', '-i', 'centos68', u'/bin/sh', '-c', u'/bin/sh -c \'( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1467802797.72-8724224930718 `" && echo ansible-tmp-1467802797.72-8724224930718="` echo $HOME/.ansible/tmp/ansible-tmp-1467802797.72-8724224930718 `" ) && sleep 0\'']
<centos68> PUT /var/folders/_j/pvqg__g512v5jgc3kl9vnlvd_6vfxx/T/tmpytRzHJ TO /root/.ansible/tmp/ansible-tmp-1467802797.72-8724224930718/yum
<centos68> EXEC ['/usr/local/bin/docker', 'exec', '-i', 'centos68', u'/bin/sh', '-c', u'/bin/sh -c \'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1467802797.72-8724224930718/yum; rm -rf "/root/.ansible/tmp/ansible-tmp-1467802797.72-8724224930718/" > /dev/null 2>&1 && sleep 0\'']
ok: [centos68] => (item={u'name': u'mongodb-server'}) => {"changed": false, "failed": true, "invocation": {"module_args": {"conf_file": null, "disable_gpg_check": false, "disablerepo": null, "enablerepo": null, "exclude": null, "install_repoquery": true, "list": null, "name": ["mongodb-server"], "state": "present", "update_cache": false, "validate_certs": true}, "module_name": "yum"}, "item": {"name": "mongodb-server"}, "msg": "No Package matching 'mongodb-server' found available, installed or updated", "rc": 0, "results": []}
NO MORE HOSTS LEFT *************************************************************
PLAY RECAP *********************************************************************
centos68 : ok=1 changed=0 unreachable=0 failed=1
</code></pre></div> | 1 |
<p dir="auto">There seems to be a bug in the way React interfaces with controlled inputs of type number</p>
<p dir="auto">If the input contains an invalid number (let's say --2 or 2++), then trying to clear the input value by setting it to an empty string does nothing.</p>
<p dir="auto">You can check an example to reproduce there: <a href="https://jsfiddle.net/96bnn12r/2/" rel="nofollow">https://jsfiddle.net/96bnn12r/2/</a><br>
The onChange handler will set the controlled value to the value returned by ev.target.value.<br>
In the case of an invalid value, the input returns an empty string (as per html spec <a href="https://html.spec.whatwg.org/multipage/forms.html#states-of-the-type-attribute" rel="nofollow">https://html.spec.whatwg.org/multipage/forms.html#states-of-the-type-attribute</a> 4.10.5.1.12) so this should actually clear the input but the invalid input stays.</p>
<p dir="auto">When setting the input value to an empty string after entering an invalid value, it should clear the input content not keep the invalid value.</p>
<p dir="auto">Seen in React 0.14.8, 15.0.1, 15.1.0 on OSX Chrome v50, Firefox 46.0.1</p> | <p dir="auto">A controlled number input, without a corresponding <code class="notranslate">setState</code> function, still allows <code class="notranslate">e</code>, <code class="notranslate">-</code> and <code class="notranslate">.</code> to be entered (and numbers can be inputted afterwards). I could be incorrect but I don't believe this is the desired behavior.</p>
<p dir="auto"><a href="https://jsfiddle.net/vervujhm/" rel="nofollow">Here's a JSFiddle</a> demonstrating the issue.</p> | 1 |
<p dir="auto">This code (as reported in <a href="http://stackoverflow.com/questions/27634458/cast-type-to-mut" rel="nofollow">this SO question</a>):</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn foo(t: &mut int){
println!("{}", t);
}
fn main() {
let test = 10;
let h = move || {
let mut r = &mut test.clone();
foo(r);
};
h();
}"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-s1">t</span><span class="pl-kos">:</span> <span class="pl-c1">&</span><span class="pl-k">mut</span> <span class="pl-smi">int</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-en">println</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{}"</span>, t<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> test = <span class="pl-c1">10</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> h = <span class="pl-k">move</span> || <span class="pl-kos">{</span>
<span class="pl-k">let</span> <span class="pl-k">mut</span> r = <span class="pl-c1">&</span><span class="pl-k">mut</span> test<span class="pl-kos">.</span><span class="pl-en">clone</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>r<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-en">h</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">causes an assertion failure in LLVM code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Assertion failed: (S->getType()->isPtrOrPtrVectorTy() && "Invalid cast"), function CreatePointerCast, file /Users/rustbuild/src/rust-buildbot/slave/nightly-mac/build/src/llvm/lib/IR/Instructions.cpp, line 2522."><pre class="notranslate"><code class="notranslate">Assertion failed: (S->getType()->isPtrOrPtrVectorTy() && "Invalid cast"), function CreatePointerCast, file /Users/rustbuild/src/rust-buildbot/slave/nightly-mac/build/src/llvm/lib/IR/Instructions.cpp, line 2522.
</code></pre></div> | <h3 dir="auto">STR</h3>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn main() {
let n = 0u;
let f = move || n += 1;
}"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">let</span> n = <span class="pl-c1">0</span>u<span class="pl-kos">;</span>
<span class="pl-k">let</span> f = <span class="pl-k">move</span> || n += <span class="pl-c1">1</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<h3 dir="auto">Output</h3>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="rustc: /var/tmp/paludis/build/dev-lang-rust-scm/work/rust-scm/src/llvm/include/llvm/Support/Casting.h:237: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::PointerType; Y = llvm::Type; typename llvm::cast_retty<X, Y*>::ret_type = llvm::PointerType*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffeffff480 (LWP 12192)]
0x00007ffff6f638a7 in raise () from /lib64/libc.so.6
(gdb) backtrace
#0 0x00007ffff6f638a7 in raise () from /lib64/libc.so.6
#1 0x00007ffff6f64c3a in abort () from /lib64/libc.so.6
#2 0x00007ffff6f5c7fd in __assert_fail_base () from /lib64/libc.so.6
#3 0x00007ffff6f5c8b2 in __assert_fail () from /lib64/libc.so.6
#4 0x00007ffff261305c in ?? () from /usr/lib64/librustc_llvm-4e7c5e5c.so
#5 0x00007ffff33413ac in llvm::LoadInst::LoadInst(llvm::Value*, char const*, bool, llvm::Instruction*) () from /usr/lib64/librustc_llvm-4e7c5e5c.so
#6 0x00007ffff32a29bf in LLVMBuildLoad () from /usr/lib64/librustc_llvm-4e7c5e5c.so
#7 0x00007ffff7773334 in trans::builder::Builder$LT$$x27a$C$$x20$x27tcx$GT$::load::h3c2c0a39157367b2Gsr () from /usr/lib64/librustc_trans-4e7c5e5c.so
#8 0x00007ffff76f6f32 in trans::build::Load::hb999a33dee821b74Jnq () from /usr/lib64/librustc_trans-4e7c5e5c.so
#9 0x00007ffff772cc52 in ?? () from /usr/lib64/librustc_trans-4e7c5e5c.so
#10 0x00007ffff7720e0a in ?? () from /usr/lib64/librustc_trans-4e7c5e5c.so
#11 0x00007ffff76dd854 in trans::expr::trans_into::h7dc261a5d77d2dbciQh () from /usr/lib64/librustc_trans-4e7c5e5c.so
#12 0x00007ffff76ddadd in trans::controlflow::trans_block::h40e78d4cabd8c783p2d () from /usr/lib64/librustc_trans-4e7c5e5c.so
#13 0x00007ffff7790e50 in trans::base::trans_closure::h9baffc02e3bf0daf6Au () from /usr/lib64/librustc_trans-4e7c5e5c.so
#14 0x00007ffff7732f6e in trans::closure::trans_expr_fn::h04ecc83b7400adfaVWy () from /usr/lib64/librustc_trans-4e7c5e5c.so
#15 0x00007ffff771efca in ?? () from /usr/lib64/librustc_trans-4e7c5e5c.so
#16 0x00007ffff76dd746 in trans::expr::trans_into::h7dc261a5d77d2dbciQh () from /usr/lib64/librustc_trans-4e7c5e5c.so
#17 0x00007ffff77d64cd in ?? () from /usr/lib64/librustc_trans-4e7c5e5c.so
#18 0x00007ffff77d58b4 in ?? () from /usr/lib64/librustc_trans-4e7c5e5c.so
#19 0x00007ffff77881f4 in trans::_match::store_local::hdd8a0d2165cb659fx9x () from /usr/lib64/librustc_trans-4e7c5e5c.so
#20 0x00007ffff76dcd0e in trans::base::init_local::h0bd956a2c65b5d51NIt () from /usr/lib64/librustc_trans-4e7c5e5c.so
#21 0x00007ffff76dc332 in trans::controlflow::trans_stmt::h3a5fa88dc3d60c9fhXd () from /usr/lib64/librustc_trans-4e7c5e5c.so
#22 0x00007ffff76dd9d9 in trans::controlflow::trans_block::h40e78d4cabd8c783p2d () from /usr/lib64/librustc_trans-4e7c5e5c.so
#23 0x00007ffff7790e50 in trans::base::trans_closure::h9baffc02e3bf0daf6Au () from /usr/lib64/librustc_trans-4e7c5e5c.so
#24 0x00007ffff76d0a77 in trans::base::trans_fn::h114729a05667bb1dWMu () from /usr/lib64/librustc_trans-4e7c5e5c.so
#25 0x00007ffff76cdc8e in trans::base::trans_item::h7c2b438b1bce4863G8u () from /usr/lib64/librustc_trans-4e7c5e5c.so
#26 0x00007ffff779a408 in trans::base::trans_crate::he69e63600c94fe5506v () from /usr/lib64/librustc_trans-4e7c5e5c.so
#27 0x00007ffff7844945 in driver::driver::phase_4_translate_to_llvm::h81bcee50dff289e18oS () from /usr/lib64/librustc_trans-4e7c5e5c.so
#28 0x00007ffff7834105 in driver::driver::compile_input::h117f94c1b348a398YVR () from /usr/lib64/librustc_trans-4e7c5e5c.so
#29 0x00007ffff78b7cd7 in ?? () from /usr/lib64/librustc_trans-4e7c5e5c.so
#30 0x00007ffff78b62fc in ?? () from /usr/lib64/librustc_trans-4e7c5e5c.so
#31 0x00007ffff76c2f78 in ?? () from /usr/lib64/librustc_trans-4e7c5e5c.so
#32 0x00007ffff76c2e83 in ?? () from /usr/lib64/librustc_trans-4e7c5e5c.so
#33 0x00007ffff7bd6be2 in ?? () from /usr/lib64/libnative-4e7c5e5c.so
#34 0x00007ffff7390fec in ?? () from /usr/lib64/librustrt-4e7c5e5c.so
#35 0x00007ffff7390fd6 in rust_try () from /usr/lib64/librustrt-4e7c5e5c.so
#36 0x00007ffff733f843 in unwind::try::h03ead95328113b2fIZc () from /usr/lib64/librustrt-4e7c5e5c.so
#37 0x00007ffff733f70c in task::Task::run::hed7dc0cf620a0172y5b () from /usr/lib64/librustrt-4e7c5e5c.so
#38 0x00007ffff7bd69e7 in ?? () from /usr/lib64/libnative-4e7c5e5c.so
#39 0x00007ffff7340f35 in ?? () from /usr/lib64/librustrt-4e7c5e5c.so
#40 0x00007ffff1e0e294 in start_thread () from /lib64/libpthread.so.0
#41 0x00007ffff70181ed in clone () from /lib64/libc.so.6"><pre class="notranslate">rustc<span class="pl-kos">:</span> /var/tmp/paludis/build/dev-lang-rust-scm/work/rust-scm/src/llvm/include/llvm/<span class="pl-v">Support</span>/<span class="pl-v">Casting</span><span class="pl-kos">.</span><span class="pl-c1">h</span><span class="pl-kos">:</span><span class="pl-c1">237</span><span class="pl-kos">:</span> typename llvm<span class="pl-kos">::</span>cast_retty<<span class="pl-v">X</span><span class="pl-kos">,</span> <span class="pl-v">Y</span><span class="pl-c1">*</span>><span class="pl-kos">::</span><span class="pl-smi">ret_type</span> llvm<span class="pl-kos">::</span>cast<span class="pl-kos">(</span><span class="pl-v">Y</span><span class="pl-c1">*</span><span class="pl-kos">)</span> <span class="pl-kos">[</span>with <span class="pl-v">X</span> = llvm<span class="pl-kos">::</span><span class="pl-v">PointerType</span><span class="pl-kos">;</span> <span class="pl-v">Y</span> = llvm<span class="pl-kos">::</span><span class="pl-v">Type</span><span class="pl-kos">;</span> typename llvm<span class="pl-kos">::</span>cast_retty<<span class="pl-v">X</span><span class="pl-kos">,</span> <span class="pl-v">Y</span><span class="pl-c1">*</span>><span class="pl-kos">::</span>ret_type = llvm<span class="pl-kos">::</span><span class="pl-v">PointerType</span><span class="pl-c1">*</span><span class="pl-kos">]</span><span class="pl-kos">:</span> <span class="pl-v">Assertion</span> `isa<<span class="pl-v">X</span>><span class="pl-kos">(</span><span class="pl-v">Val</span><span class="pl-kos">)</span> && <span class="pl-s">"cast<Ty>() argument of incompatible type!"</span><span class="pl-c1">'</span> failed<span class="pl-kos">.</span>
<span class="pl-c1">Program</span> received signal <span class="pl-v">SIGABRT</span><span class="pl-kos">,</span> <span class="pl-v">Aborted</span><span class="pl-kos">.</span>
<span class="pl-kos">[</span><span class="pl-v">Switching</span> to <span class="pl-v">Thread</span> <span class="pl-c1">0x7fffeffff480</span> <span class="pl-kos">(</span><span class="pl-v">LWP</span> <span class="pl-c1">12192</span><span class="pl-kos">)</span><span class="pl-kos">]</span>
<span class="pl-c1">0x00007ffff6f638a7</span> <span class="pl-k">in</span> <span class="pl-en">raise</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /lib64/libc<span class="pl-kos">.</span><span class="pl-c1">so</span><span class="pl-kos">.</span><span class="pl-c1">6</span>
<span class="pl-kos">(</span>gdb<span class="pl-kos">)</span> backtrace
#<span class="pl-c1">0</span> <span class="pl-c1">0x00007ffff6f638a7</span> <span class="pl-k">in</span> <span class="pl-en">raise</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /lib64/libc<span class="pl-kos">.</span><span class="pl-c1">so</span><span class="pl-kos">.</span><span class="pl-c1">6</span>
#<span class="pl-c1">1</span> <span class="pl-c1">0x00007ffff6f64c3a</span> <span class="pl-k">in</span> <span class="pl-en">abort</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /lib64/libc<span class="pl-kos">.</span><span class="pl-c1">so</span><span class="pl-kos">.</span><span class="pl-c1">6</span>
#<span class="pl-c1">2</span> <span class="pl-c1">0x00007ffff6f5c7fd</span> <span class="pl-k">in</span> <span class="pl-en">__assert_fail_base</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /lib64/libc<span class="pl-kos">.</span><span class="pl-c1">so</span><span class="pl-kos">.</span><span class="pl-c1">6</span>
#<span class="pl-c1">3</span> <span class="pl-c1">0x00007ffff6f5c8b2</span> <span class="pl-k">in</span> <span class="pl-en">__assert_fail</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /lib64/libc<span class="pl-kos">.</span><span class="pl-c1">so</span><span class="pl-kos">.</span><span class="pl-c1">6</span>
#<span class="pl-c1">4</span> <span class="pl-c1">0x00007ffff261305c</span> <span class="pl-k">in</span> ?? <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_llvm-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">5</span> <span class="pl-c1">0x00007ffff33413ac</span> in llvm<span class="pl-kos">::</span><span class="pl-smi">LoadInst</span><span class="pl-kos">::</span><span class="pl-v">LoadInst</span><span class="pl-kos">(</span>llvm<span class="pl-kos">::</span><span class="pl-v">Value</span><span class="pl-c1">*</span><span class="pl-kos">,</span> char const<span class="pl-c1">*</span><span class="pl-kos">,</span> bool<span class="pl-kos">,</span> llvm<span class="pl-kos">::</span><span class="pl-v">Instruction</span><span class="pl-c1">*</span><span class="pl-kos">)</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_llvm-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">6</span> <span class="pl-c1">0x00007ffff32a29bf</span> in <span class="pl-v">LLVMBuildLoad</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_llvm-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">7</span> <span class="pl-c1">0x00007ffff7773334</span> in trans<span class="pl-kos">::</span>builder<span class="pl-kos">::</span><span class="pl-smi">Builder</span>$LT$$x27a$C$$x20$x27tcx$GT$<span class="pl-kos">::</span>load<span class="pl-kos">::</span><span class="pl-en">h3c2c0a39157367b2Gsr</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">8</span> <span class="pl-c1">0x00007ffff76f6f32</span> in trans<span class="pl-kos">::</span>build<span class="pl-kos">::</span><span class="pl-smi">Load</span><span class="pl-kos">::</span><span class="pl-en">hb999a33dee821b74Jnq</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">9</span> <span class="pl-c1">0x00007ffff772cc52</span> in ?? <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">10</span> <span class="pl-c1">0x00007ffff7720e0a</span> in ?? <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">11</span> <span class="pl-c1">0x00007ffff76dd854</span> in trans<span class="pl-kos">::</span>expr<span class="pl-kos">::</span>trans_into<span class="pl-kos">::</span><span class="pl-en">h7dc261a5d77d2dbciQh</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">12</span> <span class="pl-c1">0x00007ffff76ddadd</span> in trans<span class="pl-kos">::</span>controlflow<span class="pl-kos">::</span>trans_block<span class="pl-kos">::</span><span class="pl-en">h40e78d4cabd8c783p2d</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">13</span> <span class="pl-c1">0x00007ffff7790e50</span> in trans<span class="pl-kos">::</span>base<span class="pl-kos">::</span>trans_closure<span class="pl-kos">::</span><span class="pl-en">h9baffc02e3bf0daf6Au</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">14</span> <span class="pl-c1">0x00007ffff7732f6e</span> in trans<span class="pl-kos">::</span>closure<span class="pl-kos">::</span>trans_expr_fn<span class="pl-kos">::</span><span class="pl-en">h04ecc83b7400adfaVWy</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">15</span> <span class="pl-c1">0x00007ffff771efca</span> in ?? <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">16</span> <span class="pl-c1">0x00007ffff76dd746</span> in trans<span class="pl-kos">::</span>expr<span class="pl-kos">::</span>trans_into<span class="pl-kos">::</span><span class="pl-en">h7dc261a5d77d2dbciQh</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">17</span> <span class="pl-c1">0x00007ffff77d64cd</span> in ?? <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">18</span> <span class="pl-c1">0x00007ffff77d58b4</span> in ?? <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">19</span> <span class="pl-c1">0x00007ffff77881f4</span> in trans<span class="pl-kos">::</span>_match<span class="pl-kos">::</span>store_local<span class="pl-kos">::</span><span class="pl-en">hdd8a0d2165cb659fx9x</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">20</span> <span class="pl-c1">0x00007ffff76dcd0e</span> in trans<span class="pl-kos">::</span>base<span class="pl-kos">::</span>init_local<span class="pl-kos">::</span><span class="pl-en">h0bd956a2c65b5d51NIt</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">21</span> <span class="pl-c1">0x00007ffff76dc332</span> in trans<span class="pl-kos">::</span>controlflow<span class="pl-kos">::</span>trans_stmt<span class="pl-kos">::</span><span class="pl-en">h3a5fa88dc3d60c9fhXd</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">22</span> <span class="pl-c1">0x00007ffff76dd9d9</span> in trans<span class="pl-kos">::</span>controlflow<span class="pl-kos">::</span>trans_block<span class="pl-kos">::</span><span class="pl-en">h40e78d4cabd8c783p2d</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">23</span> <span class="pl-c1">0x00007ffff7790e50</span> in trans<span class="pl-kos">::</span>base<span class="pl-kos">::</span>trans_closure<span class="pl-kos">::</span><span class="pl-en">h9baffc02e3bf0daf6Au</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">24</span> <span class="pl-c1">0x00007ffff76d0a77</span> in trans<span class="pl-kos">::</span>base<span class="pl-kos">::</span>trans_fn<span class="pl-kos">::</span><span class="pl-en">h114729a05667bb1dWMu</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">25</span> <span class="pl-c1">0x00007ffff76cdc8e</span> in trans<span class="pl-kos">::</span>base<span class="pl-kos">::</span>trans_item<span class="pl-kos">::</span><span class="pl-en">h7c2b438b1bce4863G8u</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">26</span> <span class="pl-c1">0x00007ffff779a408</span> in trans<span class="pl-kos">::</span>base<span class="pl-kos">::</span>trans_crate<span class="pl-kos">::</span><span class="pl-en">he69e63600c94fe5506v</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">27</span> <span class="pl-c1">0x00007ffff7844945</span> in driver<span class="pl-kos">::</span>driver<span class="pl-kos">::</span>phase_4_translate_to_llvm<span class="pl-kos">::</span><span class="pl-en">h81bcee50dff289e18oS</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">28</span> <span class="pl-c1">0x00007ffff7834105</span> in driver<span class="pl-kos">::</span>driver<span class="pl-kos">::</span>compile_input<span class="pl-kos">::</span><span class="pl-en">h117f94c1b348a398YVR</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">29</span> <span class="pl-c1">0x00007ffff78b7cd7</span> in ?? <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">30</span> <span class="pl-c1">0x00007ffff78b62fc</span> in ?? <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">31</span> <span class="pl-c1">0x00007ffff76c2f78</span> in ?? <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">32</span> <span class="pl-c1">0x00007ffff76c2e83</span> in ?? <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustc_trans-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">33</span> <span class="pl-c1">0x00007ffff7bd6be2</span> in ?? <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/libnative-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">34</span> <span class="pl-c1">0x00007ffff7390fec</span> in ?? <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustrt-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">35</span> <span class="pl-c1">0x00007ffff7390fd6</span> in <span class="pl-en">rust_try</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustrt-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">36</span> <span class="pl-c1">0x00007ffff733f843</span> in unwind<span class="pl-kos">::</span>try<span class="pl-kos">::</span><span class="pl-en">h03ead95328113b2fIZc</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustrt-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">37</span> <span class="pl-c1">0x00007ffff733f70c</span> in task<span class="pl-kos">::</span><span class="pl-smi">Task</span><span class="pl-kos">::</span>run<span class="pl-kos">::</span><span class="pl-en">hed7dc0cf620a0172y5b</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustrt-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">38</span> <span class="pl-c1">0x00007ffff7bd69e7</span> in ?? <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/libnative-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">39</span> <span class="pl-c1">0x00007ffff7340f35</span> in ?? <span class="pl-kos">(</span><span class="pl-kos">)</span> from /usr/lib64/librustrt-<span class="pl-c1">4e7</span>c5e5c<span class="pl-kos">.</span><span class="pl-c1">so</span>
#<span class="pl-c1">40</span> <span class="pl-c1">0x00007ffff1e0e294</span> in <span class="pl-en">start_thread</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> from /lib64/libpthread<span class="pl-kos">.</span><span class="pl-c1">so</span><span class="pl-kos">.</span><span class="pl-c1">0</span>
#<span class="pl-c1">41</span> <span class="pl-c1">0x00007ffff70181ed</span> <span class="pl-k">in</span> clone <span class="pl-kos">(</span><span class="pl-kos">)</span> from /lib64/libc<span class="pl-kos">.</span><span class="pl-c1">so</span><span class="pl-kos">.</span><span class="pl-c1">6</span></pre></div>
<h3 dir="auto">Version</h3>
<p dir="auto">PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="49429229" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/19113" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/19113/hovercard" href="https://github.com/rust-lang/rust/pull/19113">#19113</a> on top of <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/399ff259e18c1061aa4ea60856fcecb486d36624/hovercard" href="https://github.com/rust-lang/rust/commit/399ff259e18c1061aa4ea60856fcecb486d36624"><tt>399ff25</tt></a></p>
<p dir="auto">It also fails in <a href="http://is.gd/VUzOln" rel="nofollow">the playpen</a>, which has version:</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="rustc 0.13.0-dev (8ed288edb 2014-11-06 16:52:09 +0000)"><pre class="notranslate">rustc <span class="pl-c1">0.13</span><span class="pl-kos">.</span><span class="pl-c1">0</span>-<span class="pl-en">dev</span> <span class="pl-kos">(</span><span class="pl-c1">8</span>ed288edb <span class="pl-c1">2014</span>-<span class="pl-c1">11</span>-<span class="pl-c1">06</span> <span class="pl-c1">16</span><span class="pl-kos">:</span><span class="pl-c1">52</span><span class="pl-kos">:</span><span class="pl-c1">09</span> +<span class="pl-c1">0000</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">I think we're not supposed to use the <code class="notranslate">move</code> keyword with boxed closures?</p> | 1 |
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto"><a href="https://threejs.org/examples/webgl_water_flowmap.html" rel="nofollow">https://threejs.org/examples/webgl_water_flowmap.html</a> works in Safari/Firefox, but not Chrome</p>
<p dir="auto"><strong>To Reproduce</strong></p>
<p dir="auto">Steps to reproduce the behavior:</p>
<ol dir="auto">
<li>In Chrome (Version 85.0.4183.121)</li>
<li>Go to <a href="https://threejs.org/examples/webgl_water_flowmap.html" rel="nofollow">https://threejs.org/examples/webgl_water_flowmap.html</a></li>
<li>Water doesn't flow. No errors in console.</li>
</ol>
<p dir="auto"><em><strong>Code</strong></em></p>
<p dir="auto"><a href="https://github.com/mrdoob/three.js/blob/dev/examples/webgl_water_flowmap.html">https://github.com/mrdoob/three.js/blob/dev/examples/webgl_water_flowmap.html</a></p>
<p dir="auto"><em><strong>Live example</strong></em></p>
<p dir="auto"><a href="https://threejs.org/examples/webgl_water_flowmap.html" rel="nofollow">https://threejs.org/examples/webgl_water_flowmap.html</a></p>
<p dir="auto"><strong>Expected behavior</strong></p>
<p dir="auto">Example works</p>
<p dir="auto"><strong>Screenshots</strong></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4033249/95474183-68644900-09b7-11eb-8a64-8ba788694eb6.jpg"><img src="https://user-images.githubusercontent.com/4033249/95474183-68644900-09b7-11eb-8a64-8ba788694eb6.jpg" alt="Screen Shot 2020-10-08 at 10 40 29 PM" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Platform:</strong></p>
<ul dir="auto">
<li>Device: Desktop</li>
<li>OS: MacOS 10.15.7</li>
<li>Browser: Chrome Version 85.0.4183.121</li>
<li>Three.js version: dev</li>
</ul>
<p dir="auto">I first noticed this issue while browsing and studying <a href="http://swamp.lt/" rel="nofollow">http://swamp.lt/</a>. I remember it was working in a Chrome version 3 months ago when I first see it. FYI <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Mugen87/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Mugen87">@Mugen87</a></p> | <h5 dir="auto">Description of the problem</h5>
<p dir="auto">No errors or warnings in the console (some discrepancy in the shader code for my old computer's gpu?), and no water:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1641058/54844342-11036880-4cad-11e9-92dd-7e681e55718b.png"><img width="1272" alt="Screen Shot 2019-03-22 at 2 16 09 PM" src="https://user-images.githubusercontent.com/1641058/54844342-11036880-4cad-11e9-92dd-7e681e55718b.png" style="max-width: 100%;"></a></p>
<p dir="auto">It renders fine in other browsers.</p>
<h5 dir="auto">Three.js version</h5>
<p dir="auto">Viewed from the latest website examples (<a href="https://threejs.org/examples/?q=water#webgl_water" rel="nofollow">https://threejs.org/examples/?q=water#webgl_water</a>)</p>
<h5 dir="auto">Browser</h5>
<p dir="auto">Chrome, Version 73.0.3683.86 (Official Build) (64-bit)</p>
<h5 dir="auto">OS</h5>
<p dir="auto">macOS 10.14.1</p>
<h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5>
<p dir="auto">MBP 15-inch Late 2013<br>
GPU: Intel Iris Pro 1536 MB</p> | 1 |
<p dir="auto">Add ability to save remote connection bookmarks - similar to mRemoteNG</p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">Can be based on the native Windows SSH client.</p> | <h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">My most used feature of Cmder is the shortcut to bring Cmder to the foreground whether it is minimized or just in the background and then minimize it when it is open.<br>
by default that's ctrl + `<br>
It overrides a few programs because the key combo is no longer passed through to the current foreground task, notably Vscode wont toggle console because Cmder captures it, which is a desirable outcome for me.</p> | 0 |
<p dir="auto">by <strong>mikaelbrg</strong>:</p>
<pre class="notranslate">After updating from go1.0.3 to tip, I am no longer able to build my module, which uses a
.so-file and cgo (to communicate with hardware). The log below shows the result of
building with the latest tip version (produces error), and with go1.0.3 (successful).
mikaelbe@ITK-D727 ~/work/sotest
$ go version
go version devel +9ca85035f95a Thu Mar 21 22:37:13 2013 -0700 windows/amd64
mikaelbe@ITK-D727 ~/work/sotest
$ go build sotest
# sotest
C:\Users\mikaelbe\AppData\Local\Temp\go-build854994423\sotest.a(_all.o): malform
ed pe file: unexpected flags for PE section .idata$2
mikaelbe@ITK-D727 ~/work/sotest
$ go version
go version go1.0.3
mikaelbe@ITK-D727 ~/work/sotest
$ go build sotest
What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Source code with .go, .so and .h files available at
<a href="https://bitbucket.org/mikaelbe/sotest/overview" rel="nofollow">https://bitbucket.org/mikaelbe/sotest/overview</a>
2. Build with "go build sotest"
What is the expected output?
Executable file
What do you see instead?
Error as shown in log above
Which compiler are you using (5g, 6g, 8g, gccgo)?
Not sure.
Which operating system are you using?
Windows 7 (64-bit)
Which version are you using? (run 'go version')
go version devel +9ca85035f95a Thu Mar 21 22:37:13 2013 -0700
Mikael</pre> | <p dir="auto">It would be useful if <code class="notranslate">PublicKey</code> interface has <code class="notranslate">Fingerprint</code> method which returns the value described bellow:<br>
<a href="http://tools.ietf.org/html/rfc4716#section-4" rel="nofollow">http://tools.ietf.org/html/rfc4716#section-4</a></p>
<p dir="auto">Now I'm trying to make my ssh server with go.<br>
When I made it with python twisted.conch, I used <a href="http://twistedmatrix.com/documents/current/api/twisted.conch.ssh.keys.Key.html#fingerprint" rel="nofollow">twisted.conch.ssh.keys.Key#fingerprint</a> method to find user's public key, It was useful.</p> | 0 |
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p>
<p dir="auto">Feature for <code class="notranslate">CommonChunkPlugin</code>.</p>
<p dir="auto">Support selecting modules from <strong>non-entry</strong> chunks. Meaning, select statically imported modules from chunks that were created from a <strong>dynamic</strong> import (<code class="notranslate">require.ensure</code> / <code class="notranslate">System.import</code> / <code class="notranslate">import("..")</code>)</p>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">Currently <code class="notranslate">CommonChunkPlugin</code> only receives modules imported from <strong>entry</strong> chunks.</p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto"><code class="notranslate">CommonChunkPlugin</code> should receive also modules from <strong>non-entry</strong> chunks.<br><br>
Another option will be that the default behavior will be that the plugin won't be getting these modules and only with passing something like <code class="notranslate">selectAllChunks: true</code> will enable this behavior.</p>
<p dir="auto"><strong>If this is a feature request, what is motivation or use case for changing the behavior?</strong></p>
<p dir="auto">Most of the examples out there talks about CodeSplitting but not talking about CodeSplitting with lazy loading. For example, load your main page as an entry chunk, and split the rest of your website routes to different chunks and only load those on demand.</p>
<p dir="auto">You see the important need for this feature when you're trying to make a <code class="notranslate">vendors</code> chunk that will include the vendors from ALL the chunks including the ones for the different routes that are being created from a dynamic import as a split point.</p>
<p dir="auto">In our opinion the best solution to create the <code class="notranslate">vendors</code> chunk will be using the <code class="notranslate">minChunks</code> function since the other two (specifying hard coded which packages to take / import <code class="notranslate">package.json</code>.dependencies) has a lot of issues with and this is the most dynamic way to do it:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" new webpack.optimize.CommonsChunkPlugin({
name: 'vendors',
minChunks: ({ resource }) => /node_modules/.test(resource)
})"><pre class="notranslate"> <span class="pl-k">new</span> <span class="pl-s1">webpack</span><span class="pl-kos">.</span><span class="pl-c1">optimize</span><span class="pl-kos">.</span><span class="pl-c1">CommonsChunkPlugin</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'vendors'</span><span class="pl-kos">,</span>
<span class="pl-en">minChunks</span>: <span class="pl-kos">(</span><span class="pl-kos">{</span> resource <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-pds"><span class="pl-c1">/</span>node_modules<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">resource</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">The problem is that since <code class="notranslate">CommonsChunkPlugin</code> only gets modules form the <strong>entry</strong> chunks, so all the vendors from our different split points are not being added to this chunk.</p>
<p dir="auto">The motivation around this feature request is that others won't need to do the workaround I'll show here.</p>
<p dir="auto"><strong>Proposed temporary workaround and why it's not that good. Writing it here anyway so who ever needs it will see it and would be able to use it</strong></p>
<p dir="auto">What the lack of this feature forces us to do it for every dynamic import we're doing (using <code class="notranslate">import("path")</code>) we're also going and creating an entry chunk for it. Just so the above code will work.</p>
<p dir="auto">Then, all of these "duplicate" chunks we're excluding from being added to the HTML using the <code class="notranslate">excludeChunks</code> of <code class="notranslate">HtmlWebpackPlugin</code></p>
<p dir="auto">So it basically looks like this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="...
// Why do we need to exclude these entries?
// The entries here are being dynamically loaded per route in the application so we would like to set
// them to be excluded form HtmlWebpackPlugin auto inject of entry chunks.
//
// If they are being dynamically loaded in the system, so why do you need them here at all?
// We're creating a `vendors` chunk automatically from what being imported from `node_modules`, in order for webpack
// to know about what code exists in these route chunks we need to set them as entries here.
// That way we're getting everything we ever wanted! The `vendors` is being created out of ALL the vendors in the system,
// and we're still able to dynamically load these chunks per route without having them injected to index.html at the beginning.
const excludeEntries = {
main: [path.join(chunksPath, 'main_chunk')],
A_template_collection: [path.join(pagesPath, 'TemplateCollectionPage')],
A_template_wizard: [path.join(pagesPath, 'TemplateWizardPage')],
A_edit_template: [path.join(pagesPath, 'TemplateEditPage')],
A_create_instance: [path.join(pagesPath, 'CreateInstancePage')],
B_issues_collection: [path.join(pagesPath, 'IssuesCollectionPage')]
};
const entry = Object.assign({}, excludeEntries, {
application: [path.join(chunksPath, 'application_chunk')]
});
const config = {
entry,
...
plugins: [
new webpack.optimize.CommonsChunkPlugin({
name: 'vendors',
minChunks: ({ resource }) => /node_modules/.test(resource)
}),
new HtmlWebpackPlugin({
title: indexHtmlTitle,
resourceHintsMetaTags,
inject: true,
template: indexHtmlPath,
excludeChunks: Object.keys(excludeEntries)
}),
]
...
}
"><pre class="notranslate">...
<span class="pl-c">// Why do we need to exclude these entries?</span>
<span class="pl-c">// The entries here are being dynamically loaded per route in the application so we would like to set</span>
<span class="pl-c">// them to be excluded form HtmlWebpackPlugin auto inject of entry chunks.</span>
<span class="pl-c">//</span>
<span class="pl-c">// If they are being dynamically loaded in the system, so why do you need them here at all?</span>
<span class="pl-c">// We're creating a `vendors` chunk automatically from what being imported from `node_modules`, in order for webpack</span>
<span class="pl-c">// to know about what code exists in these route chunks we need to set them as entries here.</span>
<span class="pl-c">// That way we're getting everything we ever wanted! The `vendors` is being created out of ALL the vendors in the system,</span>
<span class="pl-c">// and we're still able to dynamically load these chunks per route without having them injected to index.html at the beginning.</span>
<span class="pl-k">const</span> <span class="pl-s1">excludeEntries</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">main</span>: <span class="pl-kos">[</span><span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">chunksPath</span><span class="pl-kos">,</span> <span class="pl-s">'main_chunk'</span><span class="pl-kos">)</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">A_template_collection</span>: <span class="pl-kos">[</span><span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">pagesPath</span><span class="pl-kos">,</span> <span class="pl-s">'TemplateCollectionPage'</span><span class="pl-kos">)</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">A_template_wizard</span>: <span class="pl-kos">[</span><span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">pagesPath</span><span class="pl-kos">,</span> <span class="pl-s">'TemplateWizardPage'</span><span class="pl-kos">)</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">A_edit_template</span>: <span class="pl-kos">[</span><span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">pagesPath</span><span class="pl-kos">,</span> <span class="pl-s">'TemplateEditPage'</span><span class="pl-kos">)</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">A_create_instance</span>: <span class="pl-kos">[</span><span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">pagesPath</span><span class="pl-kos">,</span> <span class="pl-s">'CreateInstancePage'</span><span class="pl-kos">)</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">B_issues_collection</span>: <span class="pl-kos">[</span><span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">pagesPath</span><span class="pl-kos">,</span> <span class="pl-s">'IssuesCollectionPage'</span><span class="pl-kos">)</span><span class="pl-kos">]</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">entry</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">assign</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">excludeEntries</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-c1">application</span>: <span class="pl-kos">[</span><span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">chunksPath</span><span class="pl-kos">,</span> <span class="pl-s">'application_chunk'</span><span class="pl-kos">)</span><span class="pl-kos">]</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">config</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-s1">entry</span><span class="pl-kos">,</span>
...
<span class="pl-s1">plugins</span>: <span class="pl-kos">[</span>
<span class="pl-k">new</span> <span class="pl-s1">webpack</span><span class="pl-kos">.</span><span class="pl-c1">optimize</span><span class="pl-kos">.</span><span class="pl-c1">CommonsChunkPlugin</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'vendors'</span><span class="pl-kos">,</span>
<span class="pl-en">minChunks</span>: <span class="pl-kos">(</span><span class="pl-kos">{</span> resource <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-pds"><span class="pl-c1">/</span>node_modules<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">resource</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-v">HtmlWebpackPlugin</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">title</span>: <span class="pl-s1">indexHtmlTitle</span><span class="pl-kos">,</span>
resourceHintsMetaTags<span class="pl-kos">,</span>
<span class="pl-c1">inject</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">template</span>: <span class="pl-s1">indexHtmlPath</span><span class="pl-kos">,</span>
<span class="pl-c1">excludeChunks</span>: <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">keys</span><span class="pl-kos">(</span><span class="pl-s1">excludeEntries</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-kos">]</span>
...
<span class="pl-kos">}</span></pre></div>
<p dir="auto">The dynamic imports are being used on the same paths as the entry chunks that are being excluded from the html.</p>
<p dir="auto">This causes some difficulties for us:</p>
<ol dir="auto">
<li>If you dynamically import something and forget to put it here as well it will not go into the vendors chunks and you'll lose cache</li>
<li>This creates for us chunks that we're not actually using. So for the same code I'll have the named entry chunk and I'll also have a chunk from the dynamic import. I'm not using the named entry-chunks but it's just noise to me.<br>
That is even bigger when also using the ExtractTextPlugin.</li>
</ol>
<p dir="auto">I looked also here: <a href="https://github.com/oieduardorabelo/webpack-commonschunkplugin-dynamic-splitting">https://github.com/oieduardorabelo/webpack-commonschunkplugin-dynamic-splitting</a><br>
But that seems to not be related since in our case the only real entry point (<code class="notranslate">application: [path.join(chunksPath, 'application_chunk')]</code>) is basically just loading polyfills + loading the <code class="notranslate">main</code> chunk path dynamically. Since all the <code class="notranslate">application</code> chunk is doing is mainly dynamically <code class="notranslate">import()</code> stuff it has no static imports of files from <code class="notranslate">node_modules</code>. So CommonChunkPlugin doesn't catch that..</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>
<ul dir="auto">
<li>OS: macOS 10.12.3</li>
<li>Node.js version: 6.9.10</li>
<li>Webpack version: 2.2.1</li>
<li>Browser not relavant</li>
</ul> | <p dir="auto">I am running across a bug where Webpack generates an invalid Javascript file when running in watch mode. This bug occurs 100% of the time, the first time I modify <code class="notranslate">Cards.js</code> in watch mode. Once the file is in a bad state, I keep on getting the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" undefined is not a function
__webpack_require__@http://localhost:8080/com/realestate/frontend/page/Common.js:51:30
Object.webpackJsonp.0@http://localhost:8080/com/realestate/frontend/page/Cards.js:21:2
__webpack_require__@http://localhost:8080/com/realestate/frontend/page/Common.js:51:30
webpackJsonpCallback@http://localhost:8080/com/realestate/frontend/page/Common.js:22:20
(?)()@http://localhost:8080/com/realestate/frontend/page/Cards.js:1:1Common.js:1256 printUncaughtErrorCommon.js:1285 window.onerror
Common.js:51 Uncaught TypeError: undefined is not a function"><pre class="notranslate"><code class="notranslate"> undefined is not a function
__webpack_require__@http://localhost:8080/com/realestate/frontend/page/Common.js:51:30
Object.webpackJsonp.0@http://localhost:8080/com/realestate/frontend/page/Cards.js:21:2
__webpack_require__@http://localhost:8080/com/realestate/frontend/page/Common.js:51:30
webpackJsonpCallback@http://localhost:8080/com/realestate/frontend/page/Common.js:22:20
(?)()@http://localhost:8080/com/realestate/frontend/page/Cards.js:1:1Common.js:1256 printUncaughtErrorCommon.js:1285 window.onerror
Common.js:51 Uncaught TypeError: undefined is not a function
</code></pre></div>
<p dir="auto">The only way to fix the problem is to clean-build the entire project (further incremental changes to the file do not fix the problem).</p>
<p dir="auto">Here is a copy of <code class="notranslate">Common.js</code>: <a href="https://gist.github.com/cowwoc/b752cf667c049af05cec">https://gist.github.com/cowwoc/b752cf667c049af05cec</a><br>
Here is a copy of <code class="notranslate">Cards.js</code>: <a href="https://gist.github.com/cowwoc/5cfcc58edc3b1a8aee40">https://gist.github.com/cowwoc/5cfcc58edc3b1a8aee40</a></p>
<p dir="auto">I am modifying <code class="notranslate">Cards.js</code> line 54 over and over in order to trigger this problem.</p>
<p dir="auto">I walked through the code and discovered that the browser hits line 51 with <code class="notranslate">module[moduleId]</code> equal to 29. This is problematic for two reasons:</p>
<ol dir="auto">
<li>Usually <code class="notranslate">module[moduleId]</code> points to a function, not a number.</li>
<li>Module 29 is generated by a call to <code class="notranslate">require("./ResourceTable.scss")</code>. If you look for it in <code class="notranslate">Common.js</code> you will notice it is not defined.</li>
</ol> | 0 |
<p dir="auto">java.lang.NullPointerException: null<br>
at org.apache.shardingsphere.core.execute.sql.execute.result.MemoryQueryResult.getRowValue(MemoryQueryResult.java:88) ~[sharding-core-execute-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.core.execute.sql.execute.result.MemoryQueryResult.getRows(MemoryQueryResult.java:63) ~[sharding-core-execute-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.core.execute.sql.execute.result.MemoryQueryResult.(MemoryQueryResult.java:55) ~[sharding-core-execute-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.shardingjdbc.executor.PreparedStatementExecutor.getQueryResult(PreparedStatementExecutor.java:116) ~[sharding-jdbc-core-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.shardingjdbc.executor.PreparedStatementExecutor.access$200(PreparedStatementExecutor.java:50) ~[sharding-jdbc-core-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.shardingjdbc.executor.PreparedStatementExecutor$2.executeSQL(PreparedStatementExecutor.java:106) ~[sharding-jdbc-core-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.shardingjdbc.executor.PreparedStatementExecutor$2.executeSQL(PreparedStatementExecutor.java:102) ~[sharding-jdbc-core-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteCallback.execute0(SQLExecuteCallback.java:79) ~[sharding-core-execute-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteCallback.execute(SQLExecuteCallback.java:61) ~[sharding-core-execute-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.core.execute.engine.ShardingExecuteEngine.syncGroupExecute(ShardingExecuteEngine.java:125) ~[sharding-core-execute-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.core.execute.engine.ShardingExecuteEngine.parallelExecute(ShardingExecuteEngine.java:102) ~[sharding-core-execute-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.core.execute.engine.ShardingExecuteEngine.groupExecute(ShardingExecuteEngine.java:83) ~[sharding-core-execute-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteTemplate.executeGroup(SQLExecuteTemplate.java:73) ~[sharding-core-execute-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteTemplate.executeGroup(SQLExecuteTemplate.java:56) ~[sharding-core-execute-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.shardingjdbc.executor.AbstractStatementExecutor.executeCallback(AbstractStatementExecutor.java:140) ~[sharding-jdbc-core-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.shardingjdbc.executor.PreparedStatementExecutor.executeQuery(PreparedStatementExecutor.java:109) ~[sharding-jdbc-core-4.0.0.jar:4.0.0]<br>
at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.ShardingPreparedStatement.executeQuery(ShardingPreparedStatement.java:123) ~[sharding-jdbc-core-4.0.0.jar:4.0.0]</p> | <p dir="auto">version : 3.0.0.M1<br>
project : sharding-jdbc</p>
<p dir="auto">Expected behavior : when table rule not define , sharding-jdbc create it and put it into cache</p>
<p dir="auto">Actual behavior : when logicTableName not found in tableRules, sharding-jdbc will create table rule and not put it into cache , It will run groovy script . If this sql run many times , will create many groovy classlaoder. After that will got "java.lang.OutOfMemoryError:Permgen space" error.</p>
<p dir="auto">Reason :<br>
I debug and found this code.</p>
<p dir="auto">// class io.shardingsphrer.cor.rule.ShardingRule</p>
<hr>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public Optional<TableRule> tryFindTableRuleByActualTable(final String actualTableName) {
for (TableRule each : tableRules) {
if (each.isExisted(actualTableName)) {
return Optional.of(each);
}
}
return Optional.absent();
}
public TableRule getTableRuleByLogicTableName(final String logicTableName) {
Optional<TableRule> tableRule = tryFindTableRuleByLogicTable(logicTableName.toLowerCase());
if (tableRule.isPresent()) {
return tableRule.get();
}
if (!Strings.isNullOrEmpty(shardingDataSourceNames.getDefaultDataSourceName())) {
return new TableRule(shardingDataSourceNames.getDefaultDataSourceName(), logicTableName);
}
throw new ShardingConfigurationException("Cannot find table rule and default data source with logic table: '%s'", logicTableName);
}"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-smi">Optional</span><<span class="pl-smi">TableRule</span>> <span class="pl-s1">tryFindTableRuleByActualTable</span>(<span class="pl-k">final</span> <span class="pl-smi">String</span> <span class="pl-s1">actualTableName</span>) {
<span class="pl-k">for</span> (<span class="pl-smi">TableRule</span> <span class="pl-s1">each</span> : <span class="pl-s1">tableRules</span>) {
<span class="pl-k">if</span> (<span class="pl-s1">each</span>.<span class="pl-en">isExisted</span>(<span class="pl-s1">actualTableName</span>)) {
<span class="pl-k">return</span> <span class="pl-smi">Optional</span>.<span class="pl-en">of</span>(<span class="pl-s1">each</span>);
}
}
<span class="pl-k">return</span> <span class="pl-smi">Optional</span>.<span class="pl-en">absent</span>();
}
<span class="pl-k">public</span> <span class="pl-smi">TableRule</span> <span class="pl-s1">getTableRuleByLogicTableName</span>(<span class="pl-k">final</span> <span class="pl-smi">String</span> <span class="pl-s1">logicTableName</span>) {
<span class="pl-smi">Optional</span><<span class="pl-smi">TableRule</span>> <span class="pl-s1">tableRule</span> = <span class="pl-en">tryFindTableRuleByLogicTable</span>(<span class="pl-s1">logicTableName</span>.<span class="pl-en">toLowerCase</span>());
<span class="pl-k">if</span> (<span class="pl-s1">tableRule</span>.<span class="pl-en">isPresent</span>()) {
<span class="pl-k">return</span> <span class="pl-s1">tableRule</span>.<span class="pl-en">get</span>();
}
<span class="pl-k">if</span> (!<span class="pl-smi">Strings</span>.<span class="pl-en">isNullOrEmpty</span>(<span class="pl-s1">shardingDataSourceNames</span>.<span class="pl-en">getDefaultDataSourceName</span>())) {
<span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-smi">TableRule</span>(<span class="pl-s1">shardingDataSourceNames</span>.<span class="pl-en">getDefaultDataSourceName</span>(), <span class="pl-s1">logicTableName</span>);
}
<span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-smi">ShardingConfigurationException</span>(<span class="pl-s">"Cannot find table rule and default data source with logic table: '%s'"</span>, <span class="pl-s1">logicTableName</span>);
}</pre></div>
<hr>
<p dir="auto">tableRule isPresent and create new one . Cache it into tableRules than everytime create it .<br>
When someone make a mistake and publish to production env , will be a disaster.This is not friendly for developers.</p> | 0 |
<p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p>
<p dir="auto">i.e.:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" def get_history(self, state, passive=PASSIVE_OFF):
return History.from_attribute(
self, state, state.dict.get(self.key, NO_VALUE))"><pre class="notranslate"><code class="notranslate"> def get_history(self, state, passive=PASSIVE_OFF):
return History.from_attribute(
self, state, state.dict.get(self.key, NO_VALUE))
</code></pre></div>
<p dir="auto">should be more like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" def get_history(self, state, passive=PASSIVE_OFF):
if self.key in state.dict:
return History.from_attribute(self, state, state.dict[self.key](self.key))
else:
current = self.get(state, passive=passive)
if current is PASSIVE_NORESULT:
return HISTORY_BLANK
else:
return History.from_attribute(self, state, current)"><pre class="notranslate"><code class="notranslate"> def get_history(self, state, passive=PASSIVE_OFF):
if self.key in state.dict:
return History.from_attribute(self, state, state.dict[self.key](self.key))
else:
current = self.get(state, passive=passive)
if current is PASSIVE_NORESULT:
return HISTORY_BLANK
else:
return History.from_attribute(self, state, current)
</code></pre></div>
<p dir="auto">this to support extensions which need to get attribute history regardless of an object being expired or having deferred columns. workaround is to force a load using getattr(). but the passive flag shouldn't be silently ignored.</p>
<p dir="auto">however, SA's ORM doesn't need this itself, and the fact that it's ignored right now might be fulfilling part of the current behavioral contract, i.e. don't load the old value unnecessarily. So ensure that get_history() is always called with PASSIVE_OFF for scalars right now and that honoring the flag doesn't result in unnecessary loads.</p> | <p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p>
<p dir="auto">We are doing some stuff with history and have a little problem.</p>
<p dir="auto">After commit, history has been reseted to empty state: there no value in <code class="notranslate">unchanged</code> and after attribute is changed there is no value in <code class="notranslate">deleted</code>.</p>
<p dir="auto">Probably, it is a bug. If it is correct behaviour, how is it expained?</p>
<p dir="auto">Both on 0.8.2 and dev versions. Here is a test case.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class HistoryTest(_fixtures.FixtureTest):
run_inserts = None
def test_commit_history(self):
from sqlalchemy.orm.attributes import get_history, History
User, users = self.classes.User, self.tables.users
m2 = sa.MetaData()
users_unbound = users.tometadata(m2)
mapper(User, users_unbound)
sess = Session(binds={User: self.metadata.bind})
u = User(id=1, name='daniel')
sess.add(u)
print get_history(u, 'name')
assert get_history(u, 'name') ==\
History(['daniel']('daniel'), (), ())
sess.commit()
print get_history(u, 'name')
assert get_history(u, 'name') == \
History((), ['daniel']('daniel'), ())
# fails: History((), (), ())
u.name = 'peter'
print get_history(u, 'name')
assert get_history(u, 'name') == \
History(['peter']('peter'), (), ['daniel']('daniel'))
# fails: History(['peter']('peter'), (), ())"><pre class="notranslate"><code class="notranslate">class HistoryTest(_fixtures.FixtureTest):
run_inserts = None
def test_commit_history(self):
from sqlalchemy.orm.attributes import get_history, History
User, users = self.classes.User, self.tables.users
m2 = sa.MetaData()
users_unbound = users.tometadata(m2)
mapper(User, users_unbound)
sess = Session(binds={User: self.metadata.bind})
u = User(id=1, name='daniel')
sess.add(u)
print get_history(u, 'name')
assert get_history(u, 'name') ==\
History(['daniel']('daniel'), (), ())
sess.commit()
print get_history(u, 'name')
assert get_history(u, 'name') == \
History((), ['daniel']('daniel'), ())
# fails: History((), (), ())
u.name = 'peter'
print get_history(u, 'name')
assert get_history(u, 'name') == \
History(['peter']('peter'), (), ['daniel']('daniel'))
# fails: History(['peter']('peter'), (), ())
</code></pre></div>
<hr>
<p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/2787/2787.patch">2787.patch</a></p> | 1 |
<p dir="auto">Not sure how the character got into my code but it does not show up in Atom even with Show Invisibles set to true.</p>
<p dir="auto">Info on the character can be found here <a href="http://www.fileformat.info/info/unicode/char/200b/index.htm" rel="nofollow">http://www.fileformat.info/info/unicode/char/200b/index.htm</a></p>
<p dir="auto">My specific issue: If this character comes after a CSS closing curly bracket, all following styles are inaccessible and do not parse.</p>
<p dir="auto">Example: <a href="https://jsfiddle.net/9tuy9w8o/2/" rel="nofollow">https://jsfiddle.net/9tuy9w8o/2/</a><br>
Setting the image class to cat works but setting it to dog causes it to break.</p> | <p dir="auto">Halp ticket:</p>
<ul dir="auto">
<li>support/b6556d18b6f511e396195226a240cace</li>
</ul>
<blockquote>
<p dir="auto">Control characters aren't showing up. For example, create a file in vim and type ctl+v,ctl+h to insert a backspace character in a shell script and notice that it is invisible in Atom. Maybe not <em>all</em> invisibles should be hidden. Then again, I just started using this today, so maybe I haven't discovered the proper setting.</p>
</blockquote>
<p dir="auto">Screenshot time! Here's Vim:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/38924/2615541/51595b3a-bbfb-11e3-91ed-0868ab97cb1d.png"><img src="https://cloud.githubusercontent.com/assets/38924/2615541/51595b3a-bbfb-11e3-91ed-0868ab97cb1d.png" alt="screen shot 2014-04-04 at 3 15 27 pm" style="max-width: 100%;"></a></p>
<p dir="auto">And here's Sublime:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/38924/2615543/595eeebc-bbfb-11e3-9179-efed992b065c.png"><img src="https://cloud.githubusercontent.com/assets/38924/2615543/595eeebc-bbfb-11e3-9179-efed992b065c.png" alt="screen shot 2014-04-04 at 3 15 52 pm" style="max-width: 100%;"></a></p>
<p dir="auto">And Atom:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/38924/2615549/697823cc-bbfb-11e3-9603-0a65a61bb8b5.png"><img src="https://cloud.githubusercontent.com/assets/38924/2615549/697823cc-bbfb-11e3-9603-0a65a61bb8b5.png" alt="screen shot 2014-04-04 at 3 16 47 pm" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">It would be nice to have the <a href="http://docs.scipy.org/doc/numpy-dev/reference/" rel="nofollow">published development docs</a> to actually reflect the current state of master.</p>
<p dir="auto">This has come up recently with a couple of issues being raised about typos etc. in them which were already fixed on master (e.g. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="142462499" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/7444" data-hovercard-type="issue" data-hovercard-url="/numpy/numpy/issues/7444/hovercard" href="https://github.com/numpy/numpy/issues/7444">#7444</a> )</p>
<p dir="auto">I would envision a similar solution to the one that scipy uses <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="111977657" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/5383" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/5383/hovercard" href="https://github.com/scipy/scipy/pull/5383">scipy/scipy#5383</a></p>
<p dir="auto">I'd be happy to work on this but I think this will need to have some input from one the numpy devs. Their solution hosts the devdocs on github pages then redirects the docs.scipy.org to point to that. Obviously as a mere mortal that part I wouldn't be able to setup!</p> | <p dir="auto">The exponents in the denominators of the Freedman–Diaconis and Scott estimators are shown incorrectly in the typeset maths on this page:<br>
<a href="http://docs.scipy.org/doc/numpy-dev/reference/generated/numpy.histogram.html" rel="nofollow">http://docs.scipy.org/doc/numpy-dev/reference/generated/numpy.histogram.html</a></p>
<p dir="auto">The offending lines of source code were corrected in commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/numpy/numpy/commit/41de3c2d8c84dbfa406ccb77dd67d55f555bee8a/hovercard" href="https://github.com/numpy/numpy/commit/41de3c2d8c84dbfa406ccb77dd67d55f555bee8a"><tt>41de3c2</tt></a> in December, and incorporated on the maintenance/1.11.x branch, but the generated documentation doesn't yet reflect this, having been last updated in October.</p> | 1 |
<p dir="auto">Currently the common directives (CORE_DIRECTIVES and FORM_DIRECTIVES) are included automatically and do not need to be manually referenced in a component's <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/view/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/view">@view</a> annotation. However this is not the case for the TestComponentBuilder, which fails to build the component if the component uses unreferenced common directives. An example error message is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{"message":"Template parse errors: Can't bind to 'ngFormControl' since it isn't a known native property..."><pre class="notranslate"><code class="notranslate">{"message":"Template parse errors: Can't bind to 'ngFormControl' since it isn't a known native property...
</code></pre></div>
<p dir="auto">It's possible to add these references in to the component definition, but ideally the TCB should be able to build whatever Angular builds normally. Also the way the TCB handles errors (calling the onrejected callback of the promise, which I seldom see anyone binding to) means that tests can be regarded as passing if the component fails to build:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tcb.createAsync(testComponent).then((fixture: ComponentFixture) => {
expect(true).toBe(false)
})"><pre class="notranslate"><code class="notranslate">tcb.createAsync(testComponent).then((fixture: ComponentFixture) => {
expect(true).toBe(false)
})
</code></pre></div>
<p dir="auto">Will pass if the TCB fails to create the component.</p>
<p dir="auto">So proposed solution would be to make the common directives available to the TCB.</p> | <p dir="auto">Spotted by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/teropa/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/teropa">@teropa</a> and confirmed on my side in the ng2 directives for Bootstrap project (see: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118373937" data-permission-text="Title is private" data-url="https://github.com/ng-bootstrap/ng-bootstrap/issues/115" data-hovercard-type="pull_request" data-hovercard-url="/ng-bootstrap/ng-bootstrap/pull/115/hovercard" href="https://github.com/ng-bootstrap/ng-bootstrap/pull/115">ng-bootstrap/ng-bootstrap#115</a>):</p>
<blockquote>
<p dir="auto">I'm getting errors about platform directives like ng-for when using TestComponentBuilder. Seems like they're not "ambient" in the unit tests like they are during normal execution. I can fix it by including CORE_DIRECTIVES in the component, but that seems backward. Any ideas how to make them available?</p>
</blockquote> | 1 |
<p dir="auto">A B-tree stores sorted arrays of a chosen size instead of lone nodes, so it can be much more cache-friendly than a red-black tree when used with small key/value types. The size will just have to be hardcoded for now since it can't be part of parametrizing it.</p> | <p dir="auto">Right now, resource destructors seem to <em>always</em> be inlined. This recently led to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4032630" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/2170" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/2170/hovercard" href="https://github.com/rust-lang/rust/issues/2170">#2170</a> because the reachability map was incorrect. I fixed this the wrong way: by marking all resource bodies as reachable. The right fix seems to me to be not inlining resource bodies by default, but that change seemed a bit more involved. In particular, I wanted to check with <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/marijnh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/marijnh">@marijnh</a> whether resources are being inlined intentionally? If so, is there a deep reason for that?</p>
<p dir="auto">In general I'd like to be able to say that "no user-specified code is inlined unless either generic or marked #[inline]".</p> | 0 |
<p dir="auto">Docker-compose error</p> | <p dir="auto">File<br>
"/usr/local/lib/python3.6/urllib/request.py".py,line 1361,in https_open superset-init_1 | context=self._context,check_hostname=self._check_hostname) superset-init_1 | File "/usr/local/lib/python3.6/urllib/request.py", line 1283 , in do_open superset_init_1 | raise URLError('no host given') superset_init_1 | urllib.error.URLError: </p> | 1 |
<p dir="auto">I'm getting a test failure on <code class="notranslate">make test-backtrace</code>. More detail:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> bt = backtrace()
22-element Array{Ptr{Void},1}:
Ptr{Void} @0x00007f695d467c85
Ptr{Void} @0x00007f695d467ce0
Ptr{Void} @0x00007f694d567010
Ptr{Void} @0x00007f694d567030
Ptr{Void} @0x00007f695d41aa66
Ptr{Void} @0x00007f695d461598
Ptr{Void} @0x00007f695d460b0f
Ptr{Void} @0x00007f695d460901
Ptr{Void} @0x00007f695d461b9a
Ptr{Void} @0x00007f695d4600e8
Ptr{Void} @0x00007f695d472567
Ptr{Void} @0x00007f695d4228a6
Ptr{Void} @0x00007f695ec314c6
Ptr{Void} @0x00007f695ec315f7
Ptr{Void} @0x00007f695d41a9da
Ptr{Void} @0x00007f695ec980cf
Ptr{Void} @0x00007f695d467b27
Ptr{Void} @0x00007f695d466abf
Ptr{Void} @0x00000000004014bd
Ptr{Void} @0x00007f695cd05ec5
Ptr{Void} @0x00000000004014f3
Ptr{Void} @0x0000000000000000
julia> for l in bt
lkup = ccall(:jl_lookup_code_address, Any, (Ptr{Void},), l)
@show lkup
end
lkup = (symbol("???"),symbol("???"),140090513194117,true,140090513194117)
lkup = (symbol("???"),symbol("???"),140090513194208,true,140090513194208)
lkup = (symbol("???"),symbol("???"),140090245804048,true,140090245804048)
lkup = (symbol("???"),symbol("???"),140090245804080,true,140090245804080)
lkup = (symbol("???"),symbol("???"),140090512878182,true,140090512878182)
lkup = (symbol("???"),symbol("???"),140090513167768,true,140090513167768)
lkup = (symbol("???"),symbol("???"),140090513165071,true,140090513165071)
lkup = (symbol("???"),symbol("???"),140090513164545,true,140090513164545)
lkup = (symbol("???"),symbol("???"),140090513169306,true,140090513169306)
lkup = (symbol("???"),symbol("???"),140090513162472,true,140090513162472)
lkup = (symbol("???"),symbol("???"),140090513237351,true,140090513237351)
lkup = (symbol("???"),symbol("???"),140090512910502,true,140090512910502)
lkup = (symbol("???"),symbol("???"),140090538136774,true,140090538136774)
lkup = (symbol("???"),symbol("???"),140090538137079,true,140090538137079)
lkup = (symbol("???"),symbol("???"),140090512878042,true,140090512878042)
lkup = (symbol("???"),symbol("???"),140090538557647,true,140090538557647)
lkup = (symbol("???"),symbol("???"),140090513193767,true,140090513193767)
lkup = (symbol("???"),symbol("???"),140090513189567,true,140090513189567)
lkup = (symbol("???"),symbol("???"),4199613,true,4199613)
lkup = (symbol("???"),symbol("???"),140090505453253,true,140090505453253)
lkup = (symbol("???"),symbol("???"),4199667,true,4199667)
lkup = (:println,symbol("./string.jl"),0,false,0)"><pre class="notranslate"><code class="notranslate">julia> bt = backtrace()
22-element Array{Ptr{Void},1}:
Ptr{Void} @0x00007f695d467c85
Ptr{Void} @0x00007f695d467ce0
Ptr{Void} @0x00007f694d567010
Ptr{Void} @0x00007f694d567030
Ptr{Void} @0x00007f695d41aa66
Ptr{Void} @0x00007f695d461598
Ptr{Void} @0x00007f695d460b0f
Ptr{Void} @0x00007f695d460901
Ptr{Void} @0x00007f695d461b9a
Ptr{Void} @0x00007f695d4600e8
Ptr{Void} @0x00007f695d472567
Ptr{Void} @0x00007f695d4228a6
Ptr{Void} @0x00007f695ec314c6
Ptr{Void} @0x00007f695ec315f7
Ptr{Void} @0x00007f695d41a9da
Ptr{Void} @0x00007f695ec980cf
Ptr{Void} @0x00007f695d467b27
Ptr{Void} @0x00007f695d466abf
Ptr{Void} @0x00000000004014bd
Ptr{Void} @0x00007f695cd05ec5
Ptr{Void} @0x00000000004014f3
Ptr{Void} @0x0000000000000000
julia> for l in bt
lkup = ccall(:jl_lookup_code_address, Any, (Ptr{Void},), l)
@show lkup
end
lkup = (symbol("???"),symbol("???"),140090513194117,true,140090513194117)
lkup = (symbol("???"),symbol("???"),140090513194208,true,140090513194208)
lkup = (symbol("???"),symbol("???"),140090245804048,true,140090245804048)
lkup = (symbol("???"),symbol("???"),140090245804080,true,140090245804080)
lkup = (symbol("???"),symbol("???"),140090512878182,true,140090512878182)
lkup = (symbol("???"),symbol("???"),140090513167768,true,140090513167768)
lkup = (symbol("???"),symbol("???"),140090513165071,true,140090513165071)
lkup = (symbol("???"),symbol("???"),140090513164545,true,140090513164545)
lkup = (symbol("???"),symbol("???"),140090513169306,true,140090513169306)
lkup = (symbol("???"),symbol("???"),140090513162472,true,140090513162472)
lkup = (symbol("???"),symbol("???"),140090513237351,true,140090513237351)
lkup = (symbol("???"),symbol("???"),140090512910502,true,140090512910502)
lkup = (symbol("???"),symbol("???"),140090538136774,true,140090538136774)
lkup = (symbol("???"),symbol("???"),140090538137079,true,140090538137079)
lkup = (symbol("???"),symbol("???"),140090512878042,true,140090512878042)
lkup = (symbol("???"),symbol("???"),140090538557647,true,140090538557647)
lkup = (symbol("???"),symbol("???"),140090513193767,true,140090513193767)
lkup = (symbol("???"),symbol("???"),140090513189567,true,140090513189567)
lkup = (symbol("???"),symbol("???"),4199613,true,4199613)
lkup = (symbol("???"),symbol("???"),140090505453253,true,140090505453253)
lkup = (symbol("???"),symbol("???"),4199667,true,4199667)
lkup = (:println,symbol("./string.jl"),0,false,0)
</code></pre></div>
<p dir="auto">This happened with builds for <a href="https://github.com/Keno/Cxx.jl">https://github.com/Keno/Cxx.jl</a>.</p> | <p dir="auto">Backtraces are somewhat of a mess on 3.5 for a variety of reasons, including that we currently have no way to get the proper load address of a section. To verify, try e.g.:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> sqrt(-1)
ERROR: DomainError"><pre class="notranslate"><code class="notranslate">julia> sqrt(-1)
ERROR: DomainError
</code></pre></div>
<p dir="auto">and note the missing backtrace.</p> | 1 |
<p dir="auto">We currently get two docs exported for Type Interface: one for core, and one for router. This is confusing -- and I think unnecessary duplication? Can we make Router depend on the Type exported from core?</p> | <p dir="auto">I would like to create extensions for some components already deployed in Angular 2, without having to rewrite them almost completely, as the base component could undergo changes and wish these changes were also reflected in its derived components.</p>
<p dir="auto"><strong>Example</strong></p>
<p dir="auto"><strong>I created this simple example to try to explain better the problem:</strong></p>
<p dir="auto">With the following base component <code class="notranslate">app/base-panel.component.ts</code>:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import {Component, Input} from 'angular2/core';
@Component({
selector: 'base-panel',
template: '<div class="panel" [style.background-color]="color" (click)="onClick($event)">{{content}}</div>',
styles: [`
.panel{
padding: 50px;
}
`]
})
export class BasePanelComponent {
@Input() content: string;
color: string = "red";
onClick(event){
console.log("Click color: " + this.color);
}
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-smi">Component</span><span class="pl-kos">,</span> <span class="pl-smi">Input</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'angular2/core'</span><span class="pl-kos">;</span>
@<span class="pl-smi">Component</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">selector</span>: <span class="pl-s">'base-panel'</span><span class="pl-kos">,</span>
<span class="pl-c1">template</span>: <span class="pl-s">'<div class="panel" [style.background-color]="color" (click)="onClick($event)">{{content}}</div>'</span><span class="pl-kos">,</span>
<span class="pl-c1">styles</span>: <span class="pl-kos">[</span><span class="pl-s">`</span>
<span class="pl-s"> .panel{</span>
<span class="pl-s"> padding: 50px;</span>
<span class="pl-s"> }</span>
<span class="pl-s"> `</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">class</span> <span class="pl-smi">BasePanelComponent</span> <span class="pl-kos">{</span>
@<span class="pl-smi">Input</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">content</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-c1">color</span>: <span class="pl-smi">string</span> <span class="pl-c1">=</span> <span class="pl-s">"red"</span><span class="pl-kos">;</span>
<span class="pl-en">onClick</span><span class="pl-kos">(</span><span class="pl-s1">event</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">"Click color: "</span> <span class="pl-c1">+</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">color</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">Would you like to create another derivative component only alter, for example, a basic component behavior in the case of the example color, <code class="notranslate">app/my-panel.component.ts</code>:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import {Component} from 'angular2/core';
import {BasePanelComponent} from './base-panel.component'
@Component({
selector: 'my-panel',
template: '<div class="panel" [style.background-color]="color" (click)="onClick($event)">{{content}}</div>',
styles: [`
.panel{
padding: 50px;
}
`]
})
export class MyPanelComponent extends BasePanelComponent{
constructor(){
this.color = "blue";
}
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-smi">Component</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'angular2/core'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-smi">BasePanelComponent</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./base-panel.component'</span>
@<span class="pl-smi">Component</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">selector</span>: <span class="pl-s">'my-panel'</span><span class="pl-kos">,</span>
<span class="pl-c1">template</span>: <span class="pl-s">'<div class="panel" [style.background-color]="color" (click)="onClick($event)">{{content}}</div>'</span><span class="pl-kos">,</span>
<span class="pl-c1">styles</span>: <span class="pl-kos">[</span><span class="pl-s">`</span>
<span class="pl-s"> .panel{</span>
<span class="pl-s"> padding: 50px;</span>
<span class="pl-s"> }</span>
<span class="pl-s"> `</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">class</span> <span class="pl-smi">MyPanelComponent</span> <span class="pl-k">extends</span> <span class="pl-smi">BasePanelComponent</span><span class="pl-kos">{</span>
<span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">color</span> <span class="pl-c1">=</span> <span class="pl-s">"blue"</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><a href="http://plnkr.co/edit/bWa1JmH7NaSaJffLsl0x?p=preview" rel="nofollow">Example in Plunker</a></p>
<p dir="auto"><strong>Problem/Limitation</strong></p>
<p dir="auto">As you can see in the implementation of the derivative component <code class="notranslate">app/my-panel.component.ts</code>, much of the implementation was repeated, and the single part really inherited was the <code class="notranslate">class</code> <code class="notranslate">BasePanelComponent</code>, but the annotation <code class="notranslate">@Component</code> had to basically be completely repeated, not just the changed portions, as the <code class="notranslate">selector: 'my-panel'</code>.</p>
<p dir="auto"><strong>Feature request</strong></p>
<p dir="auto">After a few days of research around this possible limitation (question on <a href="http://stackoverflow.com/q/36475626/2290538" rel="nofollow">StackOverflow </a>and <a href="http://pt.stackoverflow.com/q/121960/2998" rel="nofollow">StackOverflowPt (my native language)</a>), concludes that even the current version there is no mechanism for the annotations inheritance. So I wonder if it is possible to be implemented this possibility/feature functionality for future versions of the angular library?</p> | 0 |
<p dir="auto">I have just installed Atom 1.0.0 and it runs very slow. When I type it seems to lag every 5-10 characters for up to 2-3 seconds. The file I opened has around 3500 lines and 180 kB. I have tried using safe mode and disabling spellcheck, but it is still too slow. CPU usage peaks to 80-100% on one core as soon as I start typing.<br>
When I press enter, editor lags for 3 seconds and CPU usage spikes to maybe 80% on one core.</p>
<p dir="auto">When I open new file with only several lines, it works without the lag.</p>
<p dir="auto">System info: Linux 3.13.0-40-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="7531067" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/69" data-hovercard-type="pull_request" data-hovercard-url="/atom/atom/pull/69/hovercard" href="https://github.com/atom/atom/pull/69">#69</a>-Ubuntu x86_64, Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz, 6 GB RAM, SSD.</p>
<p dir="auto">I like this editor and I would like to help to diagnose this problem if someone tells me what to do.</p>
<p dir="auto">Thank You.</p> | <p dir="auto">I know this probably won't be at the top of the list, but I like to be able to print form my editor. It would give Atom a feature that Sublime or Brackets don' t have.</p> | 0 |
<h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">explorer.exe closes unexpectedly after the UPDATE is complete</p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">add a popup warning before the installation starts alerting that the Explorer.exe will be restarted, and give option to cancel installation to avoid closing Explorer.exe</p> | <h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">Set window always on top (pin window)</p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">An additional (4th) button on the titlebar to pin an application window on top of other windows.</p> | 0 |
<h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all the versions of all the external dependencies required<br>
to reproduce this bug.</li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br>
result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br>
ETA/Countdown & rate limits disabled.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue after downgrading<br>
and/or upgrading Celery and its dependencies.</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>
<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h2 dir="auto">Environment & Settings</h2>
<p dir="auto"><strong>Celery version</strong>: 4.4.4</p>
<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<h2 dir="auto">Required Dependencies</h2>
<ul dir="auto">
<li><strong>Minimal Python Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Celery Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li>
</ul>
<h3 dir="auto">Python Packages</h3>
<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Other Dependencies</h3>
<details>
<p dir="auto">
N/A
</p>
</details>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<details>
<p dir="auto">
</p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="item = chain(*chords).apply_async(link_error=error_job, link=completed_job)"><pre class="notranslate"><span class="pl-s1">item</span> <span class="pl-c1">=</span> <span class="pl-en">chain</span>(<span class="pl-c1">*</span><span class="pl-s1">chords</span>).<span class="pl-en">apply_async</span>(<span class="pl-s1">link_error</span><span class="pl-c1">=</span><span class="pl-s1">error_job</span>, <span class="pl-s1">link</span><span class="pl-c1">=</span><span class="pl-s1">completed_job</span>)</pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">I don't know what i should expect. In eager mode that is legit(I don't get link/link_error executed), in normal mode i get: Cannot add link to group: use a chord<br>
"</p>
<h1 dir="auto">Actual Behavior</h1>
<p dir="auto">See Expected Behaviour</p> | <p dir="auto">Celery subtasks being retried as part of a chain are put behind the queue of tasks.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="run_task1.s(args, kwargs).set(exchange='tb', routing_key='tb.q1')
run_task2.s(args, kwargs).set(exchange='tb', routing_key='tb.q1')
suite_chain = (run_task1, run_task2)
suite_result = suite_chain.apply_async()
"><pre class="notranslate"><code class="notranslate">run_task1.s(args, kwargs).set(exchange='tb', routing_key='tb.q1')
run_task2.s(args, kwargs).set(exchange='tb', routing_key='tb.q1')
suite_chain = (run_task1, run_task2)
suite_result = suite_chain.apply_async()
</code></pre></div>
<p dir="auto">If <code class="notranslate">run_task1</code> fails and it retried, it gets put behind <code class="notranslate">run_task2</code>. I would expect that if <code class="notranslate">run_task1</code> fails it is retried before <code class="notranslate">run_task2</code> is started.</p> | 0 |
<p dir="auto">Here's an example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> A = sprand(5,5,1/5);
julia> A = max.(A,A');
julia> A = spones(A);
julia> full(A)
5×5 Array{Float64,2}:
0.0 1.0 0.0 0.0 1.0
1.0 0.0 0.0 0.0 0.0
0.0 0.0 0.0 1.0 1.0
0.0 0.0 1.0 0.0 0.0
1.0 0.0 1.0 0.0 0.0
julia> issymmetric(A)
true
julia> B = A[5:-1:1,5:-1:1];
julia> full(B)
5×5 Array{Float64,2}:
0.0 0.0 1.0 0.0 1.0
0.0 0.0 1.0 0.0 0.0
1.0 1.0 0.0 0.0 0.0
0.0 0.0 0.0 0.0 1.0
1.0 0.0 0.0 1.0 0.0
julia> issymmetric(B)
false"><pre class="notranslate"><code class="notranslate">julia> A = sprand(5,5,1/5);
julia> A = max.(A,A');
julia> A = spones(A);
julia> full(A)
5×5 Array{Float64,2}:
0.0 1.0 0.0 0.0 1.0
1.0 0.0 0.0 0.0 0.0
0.0 0.0 0.0 1.0 1.0
0.0 0.0 1.0 0.0 0.0
1.0 0.0 1.0 0.0 0.0
julia> issymmetric(A)
true
julia> B = A[5:-1:1,5:-1:1];
julia> full(B)
5×5 Array{Float64,2}:
0.0 0.0 1.0 0.0 1.0
0.0 0.0 1.0 0.0 0.0
1.0 1.0 0.0 0.0 0.0
0.0 0.0 0.0 0.0 1.0
1.0 0.0 0.0 1.0 0.0
julia> issymmetric(B)
false
</code></pre></div>
<p dir="auto">Here, <code class="notranslate">issymmetric(B)</code> should return true but it returns false. The issue is not with the <code class="notranslate">issymmetric</code> function. Take a look at the following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> isequal(A,A')
true
julia> isequal(B,B')
false
julia> issymmetric(full(B))
true
julia> issymmetric(sparse(full(B)))
true
julia> for i = 1:5
for j = 1:5
if B[i,j] != 0
println("[i,j] = [$i,$j] and B[i,j] is $(B[i,j])")
end
end
end
[i,j] = [2,3] and B[i,j] is 1.0
[i,j] = [3,2] and B[i,j] is 1.0
[i,j] = [4,5] and B[i,j] is 1.0
[i,j] = [5,1] and B[i,j] is 1.0
[i,j] = [5,4] and B[i,j] is 1.0
julia> nnz(B)
8
julia> B[1,5]
0.0
julia> full(B)[1,5]
1.0"><pre class="notranslate"><code class="notranslate">julia> isequal(A,A')
true
julia> isequal(B,B')
false
julia> issymmetric(full(B))
true
julia> issymmetric(sparse(full(B)))
true
julia> for i = 1:5
for j = 1:5
if B[i,j] != 0
println("[i,j] = [$i,$j] and B[i,j] is $(B[i,j])")
end
end
end
[i,j] = [2,3] and B[i,j] is 1.0
[i,j] = [3,2] and B[i,j] is 1.0
[i,j] = [4,5] and B[i,j] is 1.0
[i,j] = [5,1] and B[i,j] is 1.0
[i,j] = [5,4] and B[i,j] is 1.0
julia> nnz(B)
8
julia> B[1,5]
0.0
julia> full(B)[1,5]
1.0
</code></pre></div>
<p dir="auto">if we use <code class="notranslate">collect(5:-1:1)</code> instead, everything seems to work fine.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> B = A[collect(5:-1:1),collect(5:-1:1)];
julia> full(B)
5×5 Array{Float64,2}:
0.0 0.0 1.0 0.0 1.0
0.0 0.0 1.0 0.0 0.0
1.0 1.0 0.0 0.0 0.0
0.0 0.0 0.0 0.0 1.0
1.0 0.0 0.0 1.0 0.0
julia> issymmetric(B)
true
julia> for i = 1:5
for j = 1:5
if B[i,j] != 0
println("[i,j] = [$i,$j] and B[i,j] is $(B[i,j])")
end
end
end
[i,j] = [1,3] and B[i,j] is 1.0
[i,j] = [1,5] and B[i,j] is 1.0
[i,j] = [2,3] and B[i,j] is 1.0
[i,j] = [3,1] and B[i,j] is 1.0
[i,j] = [3,2] and B[i,j] is 1.0
[i,j] = [4,5] and B[i,j] is 1.0
[i,j] = [5,1] and B[i,j] is 1.0
[i,j] = [5,4] and B[i,j] is 1.0
julia> nnz(B)
8"><pre class="notranslate"><code class="notranslate">julia> B = A[collect(5:-1:1),collect(5:-1:1)];
julia> full(B)
5×5 Array{Float64,2}:
0.0 0.0 1.0 0.0 1.0
0.0 0.0 1.0 0.0 0.0
1.0 1.0 0.0 0.0 0.0
0.0 0.0 0.0 0.0 1.0
1.0 0.0 0.0 1.0 0.0
julia> issymmetric(B)
true
julia> for i = 1:5
for j = 1:5
if B[i,j] != 0
println("[i,j] = [$i,$j] and B[i,j] is $(B[i,j])")
end
end
end
[i,j] = [1,3] and B[i,j] is 1.0
[i,j] = [1,5] and B[i,j] is 1.0
[i,j] = [2,3] and B[i,j] is 1.0
[i,j] = [3,1] and B[i,j] is 1.0
[i,j] = [3,2] and B[i,j] is 1.0
[i,j] = [4,5] and B[i,j] is 1.0
[i,j] = [5,1] and B[i,j] is 1.0
[i,j] = [5,4] and B[i,j] is 1.0
julia> nnz(B)
8
</code></pre></div>
<p dir="auto">versioninfo for reference:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> versioninfo()
Julia Version 0.6.0-pre.alpha.146
Commit c399558 (2017-03-15 15:20 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin13.4.0)
CPU: Intel(R) Core(TM) i5-2435M CPU @ 2.40GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, sandybridge)"><pre class="notranslate"><code class="notranslate">julia> versioninfo()
Julia Version 0.6.0-pre.alpha.146
Commit c399558 (2017-03-15 15:20 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin13.4.0)
CPU: Intel(R) Core(TM) i5-2435M CPU @ 2.40GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, sandybridge)
</code></pre></div>
<p dir="auto">P.S. I looked for this bug elsewhere -- didn't find anything, I hope it's not a duplicate bug</p> | <p dir="auto">For user written short functions that have a huge overhead from bounds checking, it would be nice if it was possible to hook into the <code class="notranslate">boundscheck</code> system with <code class="notranslate">@inbounds</code> in order to let the user be able to disable manual bounds checking inside the function.</p>
<p dir="auto">This might be beneficial for <code class="notranslate">SubString</code>, <code class="notranslate">SubArray</code>, and many wrapping types that have to check bounds before forwarding to the internal storage.</p>
<p dir="auto">One suggestion is to have a <code class="notranslate">@bounds</code> macro that you can wrap the optional checking code in, but that seems somewhat brittle.</p> | 0 |
<p dir="auto">when some <code class="notranslate">multipart/form-data</code> request is parsed via a<code class="notranslate"> reqparse.RequestParser()</code>, the parsing fails with</p>
<blockquote>
<p dir="auto">werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'.</p>
</blockquote>
<p dir="auto">To replicate create some endpoint, which parses the request with a <code class="notranslate">reqparse.RequestParser</code> and send the requested data as <code class="notranslate">multipart/form-data</code> for example with <code class="notranslate">curl</code>.</p>
<p dir="auto">With flask version 2.0.2 (and a corresponding older werkzeug version m(i.e. <2.1.1) ), this worked as expected, i.e. the request gets parsed correctly, with flask version 2.1.1 and werkzeug 2.1.1 (or newer) it fails.</p>
<p dir="auto">This happens, because with werkzeug version 2.1.1, werkzeug the behaviour of request.get_json() was changes:</p>
<p dir="auto">"Request.get_json() will raise a 400 BadRequest error if the Content-Type header is not application/json. This makes a very common source of confusion more visible. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="231677288" data-permission-text="Title is private" data-url="https://github.com/pallets/flask/issues/2339" data-hovercard-type="issue" data-hovercard-url="/pallets/flask/issues/2339/hovercard" href="https://github.com/pallets/flask/issues/2339">#2339</a>"</p>
<p dir="auto">(c.f. <a href="https://werkzeug.palletsprojects.com/en/2.1.x/changes/" rel="nofollow">https://werkzeug.palletsprojects.com/en/2.1.x/changes/</a> or <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1138886023" data-permission-text="Title is private" data-url="https://github.com/pallets/werkzeug/issues/2339" data-hovercard-type="issue" data-hovercard-url="/pallets/werkzeug/issues/2339/hovercard" href="https://github.com/pallets/werkzeug/issues/2339">pallets/werkzeug#2339</a>)</p>
<p dir="auto"><code class="notranslate">requparse.Argument</code> now loads its location as default with</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="location=('json', 'values',)"><pre class="notranslate"><code class="notranslate">location=('json', 'values',)
</code></pre></div>
<p dir="auto">in line 77 of the <code class="notranslate">__init__</code> function and then iterates over <code class="notranslate">self.location</code> (in line 125f):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="for l in self.location:
value = getattr(request, l, None)"><pre class="notranslate"><code class="notranslate">for l in self.location:
value = getattr(request, l, None)
</code></pre></div>
<p dir="auto">which access <code class="notranslate">request.json</code> (first) and then fails due to the new exception in/from werkzeug.</p>
<p dir="auto">Capturing that exception or accessing json only if the application type matches json would prevent that error and would allow to continue to use the reqparse with application types not being json.</p> | <p dir="auto">Werkzeug 2.1.0 makes <code class="notranslate">Request.get_json()</code> raise if request is not JSON, which causes reqparse to raise when it attempts to access <code class="notranslate">Request.json</code>, which it does by default for all arguments without a specified location.</p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=kdonald" rel="nofollow">Keith Donald</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7141?redirect=false" rel="nofollow">SPR-7141</a></strong> and commented</p>
<p dir="auto">As a user, I would like support for resource versioning so it is possible to get the benefits of caching with the ability to refresh changes.</p>
<p dir="auto">Implementation option <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="586320" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/1" data-hovercard-type="pull_request" data-hovercard-url="/spring-projects/spring-framework/pull/1/hovercard" href="https://github.com/spring-projects/spring-framework/pull/1">#1</a></p>
<hr>
<p dir="auto">Automatic versioning with file timestamps e.g. /resources/main.123456789.css</p>
<p dir="auto">Implementation option <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1575150" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/2" data-hovercard-type="pull_request" data-hovercard-url="/spring-projects/spring-framework/pull/2/hovercard" href="https://github.com/spring-projects/spring-framework/pull/2">#2</a></p>
<hr>
<p dir="auto">Manual versioning with version number e.g. /resources/version-1.0.0/main.css</p>
<p dir="auto">Both options would require ResourceHttpRequestHandler to strip out the version number from the request URI to obtain the "real" resource path. In addition, a view helper function or tag would be needed to generate versioned URLs e.g. <spring:resource name="main.css"/> might generate <a href="http://localhost:8080/app/resources/main.123456789.css" rel="nofollow">http://localhost:8080/app/resources/main.123456789.css</a>.</p>
<p dir="auto">Resources:<br>
<a href="http://stackoverflow.com/questions/118884/what-is-an-elegant-way-to-force-browsers-to-reload-cached-css-js-files" rel="nofollow">http://stackoverflow.com/questions/118884/what-is-an-elegant-way-to-force-browsers-to-reload-cached-css-js-files</a><br>
<a href="http://particletree.com/notebook/automatically-version-your-css-and-javascript-files/" rel="nofollow">http://particletree.com/notebook/automatically-version-your-css-and-javascript-files/</a></p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.2</p>
<p dir="auto">This issue is a sub-task of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398106403" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12058" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12058/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12058">#12058</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="398108774" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12401" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12401/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12401">#12401</a> Support for generating links to static resources such as CSS and JS files hosted at a CDN such as Amazon Cloudfront</li>
</ul>
<p dir="auto">2 votes, 4 watchers</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=kdonald" rel="nofollow">Keith Donald</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7745?redirect=false" rel="nofollow">SPR-7745</a></strong> and commented</p>
<p dir="auto">Would be nice extension of the resource handler work in Spring 3 in the cases where the resource handling is performed off-site with the help of a CDN such as Amazon Cloudfront. The best practice in this environment is to upload two versions of each static resource: a uncompressed version, and a compressed version. In development you would want to work with a local, uncompressed version, but in production you'd expect the gzipped version to be used and be served from the CDN.</p>
<p dir="auto">See: <a href="http://internetmarketingbyme.com/74/gzip-compression-using-amazon-s3-cloudfront-cdn/" rel="nofollow">http://internetmarketingbyme.com/74/gzip-compression-using-amazon-s3-cloudfront-cdn/</a><br>
See: <a href="http://lanyrd.com/blog/2010/ical" rel="nofollow">http://lanyrd.com/blog/2010/ical</a></p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.5</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398168938" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/16488" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/16488/hovercard" href="https://github.com/spring-projects/spring-framework/issues/16488">#16488</a> Create ResourceResolver for changing URL domain (<em><strong>"duplicates"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398104794" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11800" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11800/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11800">#11800</a> Add support for versioning resources</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398168938" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/16488" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/16488/hovercard" href="https://github.com/spring-projects/spring-framework/issues/16488">#16488</a> Create ResourceResolver for changing URL domain</li>
</ul>
<p dir="auto">1 votes, 2 watchers</p> | 1 |
<p dir="auto">I have the following analyzer options:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="include: package:flutter/analysis_options_user.yaml
analyzer:
exclude:
- 'bin/**'
- 'lib/l10n/messages/**'
- 'lib/**/*.*.dart'
- 'ios/**'
- 'android/**'
errors:
no_duplicate_case_values: error
avoid_relative_lib_imports: error
always_put_required_named_parameters_first: error
always_declare_return_types: error
invariant_booleans: error
avoid_init_to_null: error
mixin_inherits_from_not_object: ignore
linter:
rules:
..."><pre class="notranslate"><code class="notranslate">include: package:flutter/analysis_options_user.yaml
analyzer:
exclude:
- 'bin/**'
- 'lib/l10n/messages/**'
- 'lib/**/*.*.dart'
- 'ios/**'
- 'android/**'
errors:
no_duplicate_case_values: error
avoid_relative_lib_imports: error
always_put_required_named_parameters_first: error
always_declare_return_types: error
invariant_booleans: error
avoid_init_to_null: error
mixin_inherits_from_not_object: ignore
linter:
rules:
...
</code></pre></div>
<p dir="auto">But it still complaining about excluded files...</p>
<p dir="auto">output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="....
lint • Prefer single quotes where they won't require escape sequences at lib/l10n/messages/error_messages_en.dart:139:5 • prefer_single_quotes
lint • Prefer single quotes where they won't require escape sequences at lib/l10n/messages/error_messages_en.dart:139:69 • prefer_single_quotes
lint • Prefer single quotes where they won't require escape sequences at lib/l10n/messages/error_messages_en.dart:140:5 • prefer_single_quotes
lint • Prefer single quotes where they won't require escape sequences at lib/l10n/messages/error_messages_en.dart:140:72 • prefer_single_quotes
lint • Prefer single quotes where they won't require escape sequences at lib/l10n/messages/error_messages_en.dart:141:5 • prefer_single_quotes
lint • Prefer single quotes where they won't require escape sequences at lib/l10n/messages/error_messages_en.dart:141:70 • prefer_single_quotes
lint • Prefer single quotes where they won't require escape sequences at lib/l10n/messages/error_messages_en.dart:142:5 • prefer_single_quotes
hint • The value of the field '_isAudioConnected' isn't used at lib/dongle/dongle_manager.dart:62:8 • unused_field
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/merchant/models/merchant.dart:12:7 • must_be_immutable
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/transactions/models/transaction.dart:22:7 • must_be_immutable
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/transactions/models/transaction_event.dart:12:7 • must_be_immutable
hint • The value of the local variable 'newModel' isn't used at lib/transactions/models/transaction_event.jorm.dart:99:24 • unused_local_variable
hint • The value of the local variable 'newModel' isn't used at lib/transactions/models/transaction_event.jorm.dart:116:24 • unused_local_variable
..."><pre class="notranslate"><code class="notranslate">....
lint • Prefer single quotes where they won't require escape sequences at lib/l10n/messages/error_messages_en.dart:139:5 • prefer_single_quotes
lint • Prefer single quotes where they won't require escape sequences at lib/l10n/messages/error_messages_en.dart:139:69 • prefer_single_quotes
lint • Prefer single quotes where they won't require escape sequences at lib/l10n/messages/error_messages_en.dart:140:5 • prefer_single_quotes
lint • Prefer single quotes where they won't require escape sequences at lib/l10n/messages/error_messages_en.dart:140:72 • prefer_single_quotes
lint • Prefer single quotes where they won't require escape sequences at lib/l10n/messages/error_messages_en.dart:141:5 • prefer_single_quotes
lint • Prefer single quotes where they won't require escape sequences at lib/l10n/messages/error_messages_en.dart:141:70 • prefer_single_quotes
lint • Prefer single quotes where they won't require escape sequences at lib/l10n/messages/error_messages_en.dart:142:5 • prefer_single_quotes
hint • The value of the field '_isAudioConnected' isn't used at lib/dongle/dongle_manager.dart:62:8 • unused_field
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/merchant/models/merchant.dart:12:7 • must_be_immutable
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/transactions/models/transaction.dart:22:7 • must_be_immutable
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/transactions/models/transaction_event.dart:12:7 • must_be_immutable
hint • The value of the local variable 'newModel' isn't used at lib/transactions/models/transaction_event.jorm.dart:99:24 • unused_local_variable
hint • The value of the local variable 'newModel' isn't used at lib/transactions/models/transaction_event.jorm.dart:116:24 • unused_local_variable
...
</code></pre></div>
<p dir="auto">Am I doing something wrong ?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel beta, v0.11.7, on Mac OS X 10.14.1 18B75, locale fr-FR)
• Flutter version 0.11.7 at /Users/jaumard/flutter
• Framework revision 7a005e1dcd (3 days ago), 2018-11-19 11:14:05 -0500
• Engine revision 2e06da3df9
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/jaumard/Library/Android/sdk
• Android NDK at /Users/jaumard/Library/Android/sdk/ndk-bundle
• Platform android-28, build-tools 28.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-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 30.0.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.3)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 28.0.4
• Dart plugin version 182.4323.44
[✓] Connected device (1 available)
• iPhone 5s • D4458C05-61F9-435E-B62E-BBA5E15D2C01 • ios • iOS 12.1 (simulator)
• No issues found!
"><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel beta, v0.11.7, on Mac OS X 10.14.1 18B75, locale fr-FR)
• Flutter version 0.11.7 at /Users/jaumard/flutter
• Framework revision 7a005e1dcd (3 days ago), 2018-11-19 11:14:05 -0500
• Engine revision 2e06da3df9
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/jaumard/Library/Android/sdk
• Android NDK at /Users/jaumard/Library/Android/sdk/ndk-bundle
• Platform android-28, build-tools 28.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-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 30.0.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.3)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 28.0.4
• Dart plugin version 182.4323.44
[✓] Connected device (1 available)
• iPhone 5s • D4458C05-61F9-435E-B62E-BBA5E15D2C01 • ios • iOS 12.1 (simulator)
• No issues found!
</code></pre></div> | <p dir="auto">current just have color and blend mode, we need a colorfilter.matrix to change brightness, saturation and contrast of image for example..</p> | 0 |
<p dir="auto">When I get an error (that red warning that shows on the upper right side of Atom) and I try to interact with it by either clicking on the "Copy to clipboard" or the "Create issue on the xyz package" buttons, nothing happens.</p> | <p dir="auto">This <del>may have</del> definitely has something to do with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="78273540" data-permission-text="Title is private" data-url="https://github.com/atom/notifications/issues/64" data-hovercard-type="pull_request" data-hovercard-url="/atom/notifications/pull/64/hovercard" href="https://github.com/atom/notifications/pull/64">#64</a>:</p>
<p dir="auto">Clicking on the copy button from a test error notification triggered with <kbd>Cmd-Alt-T</kbd> throws an Unhandled Promise rejection with the following error and stack trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: undefined is not a function
at /usr/share/atom/resources/app.asar/node_modules/notifications/lib/user-utilities.js:83:21
at Object.module.exports.linuxVersionText (/usr/share/atom/resources/app.asar/node_modules/notifications/lib/user-utilities.js:82:14)
at /usr/share/atom/resources/app.asar/node_modules/notifications/lib/user-utilities.js:39:36
at Object.module.exports.getOSVersion (/usr/share/atom/resources/app.asar/node_modules/notifications/lib/user-utilities.js:31:14)
at /usr/share/atom/resources/app.asar/node_modules/notifications/lib/notification-issue.js:109:41
at NotificationIssue.module.exports.NotificationIssue.getIssueBody (/usr/share/atom/resources/app.asar/node_modules/notifications/lib/notification-issue.js:103:14)
at HTMLAnchorElement.<anonymous> (/usr/share/atom/resources/app.asar/node_modules/notifications/lib/notification-element.js:180:30)"><pre class="notranslate"><code class="notranslate">TypeError: undefined is not a function
at /usr/share/atom/resources/app.asar/node_modules/notifications/lib/user-utilities.js:83:21
at Object.module.exports.linuxVersionText (/usr/share/atom/resources/app.asar/node_modules/notifications/lib/user-utilities.js:82:14)
at /usr/share/atom/resources/app.asar/node_modules/notifications/lib/user-utilities.js:39:36
at Object.module.exports.getOSVersion (/usr/share/atom/resources/app.asar/node_modules/notifications/lib/user-utilities.js:31:14)
at /usr/share/atom/resources/app.asar/node_modules/notifications/lib/notification-issue.js:109:41
at NotificationIssue.module.exports.NotificationIssue.getIssueBody (/usr/share/atom/resources/app.asar/node_modules/notifications/lib/notification-issue.js:103:14)
at HTMLAnchorElement.<anonymous> (/usr/share/atom/resources/app.asar/node_modules/notifications/lib/notification-element.js:180:30)
</code></pre></div>
<p dir="auto">Also clicking on the "Create issue" button does nothing.</p>
<p dir="auto">OS: Ubuntu 14.10<br>
Atom 0.204.0</p> | 1 |
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-generate-random-whole-numbers-within-a-range" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-generate-random-whole-numbers-within-a-range</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p>
<p dir="auto">"// Make myFunction return a random number between zero and nine instead of a decimal"</p>
<p dir="auto">The above comment does not belong in this waypoint.</p> | <p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/waypoint-generate-random-whole-numbers-within-a-range" rel="nofollow">http://freecodecamp.com/challenges/waypoint-generate-random-whole-numbers-within-a-range</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p>
<p dir="auto">Comment on line 4 of editor reads <code class="notranslate">Make myFunction return a random number between zero and nine instead of a decimal</code></p>
<p dir="auto">Should read <code class="notranslate">Make myFunction return a random number between min and max values instead of a decimal</code></p> | 1 |
<p dir="auto">Hello everybody,</p>
<p dir="auto">I have downloaded a wav file from the web, this is the link:</p>
<p dir="auto"><a href="http://freesound.org/people/RHumphries/sounds/980/" rel="nofollow">http://freesound.org/people/RHumphries/sounds/980/</a></p>
<p dir="auto">Since I have not found out how to attach this file to the bug report anybody who tries to reproduce the problem will have to download the sound. If I am trying to read this file using the function 'scipy.io.wavfile.read' I get an error message. Here is the minimal code example:</p>
<p dir="auto">In [1]: import scipy.io.wavfile as wav<br>
In [2]: rate,f=wav.read('980__rhumphries__rbh-glass-break-04.wav')</p>
<p dir="auto">This gives me the following error: "ValueError: string size must be a multiple of element size"</p>
<p dir="auto">Since the function is working fine with all the other wav files that I have I suspect that this is a bug.</p> | <p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/scipy/ticket/881" rel="nofollow">http://projects.scipy.org/scipy/ticket/881</a> on 2009-03-06 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pv">@pv</a>, assigned to unknown.</em></p>
<p dir="auto"><code class="notranslate">scipy.interpolate</code> contains two sets of functions for making and representing splines:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> from scipy import arange, interpolate, float_
>>> x = arange(6).astype(float_)
>>> spl1 = interpolate.splmake(x, x, order=2)
>>> interpolate.spleval(spl1, x)
array([ -4.99600361e-16, 1.00000000e-00, 2.00000000e+00,
3.00000000e+00, 4.00000000e+00, 5.00000000e+00])
>>> spl2 = interpolate.splrep(x, x, k=2)
>>> interpolate.splev(x, spl2)
array([ -6.89645379e-18, 1.00000000e+00, 2.00000000e+00,
3.00000000e+00, 4.00000000e+00, 5.00000000e+00])"><pre class="notranslate"><code class="notranslate">>>> from scipy import arange, interpolate, float_
>>> x = arange(6).astype(float_)
>>> spl1 = interpolate.splmake(x, x, order=2)
>>> interpolate.spleval(spl1, x)
array([ -4.99600361e-16, 1.00000000e-00, 2.00000000e+00,
3.00000000e+00, 4.00000000e+00, 5.00000000e+00])
>>> spl2 = interpolate.splrep(x, x, k=2)
>>> interpolate.splev(x, spl2)
array([ -6.89645379e-18, 1.00000000e+00, 2.00000000e+00,
3.00000000e+00, 4.00000000e+00, 5.00000000e+00])
</code></pre></div>
<p dir="auto">But these are not interoperable and using them wrong can silently give bogus results!</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> interpolate.splev(x, spl1)
array([ -2.00000000e+00, -1.00000000e+00, -4.99600361e-16,
1.00000000e-00, 2.00000000e+00, 3.00000000e+00])
>>> interpolate.spleval(spl2, x)
Traceback (most recent call last):
File "<ipython console>", line 1, in <module>
File ".../scipy/interpolate/interpolate.py", line 772, in spleval
res[sl] = _fitpack._bspleval(xx,xj,cvals[sl],k,deriv)
ValueError: too few coefficients (have 9 need at least 10)"><pre class="notranslate"><code class="notranslate">>>> interpolate.splev(x, spl1)
array([ -2.00000000e+00, -1.00000000e+00, -4.99600361e-16,
1.00000000e-00, 2.00000000e+00, 3.00000000e+00])
>>> interpolate.spleval(spl2, x)
Traceback (most recent call last):
File "<ipython console>", line 1, in <module>
File ".../scipy/interpolate/interpolate.py", line 772, in spleval
res[sl] = _fitpack._bspleval(xx,xj,cvals[sl],k,deriv)
ValueError: too few coefficients (have 9 need at least 10)
</code></pre></div>
<p dir="auto">Some cleanup seems to be required. The current situation is confusing, especially as the documentation is lacking, too.</p>
<p dir="auto">Also, if the two sets of spline functions are functionally equivalent, one of them should be scrapped, or at least removed from scipy.interpolate namespace.</p> | 0 |
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br>
No,</p>
<p dir="auto"><strong>What is the current behavior?</strong><br>
The component rerenders 3 more times than needed</p>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
The component to rerender once</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>
16.8</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import React from "react";
import ReactDOM from "react-dom";
import { Lower } from "./lower";
import "./styles.css";
function App() {
const [state, setState] = React.useState("nochange");
const change = () => {
console.log("runs");
setState("change");
};
return (
<div className="App">
<Lower mode={state} />
<p />
<button onClick={() => change()}>click to change</button>
</div>
);
}
const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);"><pre class="notranslate"><code class="notranslate">import React from "react";
import ReactDOM from "react-dom";
import { Lower } from "./lower";
import "./styles.css";
function App() {
const [state, setState] = React.useState("nochange");
const change = () => {
console.log("runs");
setState("change");
};
return (
<div className="App">
<Lower mode={state} />
<p />
<button onClick={() => change()}>click to change</button>
</div>
);
}
const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import React from "react";
export const Lower = props => {
const [state, setState] = React.useState(1);
console.log(props.mode);
React.useEffect(() => {
props.mode === "change" && setState(2);
});
return state;
};
"><pre class="notranslate"><code class="notranslate">import React from "react";
export const Lower = props => {
const [state, setState] = React.useState(1);
console.log(props.mode);
React.useEffect(() => {
props.mode === "change" && setState(2);
});
return state;
};
</code></pre></div>
<p dir="auto">My repo is <a href="url">https://codesandbox.io/s/kkkl61mrzv</a> and I am trying to send a prop to my child via manipulating the state with the new hooks. the component does work however in my console.log I can see that the component rerenders quite a few times. please help me find a proper way to have this done with rerendering once.</p> | <p dir="auto">React version: 17.0.2</p>
<h2 dir="auto">Steps To Reproduce</h2>
<ol dir="auto">
<li>yarn install</li>
<li>yarn build:admin-react</li>
<li>node server2</li>
</ol>
<p dir="auto">Link to code example:<br>
<a href="https://github.com/see/ssr-demo">https://github.com/see/ssr-demo</a></p>
<h2 dir="auto">The current behavior</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(node:97731) UnhandledPromiseRejectionWarning: Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at R (/Users/ying/workspace/FEProjects/ssr-demo/dist/admin-react/node/static/js/main.01e60cfb.js:2:5394)
at t.useContext (/Users/ying/workspace/FEProjects/ssr-demo/dist/admin-react/node/static/js/main.01e60cfb.js:2:7108)
at C (/Users/ying/workspace/FEProjects/ssr-demo/dist/admin-react/node/static/js/main.01e60cfb.js:2:14117)
at A (/Users/ying/workspace/FEProjects/ssr-demo/dist/admin-react/node/static/js/main.01e60cfb.js:2:15285)
at processChild (/Users/ying/workspace/FEProjects/ssr-demo/node_modules/react-dom/cjs/react-dom-server.node.development.js:3353:14)
at resolve (/Users/ying/workspace/FEProjects/ssr-demo/node_modules/react-dom/cjs/react-dom-server.node.development.js:3270:5)
at ReactDOMServerRenderer.render (/Users/ying/workspace/FEProjects/ssr-demo/node_modules/react-dom/cjs/react-dom-server.node.development.js:3753:22)
at ReactDOMServerRenderer.read (/Users/ying/workspace/FEProjects/ssr-demo/node_modules/react-dom/cjs/react-dom-server.node.development.js:3690:29)
at renderToString (/Users/ying/workspace/FEProjects/ssr-demo/node_modules/react-dom/cjs/react-dom-server.node.development.js:4298:27)
at /Users/ying/workspace/FEProjects/ssr-demo/server2.js:29:22
(Use `node --trace-warnings ...` to show where the warning was created)
(node:97731) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)"><pre class="notranslate"><code class="notranslate">(node:97731) UnhandledPromiseRejectionWarning: Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at R (/Users/ying/workspace/FEProjects/ssr-demo/dist/admin-react/node/static/js/main.01e60cfb.js:2:5394)
at t.useContext (/Users/ying/workspace/FEProjects/ssr-demo/dist/admin-react/node/static/js/main.01e60cfb.js:2:7108)
at C (/Users/ying/workspace/FEProjects/ssr-demo/dist/admin-react/node/static/js/main.01e60cfb.js:2:14117)
at A (/Users/ying/workspace/FEProjects/ssr-demo/dist/admin-react/node/static/js/main.01e60cfb.js:2:15285)
at processChild (/Users/ying/workspace/FEProjects/ssr-demo/node_modules/react-dom/cjs/react-dom-server.node.development.js:3353:14)
at resolve (/Users/ying/workspace/FEProjects/ssr-demo/node_modules/react-dom/cjs/react-dom-server.node.development.js:3270:5)
at ReactDOMServerRenderer.render (/Users/ying/workspace/FEProjects/ssr-demo/node_modules/react-dom/cjs/react-dom-server.node.development.js:3753:22)
at ReactDOMServerRenderer.read (/Users/ying/workspace/FEProjects/ssr-demo/node_modules/react-dom/cjs/react-dom-server.node.development.js:3690:29)
at renderToString (/Users/ying/workspace/FEProjects/ssr-demo/node_modules/react-dom/cjs/react-dom-server.node.development.js:4298:27)
at /Users/ying/workspace/FEProjects/ssr-demo/server2.js:29:22
(Use `node --trace-warnings ...` to show where the warning was created)
(node:97731) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
</code></pre></div>
<h2 dir="auto">The expected behavior</h2> | 0 |
<p dir="auto"><a href="http://plnkr.co/edit/5ZlYKh?p=preview" rel="nofollow">http://plnkr.co/edit/5ZlYKh?p=preview</a></p>
<p dir="auto">If you look at the provided example you will see that it attempts to make use of ng-content and that it does not work. The reason it does not work seems to be that it is attempting to use the contents of the root component which appears in the index.html. However, as soon as an intermediary component is introduced, as in this example:</p>
<p dir="auto"><a href="http://plnkr.co/edit/KwXVY0?p=preview" rel="nofollow">http://plnkr.co/edit/KwXVY0?p=preview</a></p>
<p dir="auto">Then the ng-content works correctly.</p>
<p dir="auto">Also, and this is basically lumping two things together into one, shouldn't ng-content have become ngContent just as ngIf, ngFor, etc. did?</p> | <p dir="auto"><a href="http://plnkr.co/edit/5731Z9N6tQ391gQtfZrA?p=preview" rel="nofollow">http://plnkr.co/edit/5731Z9N6tQ391gQtfZrA?p=preview</a></p>
<p dir="auto">I've been over the documentation 10 times, I've read through the source code, tutorials, the works... and I still can't wrap my head around what I'm doing wrong.</p>
<p dir="auto">all I want to do is:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<app myTitle='my awesome title'> "><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">app</span> <span class="pl-c1">myTitle</span>='<span class="pl-s">my awesome title</span>'<span class="pl-kos">></span> </pre></div>
<p dir="auto">and access myTitle from inside the constructor.</p>
<p dir="auto">Is that possible in NG2?</p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.1</li>
<li>Operating System version: CentOS 7.5</li>
<li>Java version: 1.8.202</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">Simply using Zookeeper for the service registry.<br>
Register a service.</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">When browsing Zookeeper Znodes, we see the service providers is stored in a ZNodes with long name, such as<br>
<code class="notranslate">/dubbo/com.test.dubbo.TestDubboPoc$MyService/providers/dubbo://127.0.0.1:20880/com.test.dubbo.TestDubboPoc$MyService?anyhost=true&application=first-dubbo-provider&default.deprecated=false&default.dynamic=false&default.register=true&deprecated=false&dubbo=2.0.2&dynamic=false&generic=false&interface=com.test.dubbo.TestDubboPoc$MyService&loadbalance=roundrobin&methods=writeFile,getData&optimizer=com.test.dubbo.SerializationOptimizerImpl&payload=2147483647&pid=10894&register=true&release=2.7.1&revision=version1&serialization=avro&side=provider&timestamp=1556969914059&version=version1</code></p>
<h3 dir="auto">Expectation</h3>
<p dir="auto">Is it possible to manage the znode name, such as providing a SHA hashing ID?</p> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: xxx</li>
<li>Operating System version: xxx</li>
<li>Java version: xxx</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>xxx</li>
<li>xxx</li>
<li>xxx</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps?</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | 0 |
<p dir="auto">The toggleable button in the examples for checkbox and radio functionality don't work since 2.0.1.</p>
<p dir="auto">Examples: bootstrap/docs/javascript.html#buttons</p>
<p dir="auto">Browser: Firefox 9.0.1</p> | <p dir="auto">The commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/twbs/bootstrap/commit/139a07754303e1e53b34a0fca3b9c0a43ee5712b/hovercard" href="https://github.com/twbs/bootstrap/commit/139a07754303e1e53b34a0fca3b9c0a43ee5712b"><tt>139a077</tt></a> doesn't work with the normal button which doesn't contain any image.</p> | 1 |
<p dir="auto">When testing my packages with 1.7 (Windows 10), I get tons and tons of warnings similar to these:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="WARNING: Method definition Any(Integer, Static.StaticInt{1}, Integer) in module ArrayInterface at C:\Users\PetrKrysl\.julia\packages\ArrayInterface\CYf5x\src\ranges.jl:261 overwritten on the same line (check for duplicate calls to `include`).
** incremental compilation may be fatally broken for this module **
WARNING: Method definition Any(Integer, Static.StaticInt{1}, Static.StaticInt{L}) where {L} in module ArrayInterface at C:\Users\PetrKrysl\.julia\packages\ArrayInterface\CYf5x\src\ranges.jl:255 overwritten on the same line (check for duplicate calls to `include`).
** incremental compilation may be fatally broken for this module **
WARNING: Method definition Any(Integer, Static.StaticInt{S}, Integer) where {S} in module ArrayInterface at C:\Users\PetrKrysl\.julia\packages\ArrayInterface\CYf5x\src\ranges.jl:246 overwritten on the same line (check for duplicate calls to `include`).
** incremental compilation may be fatally broken for this module **
WARNING: Method definition Any(Integer, Integer, Static.StaticInt{L}) where {L} in module ArrayInterface at C:\Users\PetrKrysl\.julia\packages\ArrayInterface\CYf5x\src\ranges.jl:243 overwritten on the same line (check for duplicate calls to `include`).
** incremental compilation may be fatally broken for this module **
WARNING: Method definition Any(Integer, Static.StaticInt{S}, Static.StaticInt{L}) where {S, L} in module ArrayInterface at C:\Users\PetrKrysl\.julia\packages\ArrayInterface\CYf5x\src\ranges.jl:234 overwritten on the same line (check for duplicate calls to `include`).
** incremental compilation may be fatally broken for this module **
"><pre class="notranslate"><code class="notranslate">WARNING: Method definition Any(Integer, Static.StaticInt{1}, Integer) in module ArrayInterface at C:\Users\PetrKrysl\.julia\packages\ArrayInterface\CYf5x\src\ranges.jl:261 overwritten on the same line (check for duplicate calls to `include`).
** incremental compilation may be fatally broken for this module **
WARNING: Method definition Any(Integer, Static.StaticInt{1}, Static.StaticInt{L}) where {L} in module ArrayInterface at C:\Users\PetrKrysl\.julia\packages\ArrayInterface\CYf5x\src\ranges.jl:255 overwritten on the same line (check for duplicate calls to `include`).
** incremental compilation may be fatally broken for this module **
WARNING: Method definition Any(Integer, Static.StaticInt{S}, Integer) where {S} in module ArrayInterface at C:\Users\PetrKrysl\.julia\packages\ArrayInterface\CYf5x\src\ranges.jl:246 overwritten on the same line (check for duplicate calls to `include`).
** incremental compilation may be fatally broken for this module **
WARNING: Method definition Any(Integer, Integer, Static.StaticInt{L}) where {L} in module ArrayInterface at C:\Users\PetrKrysl\.julia\packages\ArrayInterface\CYf5x\src\ranges.jl:243 overwritten on the same line (check for duplicate calls to `include`).
** incremental compilation may be fatally broken for this module **
WARNING: Method definition Any(Integer, Static.StaticInt{S}, Static.StaticInt{L}) where {S, L} in module ArrayInterface at C:\Users\PetrKrysl\.julia\packages\ArrayInterface\CYf5x\src\ranges.jl:234 overwritten on the same line (check for duplicate calls to `include`).
** incremental compilation may be fatally broken for this module **
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> versioninfo()
Julia Version 1.7.0-beta2
Commit b570546b68 (2021-06-20 06:31 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.0 (ORCJIT, skylake)
Environment:
JULIA_SSL_CA_ROOTS_PATH = "><pre class="notranslate"><code class="notranslate">julia> versioninfo()
Julia Version 1.7.0-beta2
Commit b570546b68 (2021-06-20 06:31 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.0 (ORCJIT, skylake)
Environment:
JULIA_SSL_CA_ROOTS_PATH =
</code></pre></div> | <p dir="auto">I am testing the C's <code class="notranslate">printf</code> via <code class="notranslate">ccall</code> in julia, however, the "%f" format did not work as expected.</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="foo(x) = ccall(:printf, Cint, (Cstring, Cfloat), "%f\n", x) # helper function
foo(12.3) => 0.000000"><pre class="notranslate"><span class="pl-en">foo</span>(x) <span class="pl-k">=</span> <span class="pl-c1">ccall</span>(<span class="pl-c1">:printf</span>, Cint, (Cstring, Cfloat), <span class="pl-s"><span class="pl-pds">"</span>%f<span class="pl-cce">\n</span><span class="pl-pds">"</span></span>, x) <span class="pl-c"><span class="pl-c">#</span> helper function</span>
<span class="pl-c1">foo</span>(<span class="pl-c1">12.3</span>) <span class="pl-k">=></span> <span class="pl-c1">0.000000</span></pre></div>
<p dir="auto">The output is "0.000000" on x64 windows and arm64 linux, but not on x64 linux.<br>
Poring through <code class="notranslate">@code_llvm</code>, printf is called as:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="%17 = call i32 inttoptr (i64 140719310539600 to i32 (i64, float)*)(i64 441151672, float %16)"><pre class="notranslate"><code class="notranslate">%17 = call i32 inttoptr (i64 140719310539600 to i32 (i64, float)*)(i64 441151672, float %16)
</code></pre></div>
<p dir="auto">but printf is called as below if I use <code class="notranslate">clang -o - -S -emit-llvm</code> (on arm64 linux and x64 linux):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), double 1.230000e+01)"><pre class="notranslate"><code class="notranslate">%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), double 1.230000e+01)
</code></pre></div>
<p dir="auto">I have not figured out how vararg is passed on arm64, but <a href="https://docs.microsoft.com/en-us/cpp/build/x64-calling-convention?view=msvc-160#varargs" rel="nofollow">Microsoft document on x64 calling convention</a> says that vararg floating-point argument must be duplicated in both integer and floating-point registers, which I guess is the reason why "0.00000" is printed.</p> | 0 |
<h4 dir="auto">Issue Description</h4>
<p dir="auto">I think the "Escape Sequences in Strings" lesson has a bug.</p>
<p dir="auto">I am going through the Javascript course on FreeCodeCamp.com and am stuck at this challenge, 'Escape Sequences in Strings':</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Assign the following three lines of text into the single variable myStr using escape sequences.
FirstLine
\SecondLine\
ThirdLine
You will need to use escape sequences to insert special characters correctly. You will also need to follow the spacing as it looks above, with no spaces between escape sequences or words.
Here is the text with the escape sequences written out.
"FirstLine newline backslash SecondLine backslash carriage-return ThirdLine""><pre class="notranslate"><code class="notranslate">Assign the following three lines of text into the single variable myStr using escape sequences.
FirstLine
\SecondLine\
ThirdLine
You will need to use escape sequences to insert special characters correctly. You will also need to follow the spacing as it looks above, with no spaces between escape sequences or words.
Here is the text with the escape sequences written out.
"FirstLine newline backslash SecondLine backslash carriage-return ThirdLine"
</code></pre></div>
<p dir="auto">Here is how I'm writing the code example:</p>
<p dir="auto"><code class="notranslate">js var myStr = "Firstline\n\\Secondline\\\rThirdline"; </code></p>
<p dir="auto">In the lesson, the check requires there to be only one <code class="notranslate"> \n</code>. The <code class="notranslate">\r</code> doesn't seem to function properly. I have tried different work arounds and searching hasn't provided any direction. I have tried using 'console' in the developer window of the browser and it appears <code class="notranslate">\n</code> is working but the <code class="notranslate">\r</code> is not.</p>
<p dir="auto">According to the rules of the instruction,</p>
<p dir="auto"><code class="notranslate">js var myStr = "Fristline\n\\Secondline\\\r\nThirdline"; </code></p>
<p dir="auto">is not valid by the lesson standards.</p>
<p dir="auto">Is the carriage-return not working?<br>
Am I misunderstanding the lesson?</p>
<p dir="auto">According to the book 'Javascript Bible' by Danny Goodman, chapter 15 'The String Objects', section 'Special Inline Characters' states:</p>
<p dir="auto">"In most cases, browsers ignore carriage returns or render them like spaces."</p>
<p dir="auto"><a href="https://books.google.com/books?id=WMr2NEG88icC&pg=PT262&lpg=PT262&dq=javascript+carriage+return&source=bl&ots=dWFLqN0rlO&sig=eZGo_74AHZq_4e2pxmtiqXz6l9s&hl=en&sa=X&ved=0ahUKEwivlMaEqu_QAhWBOSYKHSviBM44HhDoAQgjMAI#v=onepage&q=javascript%20carriage%20return&f=false" rel="nofollow">https://books.google.com/books?id=WMr2NEG88icC&pg=PT262&lpg=PT262&dq=javascript+carriage+return&source=bl&ots=dWFLqN0rlO&sig=eZGo_74AHZq_4e2pxmtiqXz6l9s&hl=en&sa=X&ved=0ahUKEwivlMaEqu_QAhWBOSYKHSviBM44HhDoAQgjMAI#v=onepage&q=javascript%20carriage%20return&f=false</a></p>
<p dir="auto">To highlight this issue I put similar isolating code found in the lesson inside <code class="notranslate">console.log();</code> in the Developer window of the browser. I received some interesting results.</p>
<p dir="auto">This is what occurs in the browser as displayed in console:</p>
<p dir="auto"><code class="notranslate">js console.log("escape characters use a \\\nbackslash. But a carrige-return \rdoes this!"); </code></p>
<p dir="auto">escape characters use a \<br>
backslash. But a carrige-return does this!</p>
<p dir="auto">This is the same code copied to clipboard from the browsers console display and pasted into an editor:</p>
<p dir="auto"><code class="notranslate">js console.log("escape characters use a \\\nbackslash. But a carrige-return \rdoes this!"); </code><br>
escape characters use a \<br>
backslash. But a carrige-return<br>
does this!</p>
<p dir="auto">Browser display:</p>
<p dir="auto"><code class="notranslate">js var myStr = "Firstline\n\\Secondline\\\rThirdline"; console.log(myStr); </code><br>
Firstline<br>
\Secondline\Thirdline</p>
<p dir="auto">Clipboard paste result:</p>
<p dir="auto"><code class="notranslate">js var myStr = "Firstline\n\\Secondline\\\rThirdline"; console.log(myStr); </code><br>
Firstline<br>
\Secondline\<br>
Thirdline</p>
<h4 dir="auto">Browser Information</h4>
<p dir="auto">Firefox Version 49.0.2<br>
Build ID 20161019084923<br>
Update Channel release<br>
User Agent Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0<br>
OS Windows_NT 6.2</p>
<ul dir="auto">
<li>Browser Name, Version: Firefox 49</li>
<li>Operating System: Windows 8</li>
</ul> | <p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/escape-sequences-in-strings#?solution=%0Avar%20myStr%3D%22FirstLine%5Cn%5C%5CSecondLine%5C%5C%5CrThirdLine%22%3B%20%2F%2F%20Change%20this%20line%0A%0A%0A" rel="nofollow">Escape Sequences in Strings</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
var myStr="FirstLine\n\\SecondLine\\\rThirdLine"; // Change this line
"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">myStr</span><span class="pl-c1">=</span><span class="pl-s">"FirstLine\n\\SecondLine\\\rThirdLine"</span><span class="pl-kos">;</span> <span class="pl-c">// Change this line</span>
</pre></div> | 1 |
<p dir="auto"><code class="notranslate">/tmp $ cat program.rs</code></p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="trait MyTrait {}
fn main() {}"><pre class="notranslate"><span class="pl-k">trait</span> <span class="pl-smi">MyTrait</span> <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<p dir="auto"><code class="notranslate">/tmp $ rustc program.rs</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="program.rs:1:1: 1:17 error: parameter `Self` is never used
program.rs:1 trait MyTrait {}
^~~~~~~~~~~~~~~~
program.rs:1:17: 1:17 help: consider removing `Self` or using a marker such as `core::marker::PhantomFn`
error: aborting due to previous error"><pre class="notranslate"><code class="notranslate">program.rs:1:1: 1:17 error: parameter `Self` is never used
program.rs:1 trait MyTrait {}
^~~~~~~~~~~~~~~~
program.rs:1:17: 1:17 help: consider removing `Self` or using a marker such as `core::marker::PhantomFn`
error: aborting due to previous error
</code></pre></div>
<p dir="auto">My program does not make use of any <code class="notranslate">Self</code> parameter</p> | <p dir="auto"><a href="http://is.gd/GmxfTA" rel="nofollow">Given the input</a></p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="trait T {}"><pre class="notranslate"><span class="pl-k">trait</span> <span class="pl-smi">T</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<p dir="auto">rustc will complain:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<anon>:2:1: 2:11 error: parameter `Self` is never used
<anon>:2 trait T {}
^~~~~~~~~~
<anon>:2:1: 2:11 help: consider removing `Self` or using a marker such as `core::marker::PhantomFn`
<anon>:2 trait T {}
^~~~~~~~~~"><pre class="notranslate"><code class="notranslate"><anon>:2:1: 2:11 error: parameter `Self` is never used
<anon>:2 trait T {}
^~~~~~~~~~
<anon>:2:1: 2:11 help: consider removing `Self` or using a marker such as `core::marker::PhantomFn`
<anon>:2 trait T {}
^~~~~~~~~~
</code></pre></div>
<p dir="auto">This may just be a diagnostics issue, but I'll let someone more familiar with Rust make that judgement.</p> | 1 |
<p dir="auto">One of the best features of Deno is allowing us to write JavaScript that both run at (modern) browsers and server side without building or other works. But if we write in TypeScript, that's useless for Browsers. (That's why I'd like to write codes in JS rather then TS.)</p>
<p dir="auto">If Deno provide an API that accepts TS codes, compile them with inside compiler, and returns JS codes. We can build a web server to respond JS modules compiled from TS. Then the TS codes are cross-platform too.</p>
<p dir="auto">Here is a suggestion:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Deno.compile( code:string, options?:CompileOption ):Promise<string>
Deno.compileFile( filename:string, options?:CompileOption ):Promise<string>
Deno.compileSync( code:string, options?:CompileOption ):string
Deno.compileFileSync( filename:string, options?:CompileOption ):string"><pre class="notranslate"><span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-en">compile</span><span class="pl-kos">(</span> <span class="pl-s1">code</span>:<span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">options</span>?:<span class="pl-smi">CompileOption</span> <span class="pl-kos">)</span>:<span class="pl-smi">Promise</span><span class="pl-c1"><</span><span class="pl-s1">string</span><span class="pl-c1">></span>
<span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-en">compileFile</span><span class="pl-kos">(</span> <span class="pl-s1">filename</span>:string<span class="pl-kos">,</span> <span class="pl-s1">options</span>?:<span class="pl-smi">CompileOption</span> <span class="pl-kos">)</span>:<span class="pl-smi">Promise</span><span class="pl-c1"><</span><span class="pl-s1">string</span><span class="pl-c1">></span>
<span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-en">compileSync</span><span class="pl-kos">(</span> <span class="pl-s1">code</span>:<span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">options</span>?:<span class="pl-smi">CompileOption</span> <span class="pl-kos">)</span>:<span class="pl-s1">string</span>
<span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-en">compileFileSync</span><span class="pl-kos">(</span> <span class="pl-s1">filename</span>:string<span class="pl-kos">,</span> <span class="pl-s1">options</span>?:<span class="pl-smi">CompileOption</span> <span class="pl-kos">)</span>:<span class="pl-s1">string</span></pre></div> | <p dir="auto">The <code class="notranslate">console.log</code> and <code class="notranslate">console.table</code> functions don't use colors when displaying objects. Here is an example for the <code class="notranslate">console.log</code> example.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/13885008/81581347-e7286c00-93ae-11ea-91e2-e0c706773d29.png"><img src="https://user-images.githubusercontent.com/13885008/81581347-e7286c00-93ae-11ea-91e2-e0c706773d29.png" alt="image" style="max-width: 100%;"></a></p> | 0 |
<h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<ul dir="auto">
<li>config</li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="module.exports = {
plugins : [
new webpack.DefinePlugin({foo : 'aFoo', bar : 'aBar', crash : 'other.prop'})
]
}"><pre class="notranslate"><span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">plugins</span> : <span class="pl-kos">[</span>
<span class="pl-k">new</span> <span class="pl-s1">webpack</span><span class="pl-kos">.</span><span class="pl-c1">DefinePlugin</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-c1">foo</span> : <span class="pl-s">'aFoo'</span><span class="pl-kos">,</span> <span class="pl-c1">bar</span> : <span class="pl-s">'aBar'</span><span class="pl-kos">,</span> <span class="pl-c1">crash</span> : <span class="pl-s">'other.prop'</span><span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<ul dir="auto">
<li>source code</li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="console.log({foo : foo, bar : bar}); // correct
console.log({foo, bar}); // incorrect
console.log({crash}); // SyntaxError: Unexpected token '.'"><pre class="notranslate"><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-kos">{</span><span class="pl-c1">foo</span> : <span class="pl-s1">foo</span><span class="pl-kos">,</span> <span class="pl-c1">bar</span> : <span class="pl-s1">bar</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// correct</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-kos">{</span>foo<span class="pl-kos">,</span> bar<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// incorrect</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-kos">{</span>crash<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// SyntaxError: Unexpected token '.'</span></pre></div>
<ul dir="auto">
<li>translated code</li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="console.log({foo : aFoo, bar : aBar}); // correct
console.log({aFoo, aBar}); // incorrect
console.log({other.prop}); // SyntaxError: Unexpected token '.'"><pre class="notranslate"><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-kos">{</span><span class="pl-c1">foo</span> : <span class="pl-s1">aFoo</span><span class="pl-kos">,</span> <span class="pl-c1">bar</span> : <span class="pl-s1">aBar</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// correct</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-kos">{</span>aFoo<span class="pl-kos">,</span> aBar<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// incorrect</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-kos">{</span><span class="pl-s1">other</span><span class="pl-kos">.</span>prop<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// SyntaxError: Unexpected token '.'</span></pre></div>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">the shorthand property should expand before translate with DefinePlugin,<br>
and only property value can be translated</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: 5.75.0<br>
Node.js version: 19.6.1<br>
Operating System: macOs 13.2.1 (22D68)<br>
Additional tools:</p> | <h2 dir="auto">Feature request</h2>
<p dir="auto">support destructuring in:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> EnvironmentPlugin, DefinePlugin, ImportMetaPlugin (partial support?), other plugins?</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1642370813" data-permission-text="Title is private" data-url="https://github.com/webpack/webpack/issues/16872" data-hovercard-type="issue" data-hovercard-url="/webpack/webpack/issues/16872/hovercard" href="https://github.com/webpack/webpack/issues/16872">#16872</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1659123801" data-permission-text="Title is private" data-url="https://github.com/webpack/webpack/issues/16941" data-hovercard-type="pull_request" data-hovercard-url="/webpack/webpack/pull/16941/hovercard" href="https://github.com/webpack/webpack/pull/16941">#16941</a> treeshaking when using namespace object, e.g. <code class="notranslate">import * as b from 'b';const {a} = b;</code></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> json treeshaking, e.g. <code class="notranslate">import b from '1.json'; const {a} = b;</code></li>
</ul>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">Webpack should support destructuring on parser level</p>
<p dir="auto"><strong>What is motivation or use case for adding/changing the behavior?</strong></p>
<p dir="auto">Modern versions of runtime environments (browsers, Node.js, Deno) support destructuring</p>
<p dir="auto"><strong>How should this be implemented in your opinion?</strong></p>
<p dir="auto"><code class="notranslate">JavascriptParser</code> should be improved</p>
<p dir="auto"><strong>Are you willing to work on this yourself?</strong><br>
yes</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 => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => 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 => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => 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">An error inside a template is swallowed if the template was rendered as a response to a promise resolution.</p>
<p dir="auto">In other cases the same exception is properly logged. Exception in .then() is OK. Exception in template that was not rendered in response to a promise is OK</p>
<p dir="auto"><strong>Expected behavior</strong></p>
<p dir="auto">The exception should either be passed to the .catch-function or logged.</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>
<p dir="auto"><a href="http://plnkr.co/edit/ilqlcUUnrRpvFEFuzQc6?p=preview&open=app%2Fapp.component.ts" rel="nofollow">http://plnkr.co/edit/ilqlcUUnrRpvFEFuzQc6?p=preview&open=app%2Fapp.component.ts</a></p>
<p dir="auto">Run the plunkr and see that there is no exeption.</p>
<p dir="auto">Comment out Mark2 and put back in Mark1 or Mark3 and see that the error is handled properly.</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>
<p dir="auto">When the error inside templates silently fails It makes it much harder for me to figure out why the template does not finish rendering.</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 4.0.0</p>
</li>
<li>
<p dir="auto"><strong>Browser:</strong> Chrome, bot probably all.</p>
</li>
</ul> | <p dir="auto">zone.js seems to have managed to eaten an exception that I needed. Don't know if this is actually zone.js's fault or something further down the stack is suppose to handle notifying of the exception but I figured you could probably tell me. Stack trace of exception follows</p>
<p dir="auto">(anonymous) (display.component.ngfactory.ts:486)<br>
debugUpdateRenderer (core.es5.js:12651)<br>
checkAndUpdateView (core.es5.js:12030)<br>
callViewAction (core.es5.js:12340)<br>
execComponentViewsAction (core.es5.js:12286)<br>
checkAndUpdateView (core.es5.js:12031)<br>
callViewAction (core.es5.js:12340)<br>
execEmbeddedViewsAction (core.es5.js:12312)<br>
checkAndUpdateView (core.es5.js:12026)<br>
callViewAction (core.es5.js:12340)<br>
execEmbeddedViewsAction (core.es5.js:12312)<br>
checkAndUpdateView (core.es5.js:12026)<br>
callViewAction (core.es5.js:12340)<br>
execComponentViewsAction (core.es5.js:12286)<br>
checkAndUpdateView (core.es5.js:12031)<br>
callViewAction (core.es5.js:12340)<br>
execEmbeddedViewsAction (core.es5.js:12312)<br>
checkAndUpdateView (core.es5.js:12026)<br>
callViewAction (core.es5.js:12340)<br>
execEmbeddedViewsAction (core.es5.js:12312)<br>
checkAndUpdateView (core.es5.js:12026)<br>
callViewAction (core.es5.js:12340)<br>
execComponentViewsAction (core.es5.js:12286)<br>
checkAndUpdateView (core.es5.js:12031)<br>
callViewAction (core.es5.js:12340)<br>
execEmbeddedViewsAction (core.es5.js:12312)<br>
checkAndUpdateView (core.es5.js:12026)<br>
callViewAction (core.es5.js:12340)<br>
execComponentViewsAction (core.es5.js:12286)<br>
checkAndUpdateView (core.es5.js:12031)<br>
callWithDebugContext (core.es5.js:13013)<br>
debugCheckAndUpdateView (core.es5.js:12553)<br>
ViewRef_.detectChanges (core.es5.js:10122)<br>
(anonymous) (core.es5.js:5052)<br>
ApplicationRef_.tick (core.es5.js:5052)<br>
(anonymous) (core.es5.js:4932)<br>
ZoneDelegate.invoke (zone.js:365)<br>
onInvoke (core.es5.js:4125)<br>
ZoneDelegate.invoke (zone.js:364)<br>
Zone.run (zone.js:125)<br>
NgZone.run (core.es5.js:3994)<br>
next (core.es5.js:4932)<br>
schedulerFn (core.es5.js:3828)<br>
SafeSubscriber.__tryOrUnsub (Subscriber.js:234)<br>
SafeSubscriber.next (Subscriber.js:183)<br>
Subscriber._next (Subscriber.js:125)<br>
Subscriber.next (Subscriber.js:89)<br>
Subject.next (Subject.js:55)<br>
EventEmitter.emit (core.es5.js:3814)<br>
NgZone.checkStable (core.es5.js:4090)<br>
NgZone.setHasMicrotask (core.es5.js:4174)<br>
onHasTask (core.es5.js:4137)<br>
ZoneDelegate.hasTask (zone.js:418) //caught here<br>
ZoneDelegate._updateTaskCount (zone.js:438)<br>
Zone._updateTaskCount (zone.js:262)<br>
Zone.runTask (zone.js:182)<br>
drainMicroTaskQueue (zone.js:593)<br>
ZoneTask.invoke (zone.js:464)</p>
<p dir="auto">edit: (attempted) clarification<br>
An exception's information is lost, specifically here's what happened.</p>
<ol dir="auto">
<li>an angular template references invalid_variable.foo</li>
<li>this throws an error ReferenceError: invalid_variable is not defined or possibly Cannot read property 'foo' of undefined (the exact error isn't important)</li>
<li>the exception propagates up the stack (it's an exception after all) At several points it's caught enhanced with more information and thrown again, no surprises there.</li>
<li>ZoneDelegate.hasTask (zone.js:418) is wraped in a try catch where the catch does nothing. This catches the exception and stops handling it<br>
result: angular template stops rendering and it's very difficult to debug, as no stack trace or other error information are logged to the console. The error is currently silently caught and discarded.</li>
</ol>
<p dir="auto">desired behavior<br>
The exception is at some point shown to me either by being logged at some point, or being thrown and not caught at some point.</p> | 1 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible -m raw localhost -a 'echo connection' --sudo -K -vvvv -c local
Using /etc/ansible/ansible.cfg as config file
SUDO password:
Loaded callback minimal of type stdout, v2.0
ESTABLISH LOCAL CONNECTION FOR USER: badger
127.0.0.1 EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=dsvxgavwyxalsjrucewuzwdyxmpasolo] password: " -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-dsvxgavwyxalsjrucewuzwdyxmpasolo; echo connection'"'"''
localhost | FAILED | rc=0 >>
ERROR! privilege output closed while waiting for password prompt:
BECOME-SUCCESS-dsvxgavwyxalsjrucewuzwdyxmpasolo
connection
[pts/36@roan /srv/ansible/ansible-friday]$ ansible -m raw localhost -a '/bin/echo connection' --sudo -K -vvvv -c local
SUDO password:
localhost | SUCCESS | rc=0 >>
connection
[pts/36@roan /srv/ansible/ansible-friday]$ ansible -m raw -i 'rhel7-test,' '*' -a 'echo connection' --sudo -K
SUDO password:
rhel7-test | SUCCESS | rc=0 >>
connection
[pts/36@roan /srv/ansible/ansible-friday]$ ansible -m raw -i 'rhel7-test,' '*' -a '/bin/echo connection' --sudo -K
SUDO password:
rhel7-test | SUCCESS | rc=0 >>
connection
[pts/36@roan /srv/ansible/ansible-friday]$ *[devel] (20:03:38)"><pre class="notranslate"><code class="notranslate">$ ansible -m raw localhost -a 'echo connection' --sudo -K -vvvv -c local
Using /etc/ansible/ansible.cfg as config file
SUDO password:
Loaded callback minimal of type stdout, v2.0
ESTABLISH LOCAL CONNECTION FOR USER: badger
127.0.0.1 EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=dsvxgavwyxalsjrucewuzwdyxmpasolo] password: " -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-dsvxgavwyxalsjrucewuzwdyxmpasolo; echo connection'"'"''
localhost | FAILED | rc=0 >>
ERROR! privilege output closed while waiting for password prompt:
BECOME-SUCCESS-dsvxgavwyxalsjrucewuzwdyxmpasolo
connection
[pts/36@roan /srv/ansible/ansible-friday]$ ansible -m raw localhost -a '/bin/echo connection' --sudo -K -vvvv -c local
SUDO password:
localhost | SUCCESS | rc=0 >>
connection
[pts/36@roan /srv/ansible/ansible-friday]$ ansible -m raw -i 'rhel7-test,' '*' -a 'echo connection' --sudo -K
SUDO password:
rhel7-test | SUCCESS | rc=0 >>
connection
[pts/36@roan /srv/ansible/ansible-friday]$ ansible -m raw -i 'rhel7-test,' '*' -a '/bin/echo connection' --sudo -K
SUDO password:
rhel7-test | SUCCESS | rc=0 >>
connection
[pts/36@roan /srv/ansible/ansible-friday]$ *[devel] (20:03:38)
</code></pre></div>
<p dir="auto">The first run is the problem run. The rest work. Could it be a problem with the echo shell builtin (since the version with full path to echo works?) I also notice that the full path to echo but still running on localhost has one less newline in its output (between the header and "connection") than the output when run over ssh. Maybe that's a clue?</p>
<p dir="auto">This does work in 1.9.x:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible -m raw localhost -a 'echo connection' --sudo -K
SUDO password:
localhost | success | rc=0 >>
connection
$"><pre class="notranslate"><code class="notranslate">$ ansible -m raw localhost -a 'echo connection' --sudo -K
SUDO password:
localhost | success | rc=0 >>
connection
$
</code></pre></div>
<p dir="auto"><strong>EDIT:</strong> pipelining must be on</p> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">plugins/connection/ssh</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.3.2.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]"><pre class="notranslate"><code class="notranslate">ansible 2.3.2.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
</code></pre></div>
<p dir="auto">But I believe the bug also exists in v2.4</p>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">[ssh_connection]<br>
control_path = %(directory)s/%%h-%%p-%%r</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">CentOS 7 control & target machines</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">This is another incarnation of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="255993076" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/29095" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/29095/hovercard" href="https://github.com/ansible/ansible/issues/29095">#29095</a> but in case of ssh retry due to ControlPersist broken pipe (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="165880251" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/16731" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/16731/hovercard" href="https://github.com/ansible/ansible/issues/16731">#16731</a> fix).</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">I'm sorry, but it is hard for me to specify reproduction steps.<br>
The issue has occurred in various different tasks of a long playbook.<br>
It was executed on a fairly slow VM control machine and was provisioning over 30 remote machines.</p>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">sshpass pipe should be recreated in case of retry due to ControlPersist broken pipe</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(...)
<192.168.0.22> ESTABLISH SSH CONNECTION FOR USER: XXX
(...)
<192.168.0.22> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<192.168.0.22> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<192.168.0.22> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
<192.168.0.22> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=XXX)
<192.168.0.22> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<192.168.0.22> SSH: PlayContext set ssh_common_args: (-o)(StrictHostKeyChecking=no)
<192.168.0.22> SSH: PlayContext set ssh_extra_args: (-o)(UserKnownHostsFile=/dev/null)
<192.168.0.22> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/XXX/.ansible/cp/%h-%p-%r)
<192.168.0.22> SSH: EXEC sshpass -d14 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o User=XXX -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ControlPath=/home/XXX/.ansible/cp/%h-%p-%r 192.168.0.22 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
(...)
RETRYING BECAUSE OF CONTROLPERSIST BROKEN PIPE
<192.168.0.22> SSH: EXEC sshpass -d14 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o User=XXX -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ControlPath=/home/XXX/.ansible/cp/%h-%p-%r 192.168.0.22 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
(...)
close failed in file object destructor:
IOError: [Errno 9] Bad file descriptor
(...)
The full traceback is:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 125, in run
res = self._execute()
File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 522, in _execute
result = self._handler.run(task_vars=variables)
File "/usr/lib/python2.7/site-packages/ansible/plugins/action/package.py", line 69, in run
result.update(self._execute_module(module_name=module, module_args=new_module_args, task_vars=task_vars, wrap_async=self._task.async))
File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 637, in _execute_module
tmp = self._make_tmp_path()
File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 248, in _make_tmp_path
tmpdir = self._remote_expand_user(C.DEFAULT_REMOTE_TMP, sudoable=False)
File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 545, in _remote_expand_user
data = self._low_level_execute_command(cmd, sudoable=False)
File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 883, in _low_level_execute_command
rc, stdout, stderr = self._connection.exec_command(cmd, in_data=in_data, sudoable=sudoable)
File "/usr/lib/python2.7/site-packages/ansible/plugins/connection/ssh.py", line 788, in exec_command
(returncode, stdout, stderr) = self._run(cmd, in_data, sudoable=sudoable)
File "/usr/lib/python2.7/site-packages/ansible/plugins/connection/ssh.py", line 85, in wrapped
return_tuple = func(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/ansible/plugins/connection/ssh.py", line 461, in _run
os.write(self.sshpass_pipe[1], to_bytes(self._play_context.password) + b'
')
OSError: [Errno 9] Bad file descriptor
fatal: [192.168.0.22]: FAILED! => {
"failed": true,
"msg": "Unexpected failure during module execution.",
"stdout": ""
}"><pre class="notranslate"><code class="notranslate">(...)
<192.168.0.22> ESTABLISH SSH CONNECTION FOR USER: XXX
(...)
<192.168.0.22> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<192.168.0.22> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<192.168.0.22> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
<192.168.0.22> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=XXX)
<192.168.0.22> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<192.168.0.22> SSH: PlayContext set ssh_common_args: (-o)(StrictHostKeyChecking=no)
<192.168.0.22> SSH: PlayContext set ssh_extra_args: (-o)(UserKnownHostsFile=/dev/null)
<192.168.0.22> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/XXX/.ansible/cp/%h-%p-%r)
<192.168.0.22> SSH: EXEC sshpass -d14 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o User=XXX -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ControlPath=/home/XXX/.ansible/cp/%h-%p-%r 192.168.0.22 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
(...)
RETRYING BECAUSE OF CONTROLPERSIST BROKEN PIPE
<192.168.0.22> SSH: EXEC sshpass -d14 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o User=XXX -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ControlPath=/home/XXX/.ansible/cp/%h-%p-%r 192.168.0.22 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
(...)
close failed in file object destructor:
IOError: [Errno 9] Bad file descriptor
(...)
The full traceback is:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 125, in run
res = self._execute()
File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 522, in _execute
result = self._handler.run(task_vars=variables)
File "/usr/lib/python2.7/site-packages/ansible/plugins/action/package.py", line 69, in run
result.update(self._execute_module(module_name=module, module_args=new_module_args, task_vars=task_vars, wrap_async=self._task.async))
File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 637, in _execute_module
tmp = self._make_tmp_path()
File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 248, in _make_tmp_path
tmpdir = self._remote_expand_user(C.DEFAULT_REMOTE_TMP, sudoable=False)
File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 545, in _remote_expand_user
data = self._low_level_execute_command(cmd, sudoable=False)
File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 883, in _low_level_execute_command
rc, stdout, stderr = self._connection.exec_command(cmd, in_data=in_data, sudoable=sudoable)
File "/usr/lib/python2.7/site-packages/ansible/plugins/connection/ssh.py", line 788, in exec_command
(returncode, stdout, stderr) = self._run(cmd, in_data, sudoable=sudoable)
File "/usr/lib/python2.7/site-packages/ansible/plugins/connection/ssh.py", line 85, in wrapped
return_tuple = func(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/ansible/plugins/connection/ssh.py", line 461, in _run
os.write(self.sshpass_pipe[1], to_bytes(self._play_context.password) + b'
')
OSError: [Errno 9] Bad file descriptor
fatal: [192.168.0.22]: FAILED! => {
"failed": true,
"msg": "Unexpected failure during module execution.",
"stdout": ""
}
</code></pre></div> | 0 |
<p dir="auto">The following tests are failing on clusters where the master is at HEAD and the nodes are at 1.0 (in kubernetes-upgrade-gke-step3-e2e-old):</p>
<ul dir="auto">
<li>Kubernetes e2e suite.DNS should provide DNS for services</li>
<li>Kubernetes e2e suite.DNS should provide DNS for the cluster</li>
</ul>
<p dir="auto">They are both failing with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Unexpected number of pods (2) matches the label selector k8s-app=kube-dns,kubernetes.io/cluster-service=true"><pre class="notranslate"><code class="notranslate">Unexpected number of pods (2) matches the label selector k8s-app=kube-dns,kubernetes.io/cluster-service=true
</code></pre></div>
<p dir="auto">These tests are <strong>not</strong> failing once the nodes have been upgraded to HEAD to match version with the master.</p>
<p dir="auto">See runs 33 - 39 of the kubernetes-upgrade-gke Jenkins job.</p> | <p dir="auto">It seems that HEAD masters can't delete pods on 1.0 nodes.</p>
<p dir="auto">After spinning up a (GKE) cluster at 1.0.6 and upgrading the master to <code class="notranslate">1.2.0-alpha.1.455+4b7329ad8c52f6-dirty</code>, I can't delete pods:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ kubectl get pods
NAME READY STATUS RESTARTS AGE
$ kubectl create -f ./docs/user-guide/walkthrough/replication-controller.yaml
replicationcontrollers/nginx-controller
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
nginx-controller-l4rhx 0/1 Running 0 8s
nginx-controller-tfwpp 0/1 Running 0 8s
$ kubectl delete -f ./docs/user-guide/walkthrough/replication-controller.yaml
replicationcontrollers/nginx-controller
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
nginx-controller-l4rhx 1/1 Running 0 6m
nginx-controller-tfwpp 1/1 Running 0 6m"><pre class="notranslate"><code class="notranslate">$ kubectl get pods
NAME READY STATUS RESTARTS AGE
$ kubectl create -f ./docs/user-guide/walkthrough/replication-controller.yaml
replicationcontrollers/nginx-controller
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
nginx-controller-l4rhx 0/1 Running 0 8s
nginx-controller-tfwpp 0/1 Running 0 8s
$ kubectl delete -f ./docs/user-guide/walkthrough/replication-controller.yaml
replicationcontrollers/nginx-controller
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
nginx-controller-l4rhx 1/1 Running 0 6m
nginx-controller-tfwpp 1/1 Running 0 6m
</code></pre></div>
<p dir="auto">I uncovered this because there are several e2e tests failing on version-skewed clusters, and they seem to be all having problems deleting pods.</p>
<p dir="auto">This is likely related to:</p>
<ul dir="auto">
<li>Kubectl e2e tests leave resources running after stop during upgrade <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="109892961" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/15112" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/15112/hovercard" href="https://github.com/kubernetes/kubernetes/issues/15112">#15112</a></li>
<li>DNS e2es are failing on version-skewed clusters, where master is at 1.1 and nodes are at 1.0 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="109899067" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/15120" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/15120/hovercard" href="https://github.com/kubernetes/kubernetes/issues/15120">#15120</a></li>
</ul> | 1 |
<p dir="auto">Currently TS tools can't autocomplete property names that are not identifiers. e.g.:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface Style {
'font-family'?: string;
}"><pre class="notranslate"><span class="pl-s1">interface</span> <span class="pl-v">Style</span> <span class="pl-kos">{</span>
<span class="pl-s">'font-family'</span>?<span class="pl-s1"></span>: <span class="pl-s1">string</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">There is no autocomplete for the following input:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var style: Style = { 'fo // no autocomplete
style[ // no autocomplete
style. // no autocomplete"><pre class="notranslate"><code class="notranslate">var style: Style = { 'fo // no autocomplete
style[ // no autocomplete
style. // no autocomplete
</code></pre></div>
<p dir="auto">I think maybe TS can do better here: show a list of all properties, after user has selected one, quote it and use brackets if neccesary.</p> | <p dir="auto">Many JavaScript frameworks are heavily based on using string values to do many things, from getting and setting attributes via the property name in string form, to defining event handlers to handle browsing to particular URLs. TypeScript added specialized signatures in overloads as one means to help mitigate the pain associated with these types of APIs. Unfortunately for a number of patterns this is insufficient and not general enough. Rather than try to design a specific type system enhancement that could handle some or all of the many ways these frameworks use string literals we could try some simple tricks in Visual Studio to help out. Namely, when typing a string literal the editor should provide a completion list based on other string literals already used in your program. Some other tools already provide similar capabilities (ex Sublime Text).</p>
<p dir="auto">Consider something like this in a Backbone View class:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class TodoView extends Backbone.View<TodoModel> {
initialize() {
this.listenTo(this.model, 'change', () => this.render());
this.listenTo(this.model, 'todoDescriptionChanged', () => this.render());
this.listenTo(this.model, 'destory', () => this.remove());
}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">TodoView</span> <span class="pl-k">extends</span> <span class="pl-smi">Backbone</span><span class="pl-kos">.</span><span class="pl-c1">View</span><span class="pl-c1"><</span><span class="pl-smi">TodoModel</span><span class="pl-c1">></span> <span class="pl-kos">{</span>
<span class="pl-en">initialize</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">listenTo</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">model</span><span class="pl-kos">,</span> <span class="pl-s">'change'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">listenTo</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">model</span><span class="pl-kos">,</span> <span class="pl-s">'todoDescriptionChanged'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">listenTo</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">model</span><span class="pl-kos">,</span> <span class="pl-s">'destory'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">remove</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">At another point I may attempt to manually trigger one of these events:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" updateTodo() {
var desc = this.$input.val().trim();
var todo = this.model;
if (desc) {
todo.save({ title: desc });
// provide completion list inside this string literal showing
// todoDescriptionChanged to avoid hard to debug typos
// and speed up development
todo.trigger('todoDescriptionChanged');
}
}"><pre class="notranslate"> <span class="pl-en">updateTodo</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">var</span> <span class="pl-s1">desc</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$input</span><span class="pl-kos">.</span><span class="pl-en">val</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">trim</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">todo</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">model</span><span class="pl-kos">;</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">desc</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">todo</span><span class="pl-kos">.</span><span class="pl-en">save</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">title</span>: <span class="pl-s1">desc</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// provide completion list inside this string literal showing </span>
<span class="pl-c">// todoDescriptionChanged to avoid hard to debug typos </span>
<span class="pl-c">// and speed up development</span>
<span class="pl-s1">todo</span><span class="pl-kos">.</span><span class="pl-en">trigger</span><span class="pl-kos">(</span><span class="pl-s">'todoDescriptionChanged'</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">This should be a relatively cheap solution to a common set of problems that we've always hoped TypeScript can improve on over JavaScript. If you did accidentally make a typo in one use of the literal this could also help you discover that when seeing 2 completion list items that are similar but slightly different.</p> | 1 |
<p dir="auto">See issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="53106148" data-permission-text="Title is private" data-url="https://github.com/ipython/ipython/issues/7351" data-hovercard-type="issue" data-hovercard-url="/ipython/ipython/issues/7351/hovercard" href="https://github.com/ipython/ipython/issues/7351">ipython/ipython#7351</a></p> | <p dir="auto">Hello,</p>
<p dir="auto">I both using Matplotlib and Lyx (<a href="https://wiki.lyx.org/" rel="nofollow">https://wiki.lyx.org/</a>) on Ubuntu. Recently I updated the package fonts-lyx from version 2.1.4-2 up to 2.2.0-1 . It provoked incoherent results in the latex rendering of Matplotlib: the simple :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt
plt.text(0.5,0.5,r'$\mu_3$')"><pre class="notranslate"><code class="notranslate">import matplotlib.pyplot as plt
plt.text(0.5,0.5,r'$\mu_3$')
</code></pre></div>
<p dir="auto">display random character (something like /Ω). I downgraded the version of fonts-lyx to 2.1.4-2 and it works again.</p>
<ul dir="auto">
<li>Linux MyComputer 4.4.0-24-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="667990" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/43" data-hovercard-type="issue" data-hovercard-url="/matplotlib/matplotlib/issues/43/hovercard" href="https://github.com/matplotlib/matplotlib/issues/43">#43</a>-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux</li>
<li>matplotlib.<strong>version</strong>: '1.5.1'</li>
<li>Python 2.7.11+</li>
<li>I installed Matplotlib via PIP</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3619520/16211475/fc0d90fa-3741-11e6-9863-6a01f42928e5.png"><img src="https://cloud.githubusercontent.com/assets/3619520/16211475/fc0d90fa-3741-11e6-9863-6a01f42928e5.png" alt="capture du 2016-06-20 23-50-04" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3619520/16211476/fc0f5124-3741-11e6-83e4-e75898bfb248.png"><img src="https://cloud.githubusercontent.com/assets/3619520/16211476/fc0f5124-3741-11e6-83e4-e75898bfb248.png" alt="capture du 2016-06-20 23-50-54" style="max-width: 100%;"></a></p> | 0 |
<h3 dir="auto">Website or app</h3>
<p dir="auto"><a href="http://www.google.com" rel="nofollow">www.google.com</a></p>
<h3 dir="auto">Repro steps</h3>
<p dir="auto">React Devtools - 4.20.0<br>
React - 16.8.6</p>
<p dir="auto">Not sure if relevant but:<br>
react-scripts 4.0.3</p>
<p dir="auto">First I get an blank devtools (components) but when picking select element arrow and hover over elements a lot of errors like this one shows up in the console:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="react_devtools_backend.js:5821 Uncaught Error: Could not find ID for Fiber "Context.Provider"
at getFiberIDThrows (react_devtools_backend.js:5821)
at Object.getFiberIDForNative (react_devtools_backend.js:7257)
at Overlay_Overlay.inspect (react_devtools_backend.js:9158)
at showOverlay (react_devtools_backend.js:9286)
at onPointerOver (react_devtools_backend.js:9445)
getFiberIDThrows @ react_devtools_backend.js:5821
getFiberIDForNative @ react_devtools_backend.js:7257
inspect @ react_devtools_backend.js:9158
showOverlay @ react_devtools_backend.js:9286
onPointerOver @ react_devtools_backend.js:9445"><pre class="notranslate"><code class="notranslate">react_devtools_backend.js:5821 Uncaught Error: Could not find ID for Fiber "Context.Provider"
at getFiberIDThrows (react_devtools_backend.js:5821)
at Object.getFiberIDForNative (react_devtools_backend.js:7257)
at Overlay_Overlay.inspect (react_devtools_backend.js:9158)
at showOverlay (react_devtools_backend.js:9286)
at onPointerOver (react_devtools_backend.js:9445)
getFiberIDThrows @ react_devtools_backend.js:5821
getFiberIDForNative @ react_devtools_backend.js:7257
inspect @ react_devtools_backend.js:9158
showOverlay @ react_devtools_backend.js:9286
onPointerOver @ react_devtools_backend.js:9445
</code></pre></div>
<p dir="auto">No other errors occur. Devtools works fine on deployed version. Eg. <a href="https://reactjs.org/" rel="nofollow">https://reactjs.org/</a> works fine.</p>
<p dir="auto">PR and issue that could be related?<br>
<a href="https://github.com/facebook/react/issues/22577" data-hovercard-type="issue" data-hovercard-url="/facebook/react/issues/22577/hovercard">Issue 22577</a><br>
<a href="https://github.com/facebook/react/pull/22527" data-hovercard-type="pull_request" data-hovercard-url="/facebook/react/pull/22527/hovercard">PR 22527</a></p>
<p dir="auto">Maybe relevant comment from author and maintainer of React DevTools:<br>
<a href="https://stackoverflow.com/questions/67623677/warning-react-instrumentation-encountered-an-error-error-could-not-find-id-fo" rel="nofollow">Earlier fiber problem</a></p>
<h3 dir="auto">How often does this bug happen?</h3>
<p dir="auto">Every time</p>
<h3 dir="auto">DevTools package (automated)</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">DevTools version (automated)</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Error message (automated)</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Error call stack (automated)</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Error component stack (automated)</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">GitHub query string (automated)</h3>
<p dir="auto"><em>No response</em></p> | <h3 dir="auto">Website or app</h3>
<p dir="auto">google.com</p>
<h3 dir="auto">Repro steps</h3>
<p dir="auto">This started after last update 4.20.0<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11052469/137713404-e6702959-7870-46a6-8566-4cfe61d25309.png"><img src="https://user-images.githubusercontent.com/11052469/137713404-e6702959-7870-46a6-8566-4cfe61d25309.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11052469/137713464-c5e478d2-4e9e-4ee4-abdf-83d23c04704b.png"><img src="https://user-images.githubusercontent.com/11052469/137713464-c5e478d2-4e9e-4ee4-abdf-83d23c04704b.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">How often does this bug happen?</h3>
<p dir="auto">Every time</p>
<h3 dir="auto">DevTools package (automated)</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">DevTools version (automated)</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Error message (automated)</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Error call stack (automated)</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Error component stack (automated)</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">GitHub query string (automated)</h3>
<p dir="auto"><em>No response</em></p> | 1 |
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1235286/63173784-425c4680-c049-11e9-9708-5fd2c99f9e43.png"><img src="https://user-images.githubusercontent.com/1235286/63173784-425c4680-c049-11e9-9708-5fd2c99f9e43.png" alt="image" style="max-width: 100%;"></a><br>
Make it possible to remove emoji from the tabs. It violate the common devtools style.</p>
<p dir="auto">Also in Firefox 68.0.2 @ Macos it is duplicated<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1235286/63266594-ef78ce00-c298-11e9-90ca-73f95ef25181.png"><img width="292" alt="изображение" src="https://user-images.githubusercontent.com/1235286/63266594-ef78ce00-c298-11e9-90ca-73f95ef25181.png" style="max-width: 100%;"></a></p> | <p dir="auto">when I tape <code class="notranslate">yarn check</code> in my react.js project it appears this error</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="yarn check v1.16.0
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
warning "react-scripts#babel-jest@^24.8.0" could be deduped from "24.8.0" to "[email protected]"
warning "react-scripts#babel-preset-react-app#@babel/[email protected]" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "react-scripts#babel-preset-react-app#@babel/[email protected]" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "react-scripts#babel-preset-react-app#@babel/[email protected]" could be deduped from "7.0.0" to "@babel/[email protected]"
warning "react-scripts#babel-jest#@babel/core@^7.0.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "react-scripts#babel-loader#@babel/core@^7.0.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "react-scripts#babel-plugin-named-asset-import#@babel/core@^7.1.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "jest-resolve#jest-pnp-resolver#jest-resolve@*" could be deduped from "24.8.0" to "[email protected]"
warning "webpack#chrome-trace-event#tslib@^1.9.0" could be deduped from "1.10.0" to "[email protected]"
warning "babel-preset-react-app#@babel/plugin-proposal-class-properties#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-proposal-decorators#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-proposal-object-rest-spread#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-syntax-dynamic-import#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-transform-classes#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-transform-destructuring#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-transform-flow-strip-types#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-transform-react-display-name#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-transform-runtime#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-proposal-async-generator-functions@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-proposal-json-strings@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-proposal-optional-catch-binding@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-proposal-unicode-property-regex@^7.4.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-syntax-async-generators@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-syntax-optional-catch-binding@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-arrow-functions@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-async-to-generator@^7.4.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-block-scoped-functions@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-block-scoping@^7.4.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-computed-properties@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-dotall-regex@^7.4.3" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-duplicate-keys@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-exponentiation-operator@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-for-of@^7.4.3" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-function-name@^7.4.3" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-literals@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-member-expression-literals@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-modules-amd@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-modules-commonjs@^7.4.3" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-modules-systemjs@^7.4.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-modules-umd@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-named-capturing-groups-regex@^7.4.2" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-new-target@^7.4.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-object-super@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-parameters@^7.4.3" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-property-literals@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-regenerator@^7.4.3" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-reserved-words@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-spread@^7.2.0" could be deduped from "7.2.2" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-template-literals@^7.2.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-typeof-symbol@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-unicode-regex@^7.4.3" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-display-name@^7.0.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-jsx@^7.0.0" could be deduped from "7.3.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-jsx-self@^7.0.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-jsx-source@^7.0.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-typescript#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "react-scripts#babel-jest#babel-preset-jest#@babel/core@^7.0.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "@typescript-eslint/eslint-plugin#tsutils#tslib@^1.8.1" could be deduped from "1.10.0" to "[email protected]"
warning "eslint#inquirer#rxjs#tslib@^1.9.0" could be deduped from "1.10.0" to "[email protected]"
warning "babel-preset-react-app#@babel/plugin-proposal-class-properties#@babel/helper-create-class-features-plugin#@babel/core@^7.0.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-proposal-async-generator-functions#@babel/plugin-syntax-async-generators@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-proposal-decorators#@babel/plugin-syntax-decorators#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-transform-flow-strip-types#@babel/plugin-syntax-flow#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "@babel/preset-react#@babel/plugin-transform-react-display-name#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
error "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-jsx-self" not installed
error "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-jsx-source" not installed
warning "babel-preset-react-app#@babel/preset-typescript#@babel/plugin-transform-typescript#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-transform-typescript#@babel/plugin-syntax-typescript#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "jest-config#babel-jest#@babel/core@^7.0.0" could be deduped from "7.4.4" to "@babel/[email protected]"
error "babel-jest#babel-preset-jest" not installed
info Found 68 warnings.
error Found 3 errors.
info Visit https://yarnpkg.com/en/docs/cli/check for documentation about this command."><pre class="notranslate"><code class="notranslate">yarn check v1.16.0
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
warning "react-scripts#babel-jest@^24.8.0" could be deduped from "24.8.0" to "[email protected]"
warning "react-scripts#babel-preset-react-app#@babel/[email protected]" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "react-scripts#babel-preset-react-app#@babel/[email protected]" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "react-scripts#babel-preset-react-app#@babel/[email protected]" could be deduped from "7.0.0" to "@babel/[email protected]"
warning "react-scripts#babel-jest#@babel/core@^7.0.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "react-scripts#babel-loader#@babel/core@^7.0.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "react-scripts#babel-plugin-named-asset-import#@babel/core@^7.1.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "jest-resolve#jest-pnp-resolver#jest-resolve@*" could be deduped from "24.8.0" to "[email protected]"
warning "webpack#chrome-trace-event#tslib@^1.9.0" could be deduped from "1.10.0" to "[email protected]"
warning "babel-preset-react-app#@babel/plugin-proposal-class-properties#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-proposal-decorators#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-proposal-object-rest-spread#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-syntax-dynamic-import#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-transform-classes#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-transform-destructuring#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-transform-flow-strip-types#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-transform-react-display-name#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-transform-runtime#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-proposal-async-generator-functions@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-proposal-json-strings@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-proposal-optional-catch-binding@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-proposal-unicode-property-regex@^7.4.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-syntax-async-generators@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-syntax-optional-catch-binding@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-arrow-functions@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-async-to-generator@^7.4.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-block-scoped-functions@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-block-scoping@^7.4.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-computed-properties@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-dotall-regex@^7.4.3" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-duplicate-keys@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-exponentiation-operator@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-for-of@^7.4.3" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-function-name@^7.4.3" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-literals@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-member-expression-literals@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-modules-amd@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-modules-commonjs@^7.4.3" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-modules-systemjs@^7.4.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-modules-umd@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-named-capturing-groups-regex@^7.4.2" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-new-target@^7.4.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-object-super@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-parameters@^7.4.3" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-property-literals@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-regenerator@^7.4.3" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-reserved-words@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-spread@^7.2.0" could be deduped from "7.2.2" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-template-literals@^7.2.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-typeof-symbol@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-unicode-regex@^7.4.3" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-display-name@^7.0.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-jsx@^7.0.0" could be deduped from "7.3.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-jsx-self@^7.0.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-jsx-source@^7.0.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-typescript#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "react-scripts#babel-jest#babel-preset-jest#@babel/core@^7.0.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "@typescript-eslint/eslint-plugin#tsutils#tslib@^1.8.1" could be deduped from "1.10.0" to "[email protected]"
warning "eslint#inquirer#rxjs#tslib@^1.9.0" could be deduped from "1.10.0" to "[email protected]"
warning "babel-preset-react-app#@babel/plugin-proposal-class-properties#@babel/helper-create-class-features-plugin#@babel/core@^7.0.0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-proposal-async-generator-functions#@babel/plugin-syntax-async-generators@^7.2.0" could be deduped from "7.2.0" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-proposal-decorators#@babel/plugin-syntax-decorators#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-transform-flow-strip-types#@babel/plugin-syntax-flow#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "@babel/preset-react#@babel/plugin-transform-react-display-name#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
error "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-jsx-self" not installed
error "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-jsx-source" not installed
warning "babel-preset-react-app#@babel/preset-typescript#@babel/plugin-transform-typescript#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "babel-preset-react-app#@babel/plugin-transform-typescript#@babel/plugin-syntax-typescript#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/[email protected]"
warning "jest-config#babel-jest#@babel/core@^7.0.0" could be deduped from "7.4.4" to "@babel/[email protected]"
error "babel-jest#babel-preset-jest" not installed
info Found 68 warnings.
error Found 3 errors.
info Visit https://yarnpkg.com/en/docs/cli/check for documentation about this command.
</code></pre></div>
<p dir="auto">I attempted to fix it with <code class="notranslate">yarn install</code> but nothing change and show that they all up-to-date</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="yarn install v1.16.0
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.85s."><pre class="notranslate"><code class="notranslate">yarn install v1.16.0
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.85s.
</code></pre></div>
<p dir="auto">I can't understand what's the reason that causes this and how to fix it.</p> | 0 |
<p dir="auto"><a href="http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce-parallel/12507/" rel="nofollow">http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce-parallel/12507/</a></p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wojtek-t/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wojtek-t">@wojtek-t</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dchen1107/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dchen1107">@dchen1107</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/yujuhong/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/yujuhong">@yujuhong</a></p> | <p dir="auto">Both the GKE and Parallel tests recently had a run where they timed out. (after 90 minutes!) This is like 10x longer than the parallel run should be taking.</p>
<p dir="auto"><a href="http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gke-ci/8168/" rel="nofollow">http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gke-ci/8168/</a></p>
<p dir="auto"><a href="http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce-parallel/7141/" rel="nofollow">http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce-parallel/7141/</a></p> | 1 |
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/record-collection#?solution=%0A%2F%2F%20Setup%0Avar%20collection%20%3D%20%7B%0A%20%20%20%202548%3A%20%7B%0A%20%20%20%20%20%20album%3A%20%22Slippery%20When%20Wet%22%2C%0A%20%20%20%20%20%20artist%3A%20%22Bon%20Jovi%22%2C%0A%20%20%20%20%20%20tracks%3A%20%5B%20%0A%20%20%20%20%20%20%20%20%22Let%20It%20Rock%22%2C%20%0A%20%20%20%20%20%20%20%20%22You%20Give%20Love%20a%20Bad%20Name%22%20%0A%20%20%20%20%20%20%5D%0A%20%20%20%20%7D%2C%0A%20%20%20%202468%3A%20%7B%0A%20%20%20%20%20%20album%3A%20%221999%22%2C%0A%20%20%20%20%20%20artist%3A%20%22Prince%22%2C%0A%20%20%20%20%20%20tracks%3A%20%5B%20%0A%20%20%20%20%20%20%20%20%221999%22%2C%20%0A%20%20%20%20%20%20%20%20%22Little%20Red%20Corvette%22%20%0A%20%20%20%20%20%20%5D%0A%20%20%20%20%7D%2C%0A%20%20%20%201245%3A%20%7B%0A%20%20%20%20%20%20artist%3A%20%22Robert%20Palmer%22%2C%0A%20%20%20%20%20%20tracks%3A%20%5B%20%5D%0A%20%20%20%20%7D%2C%0A%20%20%20%205439%3A%20%7B%0A%20%20%20%20%20%20album%3A%20%22ABBA%20Gold%22%0A%20%20%20%20%7D%0A%7D%3B%0A%2F%2F%20Keep%20a%20copy%20of%20the%20collection%20for%20tests%0Avar%20collectionCopy%20%3D%20JSON.parse%28JSON.stringify%28collection%29%29%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%0Afunction%20updateRecords%28id%2C%20prop%2C%20value%29%20%7B%0A%20%20var%20identry%20%3D%20id%3B%0A%20%20var%20recordID%20%3D%20collection%5Bidentry%5D%3B%0A%20%20if%28value%20!%3D%3D%22%22%29%7B%0A%20%20%20%20if%28prop%20%3D%3D%3D%20%22tracks%22%29%7B%0A%20%20%20%20%20%20recordID%5Bprop%5D.push%28value%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20else%7B%0A%20%20%20%20%20%20recordID%5Bprop%5D%20%3D%20value%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20%20else%7B%0A%20%20%20%20%20delete%20recordID%5Bprop%5D%3B%0A%20%20%20%7D%0A%20%20return%20collection%3B%0A%7D%0A%0A%2F%2F%20Alter%20values%20below%20to%20test%20your%20code%0AupdateRecords%285439%2C%20%22artist%22%2C%20%22ABBA%22%29%3B%0A%0A" rel="nofollow">Record Collection</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
// Setup
var collection = {
2548: {
album: "Slippery When Wet",
artist: "Bon Jovi",
tracks: [
"Let It Rock",
"You Give Love a Bad Name"
]
},
2468: {
album: "1999",
artist: "Prince",
tracks: [
"1999",
"Little Red Corvette"
]
},
1245: {
artist: "Robert Palmer",
tracks: [ ]
},
5439: {
album: "ABBA Gold"
}
};
// Keep a copy of the collection for tests
var collectionCopy = JSON.parse(JSON.stringify(collection));
// Only change code below this line
function updateRecords(id, prop, value) {
var identry = id;
var recordID = collection[identry];
if(value !==""){
if(prop === "tracks"){
recordID[prop].push(value);
}
else{
recordID[prop] = value;
}
}
else{
delete recordID[prop];
}
return collection;
}
// Alter values below to test your code
updateRecords(5439, "artist", "ABBA");
I keep getting this error:
After updateRecords(5439, "tracks", "Take a Chance on Me"), tracks should have "Take a Chance on Me" as the last element.
and when i change the values to test the code i get this error on the console that says: recordID[prop] is undefined
"><pre class="notranslate"><span class="pl-c">// Setup</span>
<span class="pl-k">var</span> <span class="pl-s1">collection</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">2548</span>: <span class="pl-kos">{</span>
<span class="pl-c1">album</span>: <span class="pl-s">"Slippery When Wet"</span><span class="pl-kos">,</span>
<span class="pl-c1">artist</span>: <span class="pl-s">"Bon Jovi"</span><span class="pl-kos">,</span>
<span class="pl-c1">tracks</span>: <span class="pl-kos">[</span>
<span class="pl-s">"Let It Rock"</span><span class="pl-kos">,</span>
<span class="pl-s">"You Give Love a Bad Name"</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">2468</span>: <span class="pl-kos">{</span>
<span class="pl-c1">album</span>: <span class="pl-s">"1999"</span><span class="pl-kos">,</span>
<span class="pl-c1">artist</span>: <span class="pl-s">"Prince"</span><span class="pl-kos">,</span>
<span class="pl-c1">tracks</span>: <span class="pl-kos">[</span>
<span class="pl-s">"1999"</span><span class="pl-kos">,</span>
<span class="pl-s">"Little Red Corvette"</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">1245</span>: <span class="pl-kos">{</span>
<span class="pl-c1">artist</span>: <span class="pl-s">"Robert Palmer"</span><span class="pl-kos">,</span>
<span class="pl-c1">tracks</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">5439</span>: <span class="pl-kos">{</span>
<span class="pl-c1">album</span>: <span class="pl-s">"ABBA Gold"</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-c">// Keep a copy of the collection for tests</span>
<span class="pl-k">var</span> <span class="pl-s1">collectionCopy</span> <span class="pl-c1">=</span> <span class="pl-c1">JSON</span><span class="pl-kos">.</span><span class="pl-en">parse</span><span class="pl-kos">(</span><span class="pl-c1">JSON</span><span class="pl-kos">.</span><span class="pl-en">stringify</span><span class="pl-kos">(</span><span class="pl-s1">collection</span><span class="pl-kos">)</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">function</span> <span class="pl-en">updateRecords</span><span class="pl-kos">(</span><span class="pl-s1">id</span><span class="pl-kos">,</span> <span class="pl-s1">prop</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">var</span> <span class="pl-s1">identry</span> <span class="pl-c1">=</span> <span class="pl-s1">id</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">recordID</span> <span class="pl-c1">=</span> <span class="pl-s1">collection</span><span class="pl-kos">[</span><span class="pl-s1">identry</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">value</span> <span class="pl-c1">!==</span><span class="pl-s">""</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">prop</span> <span class="pl-c1">===</span> <span class="pl-s">"tracks"</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-s1">recordID</span><span class="pl-kos">[</span><span class="pl-s1">prop</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">push</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-kos">}</span>
<span class="pl-k">else</span><span class="pl-kos">{</span>
<span class="pl-s1">recordID</span><span class="pl-kos">[</span><span class="pl-s1">prop</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-kos">}</span>
<span class="pl-k">else</span><span class="pl-kos">{</span>
<span class="pl-k">delete</span> <span class="pl-s1">recordID</span><span class="pl-kos">[</span><span class="pl-s1">prop</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-s1">collection</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-c">// Alter values below to test your code</span>
<span class="pl-en">updateRecords</span><span class="pl-kos">(</span><span class="pl-c1">5439</span><span class="pl-kos">,</span> <span class="pl-s">"artist"</span><span class="pl-kos">,</span> <span class="pl-s">"ABBA"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-v">I</span> <span class="pl-s1">keep</span> <span class="pl-s1">getting</span> <span class="pl-s1">this</span> error:
<span class="pl-v">After</span> <span class="pl-en">updateRecords</span><span class="pl-kos">(</span><span class="pl-c1">5439</span><span class="pl-kos">,</span> <span class="pl-s">"tracks"</span><span class="pl-kos">,</span> <span class="pl-s">"Take a Chance on Me"</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">tracks</span> <span class="pl-s1">should</span> <span class="pl-s1">have</span> <span class="pl-s">"Take a Chance on Me"</span> <span class="pl-s1">as</span> <span class="pl-s1">the</span> <span class="pl-s1">last</span> <span class="pl-s1">element</span><span class="pl-kos">.</span>
<span class="pl-c1">and</span> <span class="pl-s1">when</span> <span class="pl-s1">i</span> <span class="pl-s1">change</span> <span class="pl-s1">the</span> <span class="pl-s1">values</span> <span class="pl-s1">to</span> <span class="pl-s1">test</span> <span class="pl-s1">the</span> <span class="pl-s1">code</span> <span class="pl-s1">i</span> <span class="pl-s1">get</span> <span class="pl-smi">this</span> <span class="pl-s1">error</span> <span class="pl-s1">on</span> <span class="pl-s1">the</span> <span class="pl-smi">console</span> <span class="pl-s1">that</span> <span class="pl-s1">says</span>: <span class="pl-s1">recordID</span><span class="pl-kos">[</span><span class="pl-s1">prop</span><span class="pl-kos">]</span> <span class="pl-s1">is</span> <span class="pl-c1">undefined</span></pre></div> | <p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/record-collection#?solution=%0A%2F%2F%20Setup%0Avar%20collection%20%3D%20%7B%0A%20%20%20%202548%3A%20%7B%0A%20%20%20%20%20%20album%3A%20%22Slippery%20When%20Wet%22%2C%0A%20%20%20%20%20%20artist%3A%20%22Bon%20Jovi%22%2C%0A%20%20%20%20%20%20tracks%3A%20%5B%20%0A%20%20%20%20%20%20%20%20%22Let%20It%20Rock%22%2C%20%0A%20%20%20%20%20%20%20%20%22You%20Give%20Love%20a%20Bad%20Name%22%20%0A%20%20%20%20%20%20%5D%0A%20%20%20%20%7D%2C%0A%20%20%20%202468%3A%20%7B%0A%20%20%20%20%20%20album%3A%20%221999%22%2C%0A%20%20%20%20%20%20artist%3A%20%22Prince%22%2C%0A%20%20%20%20%20%20tracks%3A%20%5B%20%0A%20%20%20%20%20%20%20%20%221999%22%2C%20%0A%20%20%20%20%20%20%20%20%22Little%20Red%20Corvette%22%20%0A%20%20%20%20%20%20%5D%0A%20%20%20%20%7D%2C%0A%20%20%20%201245%3A%20%7B%0A%20%20%20%20%20%20artist%3A%20%22Robert%20Palmer%22%2C%0A%20%20%20%20%20%20tracks%3A%20%5B%20%5D%0A%20%20%20%20%7D%2C%0A%20%20%20%205439%3A%20%7B%0A%20%20%20%20%20%20album%3A%20%22ABBA%20Gold%22%0A%20%20%20%20%7D%0A%7D%3B%0A%2F%2F%20Keep%20a%20copy%20of%20the%20collection%20for%20tests%0Avar%20collectionCopy%20%3D%20JSON.parse%28JSON.stringify%28collection%29%29%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%0Afunction%20updateRecords%28id%2C%20prop%2C%20value%29%20%7B%0A%20%20if%28%20value%20!%3D%3D%20%22%22%29%7B%0A%20%20%20%20if%28prop!%3D%3D%22tracks%22%29%7B%0A%20%20%20%20%20%20collection%5Bid%5D%5Bprop%5D%3Dvalue%3B%0A%20%20%20%20%7D%0A%20%20%20%20else%20if%28%20prop%20%3D%3D%3D%22tracks%22%29%7B%0A%20%20%20%20%20%20collection%5Bid%5D%5Bprop%5D.push%28value%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20else%0A%20%20%20%20delete%20collection%5Bid%5D%5Bprop%5D%3B%0A%0A%20%20return%20collection%3B%0A%7D%0A%0A%2F%2F%20Alter%20values%20below%20to%20test%20your%20code%0AupdateRecords%285439%2C%20%22artist%22%2C%20%22ABBA%22%29%3B%0A%0A" rel="nofollow">Record Collection</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
// Setup
var collection = {
2548: {
album: "Slippery When Wet",
artist: "Bon Jovi",
tracks: [
"Let It Rock",
"You Give Love a Bad Name"
]
},
2468: {
album: "1999",
artist: "Prince",
tracks: [
"1999",
"Little Red Corvette"
]
},
1245: {
artist: "Robert Palmer",
tracks: [ ]
},
5439: {
album: "ABBA Gold"
}
};
// Keep a copy of the collection for tests
var collectionCopy = JSON.parse(JSON.stringify(collection));
// Only change code below this line
function updateRecords(id, prop, value) {
if( value !== ""){
if(prop!=="tracks"){
collection[id][prop]=value;
}
else if( prop ==="tracks"){
collection[id][prop].push(value);
}
}
else
delete collection[id][prop];
return collection;
}
// Alter values below to test your code
updateRecords(5439, "artist", "ABBA");
"><pre class="notranslate"><span class="pl-c">// Setup</span>
<span class="pl-k">var</span> <span class="pl-s1">collection</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">2548</span>: <span class="pl-kos">{</span>
<span class="pl-c1">album</span>: <span class="pl-s">"Slippery When Wet"</span><span class="pl-kos">,</span>
<span class="pl-c1">artist</span>: <span class="pl-s">"Bon Jovi"</span><span class="pl-kos">,</span>
<span class="pl-c1">tracks</span>: <span class="pl-kos">[</span>
<span class="pl-s">"Let It Rock"</span><span class="pl-kos">,</span>
<span class="pl-s">"You Give Love a Bad Name"</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">2468</span>: <span class="pl-kos">{</span>
<span class="pl-c1">album</span>: <span class="pl-s">"1999"</span><span class="pl-kos">,</span>
<span class="pl-c1">artist</span>: <span class="pl-s">"Prince"</span><span class="pl-kos">,</span>
<span class="pl-c1">tracks</span>: <span class="pl-kos">[</span>
<span class="pl-s">"1999"</span><span class="pl-kos">,</span>
<span class="pl-s">"Little Red Corvette"</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">1245</span>: <span class="pl-kos">{</span>
<span class="pl-c1">artist</span>: <span class="pl-s">"Robert Palmer"</span><span class="pl-kos">,</span>
<span class="pl-c1">tracks</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">5439</span>: <span class="pl-kos">{</span>
<span class="pl-c1">album</span>: <span class="pl-s">"ABBA Gold"</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-c">// Keep a copy of the collection for tests</span>
<span class="pl-k">var</span> <span class="pl-s1">collectionCopy</span> <span class="pl-c1">=</span> <span class="pl-c1">JSON</span><span class="pl-kos">.</span><span class="pl-en">parse</span><span class="pl-kos">(</span><span class="pl-c1">JSON</span><span class="pl-kos">.</span><span class="pl-en">stringify</span><span class="pl-kos">(</span><span class="pl-s1">collection</span><span class="pl-kos">)</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">function</span> <span class="pl-en">updateRecords</span><span class="pl-kos">(</span><span class="pl-s1">id</span><span class="pl-kos">,</span> <span class="pl-s1">prop</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">value</span> <span class="pl-c1">!==</span> <span class="pl-s">""</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">prop</span><span class="pl-c1">!==</span><span class="pl-s">"tracks"</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-s1">collection</span><span class="pl-kos">[</span><span class="pl-s1">id</span><span class="pl-kos">]</span><span class="pl-kos">[</span><span class="pl-s1">prop</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">else</span> <span class="pl-k">if</span><span class="pl-kos">(</span> <span class="pl-s1">prop</span> <span class="pl-c1">===</span><span class="pl-s">"tracks"</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-s1">collection</span><span class="pl-kos">[</span><span class="pl-s1">id</span><span class="pl-kos">]</span><span class="pl-kos">[</span><span class="pl-s1">prop</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">push</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-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">else</span>
<span class="pl-k">delete</span> <span class="pl-s1">collection</span><span class="pl-kos">[</span><span class="pl-s1">id</span><span class="pl-kos">]</span><span class="pl-kos">[</span><span class="pl-s1">prop</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-s1">collection</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-c">// Alter values below to test your code</span>
<span class="pl-en">updateRecords</span><span class="pl-kos">(</span><span class="pl-c1">5439</span><span class="pl-kos">,</span> <span class="pl-s">"artist"</span><span class="pl-kos">,</span> <span class="pl-s">"ABBA"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
</pre></div> | 1 |
<p dir="auto">I tried to create a generic extern fn, and accidentally left off the type parameter. That caused an ICE. This code reproduces it:</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn with_type_params<T>() { }
extern fn foo<T>() {
with_type_params::<T>();
}
fn main() {
let _a:*u8 = foo;
}"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">with_type_params</span><span class="pl-kos"><</span><span class="pl-smi">T</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">extern</span> <span class="pl-k">fn</span> <span class="pl-en">foo</span><span class="pl-kos"><</span><span class="pl-smi">T</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">with_type_params</span><span class="pl-kos">::</span><span class="pl-kos"><</span><span class="pl-smi">T</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">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> _a<span class="pl-kos">:</span><span class="pl-c1">*</span><span class="pl-smi">u8</span> = foo<span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">and produces this error from the compiler with <code class="notranslate">RUST_LOG=rustc=1</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="task <unnamed> failed at 'assertion failed: !ty::type_has_params(*s)', /build/buildd/rust-nightly-201308162101~680eb71~raring/src/librustc/middle/trans/monomorphize.rs:78
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1 to get further details and report the results to github.com/mozilla/rust/issues
task <unnamed> failed at 'explicit failure', /build/buildd/rust-nightly-201308162101~680eb71~raring/src/librustc/rustc.rs:371"><pre lang="text" class="notranslate"><code class="notranslate">task <unnamed> failed at 'assertion failed: !ty::type_has_params(*s)', /build/buildd/rust-nightly-201308162101~680eb71~raring/src/librustc/middle/trans/monomorphize.rs:78
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1 to get further details and report the results to github.com/mozilla/rust/issues
task <unnamed> failed at 'explicit failure', /build/buildd/rust-nightly-201308162101~680eb71~raring/src/librustc/rustc.rs:371
</code></pre></div>
<p dir="auto">I wouldn't expect the code above to actually compile, since the type parameter is missing, but it should show an error about that rather than an ICE.</p>
<p dir="auto">Trying to fix the problem--changing the bare <code class="notranslate">foo</code> to <code class="notranslate">foo::<int></code> in <code class="notranslate">main</code>, for instance--produced a normal compiler error: "this item does not take type parameters." That also seems wrong--if extern fns are not allowed to take type parameters, then shouldn't the compiler should complain about it at the definition? If they are allowed, then I should be able to take the address of one with the type parameter filled in. (Indeed, that should be required in order to use them.)</p> | <p dir="auto">This is because they're <code class="notranslate">*u8</code>, so trans sees no substs and it won't monomorphize it. Then it calls <code class="notranslate">type_of</code> on a ty param and ICEs.</p>
<p dir="auto">I think maybe crust functions should have to have explicit type parameter substitutions.</p> | 1 |
<p dir="auto">Heyho,</p>
<p dir="auto">I just want to leave a comment: I installed the lastest alpha from npm, and get an error with webpack:</p>
<p dir="auto"><code class="notranslate">ERROR in ./~/angular2/src/facade/async.js Module not found: Error: Cannot resolve module 'rxjs/operators/toPromise' in ...\angular2-test\node_modules\angular2\src\facade @ ./~/angular2/src/facade/async.js 13:0-35</code></p>
<p dir="auto">So the problem is <a href="https://github.com/angular/angular/blob/master/modules/angular2/src/facade/async.ts">here</a>: The <code class="notranslate">import 'rxjs/operators/toPromise';</code> is wrong, the correct import would be <code class="notranslate">import 'rxjs/operator/toPromise';</code>.</p>
<p dir="auto">With this change I can use the angular sources again.</p> | <p dir="auto">It looks like Angular 2 tries to load files in a path called <code class="notranslate">'rxjs/operators/*'</code> (like <a href="https://github.com/angular/angular/blob/25a2d7b5db7806e1b6b3ce0b5380cf94253bbe4c/modules/angular2/src/facade/async.ts#L13">here</a>). But it seems the path should be called <code class="notranslate">'rxjs/operator/*'</code> (without <code class="notranslate">s</code>).</p>
<p dir="auto">Webpack error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR in ./~/angular2/src/facade/async.js
Module not found: Error: Cannot resolve module 'rxjs/operators/toPromise' in"><pre class="notranslate"><code class="notranslate">ERROR in ./~/angular2/src/facade/async.js
Module not found: Error: Cannot resolve module 'rxjs/operators/toPromise' in
</code></pre></div> | 1 |
<h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">Other Airflow 2 version (please specify below)</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">Airflow Version: 2.4.2<br>
In my organization, I need to run an SSHOperator to execute a script that triggers a spark-submit task. I encountered a situation where I had to rerun a specific execution, so I cleared the state of the task. However, I noticed that there were two distinct applications running on YARN when there should have been only one. This occurred three times in total.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/30034544/237681019-8bc68881-1ffe-4785-ad59-c9c9e6875f09.png"><img src="https://user-images.githubusercontent.com/30034544/237681019-8bc68881-1ffe-4785-ad59-c9c9e6875f09.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">From the log, I observed that each line is being logged twice. I'm curious to know if there is any connection or reason behind this duplication. I have <code class="notranslate">remote_logging</code> to be true.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/30034544/237685710-e1e62b64-e69c-472e-8d7f-e2b1a57d01e8.png"><img src="https://user-images.githubusercontent.com/30034544/237685710-e1e62b64-e69c-472e-8d7f-e2b1a57d01e8.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">What you think should happen instead</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">Clear the state of Task.<br>
But I can't produce it several hours later.</p>
<h3 dir="auto">Operating System</h3>
<p dir="auto">Debian GNU/Linux 10 (buster)</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Virtualenv installation</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Anything else</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul> | <h3 dir="auto">Body</h3>
<p dir="auto">I have a kind request for all the contributors to the latest provider packages release.<br>
Could you please help us to test the RC versions of the providers?</p>
<p dir="auto">Let us know in the comment, whether the issue is addressed.</p>
<p dir="auto">Those are providers that require testing as there were some substantial changes introduced:</p>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-alibaba/2.1.0rc1" rel="nofollow">alibaba: 2.1.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26169" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26169/hovercard">Auto tail file logs in Web UI (#26169)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jens-scheffler-bosch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jens-scheffler-bosch">@jens-scheffler-bosch</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-amazon/6.0.0rc1" rel="nofollow">amazon: 6.0.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25980" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25980/hovercard">Remove Amazon S3 Connection Type (#25980)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Taragolis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Taragolis">@Taragolis</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26003" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26003/hovercard">Add RdsDbSensor to amazon provider package (#26003)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hankehly/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hankehly">@hankehly</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26005" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26005/hovercard">Set template_fields on RDS operators (#26005)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hankehly/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hankehly">@hankehly</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26169" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26169/hovercard">Auto tail file logs in Web UI (#26169)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jens-scheffler-bosch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jens-scheffler-bosch">@jens-scheffler-bosch</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26541" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26541/hovercard">Fix SageMakerEndpointConfigOperator's return value (#26541)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ferruzzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ferruzzi">@ferruzzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26218" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26218/hovercard">EMR Serverless Fix for Jobs marked as success even on failure (#26218)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/syedahsn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/syedahsn">@syedahsn</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26464" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26464/hovercard">Fix AWS Connection warn condition for invalid <code class="notranslate">profile_name</code> argument (#26464)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Taragolis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Taragolis">@Taragolis</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25971" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25971/hovercard">Athena and EMR operator max_retries mix-up fix (#25971)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/syedahsn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/syedahsn">@syedahsn</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/23628" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/23628/hovercard">Fixes SageMaker operator return values (#23628)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ferruzzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ferruzzi">@ferruzzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26442" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26442/hovercard">Remove redundant catch exceptions in Amazon Log Task Handlers (#26442)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Taragolis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Taragolis">@Taragolis</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26628" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26628/hovercard">Remove duplicated connection-type within the provider (#26628)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Taragolis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Taragolis">@Taragolis</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-apache-drill/2.2.1rc1" rel="nofollow">apache.drill: 2.2.1rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-apache-druid/3.2.1rc1" rel="nofollow">apache.druid: 3.2.1rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-apache-hive/4.0.1rc1" rel="nofollow">apache.hive: 4.0.1rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-apache-pinot/3.2.1rc1" rel="nofollow">apache.pinot: 3.2.1rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26705" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26705/hovercard">Fix PinotDB dependencies (#26705)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-databricks/3.3.0rc1" rel="nofollow">databricks: 3.3.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25623" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25623/hovercard">DatabricksSubmitRunOperator dbt task support (#25623)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gaborratky-db/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gaborratky-db">@gaborratky-db</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26628" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26628/hovercard">Remove duplicated connection-type within the provider (#26628)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Taragolis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Taragolis">@Taragolis</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25873" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25873/hovercard">Databricks: fix provider name in the User-Agent string (#25873)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alexott/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alexott">@alexott</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-dbt-cloud/2.2.0rc1" rel="nofollow">dbt.cloud: 2.2.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26475" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26475/hovercard">Add <code class="notranslate">DbtCloudListJobsOperator</code> (#26475)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/phanikumv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/phanikumv">@phanikumv</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-docker/3.2.0rc1" rel="nofollow">docker: 3.2.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26653" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26653/hovercard">Add logging options to docker operator (#26653)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nshetty15/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nshetty15">@nshetty15</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25786" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25786/hovercard">Add pre-commit hook for custom_operator_name (#25786)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25780" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25780/hovercard">Implement ExternalPythonOperator (#25780)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-elasticsearch/4.2.1rc1" rel="nofollow">elasticsearch: 4.2.1rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-exasol/4.0.1rc1" rel="nofollow">exasol: 4.0.1rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-google/8.4.0rc1" rel="nofollow">google: 8.4.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26368" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26368/hovercard">Add BigQuery Column and Table Check Operators (#26368)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/denimalpaca/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/denimalpaca">@denimalpaca</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26156" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26156/hovercard">Add deferrable big query operators and sensors (#26156)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/phanikumv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/phanikumv">@phanikumv</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25604" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25604/hovercard">Add <code class="notranslate">output</code> property to MappedOperator (#25604)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/josh-fell/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/josh-fell">@josh-fell</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25746" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25746/hovercard">Added append_job_name parameter to DataflowTemplatedJobStartOperator (#25746)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Voldurk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Voldurk">@Voldurk</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25675" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25675/hovercard">Adding a parameter for exclusion of trashed files in GoogleDriveHook (#25675)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alexkruc/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alexkruc">@alexkruc</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26618" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26618/hovercard">Cloud Data Loss Prevention Operators assets (AIP-47) (#26618)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bkossakowska/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bkossakowska">@bkossakowska</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26072" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26072/hovercard">Cloud Storage Transfer Operators assets & system tests migration (AIP-47) (#26072)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bkossakowska/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bkossakowska">@bkossakowska</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26433" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26433/hovercard">Merge deferrable BigQuery operators to exisitng one (#26433)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lwyszomi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lwyszomi">@lwyszomi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26418" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26418/hovercard">specifying project id when calling wait_for_operation in delete/create cluster (#26418)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SPTKL/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SPTKL">@SPTKL</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26169" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26169/hovercard">Auto tail file logs in Web UI (#26169)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jens-scheffler-bosch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jens-scheffler-bosch">@jens-scheffler-bosch</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26073" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26073/hovercard">Cloud Functions Operators assets & system tests migration (AIP-47) (#26073)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bkossakowska/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bkossakowska">@bkossakowska</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26285" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26285/hovercard">GCSToBigQueryOperator Resolve <code class="notranslate">max_id_key</code> job retrieval and xcom return (#26285)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/patricker/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/patricker">@patricker</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26277" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26277/hovercard">Allow for the overriding of <code class="notranslate">stringify_dict</code> for json export format on BaseSQLToGCSOperator (#26277)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/patricker/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/patricker">@patricker</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26057" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26057/hovercard">Use common url base for Google links (#26057)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bhirsz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bhirsz">@bhirsz</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26132" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26132/hovercard">Cloud Video Intelligence Operators assets & system tests migration (AIP-47) (#26132)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bkossakowska/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bkossakowska">@bkossakowska</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25548" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25548/hovercard">Life Science assets & system tests migration (AIP-47) (#25548)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bkossakowska/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bkossakowska">@bkossakowska</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26190" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26190/hovercard">GCSToBigQueryOperator allow for schema_object in alternate GCS Bucket (#26190)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/patricker/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/patricker">@patricker</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25951" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25951/hovercard">Use AsyncClient for Composer Operators in deferrable mode (#25951)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lwyszomi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lwyszomi">@lwyszomi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25984" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25984/hovercard">Fix BigQueryCreateEmptyDatasetOperator to use the provided project_id (#25984)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/phanikumv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/phanikumv">@phanikumv</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25895" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25895/hovercard">Cloud Build assets & system tests migration (AIP-47) (#25895)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bkossakowska/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bkossakowska">@bkossakowska</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25302" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25302/hovercard">Dataproc submit job operator async (#25302)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bjankie1/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bjankie1">@bjankie1</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25782" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25782/hovercard">Support project_id argument in BigQueryGetDataOperator (#25782)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sudohainguyen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sudohainguyen">@sudohainguyen</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26202" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26202/hovercard">Fix JSONDecodeError in Datafusion operators (#26202)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/VladaZakharova/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/VladaZakharova">@VladaZakharova</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25737" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25737/hovercard">Fixed never ending loop in CreateWorkflowInvocation (#25737)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lwyszomi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lwyszomi">@lwyszomi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26570" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26570/hovercard">Fix error message on gcs.py (#26570)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Corea/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Corea">@Corea</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26096" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26096/hovercard">Don't throw an exception when a BQ cursor job has no schema (#26096)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/patricker/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/patricker">@patricker</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25622" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25622/hovercard">Google Cloud Tasks Sensor for queue being empty (#25622)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vinitpayal/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vinitpayal">@vinitpayal</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25878" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25878/hovercard">SQL to GCS operators update docs for parquet format (#25878)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pierrejeambrun/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pierrejeambrun">@pierrejeambrun</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25886" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25886/hovercard">Limit Google Protobuf for compatibility with biggtable client (#25886)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25785" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25785/hovercard">Make GoogleBaseHook credentials functions public (#25785)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/feluelle/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/feluelle">@feluelle</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25410" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25410/hovercard">Consolidate to one <code class="notranslate">schedule</code> param (#25410)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dstandish/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dstandish">@dstandish</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-jdbc/3.2.1rc1" rel="nofollow">jdbc: 3.2.1rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-jira/3.1.0rc1" rel="nofollow">jira: 3.1.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25930" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25930/hovercard">Deprecate jira provider in favor of atlassian.jira provider (#25930)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/eladkal/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/eladkal">@eladkal</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-microsoft-azure/4.3.0rc1" rel="nofollow">microsoft.azure: 4.3.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26345" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26345/hovercard">Add DataFlow operations to Azure DataFactory hook (#26345)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/phanikumv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/phanikumv">@phanikumv</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26117" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26117/hovercard">Add <code class="notranslate">network_profile</code> param in AzureContainerInstancesOperator (#26117)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pankajastro/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pankajastro">@pankajastro</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26038" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26038/hovercard">Implement Azure synapse operator (#26038)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/phanikumv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/phanikumv">@phanikumv</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26169" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26169/hovercard">Auto tail file logs in Web UI (#26169)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jens-scheffler-bosch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jens-scheffler-bosch">@jens-scheffler-bosch</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25436" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25436/hovercard">Implement Azure Service Bus Topic (Create, Delete) Operators (#25436)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bharanidharan14/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bharanidharan14">@bharanidharan14</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25844" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25844/hovercard">Fix AzureBatchOperator false negative status (#25844)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pankajastro/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pankajastro">@pankajastro</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-microsoft-mssql/3.2.1rc1" rel="nofollow">microsoft.mssql: 3.2.1rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-mysql/3.2.1rc1" rel="nofollow">mysql: 3.2.1rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-odbc/3.1.2rc1" rel="nofollow">odbc: 3.1.2rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-oracle/3.4.0rc1" rel="nofollow">oracle: 3.4.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26576" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26576/hovercard">Add oracledb thick mode support for oracle provider (#26576)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pauldalewilliams/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pauldalewilliams">@pauldalewilliams</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-postgres/5.2.2rc1" rel="nofollow">postgres: 5.2.2rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26436" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26436/hovercard">Rename schema to database in PostgresHook (#26436)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/feluelle/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/feluelle">@feluelle</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26734" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26734/hovercard">Revert "Rename schema to database in <code class="notranslate">PostgresHook</code> (#26436)" (#26734)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jedcunningham/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jedcunningham">@jedcunningham</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-qubole/3.2.1rc1" rel="nofollow">qubole: 3.2.1rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25268" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25268/hovercard">D400 first line should end with period batch02 (#25268)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/edithturn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/edithturn">@edithturn</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-sftp/4.1.0rc1" rel="nofollow">sftp: 4.1.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26666" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26666/hovercard">SFTPOperator - add support for list of file paths (#26666)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pauldalewilliams/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pauldalewilliams">@pauldalewilliams</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-slack/6.0.0rc1" rel="nofollow">slack: 6.0.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26648" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26648/hovercard">Refactor <code class="notranslate">SlackWebhookOperator</code>: Get rid of mandatory http-provider dependency (#26648)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Taragolis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Taragolis">@Taragolis</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26452" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26452/hovercard">Refactor SlackWebhookHook in order to use <code class="notranslate">slack_sdk</code> instead of HttpHook methods (#26452)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Taragolis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Taragolis">@Taragolis</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26118" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26118/hovercard">Move send_file method into SlackHook (#26118)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Taragolis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Taragolis">@Taragolis</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25852" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25852/hovercard">Refactor Slack API Hook and add new Connection type (#25852)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Taragolis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Taragolis">@Taragolis</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26459" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26459/hovercard">Remove unsafe imports in Slack API Connection (#26459)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Taragolis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Taragolis">@Taragolis</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-snowflake/3.3.0rc1" rel="nofollow">snowflake: 3.3.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25983" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25983/hovercard">Add custom handler param in SnowflakeOperator (#25983)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pankajastro/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pankajastro">@pankajastro</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/26047" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26047/hovercard">Fix wrong deprecation warning for <code class="notranslate">S3ToSnowflakeOperator</code> (#26047)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/eladkal/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/eladkal">@eladkal</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-ssh/3.2.0rc1" rel="nofollow">ssh: 3.2.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/25979" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25979/hovercard">SSHHook: Saving new host keys as described in docs (#25979)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/doiken/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/doiken">@doiken</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-trino/4.1.0rc1" rel="nofollow">trino: 4.1.0rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/26246" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26246/hovercard">trino: Support CertificateAuthentication in the trino hook (#26246)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/c2zwdjnlcg/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/c2zwdjnlcg">@c2zwdjnlcg</a></li>
</ul>
<h2 dir="auto">Provider <a href="https://pypi.org/project/apache-airflow-providers-vertica/3.2.1rc1" rel="nofollow">vertica: 3.2.1rc1</a></h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/25789" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25789/hovercard">Add common-sql lower bound for common-sql (#25789)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
</ul>
<p dir="auto">The guidelines on how to test providers can be found in</p>
<p dir="auto"><a href="https://github.com/apache/airflow/blob/main/dev/README_RELEASE_PROVIDER_PACKAGES.md#verify-by-contributors">Verify providers by contributors</a></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> | 0 |
<p dir="auto">Glide Can't load local Vector drawable?</p>
<p dir="auto"><code class="notranslate">Glide.with(this) .load(R.drawable.ic_1f3ad) .into(image);</code></p>
<p dir="auto">this ic_1f3ad is a Vector drawable!</p>
<p dir="auto">I use 3.7.0 or 4.0.0-SNAPSHOT can't load !</p>
<p dir="auto">I want know this is glide can't support or my fault?</p> | <p dir="auto">I've a drawable (res/drawable/my_drawable.xml) which looks like this:</p>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportHeight="24"
android:viewportWidth="24">
<path
android:fillColor="#aaa"
android:pathData="....." />
</vector>"><pre class="notranslate"><<span class="pl-ent">vector</span> <span class="pl-e">xmlns</span><span class="pl-e">:</span><span class="pl-e">android</span>=<span class="pl-s"><span class="pl-pds">"</span>http://schemas.android.com/apk/res/android<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">width</span>=<span class="pl-s"><span class="pl-pds">"</span>24dp<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">height</span>=<span class="pl-s"><span class="pl-pds">"</span>24dp<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">viewportHeight</span>=<span class="pl-s"><span class="pl-pds">"</span>24<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">viewportWidth</span>=<span class="pl-s"><span class="pl-pds">"</span>24<span class="pl-pds">"</span></span>>
<<span class="pl-ent">path</span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">fillColor</span>=<span class="pl-s"><span class="pl-pds">"</span>#aaa<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">pathData</span>=<span class="pl-s"><span class="pl-pds">"</span>.....<span class="pl-pds">"</span></span> />
</<span class="pl-ent">vector</span>></pre></div>
<p dir="auto">I want to load this drawable into an ImageView inside <code class="notranslate">onBindViewHolder</code>:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Glide.with(context)
.load(R.drawable.my_drawable)
.into(holder.imageViewProfile);"><pre class="notranslate"><span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-s1">context</span>)
.<span class="pl-en">load</span>(<span class="pl-smi">R</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">my_drawable</span>)
.<span class="pl-en">into</span>(<span class="pl-s1">holder</span>.<span class="pl-s1">imageViewProfile</span>);</pre></div>
<p dir="auto">But it's not working. If I add a listener, an exception is thrown and it's <code class="notranslate">null</code>.</p>
<p dir="auto">How to load such an vector drawable correctly into an ImageView with Glide?<br>
Alternative is not using Glide, but .... yeah .... that's not what I want.</p> | 1 |
<p dir="auto">If you check this url<br>
<a href="https://nextstore.itmohou.now.sh/" rel="nofollow">https://nextstore.itmohou.now.sh/</a></p>
<p dir="auto">everything will work fine<br>
if you go to footer and navigate to about<br>
then press home it will work fine also</p>
<p dir="auto">but if you went to any error page (any page because there are no pages yet)</p>
<p dir="auto">and press home<br>
it will get stuck and wont go to home<br>
other pages will work perfectly<br>
i couldnt find the problem</p>
<p dir="auto">here is the code<br>
<a href="https://github.com/mohammadou1/nextstore">https://github.com/mohammadou1/nextstore</a></p> | <p dir="auto">This is bug report</p>
<p dir="auto">Link does not work with css-module imported. That happens when page with Link has no css, and linked page has. No errors in console, so im not sure about reasons, but there is minimal repo to reproduce:<br>
<a href="https://github.com/standy/next-css-error">https://github.com/standy/next-css-error</a></p>
<p dir="auto">Bug appears in <code class="notranslate">[email protected]</code> + <code class="notranslate">[email protected]</code>,<br>
Older <code class="notranslate">[email protected]</code> + <code class="notranslate">[email protected]</code> works fine</p> | 1 |
<p dir="auto">Google has a nice example of what they call a drop down textfield. Any plans to implement this? I tried to implement something similar, but its tough because you need to insert the scrolling in an inconvenient place given the mui framework (and probably hide the paper associated with menus)</p> | <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4996164/6579736/cb984734-c754-11e4-9638-db1ba3d5cf7e.png"><img src="https://cloud.githubusercontent.com/assets/4996164/6579736/cb984734-c754-11e4-9638-db1ba3d5cf7e.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Should maybe add an overflow: scroll</p> | 1 |
<ul dir="auto">
<li>VSCode Version: 1.1.0</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/387794/15162352/c769ff48-16d8-11e6-9211-82b338d2b034.png"><img src="https://cloud.githubusercontent.com/assets/387794/15162352/c769ff48-16d8-11e6-9211-82b338d2b034.png" alt="attributes" style="max-width: 100%;"></a></p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" Current behaviour:
<div [class.selected]="i === selected"></div>
<div [class.tooSmall]="value < threshold"></div>
<div [class.tooBig]="value > limit"></div>
Expected (to be like):
<div *ngIf="i === selected"></div>
<div *ngIf="value < threshold"></div>
<div *ngIf="value > limit"></div>"><pre class="notranslate"> Current behaviour:
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">[class.selected]</span>="<span class="pl-s">i === selected</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">[class.tooSmall]</span>="<span class="pl-s">value < threshold</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">[class.tooBig]</span>="<span class="pl-s">value > limit</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
Expected (to be like):
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">*ngIf</span>="<span class="pl-s">i === selected</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">*ngIf</span>="<span class="pl-s">value < threshold</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">*ngIf</span>="<span class="pl-s">value > limit</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div>
<p dir="auto">I could offer a PR if anyone familiar with the vscode structure give me hints on where I should look for the issue.</p> | <p dir="auto">Angular 2 uses brackets around attributes or * prefixes, which break syntax highlighting and IntelliSense:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<a href="hello.html" (click)="someMethod()" title="hello"></a>
<input type="text" [value]="someProperty" placeholder="Enter text"/>
<div class="hello" *ngIf="someCondition"></div>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">hello.html</span>" <span class="pl-c1">(click)</span>="<span class="pl-s">someMethod()</span>" <span class="pl-c1">title</span>="<span class="pl-s">hello</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">a</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">text</span>" <span class="pl-c1">[value]</span>="<span class="pl-s">someProperty</span>" <span class="pl-c1">placeholder</span>="<span class="pl-s">Enter text</span>"/>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">hello</span>" <span class="pl-c1">*ngIf</span>="<span class="pl-s">someCondition</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10532611/14869187/2cd876b8-0cd2-11e6-9284-076cf584a592.png"><img src="https://cloud.githubusercontent.com/assets/10532611/14869187/2cd876b8-0cd2-11e6-9284-076cf584a592.png" alt="image" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">Floats are not always correct and always use . as the decimal separator.</p> | <p dir="auto">If you run std::float::infinity.next_after(1.0)` you get the following (unexpected result)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="=> 179769313486231680088648464220646842686668242844028646442228680066046004606080400844208228060084840044686866242482868202680268820402884062800406622428864666882406066422426822086680426404402040202424880224808280820888844286620802664406086660842040886824002682662666864246642840408646468824200860804260804068888.0"><pre class="notranslate"><code class="notranslate">=> 179769313486231680088648464220646842686668242844028646442228680066046004606080400844208228060084840044686866242482868202680268820402884062800406622428864666882406066422426822086680426404402040202424880224808280820888844286620802664406086660842040886824002682662666864246642840408646468824200860804260804068888.0
</code></pre></div>
<p dir="auto">the expected result is actually something like</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="=> 179769313486231580788648464220646842686668242844028646442228680066046004606080400844208228060084840044686866242482868202680268820402884062800406622428864666882406066422426822086680426404402040202424880224808280820888844286620802664406086660842040886824002682662666864246642840408646468824200860804260804068887.0"><pre class="notranslate"><code class="notranslate">=> 179769313486231580788648464220646842686668242844028646442228680066046004606080400844208228060084840044686866242482868202680268820402884062800406622428864666882406066422426822086680426404402040202424880224808280820888844286620802664406086660842040886824002682662666864246642840408646468824200860804260804068887.0
</code></pre></div> | 1 |
<p dir="auto">Typescript 2.2 started including fetch in the dom lib. So I'm now getting a bunch of duplicate definition errors when using typescript 2.2 with @types/isomorphic-fetch. Seems like adding a namespace fixes this issue.</p> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I tried using the <code class="notranslate">@types/lodash</code> package and had problems.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I'm getting this Error from TypeScript-> TypeScript compiler failed with exit code 1.</li>
</ul>
<p dir="auto">I did try your solution remove <code class="notranslate">node_modules</code> and run <code class="notranslate">npm i</code> but after <code class="notranslate">tns run ios</code> again same Error popping up</p>
<p dir="auto">Thank you...</p>
<p dir="auto">My package JSON<br>
"dependencies": {<br>
"@types/lodash": "^4.14.39",<br>
"lodash": "^4.17.2",<br>
},</p>
<p dir="auto">///// -- ERROR</p>
<p dir="auto">node_modules/@types/lodash/index.d.ts(19507,15): error TS2428: All declarations of 'WeakMap' must have identical type parameters.</p>
<p dir="auto">node_modules/@types/node/index.d.ts(38,11): error TS2300: Duplicate identifier 'MapConstructor'.</p>
<p dir="auto">node_modules/@types/node/index.d.ts(40,11): error TS2300: Duplicate identifier 'SetConstructor'.<br>
node_modules/@types/node/index.d.ts(50,14): error TS2687: All declarations of 'iterator' must have identical modifiers.<br>
node_modules/@types/node/index.d.ts(60,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'global' must be of type 'any', but here has type 'Global'.</p>
<p dir="auto">node_modules/@types/node/index.d.ts(84,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'require' must be of type 'NativeScriptRequire', but here has type 'NodeRequire'.</p>
<p dir="auto">node_modules/@types/node/index.d.ts(96,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type 'NativeScriptModule', but here has type 'NodeModule'.<br>
node_modules/@types/node/index.d.ts(4091,5): error TS2309: An export assignment cannot be used in a module with other exported elements.</p>
<p dir="auto">node_modules/tns-core-modules/declarations.d.ts(3,15): error TS2300: Duplicate identifier 'Request'.</p>
<p dir="auto">node_modules/tns-core-modules/declarations.d.ts(17,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'headers' must be of type 'any', but here has type 'string[] | Headers | { [index: string]: string; }'.<br>
node_modules/tns-core-modules/declarations.d.ts(19,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'mode' must be of type 'string', but here has type 'RequestMode'.<br>
node_modules/tns-core-modules/declarations.d.ts(20,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'credentials' must be of type 'string', but here has type 'RequestCredentials'.<br>
node_modules/tns-core-modules/declarations.d.ts(21,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'cache' must be of type 'string', but here has type 'RequestCache'.</p>
<p dir="auto">node_modules/tns-core-modules/declarations.d.ts(36,15): error TS2300: Duplicate identifier 'Headers'.<br>
node_modules/tns-core-modules/declarations.d.ts(46,5): error TS2687: All declarations of 'bodyUsed' must have identical modifiers.<br>
node_modules/tns-core-modules/declarations.d.ts(56,15): error TS2300: Duplicate identifier 'Response'.<br>
node_modules/tns-core-modules/declarations.d.ts(72,5): error TS2687: All declarations of 'status' must have identical modifiers.</p>
<p dir="auto">node_modules/tns-core-modules/declarations.d.ts(73,5): error TS2687: All declarations of 'statusText' must have identical modifiers.<br>
node_modules/tns-core-modules/declarations.d.ts(74,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'headers' must be of type 'any', but here has type 'HeaderInit'.</p>
<p dir="auto">node_modules/tns-core-modules/declarations.d.ts(74,5): error TS2687: All declarations of 'headers' must have identical modifiers.<br>
node_modules/tns-core-modules/declarations.d.ts(78,14): error TS2300: Duplicate identifier 'BodyInit'.</p>
<p dir="auto">node_modules/tns-core-modules/declarations.d.ts(79,14): error TS2300: Duplicate identifier 'RequestInfo'.<br>
node_modules/tns-core-modules/es-collections.d.ts(30,14): error TS2300: Duplicate identifier 'MapConstructor'.</p>
<p dir="auto">node_modules/tns-core-modules/es-collections.d.ts(31,14): error TS2300: Duplicate identifier 'SetConstructor'.<br>
node_modules/tns-core-modules/es6.d.ts(9,5): error TS2687: All declarations of 'iterator' must have identical modifiers.</p>
<p dir="auto">node_modules/typescript/lib/lib.d.ts(5327,5): error TS2687: All declarations of 'status' must have identical modifiers.</p>
<p dir="auto">node_modules/typescript/lib/lib.d.ts(5328,5): error TS2687: All declarations of 'statusText' must have identical modifiers.<br>
node_modules/typescript/lib/lib.d.ts(5329,5): error TS2687: All declarations of 'headers' must have identical modifiers.<br>
node_modules/typescript/lib/lib.d.ts(11168,11): error TS2300: Duplicate identifier 'Headers'.<br>
node_modules/typescript/lib/lib.d.ts(11177,13): error TS2300: Duplicate identifier 'Headers'.<br>
node_modules/typescript/lib/lib.d.ts(13566,11): error TS2300: Duplicate identifier 'Request'.<br>
node_modules/typescript/lib/lib.d.ts(13583,13): error TS2300: Duplicate identifier 'Request'.<br>
node_modules/typescript/lib/lib.d.ts(13588,11): error TS2300: Duplicate identifier 'Response'.</p>
<p dir="auto">node_modules/typescript/lib/lib.d.ts(13599,13): error TS2300: Duplicate identifier 'Response'.<br>
node_modules/typescript/lib/lib.d.ts(17714,14): error TS2687: All declarations of 'bodyUsed' must have identical modifiers.<br>
node_modules/typescript/lib/lib.d.ts(19121,6): error TS2300: Duplicate identifier 'BodyInit'.</p>
<p dir="auto">node_modules/typescript/lib/lib.d.ts(19152,6): error TS2300: Duplicate identifier 'RequestInfo'.</p>
<p dir="auto">TypeScript compiler failed with exit code 1</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond.
<ul dir="auto">
<li>Authors: @....</li>
</ul>
</li>
</ul> | 0 |
<p dir="auto">Just a suggestion to allow delete by query, especially wildcard queries against the _id, instead of just delete by _id. It would be much faster and easier than one by one.</p> | <p dir="auto">The error doesn't happen when I delete the queries one by one.</p>
<p dir="auto">It only happens when you delete the percolator index itself for a index.</p>
<p dir="auto">Gist for reproducing the error:</p>
<p dir="auto"><a href="https://gist.github.com/1678150">https://gist.github.com/1678150</a></p> | 1 |
<p dir="auto">The auto-completion popup fails on words containing umlauts (äöü). The umlaut and all characters after that are missing. I'm using Atom <code class="notranslate">0.211.0</code> from the .deb file and Ubuntu 14.04.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8014859/8355663/b95183ce-1b50-11e5-99f4-f2b4feb4a28b.gif"><img src="https://cloud.githubusercontent.com/assets/8014859/8355663/b95183ce-1b50-11e5-99f4-f2b4feb4a28b.gif" alt="opt" data-animated-image="" style="max-width: 100%;"></a></p> | <p dir="auto">Current implementation seems to break words on unicode characters - so when I write "somēthing" in the editor, it gets tokenised into "som" and "thing" for purposes of autocomplete.</p>
<p dir="auto">If I follow the code correctly, it's due to JS regex used at <a href="https://github.com/saschagehlich/autocomplete-plus/blob/master/lib/provider.coffee#L6"><code class="notranslate">Provider.wordRegex</code></a> not being unicode-enabled.</p>
<p dir="auto">Possible solutions:</p>
<ul dir="auto">
<li>use a character whitelist <a href="https://github.com/saschagehlich/autocomplete-plus/blob/master/lib/fuzzy-provider.coffee#L61">like here</a>;</li>
<li>bring in unicode-aware library like <a href="http://xregexp.com/" rel="nofollow">XRegExp</a>;</li>
</ul>
<p dir="auto">Which would you rather see implemented - nasty regex without additional libraries, or cleaner regex plus additional dependency? Or something else entirely?</p> | 1 |
<p dir="auto">After upgrading to next 6.0.0, when running Next in dev mode, page transitions sometimes get stuck rendering the current page rather than rendering the next page.</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">Expected Behavior</h2>
<p dir="auto">When clicking a <code class="notranslate"><Link /></code> in dev mode, after the page bundle builds, the client should navigate to the linked page.</p>
<p dir="auto">The behavior is inconsistent and I have not been able to reproduce this issue when the page is already built.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">After the next page bundle builds, the client re-renders the current page.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Run next in dev mode (I am using a custom Express server, so the <code class="notranslate">dev</code> command is <code class="notranslate">node server.js</code></li>
<li>Go to a page in the browser</li>
<li>Click a <code class="notranslate"><Link /></code> to second page</li>
<li>Wait a bit for the second page to build</li>
<li>The browser location changes to the second page's url, but you're still on the first page</li>
</ol>
<p dir="auto">Refreshing the page renders the second page correctly.</p>
<h2 dir="auto">Context</h2>
<p dir="auto">This is preventing us from upgrading to Next 6.0.0</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>6.0.0</td>
</tr>
<tr>
<td>node</td>
<td>8.10.0</td>
</tr>
<tr>
<td>OS</td>
<td>Mac OSX</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 65.0.3325.181</td>
</tr>
</tbody>
</table> | <p dir="auto">I am trying add <a href="http://ogp.me/#array" rel="nofollow">http://ogp.me/#array</a> of <code class="notranslate">article:tag</code> property:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import NextHead from 'next/head'
<NextHead>
<meta property="article:tag" content="tag1" key="tag1key" />
<meta property="article:tag" content="tag2" key="tag2key" />
</NextHead>"><pre class="notranslate"><code class="notranslate">import NextHead from 'next/head'
<NextHead>
<meta property="article:tag" content="tag1" key="tag1key" />
<meta property="article:tag" content="tag2" key="tag2key" />
</NextHead>
</code></pre></div>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">I have set key for each line, so I expect that next.js understand that it is not duplicates:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<head>
<meta property="article:tag" content="tag1" />
<meta property="article:tag" content="tag2" />
</head>"><pre class="notranslate"><code class="notranslate"><head>
<meta property="article:tag" content="tag1" />
<meta property="article:tag" content="tag2" />
</head>
</code></pre></div>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">But next.js think tah it is a duplicates and remove tags except last tag:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<head>
<meta property="article:tag" content="tag2" />
</head>"><pre class="notranslate"><code class="notranslate"><head>
<meta property="article:tag" content="tag2" />
</head>
</code></pre></div>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>5.1.0</td>
</tr>
<tr>
<td>node</td>
<td>9.2.0</td>
</tr>
<tr>
<td>OS</td>
<td>OSX</td>
</tr>
</tbody>
</table> | 0 |
<p dir="auto">I mistakenly exported <code class="notranslate">ServiceConfig</code> twice, the second call produces the following exception which makes no sense:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at org.apache.dubbo.config.AbstractConfig.refresh(AbstractConfig.java:568) [dubbo-2.7.0.jar:2.7.0]
at org.apache.dubbo.config.ServiceConfig.checkAndUpdateSubConfigs(ServiceConfig.java:272) [dubbo-2.7.0.jar:2.7.0]
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:328) [dubbo-2.7.0.jar:2.7.0]
at xx.xx.xx.xx.rpc.NodeRpcServerV3.start(NodeRpcServerV3.java:298) [classes/:?]
at xx.xx.xx.xx.rpc.NodeRpcV3Test.init(NodeRpcV3Test.java:21) [test-classes/:?]
....
Caused by: java.lang.IllegalArgumentException: Unsupported generic type false
at org.apache.dubbo.config.ServiceConfig.setGeneric(ServiceConfig.java:959) ~[dubbo-2.7.0.jar:2.7.0]
... 67 more"><pre class="notranslate"><code class="notranslate">java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at org.apache.dubbo.config.AbstractConfig.refresh(AbstractConfig.java:568) [dubbo-2.7.0.jar:2.7.0]
at org.apache.dubbo.config.ServiceConfig.checkAndUpdateSubConfigs(ServiceConfig.java:272) [dubbo-2.7.0.jar:2.7.0]
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:328) [dubbo-2.7.0.jar:2.7.0]
at xx.xx.xx.xx.rpc.NodeRpcServerV3.start(NodeRpcServerV3.java:298) [classes/:?]
at xx.xx.xx.xx.rpc.NodeRpcV3Test.init(NodeRpcV3Test.java:21) [test-classes/:?]
....
Caused by: java.lang.IllegalArgumentException: Unsupported generic type false
at org.apache.dubbo.config.ServiceConfig.setGeneric(ServiceConfig.java:959) ~[dubbo-2.7.0.jar:2.7.0]
... 67 more
</code></pre></div>
<p dir="auto">It took me at least one hour to locate the root cause.</p>
<p dir="auto">Dubbo version: 2.7.0</p>
<p dir="auto">I've crafted a demo for this issue at this <a href="https://github.com/JerryChin/dubbo-issue-3629">repo</a>.</p> | <p dir="auto">I wonder why consumer url not register and unregister to consul:</p>
<p dir="auto"></p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/apache/dubbo/blob/afbf7d5171736dafba56bad7dcb664f1f2ce480e/dubbo-registry/dubbo-registry-consul/src/main/java/org/apache/dubbo/registry/consul/ConsulRegistry.java#L102-L104">dubbo/dubbo-registry/dubbo-registry-consul/src/main/java/org/apache/dubbo/registry/consul/ConsulRegistry.java</a>
</p>
<p class="mb-0 color-fg-muted">
Lines 102 to 104
in
<a data-pjax="true" class="commit-tease-sha" href="/apache/dubbo/commit/afbf7d5171736dafba56bad7dcb664f1f2ce480e">afbf7d5</a>
</p>
</div>
<div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
<table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">
<tbody><tr class="border-0">
<td id="L102" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="102"></td>
<td id="LC102" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">if</span> (<span class="pl-en">isConsumerSide</span>(<span class="pl-s1">url</span>)) { </td>
</tr>
<tr class="border-0">
<td id="L103" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="103"></td>
<td id="LC103" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">return</span>; </td>
</tr>
<tr class="border-0">
<td id="L104" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="104"></td>
<td id="LC104" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> } </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto"></p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/apache/dubbo/blob/afbf7d5171736dafba56bad7dcb664f1f2ce480e/dubbo-registry/dubbo-registry-consul/src/main/java/org/apache/dubbo/registry/consul/ConsulRegistry.java#L120-L122">dubbo/dubbo-registry/dubbo-registry-consul/src/main/java/org/apache/dubbo/registry/consul/ConsulRegistry.java</a>
</p>
<p class="mb-0 color-fg-muted">
Lines 120 to 122
in
<a data-pjax="true" class="commit-tease-sha" href="/apache/dubbo/commit/afbf7d5171736dafba56bad7dcb664f1f2ce480e">afbf7d5</a>
</p>
</div>
<div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
<table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">
<tbody><tr class="border-0">
<td id="L120" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="120"></td>
<td id="LC120" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">if</span> (<span class="pl-en">isConsumerSide</span>(<span class="pl-s1">url</span>)) { </td>
</tr>
<tr class="border-0">
<td id="L121" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="121"></td>
<td id="LC121" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">return</span>; </td>
</tr>
<tr class="border-0">
<td id="L122" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="122"></td>
<td id="LC122" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> } </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">And this issue is duplicated to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="617210804" data-permission-text="Title is private" data-url="https://github.com/apache/dubbo/issues/6147" data-hovercard-type="issue" data-hovercard-url="/apache/dubbo/issues/6147/hovercard" href="https://github.com/apache/dubbo/issues/6147">#6147</a>.</p> | 0 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">Inventory</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-playbook --version
ansible-playbook 2.4.0.0
config file = /home/shrews/.ansible.cfg
configured module search path = ['/home/shrews/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/shrews/Devel/git/openstack-infra/zuul/.tox/py35/lib/python3.6/site-packages/ansible
executable location = /home/shrews/Devel/git/openstack-infra/zuul/.tox/py35/bin/ansible-playbook
python version = 3.6.2 (default, Aug 11 2017, 11:59:59) [GCC 7.1.1 20170622 (Red Hat 7.1.1-3)]"><pre class="notranslate"><code class="notranslate">$ ansible-playbook --version
ansible-playbook 2.4.0.0
config file = /home/shrews/.ansible.cfg
configured module search path = ['/home/shrews/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/shrews/Devel/git/openstack-infra/zuul/.tox/py35/lib/python3.6/site-packages/ansible
executable location = /home/shrews/Devel/git/openstack-infra/zuul/.tox/py35/bin/ansible-playbook
python version = 3.6.2 (default, Aug 11 2017, 11:59:59) [GCC 7.1.1 20170622 (Red Hat 7.1.1-3)]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-config dump --only-changed
[DEPRECATION WARNING]: [defaults]hostfile option, The key is misleading as it can also be a list of hosts, a directory or a list of paths . This feature will be removed in version 2.8. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg."><pre class="notranslate"><code class="notranslate">$ ansible-config dump --only-changed
[DEPRECATION WARNING]: [defaults]hostfile option, The key is misleading as it can also be a list of hosts, a directory or a list of paths . This feature will be removed in version 2.8. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
</code></pre></div>
<p dir="auto">Set hostsfile to a hosts.yaml file.</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Fedora 26</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Behavior of 'all' (at least in a YAML host inventory file) seems to have changed.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">hosts.yaml:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="all:
hosts:
controller:
ansible_host: localhost
ansible_connection: local
localhost:
ansible_connection: local"><pre class="notranslate"><code class="notranslate">all:
hosts:
controller:
ansible_host: localhost
ansible_connection: local
localhost:
ansible_connection: local
</code></pre></div>
<p dir="auto">Example playbook:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="---
- hosts: all
name: Foo
tasks:
- name: Bar
shell: |
echo "Hello World""><pre class="notranslate"><code class="notranslate">---
- hosts: all
name: Foo
tasks:
- name: Bar
shell: |
echo "Hello World"
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">Expected results (generated from Ansible 2.3):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-playbook ~/a.yaml
PLAY [Foo] *********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
ok: [controller]
TASK [Bar] *********************************************************************
changed: [controller]
changed: [localhost]
PLAY RECAP *********************************************************************
controller : ok=2 changed=1 unreachable=0 failed=0
localhost : ok=2 changed=1 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">$ ansible-playbook ~/a.yaml
PLAY [Foo] *********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
ok: [controller]
TASK [Bar] *********************************************************************
changed: [controller]
changed: [localhost]
PLAY RECAP *********************************************************************
controller : ok=2 changed=1 unreachable=0 failed=0
localhost : ok=2 changed=1 unreachable=0 failed=0
</code></pre></div>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-playbook -vvv ~/a.yaml
ansible-playbook 2.4.0.0
config file = /home/shrews/.ansible.cfg
configured module search path = ['/home/shrews/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/shrews/Devel/git/openstack-infra/zuul/.tox/py35/lib/python3.6/site-packages/ansible
executable location = /home/shrews/Devel/git/openstack-infra/zuul/.tox/py35/bin/ansible-playbook
python version = 3.6.2 (default, Aug 11 2017, 11:59:59) [GCC 7.1.1 20170622 (Red Hat 7.1.1-3)]
Using /home/shrews/.ansible.cfg as config file
[DEPRECATION WARNING]: [defaults]hostfile option, The key is misleading as it can also be a list of hosts, a directory or a list of paths . This feature will be removed in version 2.8. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
[WARNING]: Unable to parse /etc/ansible/hosts as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: Could not match supplied host pattern, ignoring: all
[WARNING]: provided hosts list is empty, only localhost is available
PLAYBOOK: a.yaml *****************************************************************************************************************************************************************************************************************
1 plays in /home/shrews/a.yaml
PLAY [Foo] ***********************************************************************************************************************************************************************************************************************
skipping: no hosts matched
PLAY RECAP ***************************************************************************************************"><pre class="notranslate"><code class="notranslate">$ ansible-playbook -vvv ~/a.yaml
ansible-playbook 2.4.0.0
config file = /home/shrews/.ansible.cfg
configured module search path = ['/home/shrews/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/shrews/Devel/git/openstack-infra/zuul/.tox/py35/lib/python3.6/site-packages/ansible
executable location = /home/shrews/Devel/git/openstack-infra/zuul/.tox/py35/bin/ansible-playbook
python version = 3.6.2 (default, Aug 11 2017, 11:59:59) [GCC 7.1.1 20170622 (Red Hat 7.1.1-3)]
Using /home/shrews/.ansible.cfg as config file
[DEPRECATION WARNING]: [defaults]hostfile option, The key is misleading as it can also be a list of hosts, a directory or a list of paths . This feature will be removed in version 2.8. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
[WARNING]: Unable to parse /etc/ansible/hosts as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: Could not match supplied host pattern, ignoring: all
[WARNING]: provided hosts list is empty, only localhost is available
PLAYBOOK: a.yaml *****************************************************************************************************************************************************************************************************************
1 plays in /home/shrews/a.yaml
PLAY [Foo] ***********************************************************************************************************************************************************************************************************************
skipping: no hosts matched
PLAY RECAP ***************************************************************************************************
</code></pre></div> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li><del>B ug Report</del></li>
<li>Docs Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">import_playbook</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.3.2.0
config file = /home/foo/.ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.13 (default, May 8 2017, 12:47:14) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]"><pre class="notranslate"><code class="notranslate">ansible 2.3.2.0
config file = /home/foo/.ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.13 (default, May 8 2017, 12:47:14) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">Bog standard. Set inventory path.</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">RHEL6</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">The documentation at (<a href="http://docs.ansible.com/ansible/latest/playbooks_reuse_includes.html" rel="nofollow">http://docs.ansible.com/ansible/latest/playbooks_reuse_includes.html</a>) for <strong>import_playbook</strong> shows what seems to be invalid YAML.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="---
import_playbook: webservers.yml
import_playbook: databases.yml"><pre class="notranslate"><code class="notranslate">---
import_playbook: webservers.yml
import_playbook: databases.yml
</code></pre></div>
<p dir="auto">Sure enough, trying a simple example like this fails, with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[WARNING]: While constructing a mapping from /data0/tenadarts/ansible/playbooks/configure.yml, line 2, column 1, found a duplicate dict key (import_playbook). Using last defined value only."><pre class="notranslate"><code class="notranslate">[WARNING]: While constructing a mapping from /data0/tenadarts/ansible/playbooks/configure.yml, line 2, column 1, found a duplicate dict key (import_playbook). Using last defined value only.
</code></pre></div>
<p dir="auto">Followed by,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR! playbooks must be a list of plays"><pre class="notranslate"><code class="notranslate">ERROR! playbooks must be a list of plays
</code></pre></div>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">Create two playbooks, test1.yml and test2.yml</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="---
- hosts: linux
tasks:
- ping: {} "><pre class="notranslate"><code class="notranslate">---
- hosts: linux
tasks:
- ping: {}
</code></pre></div>
<p dir="auto">Create a playbook, pb.yml</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="---
import_playbook: test1.yml
import_playbook: test2.yml"><pre class="notranslate"><code class="notranslate">---
import_playbook: test1.yml
import_playbook: test2.yml
</code></pre></div>
<p dir="auto">Run:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible-playbook pb.yml"><pre class="notranslate"><code class="notranslate">ansible-playbook pb.yml
</code></pre></div>
<p dir="auto">This results in the <strong>ERROR! Playbooks must be a list of plays</strong> above.<br>
Trying to guess at the required structure, I also tried:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="---
- import_playbook: test1.yml
- import_playbook: test2.yml"><pre class="notranslate"><code class="notranslate">---
- import_playbook: test1.yml
- import_playbook: test2.yml
</code></pre></div>
<p dir="auto">This yields: <strong>ERROR! 'import_playbook' is not a valid attribute for a Play</strong></p>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">The two playbooks are imported then executed.</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">Various syntax errors.</p> | 0 |
<p dir="auto">[Power Toy Settings>General>left pane]</p>
<p dir="auto">User Impact:<br>
This will impact the screen reader users if the irrelevant information is announced by the screen reader on menu items.</p>
<p dir="auto">Test Environment:<br>
OS Version: 20221.1000<br>
App Name: Power Toy Preview<br>
App Version: v0.23.0</p>
<p dir="auto">Reproe-Steps:</p>
<ol dir="auto">
<li>Open Power Toys Settings App. Turn on narrator.</li>
<li>Navigate to 'Open Navigation' button present in left pane and activate it.</li>
<li>Navigate to General menu item and verify the issue.</li>
</ol>
<p dir="auto">Actual Result:<br>
Screen reader is announcing irrelevant information as 'level 1' on menu items of left pane.<br>
Note:<br>
Same issue is repro with NVDA(2020.2)</p>
<p dir="auto">Expected Result:<br>
There is no as such level present on the window so screen reader should not convey the 'level 1' information.</p>
<p dir="auto">MAS Reference:<br>
<a href="https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc=%7ba12f3779-bdf1-40c2-bbcc-0e314ea94858%7d&cid=127cc21c-7a42-48a4-9e3b-07f090c6bd8a" rel="nofollow">https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc=%7ba12f3779-bdf1-40c2-bbcc-0e314ea94858%7d&cid=127cc21c-7a42-48a4-9e3b-07f090c6bd8a</a></p>
<p dir="auto"><a href="https://github.com/microsoft/PowerToys/files/5328818/51_General_MAS4.2.1_Irrelevant.information.as.level.1.is.announce.by.the.narrator.zip">51_General_MAS4.2.1_Irrelevant information as level 1 is announce by the narrator.zip</a></p>
<p dir="auto"><a href="https://github.com/microsoft/PowerToys/files/5328816/51_General_irrelevant.information.as.level.1_NVDA.zip">51_General_irrelevant information as level 1_NVDA.zip</a></p> | <h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">I'd love, if FancyZones save original size of windows, like it happens if I stick window left, right or top (fullscreen). If I drag window from these modes, It returns to it's original size.<br>
For now, it seems that FancyZones changes original size of window.</p> | 0 |
<p dir="auto">Setting both options <code class="notranslate">"index.auto_expand_replicas":"0-all"</code> and <code class="notranslate">"cluster.routing.allocation.same_shard.host": true</code> causes unallocated shards in a cluster.</p>
<p dir="auto">E.g. in a cluster with 5 physical hosts and 10 Elasticsearch instances (2 instances/host) the settings cause 5 unallocated shards per an index.</p>
<p dir="auto">Is this the correct behavior?<br>
Thanks!</p>
<p dir="auto">P.S. Tested on Elasticsearch-1.4.4</p> | <p dir="auto">We already use fielddata on the <code class="notranslate">_uid</code> field today in order to implement random sorting. However, given that doc values are disabled on <code class="notranslate">_uid</code>, this will use an insane amount of memory in order to load information in memory given that this field only has unique values.</p>
<p dir="auto">Having better fielddata for <code class="notranslate">_uid</code> would also be useful in order to have more consistent sort order when paginating or hitting different replicas: we could always add a tie-break on the value of the <code class="notranslate">_uid</code> field.</p>
<p dir="auto">I think we have several options:</p>
<ul dir="auto">
<li>Option 1: Add SORTED doc values to <code class="notranslate">_uid</code></li>
<li>Option 2: Add BINARY doc values to <code class="notranslate">_uid</code></li>
<li>Option 3: Add SORTED doc values to <code class="notranslate">_type</code> and <code class="notranslate">_id</code></li>
<li>Option 4: Add SORTED doc values to <code class="notranslate">_type</code> and BINARY to <code class="notranslate">_id</code></li>
</ul>
<p dir="auto">Option 2 would probably be wasteful in terms of disk space given that we don't have good compression available for binary doc values (and it's hard to implement given that the values can store pretty much anything).</p>
<p dir="auto">Options 3 and 4 have the benefit of not having to duplicate information if we also want to have doc values on <code class="notranslate">_type</code> and <code class="notranslate">_id</code>: we could even build a BINARY fielddata view for <code class="notranslate">_uid</code>.</p>
<p dir="auto">Then the other question is whether we should rather use sorted or binary doc values, the former being better for sorting (useful for the consistent sorting use-case) and the latter being better for value lookups (useful for random sorting).</p> | 0 |
<p dir="auto">On a similar vein to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="456605294" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/18826" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/18826/hovercard" href="https://github.com/electron/electron/issues/18826">#18826</a> the <code class="notranslate">process.versions</code> object should include the <code class="notranslate">boringssl</code> version to allow people to do version checks <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji></p> | <p dir="auto">We no longer depend on openssl at all, it should not be listed in <code class="notranslate">process.versions</code>.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6634592/59560038-b5046380-8fbf-11e9-9207-46874847126e.png"><img src="https://user-images.githubusercontent.com/6634592/59560038-b5046380-8fbf-11e9-9207-46874847126e.png" alt="image" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">I have been trying to use a full ES6 webpack configuration file using Babel 6 but it seems that <code class="notranslate">export default</code> if in fact not exporting anything.</p>
<p dir="auto">I named my config file webpack.config.babel.js and this is the code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import path from 'path';
import HtmlwebpackPlugin from 'html-webpack-plugin';
const ROOT_PATH = path.resolve(__dirname);
const APP_PATH = path.resolve(ROOT_PATH, 'app');
const BUILD_PATH = path.resolve(ROOT_PATH, 'build');
export default {
entry: APP_PATH,
output: {
path: BUILD_PATH,
filename: 'bundle.js'
},
plugins: [
new HtmlwebpackPlugin({
title: 'React Kanban App'
})
]
};"><pre class="notranslate"><code class="notranslate">import path from 'path';
import HtmlwebpackPlugin from 'html-webpack-plugin';
const ROOT_PATH = path.resolve(__dirname);
const APP_PATH = path.resolve(ROOT_PATH, 'app');
const BUILD_PATH = path.resolve(ROOT_PATH, 'build');
export default {
entry: APP_PATH,
output: {
path: BUILD_PATH,
filename: 'bundle.js'
},
plugins: [
new HtmlwebpackPlugin({
title: 'React Kanban App'
})
]
};
</code></pre></div>
<p dir="auto">Every time I run webpack I just get the webpack options list and a message saying <code class="notranslate">Output filename not configured.</code>, but If I change the expression to <code class="notranslate">module.exports = { ... }</code> everything works fine.</p>
<p dir="auto">My <code class="notranslate">.babelrc</code> file is like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"presets": [
"es2015",
"react"
]
}"><pre class="notranslate"><code class="notranslate">{
"presets": [
"es2015",
"react"
]
}
</code></pre></div>
<p dir="auto">And my dependencies are:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""devDependencies": {
"babel-core": "^6.1.21",
"babel-preset-es2015": "^6.1.18",
"babel-preset-react": "^6.1.18",
"webpack": "^1.12.6"
}"><pre class="notranslate"><code class="notranslate">"devDependencies": {
"babel-core": "^6.1.21",
"babel-preset-es2015": "^6.1.18",
"babel-preset-react": "^6.1.18",
"webpack": "^1.12.6"
}
</code></pre></div>
<p dir="auto">I can't figure out what is going on here, is this a bug?</p> | <p dir="auto">I try to use es2015+ code in my <code class="notranslate">webpack.config.babel.js</code> file. After the recent upgrade this convention no longer works.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export default {
entry: './app.js',
output: {
path: __dirname,
filename: 'bundle.js'
},
module: {
loaders: [
{
test: /\.js$/,
loader: 'babel',
exclude: /node_modules/,
query: {
cacheDirectory: true,
presets: ['es2015']
}
}
]
}
}"><pre class="notranslate"><code class="notranslate">export default {
entry: './app.js',
output: {
path: __dirname,
filename: 'bundle.js'
},
module: {
loaders: [
{
test: /\.js$/,
loader: 'babel',
exclude: /node_modules/,
query: {
cacheDirectory: true,
presets: ['es2015']
}
}
]
}
}
</code></pre></div>
<p dir="auto">I will get the error: <code class="notranslate">SyntaxError: Unexpected token export</code></p>
<p dir="auto">For reference, here is the <code class="notranslate">package.json</code> file:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"devDependencies": {
"babel-core": "^6.0.17",
"babel-loader": "^6.0.1",
"babel-preset-es2015": "^6.0.15",
"webpack": "^1.12.2"
}
}"><pre class="notranslate"><code class="notranslate">{
"devDependencies": {
"babel-core": "^6.0.17",
"babel-loader": "^6.0.1",
"babel-preset-es2015": "^6.0.15",
"webpack": "^1.12.2"
}
}
</code></pre></div> | 1 |
<p dir="auto">superset version: 0.36.rc3<br>
python version: 3.7.7<br>
node.js version: 13.12.0<br>
npm version: 6.14.4</p>
<p dir="auto">F:\superset-dev\superset-frontend>npm run prod</p>
<blockquote>
<p dir="auto">[email protected] prod F:\superset-dev\superset-frontend<br>
node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --mode=production --colors --progress</p>
</blockquote>
<p dir="auto">Starting type checking service...<br>
Using 1 worker with 2048MB memory limit<br>
591 modules</p>
<p dir="auto">ERROR in ./src/SqlLab/index.jsx 23:16<br>
Module parse failed: Unexpected token (23:16)<br>
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See <a href="https://webpack.js.org/concepts#loaders" rel="nofollow">https://webpack.js.org/concepts#loaders</a><br>
| import App from './App';<br>
|</p>
<blockquote>
<p dir="auto">ReactDOM.render(, document.getElementById('app'));<br>
|</p>
</blockquote>
<p dir="auto">ERROR in ./src/welcome/index.jsx 23:16<br>
Module parse failed: Unexpected token (23:16)<br>
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See <a href="https://webpack.js.org/concepts#loaders" rel="nofollow">https://webpack.js.org/concepts#loaders</a><br>
| import App from './App';<br>
|</p>
<blockquote>
<p dir="auto">ReactDOM.render(, document.getElementById('app'));<br>
|</p>
</blockquote>
<p dir="auto">ERROR in ./src/profile/index.jsx 23:16<br>
Module parse failed: Unexpected token (23:16)<br>
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See <a href="https://webpack.js.org/concepts#loaders" rel="nofollow">https://webpack.js.org/concepts#loaders</a><br>
| import App from './App';<br>
|</p>
<blockquote>
<p dir="auto">ReactDOM.render(, document.getElementById('app'));<br>
|</p>
</blockquote>
<p dir="auto">ERROR in ./src/addSlice/index.jsx 23:16<br>
Module parse failed: Unexpected token (23:16)<br>
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See <a href="https://webpack.js.org/concepts#loaders" rel="nofollow">https://webpack.js.org/concepts#loaders</a><br>
| import App from './App';<br>
|</p>
<blockquote>
<p dir="auto">ReactDOM.render(, document.getElementById('js-add-slice-container'));<br>
|</p>
</blockquote>
<p dir="auto">ERROR in ./src/showSavedQuery/index.jsx 39:4<br>
Module parse failed: Unexpected token (39:4)<br>
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See <a href="https://webpack.js.org/concepts#loaders" rel="nofollow">https://webpack.js.org/concepts#loaders</a><br>
|<br>
| ReactDom.render(</p>
<blockquote>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<div>"><pre class="notranslate"><code class="notranslate"><div>
</code></pre></div>
</blockquote>
<p dir="auto">| <Form<br>
| schema={config.JSONSCHEMA}</p>
<p dir="auto">ERROR in ./src/dashboard/index.jsx 42:16<br>
Module parse failed: Unexpected token (42:16)<br>
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See <a href="https://webpack.js.org/concepts#loaders" rel="nofollow">https://webpack.js.org/concepts#loaders</a><br>
| );<br>
|</p>
<blockquote>
<p dir="auto">ReactDOM.render(, document.getElementById('app'));<br>
|</p>
</blockquote>
<p dir="auto">ERROR in ./src/explore/index.jsx 44:16<br>
Module parse failed: Unexpected token (44:16)<br>
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See <a href="https://webpack.js.org/concepts#loaders" rel="nofollow">https://webpack.js.org/concepts#loaders</a><br>
| );<br>
|</p>
<blockquote>
<p dir="auto">ReactDOM.render(, document.getElementById('app'));<br>
|<br>
npm ERR! code ELIFECYCLE<br>
npm ERR! errno 2<br>
npm ERR! [email protected] prod: <code class="notranslate">node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --mode=production --colors --progress</code><br>
npm ERR! Exit status 2<br>
npm ERR!<br>
npm ERR! Failed at the [email protected] prod script.<br>
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.</p>
</blockquote>
<p dir="auto">npm ERR! A complete log of this run can be found in:<br>
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2020-04-02T10_02_26_178Z-debug.log</p> | <p dir="auto">A clear and concise description of what the bug is.</p>
<h3 dir="auto">Expected results</h3>
<p dir="auto">I'm able to log in.</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">Login page comes up, I enter my credentials.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/45243854/78304160-11635000-750c-11ea-9218-4c5a0a258b1a.PNG"><img width="481" alt="login" src="https://user-images.githubusercontent.com/45243854/78304160-11635000-750c-11ea-9218-4c5a0a258b1a.PNG" style="max-width: 100%;"></a><br>
I just see a spinner and it never goes anywhere.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/45243854/78304148-0c060580-750c-11ea-917a-9941fe003b18.PNG"><img width="475" alt="spinner" src="https://user-images.githubusercontent.com/45243854/78304148-0c060580-750c-11ea-917a-9941fe003b18.PNG" style="max-width: 100%;"></a></p>
<h4 dir="auto">How to reproduce the bug</h4>
<p dir="auto">Log in using credentials.</p>
<p dir="auto">To install, I followed the instructions listed here: <a href="https://superset.incubator.apache.org/installation.html#superset-installation-and-initialization" rel="nofollow">https://superset.incubator.apache.org/installation.html#superset-installation-and-initialization</a></p>
<p dir="auto">with one exception in that I ran<br>
pip install <a href="https://dist.apache.org/repos/dist/dev/incubator/superset/0.36.0rc3/apache-superset-incubating-0.36.0rc3-source.tar.gz" rel="nofollow">https://dist.apache.org/repos/dist/dev/incubator/superset/0.36.0rc3/apache-superset-incubating-0.36.0rc3-source.tar.gz</a></p>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>superset version: 0.36.0</li>
<li>python version: 3.8.2</li>
<li>node.js version: v13.12.0</li>
<li>npm version: 6.14.4</li>
</ul>
<h3 dir="auto">Checklist</h3>
<p dir="auto">Make sure these boxes are checked before submitting your issue - thank you!</p>
<ul dir="auto">
<li>[x ] I have checked the superset logs for python stacktraces and included it here as text if there are any.</li>
<li>[ x] I have reproduced the issue with at least the latest released version of superset.</li>
<li>[ x] I have checked the issue tracker for the same issue and I haven't found one similar.</li>
</ul>
<h3 dir="auto">Additional context</h3>
<p dir="auto">Here's the output when I run Superset:</p>
<p dir="auto">(venv) [francis@localhost ~]$ superset run -p 8088 --with-threads --reload --debugger -h 0.0.0.0 logging was configured successfully<br>
INFO:superset.utils.logging_configurator:logging was configured successfully<br>
/home/francis/venv/lib64/python3.8/site-packages/flask_caching/<strong>init</strong>.py:188: UserWarning: Flask-Caching: CACHE_TYPE is set to null, caching is effectively disabled.<br>
warnings.warn(</p>
<ul dir="auto">
<li>Serving Flask app "superset" (lazy loading)</li>
<li>Environment: production<br>
WARNING: This is a development server. Do not use it in a production deployment.<br>
Use a production WSGI server instead.</li>
<li>Debug mode: off<br>
INFO:werkzeug: * Running on <a href="http://0.0.0.0:8088/" rel="nofollow">http://0.0.0.0:8088/</a> (Press CTRL+C to quit)<br>
INFO:werkzeug: * Restarting with stat<br>
logging was configured successfully<br>
INFO:superset.utils.logging_configurator:logging was configured successfully<br>
/home/francis/venv/lib64/python3.8/site-packages/flask_caching/<strong>init</strong>.py:188: UserWarning: Flask-Caching: CACHE_TYPE is set to null, caching is effectively disabled.<br>
warnings.warn(<br>
WARNING:werkzeug: * Debugger is active!<br>
INFO:werkzeug: * Debugger PIN: 144-298-740<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:43] "GET / HTTP/1.1" 302 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:43] "GET /superset/welcome HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET / HTTP/1.1" 302 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /superset/welcome HTTP/1.1" 302 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /login/ HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/appbuilder/css/font-awesome.min.css HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/appbuilder/css/bootstrap.min.css HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/appbuilder/datepicker/bootstrap-datepicker.css HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/appbuilder/select2/select2.css HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/appbuilder/css/ab.css HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/appbuilder/css/flags/flags16.css HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/appbuilder/js/ab_filters.js HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/appbuilder/js/ab_actions.js HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/appbuilder/js/jquery-latest.js HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/appbuilder/js/bootstrap.min.js HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/appbuilder/datepicker/bootstrap-datepicker.js HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/appbuilder/js/ab.js HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/assets/images/<a href="mailto:[email protected]">[email protected]</a> HTTP/1.1" 404 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/appbuilder/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/appbuilder/img/flags/flags16.png HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:53] "GET /static/appbuilder/select2/select2.js HTTP/1.1" 200 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 17:59:54] "GET /static/assets/images/favicon.png HTTP/1.1" 404 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 18:00:57] "GET /superset/ HTTP/1.1" 404 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 18:00:57] "GET /favicon.ico HTTP/1.1" 404 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 18:00:59] "GET / HTTP/1.1" 302 -<br>
INFO:werkzeug:10.0.2.2 - - [02/Apr/2020 18:00:59] "GET /superset/welcome HTTP/1.1" 200 -</li>
</ul> | 1 |
<p dir="auto">Hi,</p>
<p dir="auto">i think there is an error on TypeScript documentation > Developer Guides > 6. Dependency Injection.<br>
import {Injectable} from 'angular2/angular2'; should be import {Injectable} from 'angular2/core';</p>
<p dir="auto">Thanks for your work!</p> | <p dir="auto"><strong>I'm submitting a ...</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report
[ ] feature request
[ ] support request"><pre class="notranslate"><code class="notranslate">[x] bug report
[ ] feature request
[ ] support request
</code></pre></div>
<p dir="auto">This would appear to be an issue with Jasmine during the pretty printing stage, but I am also logging it here in case there is something about Angular's testing that is causing this issue and should be changed.<br>
<strong>Related Issue:</strong> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="202618968" data-permission-text="Title is private" data-url="https://github.com/jasmine/jasmine/issues/1263" data-hovercard-type="issue" data-hovercard-url="/jasmine/jasmine/issues/1263/hovercard" href="https://github.com/jasmine/jasmine/issues/1263">jasmine/jasmine#1263</a></p>
<p dir="auto"><strong>Current behavior</strong><br>
Attempting to test the existence of a <code class="notranslate">DebugElement</code> in a unit test results in the test hanging.</p>
<p dir="auto"><strong>Expected behavior</strong><br>
It should not hang. The test should immediately fail.</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br>
Set up a typical testing harness for an Angular component and create the following test:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var result = fixture.debugElement.query(By.css("#something"));
// The following line hangs when result is a DebugElement
// Also occurs with .toBeNull() and some others
expect(result).toBeFalsy();"><pre class="notranslate"><code class="notranslate">var result = fixture.debugElement.query(By.css("#something"));
// The following line hangs when result is a DebugElement
// Also occurs with .toBeNull() and some others
expect(result).toBeFalsy();
</code></pre></div>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
N/A</p>
<p dir="auto"><strong>Please tell us about your environment:</strong><br>
Windows 10, Visual Studio Code, Karma</p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.4.10</li>
<li><strong>Language:</strong> TypeScript 2.2.1</li>
</ul> | 0 |
<p dir="auto">Using the Redis backend, If you make modifications to your queues/exchanges/routing keys, you can end up with strange behaviour where queues get duplicated, and you end up with tasks being executed multiple times;</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Queue Exchange Routing Key
---------------- ---------------- ----------------
worker tasks worker.#
sender tasks sender.#
notification_send tasks dynamic.notification_send.#
notification_build tasks dynamic.notification_build.#
notification_send tasks notification_send
default tasks task.default.#
notification_build tasks notification_build
notification_build tasks task.notification_build.#
default tasks default.#
notification_send tasks notification_send.#
builder tasks builder.#
notification_build tasks task.notification_build
default tasks task.#
notification_build tasks notification_build.#"><pre class="notranslate"><code class="notranslate">Queue Exchange Routing Key
---------------- ---------------- ----------------
worker tasks worker.#
sender tasks sender.#
notification_send tasks dynamic.notification_send.#
notification_build tasks dynamic.notification_build.#
notification_send tasks notification_send
default tasks task.default.#
notification_build tasks notification_build
notification_build tasks task.notification_build.#
default tasks default.#
notification_send tasks notification_send.#
builder tasks builder.#
notification_build tasks task.notification_build
default tasks task.#
notification_build tasks notification_build.#
</code></pre></div>
<p dir="auto">To clear this out, I have to manually delete the Redis DB or find the keys via CLI and delete them - at which point things turn back to normal</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Queue Exchange Routing Key
---------------- ---------------- ----------------
notification_build notification_build notification_build.#
default tasks task.#
worker worker worker.#"><pre class="notranslate"><code class="notranslate">Queue Exchange Routing Key
---------------- ---------------- ----------------
notification_build notification_build notification_build.#
default tasks task.#
worker worker worker.#
</code></pre></div>
<p dir="auto">There should be the ability to not only purge tasks, but also purge out bindings / routing entries - because queue changes are going to happen and this is very unexpected behaviour.</p>
<p dir="auto">Cal</p> | <h1 dir="auto">Checklist</h1>
<ul dir="auto">
<li>[x ] I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li>[x ] I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
<li>[x ] I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li>[x ] I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li>[x ] I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h1 dir="auto">Steps to Reproduce</h1>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<p dir="auto">
</p><p dir="auto">Inside a task, raise an exception that does something tricky with its arguments. For example, urllib3's <code class="notranslate">MaxRetryError</code> does this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class PoolError(HTTPError):
"Base exception for errors caused within a pool."
def __init__(self, pool, message):
self.pool = pool
HTTPError.__init__(self, "%s: %s" % (pool, message))
def __reduce__(self):
# For pickling purposes.
return self.__class__, (None, None)
class RequestError(PoolError):
"Base exception for PoolErrors that have associated URLs."
def __init__(self, pool, url, message):
self.url = url
PoolError.__init__(self, pool, message)
def __reduce__(self):
# For pickling purposes.
return self.__class__, (None, self.url, None)
class MaxRetryError(RequestError):
"""Raised when the maximum number of retries is exceeded.
:param pool: The connection pool
:type pool: :class:`~urllib3.connectionpool.HTTPConnectionPool`
:param string url: The requested Url
:param exceptions.Exception reason: The underlying error
"""
def __init__(self, pool, url, reason=None):
self.reason = reason
message = "Max retries exceeded with url: %s (Caused by %r)" % (
url, reason)
RequestError.__init__(self, pool, url, message)
"><pre class="notranslate"><code class="notranslate">class PoolError(HTTPError):
"Base exception for errors caused within a pool."
def __init__(self, pool, message):
self.pool = pool
HTTPError.__init__(self, "%s: %s" % (pool, message))
def __reduce__(self):
# For pickling purposes.
return self.__class__, (None, None)
class RequestError(PoolError):
"Base exception for PoolErrors that have associated URLs."
def __init__(self, pool, url, message):
self.url = url
PoolError.__init__(self, pool, message)
def __reduce__(self):
# For pickling purposes.
return self.__class__, (None, self.url, None)
class MaxRetryError(RequestError):
"""Raised when the maximum number of retries is exceeded.
:param pool: The connection pool
:type pool: :class:`~urllib3.connectionpool.HTTPConnectionPool`
:param string url: The requested Url
:param exceptions.Exception reason: The underlying error
"""
def __init__(self, pool, url, reason=None):
self.reason = reason
message = "Max retries exceeded with url: %s (Caused by %r)" % (
url, reason)
RequestError.__init__(self, pool, url, message)
</code></pre></div>
<p dir="auto">If you use this exception inside a celery task, like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from urllib3.exceptions import MaxRetryError
raise MaxRetryError(None, 'http://fakeurl')"><pre class="notranslate"><code class="notranslate">from urllib3.exceptions import MaxRetryError
raise MaxRetryError(None, 'http://fakeurl')
</code></pre></div>
<p dir="auto">What this results in is an exception whose <code class="notranslate">args</code> contain only a single string, instead of the minimum 2 arguments that MaxRetry requires.</p>
<p dir="auto">This will make it impossible to use its AsyncResult, because when it tries to rebuild the exception it doesn't have the right number of arguments.</p>
<p dir="auto">The problem is in celery/backends/base.py in Backend.prepare_exception, which is</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" def prepare_exception(self, exc, serializer=None):
"""Prepare exception for serialization."""
serializer = self.serializer if serializer is None else serializer
if serializer in EXCEPTION_ABLE_CODECS:
return get_pickleable_exception(exc)
return {'exc_type': type(exc).__name__,
'exc_message': ensure_serializable(exc.args, self.encode),
'exc_module': type(exc).__module__}"><pre class="notranslate"><code class="notranslate"> def prepare_exception(self, exc, serializer=None):
"""Prepare exception for serialization."""
serializer = self.serializer if serializer is None else serializer
if serializer in EXCEPTION_ABLE_CODECS:
return get_pickleable_exception(exc)
return {'exc_type': type(exc).__name__,
'exc_message': ensure_serializable(exc.args, self.encode),
'exc_module': type(exc).__module__}
</code></pre></div>
<p dir="auto">The issue is that <code class="notranslate">exc.args</code> can't be relied upon to reinstantiate this exception. Instead, I think we should use the result of <code class="notranslate">exc.__reduce__()</code> which exists to preserve, more-or-less, the constructor arguments for pickling. I think the fix is something like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" def prepare_exception(self, exc, serializer=None):
"""Prepare exception for serialization."""
serializer = self.serializer if serializer is None else serializer
if serializer in EXCEPTION_ABLE_CODECS:
return get_pickleable_exception(exc)
exc_class, exc_args = exc.__reduce__()
return {'exc_type': exc_class.__name__,
'exc_message': ensure_serializable(exc_args, self.encode),
'exc_module': exc_class.__module__}"><pre class="notranslate"><code class="notranslate"> def prepare_exception(self, exc, serializer=None):
"""Prepare exception for serialization."""
serializer = self.serializer if serializer is None else serializer
if serializer in EXCEPTION_ABLE_CODECS:
return get_pickleable_exception(exc)
exc_class, exc_args = exc.__reduce__()
return {'exc_type': exc_class.__name__,
'exc_message': ensure_serializable(exc_args, self.encode),
'exc_module': exc_class.__module__}
</code></pre></div>
<p dir="auto"></p> | 0 |
<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>no</td>
</tr>
<tr>
<td>Feature request?</td>
<td>yes</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>2.<em>, 3.</em></td>
</tr>
</tbody>
</table>
<p dir="auto">Description: There is constraint "All" that allows us to provide several fundamental constraints that all has to be valid for validation to pass. There is no constraint "Any" for which we can provide several fundamental constraints expecting at least one of those to be valid.</p>
<p dir="auto">Example: We can, per example, have several classes, Invoice, ProInvoice, DebitNote, CreditNote (accounting). For some property path, we can expect for, per example, Invoice or ProInvoice to be provided, example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Assert\Any([ @Assert\Type(type="Model\Invoice"), @Assert\Type(type="Model\ProInvoice") ])"><pre class="notranslate"><code class="notranslate">@Assert\Any([ @Assert\Type(type="Model\Invoice"), @Assert\Type(type="Model\ProInvoice") ])
</code></pre></div>
<p dir="auto">This can be done differently, via Callback validator, or Expression validator, or whatever...</p>
<p dir="auto">However, "Any" seams a "syntactic sugar", if there is no reason for "No" I would like to submit a PR.</p> | <p dir="auto"><strong>Symfony version(s) affected</strong>: 4.0.11 (might as well be earlier versions)</p>
<p dir="auto"><strong>Description</strong><br>
In Finder 4.0.8 the commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/symfony/finder/commit/45429ad35d323bec3d1b7d13b907761d74666d23/hovercard" href="https://github.com/symfony/finder/commit/45429ad35d323bec3d1b7d13b907761d74666d23">symfony/finder@<tt>45429ad</tt></a> was released which should remove duplicate slashes from path names.</p>
<p dir="auto">However, this results in an error when used to find files in an FTP root dir.<br>
The documentation (<a href="https://symfony.com/doc/current/components/finder.html" rel="nofollow">https://symfony.com/doc/current/components/finder.html</a>:) by the way explicitly states that the slash is required in this case:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// always add a trailing slash when looking for in the FTP root dir
$finder->in('ftp://example.com/');"><pre class="notranslate"><code class="notranslate">// always add a trailing slash when looking for in the FTP root dir
$finder->in('ftp://example.com/');
</code></pre></div>
<p dir="auto"><strong>How to reproduce</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" $finder = new Finder();
$files = $finder->files()->in('ftp://speedtest.tele2.net/');
foreach ($files as $file) {
var_dump($file);
}"><pre class="notranslate"><code class="notranslate"> $finder = new Finder();
$files = $finder->files()->in('ftp://speedtest.tele2.net/');
foreach ($files as $file) {
var_dump($file);
}
</code></pre></div>
<p dir="auto"><strong>Possible Solution</strong><br>
One might parse the given <code class="notranslate">$dir</code>string and trwat it differently if ti starts with "ftp://"</p> | 0 |
<p dir="auto">When tooltip is active/focused and <code class="notranslate">destroy</code> event is called the tooltip gets opacity 0, but still clickable and its element still in the DOM.</p>
<p dir="auto">It's reproduced in this example: <a href="http://jsfiddle.net/jeRub/" rel="nofollow">http://jsfiddle.net/jeRub/</a><br>
When test button is clicked the tooltip gets "destroyed", but it still in the DOM and blocks click events on the text input.</p> | <p dir="auto">i searched for an already opened issue but did not found any that was reporting this exact problem.</p>
<p dir="auto">I'm trying to use the destroy method on tooltip (bootstrap v3) but it does not remove the element from the DOM.</p>
<p dir="auto">Any idea ?</p>
<p dir="auto">Fiddle : <a href="http://jsfiddle.net/52VtD/59/" rel="nofollow">http://jsfiddle.net/52VtD/59/</a></p>
<p dir="auto">click on the button to trigger the tooltip destroy method</p> | 1 |
<p dir="auto">Here is the plunk showing the problem</p>
<p dir="auto"><a href="http://plnkr.co/edit/UTH6sUqb0OhZsBa6r3h4?p=preview" rel="nofollow">http://plnkr.co/edit/UTH6sUqb0OhZsBa6r3h4?p=preview</a></p>
<p dir="auto">basically when using something like</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<div class="form-group">
<label for="{{forLabel}}">{{label}}</label>
<input type="text" class="form-control">
</div>"><pre class="notranslate"><code class="notranslate"><div class="form-group">
<label for="{{forLabel}}">{{label}}</label>
<input type="text" class="form-control">
</div>
</code></pre></div>
<p dir="auto">you get</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Can't bind to 'for' since it isn't a known native property ("
</nav>
<div class="form-group">
<label [ERROR ->]for="{{forLabel}}">{{label}}</label>
<input type="text" class="form-control">
</div>
"): RoutedComponent@28:12"><pre class="notranslate"><code class="notranslate">Can't bind to 'for' since it isn't a known native property ("
</nav>
<div class="form-group">
<label [ERROR ->]for="{{forLabel}}">{{label}}</label>
<input type="text" class="form-control">
</div>
"): RoutedComponent@28:12
</code></pre></div> | <p dir="auto">[X] bug report<br>
[X] feature request</p>
<ul dir="auto">
<li><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></li>
</ul>
<p dir="auto">Bug in existing behavior, feature for proposed solution</p>
<p dir="auto">I am creating an Angular2 component, in the template, I am wanting to create an <code class="notranslate"><input></code>, with a calculated <code class="notranslate">[id]</code> property, which works.</p>
<p dir="auto">I am also wanting to create a <code class="notranslate"><label></code> with a matching <code class="notranslate">[for]</code> property, so that the label is appropriately bound to the input (clicking will focus said input).</p>
<ul dir="auto">
<li><strong>What is the current behavior?</strong></li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="EXCEPTION: Template parse errors:
Can't bind to 'for' since it isn't a known native property"><pre class="notranslate"><code class="notranslate">EXCEPTION: Template parse errors:
Can't bind to 'for' since it isn't a known native property
</code></pre></div>
<ul dir="auto">
<li>**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<label [for]="getInputId()">Label</label>
<input [id]="getInputId()" />"><pre class="notranslate"><code class="notranslate"><label [for]="getInputId()">Label</label>
<input [id]="getInputId()" />
</code></pre></div>
<ul dir="auto">
<li><strong>What is the expected behavior?</strong></li>
</ul>
<p dir="auto">The property should be calculated, and the result outputted into the <code class="notranslate"><label></code> like the <code class="notranslate">[id]</code> property works for <code class="notranslate"><input></code>;</p>
<ul dir="auto">
<li><strong>What is the motivation / use case for changing the behavior?</strong></li>
</ul>
<p dir="auto">The current behavior doesn't support a necessary feature for HTML output in dealing with label association to form controls.</p>
<ul dir="auto">
<li><strong>Please tell us about your environment:</strong></li>
</ul>
<p dir="auto">Angular version: 2.0.0-beta.7<br>
Browser: all<br>
Language: ES2016+ (Babel)</p>
<ul dir="auto">
<li><strong>Other information</strong> (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)</li>
</ul>
<p dir="auto">It would be nice if "unknown" native properties simply run and output the result,as <code class="notranslate">[id]</code> works on the <code class="notranslate"><input></code> element.</p> | 1 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 4.2</li>
<li>Operating System / Platform => Ubuntu 16.04</li>
<li>Compiler => <g-emoji class="g-emoji" alias="grey_question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2754.png">❔</g-emoji></li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">I'm using python bindings for opencv and found a bug with resizing images with 5 channels. It works fine for any other number of channels.<br>
I've also checked previous versions and it works in 4.1.1. So the bug should be very recent</p>
<h5 dir="auto">Steps to reproduce</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np
import cv2
arr = np.ones((1200, 1200, 5), dtype=np.uint8)
cv2.resize(arr, (512, 512))"><pre class="notranslate"><code class="notranslate">import numpy as np
import cv2
arr = np.ones((1200, 1200, 5), dtype=np.uint8)
cv2.resize(arr, (512, 512))
</code></pre></div>
<p dir="auto">for me it fails with<br>
<code class="notranslate">double free or corruption (!prev)</code></p> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 4 (June 2018, version from master)</li>
<li>Operating System / Platform => Windows 10; 64bit</li>
<li>Compiler => Visual Studio 2015: v140_xp</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">When I use the visual studio leak detector: <a href="https://archive.codeplex.com/?p=vld" rel="nofollow">https://archive.codeplex.com/?p=vld</a>, I get tons of memory leaks for a very simple command line application using latest OpenCV, especially the dnn module.<br>
Actually I get the same memory leaks without the vld-extension but same code within the constructor of a frame with wxWidgets 3.0. But this is not so simple to reproduce for others (you need wxWidgets), therefore I will post the code of a simple command line program.</p>
<p dir="auto">Actually, I am not quiet sure, if the leak report is correct or if these are "false flags". Any help or comment is appreciated.</p>
<h5 dir="auto">Steps to reproduce</h5>
<div class="highlight highlight-source-c++ notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#include "StdAfx.h"
#include <opencv2\core.hpp>
#include <opencv2\dnn.hpp>
#include <vld.h> //<-- for memory leak detection, see https://archive.codeplex.com/?p=vld
// entry point for MemoryLeakTestProjectOpenCV4
int main(int /*argc*/, char* /*argv*/[ ])
{
const int nWidth = 300;
const int nHeight = 300;
const std::string sPathToModel = "C:/Projects/SSS-FPCoding/MemoryLeakTestProjectOpenCV4/Debug MD/x64/test.pb";
cv::Mat oImage = cv::Mat::ones(cv::Size(nWidth, nHeight), CV_32FC3);
oImage;
cv::Mat oBlob = cv::dnn::blobFromImage(oImage - cv::Scalar(127.5, 127.5, 127.5), 1.0 / 127.5, cv::Size(nWidth, nHeight), cv::Scalar(0.0, 0.0, 0.0), true, false);
cv::dnn::Net oNet;
oNet = cv::dnn::readNetFromTensorflow(sPathToModel);
oNet.setInput(oBlob);
cv::Mat oDetectionMat = oNet.forward();
return 0;
}"><pre class="notranslate">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">"</span>StdAfx.h<span class="pl-pds">"</span></span>
#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>opencv2\core.hpp<span class="pl-pds">></span></span>
#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>opencv2\dnn.hpp<span class="pl-pds">></span></span>
#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>vld.h<span class="pl-pds">></span></span> <span class="pl-c"><span class="pl-c">//</span><-- for memory leak detection, see https://archive.codeplex.com/?p=vld</span>
<span class="pl-c"><span class="pl-c">//</span> entry point for MemoryLeakTestProjectOpenCV4</span>
<span class="pl-k">int</span> <span class="pl-en">main</span>(<span class="pl-k">int</span> <span class="pl-c"><span class="pl-c">/*</span>argc<span class="pl-c">*/</span></span>, <span class="pl-k">char</span>* <span class="pl-c"><span class="pl-c">/*</span>argv<span class="pl-c">*/</span></span>[ ])
{
<span class="pl-k">const</span> <span class="pl-k">int</span> nWidth = <span class="pl-c1">300</span>;
<span class="pl-k">const</span> <span class="pl-k">int</span> nHeight = <span class="pl-c1">300</span>;
<span class="pl-k">const</span> std::string <span class="pl-smi">sPathToModel</span> = <span class="pl-s"><span class="pl-pds">"</span>C:/Projects/SSS-FPCoding/MemoryLeakTestProjectOpenCV4/Debug MD/x64/test.pb<span class="pl-pds">"</span></span>;
cv::Mat oImage = <span class="pl-c1">cv::Mat::ones</span>(<span class="pl-c1">cv::Size</span>(nWidth, nHeight), CV_32FC3);
oImage;
cv::Mat oBlob = <span class="pl-c1">cv::dnn::blobFromImage</span>(oImage - <span class="pl-c1">cv::Scalar</span>(<span class="pl-c1">127.5</span>, <span class="pl-c1">127.5</span>, <span class="pl-c1">127.5</span>), <span class="pl-c1">1.0</span> / <span class="pl-c1">127.5</span>, <span class="pl-c1">cv::Size</span>(nWidth, nHeight), <span class="pl-c1">cv::Scalar</span>(<span class="pl-c1">0.0</span>, <span class="pl-c1">0.0</span>, <span class="pl-c1">0.0</span>), <span class="pl-c1">true</span>, <span class="pl-c1">false</span>);
cv::dnn::Net oNet;
oNet = <span class="pl-c1">cv::dnn::readNetFromTensorflow</span>(<span class="pl-smi">sPathToModel</span>);
oNet.<span class="pl-c1">setInput</span>(oBlob);
cv::Mat oDetectionMat = oNet.<span class="pl-c1">forward</span>();
<span class="pl-k">return</span> <span class="pl-c1">0</span>;
}</pre></div>
<p dir="auto">When running this simple program, I get the following leak detection report:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="WARNING: Visual Leak Detector detected memory leaks!
---------- Block 1 at 0x00000000C7FCA570: 80 bytes ----------
Leak Hash: 0xF3029A69, Count: 1, Total 80 bytes
Call Stack (TID 10700):
ucrtbased.dll!malloc()
f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (19): MemoryLeakTestCmdAndOpenCV4.exe!operator new() + 0xA bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\system.cpp (58): MemoryLeakTestCmdAndOpenCV4.exe!cv::getInitializationMutex() + 0xA bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\system.cpp (62): MemoryLeakTestCmdAndOpenCV4.exe!cv::`dynamic initializer for '__initialization_mutex_initializer''() + 0x1A bytes
ucrtbased.dll!initterm() + 0x5D bytes
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (223): MemoryLeakTestCmdAndOpenCV4.exe!__scrt_common_main_seh()
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (296): MemoryLeakTestCmdAndOpenCV4.exe!__scrt_common_main()
f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): MemoryLeakTestCmdAndOpenCV4.exe!mainCRTStartup()
KERNEL32.DLL!BaseThreadInitThunk() + 0x14 bytes
ntdll.dll!RtlUserThreadStart() + 0x21 bytes
Data:
02 01 00 00 CD CD CD CD B8 25 97 90 F8 7F 00 00 ........ .%......
00 00 00 00 00 00 00 00 CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD FF FF FF FF 00 00 00 00 ........ ........
---------- Block 38732 at 0x00000000C7FCEA20: 256 bytes ----------
Leak Hash: 0xC671A8C8, Count: 1, Total 256 bytes
Call Stack (TID 10700):
ucrtbased.dll!malloc()
c:\program files (x86)\microsoft visual studio 14.0\vc\include\xmemory0 (977): MemoryLeakTestCmdAndOpenCV4.exe!std::_Wrap_alloc<std::allocator<void * __ptr64> >::allocate()
c:\program files (x86)\microsoft visual studio 14.0\vc\include\vector (1602): MemoryLeakTestCmdAndOpenCV4.exe!std::vector<void * __ptr64,std::allocator<void * __ptr64> >::_Reallocate() + 0x1D bytes
c:\program files (x86)\microsoft visual studio 14.0\vc\include\vector (1039): MemoryLeakTestCmdAndOpenCV4.exe!std::vector<void * __ptr64,std::allocator<void * __ptr64> >::reserve()
c:\users\sebert\downloads\opencv-master\modules\core\src\system.cpp (1301): MemoryLeakTestCmdAndOpenCV4.exe!cv::ThreadData::ThreadData() + 0x12 bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\system.cpp (1441): MemoryLeakTestCmdAndOpenCV4.exe!cv::TlsStorage::setData() + 0x2A bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\system.cpp (1518): MemoryLeakTestCmdAndOpenCV4.exe!cv::TLSDataContainer::getData()
c:\users\sebert\downloads\opencv-master\modules\core\include\opencv2\core\utility.hpp (684): MemoryLeakTestCmdAndOpenCV4.exe!cv::TLSData<cv::CoreTLSData>::get() + 0x28 bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\ocl.cpp (880): MemoryLeakTestCmdAndOpenCV4.exe!cv::ocl::useOpenCL() + 0xD bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\umatrix.cpp (232): MemoryLeakTestCmdAndOpenCV4.exe!cv::UMat::getStdAllocator() + 0x5 bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\umatrix.cpp (372): MemoryLeakTestCmdAndOpenCV4.exe!cv::Mat::getUMat() + 0x5 bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\layers\convolution_layer.cpp (1596): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::ConvolutionLayer::create() + 0x2F bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\include\opencv2\dnn\layer.details.hpp (53): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::details::_layerDynamicRegisterer<cv::dnn::experimental_dnn_v4::ConvolutionLayer>() + 0xF bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (2970): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::LayerFactory::createLayerInstance() + 0x2B bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (389): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::LayerData::getLayerInstance() + 0x28 bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (1902): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::getLayerShapesRecursively() + 0x2C bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (1915): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::getLayersShapes() + 0x21 bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (1749): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::allocateLayers()
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (875): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::setUpNet()
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (2080): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::forward() + 0x45 bytes
c:\projects\sss-fpcoding\memoryleaktestprojectopencv4\memoryleaktestprojectopencv4.cpp (17): MemoryLeakTestCmdAndOpenCV4.exe!main() + 0x42 bytes
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (65): MemoryLeakTestCmdAndOpenCV4.exe!invoke_main()
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (253): MemoryLeakTestCmdAndOpenCV4.exe!__scrt_common_main_seh() + 0x5 bytes
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (296): MemoryLeakTestCmdAndOpenCV4.exe!__scrt_common_main()
f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): MemoryLeakTestCmdAndOpenCV4.exe!mainCRTStartup()
KERNEL32.DLL!BaseThreadInitThunk() + 0x14 bytes
ntdll.dll!RtlUserThreadStart() + 0x21 bytes
Data:
F0 8E 95 C8 D5 01 00 00 B0 38 FE C7 D5 01 00 00 ........ .8......
D0 61 A5 D0 D5 01 00 00 CD CD CD CD CD CD CD CD .a...... ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
---------- Block 38746 at 0x00000000C7FCF060: 256 bytes ----------
Leak Hash: 0x03BE8C52, Count: 1, Total 256 bytes
Call Stack (TID 10700):
ucrtbased.dll!malloc()
f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (19): MemoryLeakTestCmdAndOpenCV4.exe!operator new() + 0xA bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\ocl.cpp (2371): MemoryLeakTestCmdAndOpenCV4.exe!cv::ocl::Context::getDefault() + 0xA bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\ocl.cpp (1617): MemoryLeakTestCmdAndOpenCV4.exe!cv::ocl::Device::getDefault() + 0x7 bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\ocl.cpp (885): MemoryLeakTestCmdAndOpenCV4.exe!cv::ocl::useOpenCL() + 0x11 bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\umatrix.cpp (232): MemoryLeakTestCmdAndOpenCV4.exe!cv::UMat::getStdAllocator() + 0x5 bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\umatrix.cpp (372): MemoryLeakTestCmdAndOpenCV4.exe!cv::Mat::getUMat() + 0x5 bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\layers\convolution_layer.cpp (1596): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::ConvolutionLayer::create() + 0x2F bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\include\opencv2\dnn\layer.details.hpp (53): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::details::_layerDynamicRegisterer<cv::dnn::experimental_dnn_v4::ConvolutionLayer>() + 0xF bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (2970): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::LayerFactory::createLayerInstance() + 0x2B bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (389): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::LayerData::getLayerInstance() + 0x28 bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (1902): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::getLayerShapesRecursively() + 0x2C bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (1915): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::getLayersShapes() + 0x21 bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (1749): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::allocateLayers()
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (875): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::setUpNet()
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (2080): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::forward() + 0x45 bytes
c:\projects\sss-fpcoding\memoryleaktestprojectopencv4\memoryleaktestprojectopencv4.cpp (17): MemoryLeakTestCmdAndOpenCV4.exe!main() + 0x42 bytes
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (65): MemoryLeakTestCmdAndOpenCV4.exe!invoke_main()
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (253): MemoryLeakTestCmdAndOpenCV4.exe!__scrt_common_main_seh() + 0x5 bytes
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (296): MemoryLeakTestCmdAndOpenCV4.exe!__scrt_common_main()
f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): MemoryLeakTestCmdAndOpenCV4.exe!mainCRTStartup()
KERNEL32.DLL!BaseThreadInitThunk() + 0x14 bytes
ntdll.dll!RtlUserThreadStart() + 0x21 bytes
Data:
01 00 00 00 CD CD CD CD 20 29 FE C7 D5 01 00 00 ........ .)......
F0 AC 93 C8 D5 01 00 00 B0 E0 03 C8 D5 01 00 00 ........ ........
B8 E0 03 C8 D5 01 00 00 B8 E0 03 C8 D5 01 00 00 ........ ........
80 A9 93 C8 D5 01 00 00 00 CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD 00 00 00 00 00 00 00 00 ........ ........
0F 00 00 00 00 00 00 00 70 AA 93 C8 D5 01 00 00 ........ p.......
00 CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
00 00 00 00 00 00 00 00 0F 00 00 00 00 00 00 00 ........ ........
02 01 00 00 CD CD CD CD B8 25 97 90 F8 7F 00 00 ........ .%......
00 00 00 00 00 00 00 00 CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD FF FF FF FF 00 00 00 00 ........ ........
C0 A5 93 C8 D5 01 00 00 C0 29 00 C8 D5 01 00 00 ........ .)......
00 00 00 00 00 00 00 00 C0 AA 93 C8 D5 01 00 00 ........ ........
10 D8 0B C8 D5 01 00 00 00 00 00 00 00 00 00 00 ........ ........
...many more blocks...
...please see attached .txt for full leak report...
[memoryleakreport_30.7.2018.opencv4.txt](https://github.com/opencv/opencv/files/2240396/memoryleakreport_30.7.2018.opencv4.txt)
Visual Leak Detector detected 128 memory leaks (14924 bytes).
Largest number used: 20520922 bytes.
Total allocations: 46858788 bytes.
Visual Leak Detector is now exiting.
The program '[9328] MemoryLeakTestCmdAndOpenCV4.exe' has exited with code 0 (0x0)."><pre lang="..." class="notranslate"><code class="notranslate">WARNING: Visual Leak Detector detected memory leaks!
---------- Block 1 at 0x00000000C7FCA570: 80 bytes ----------
Leak Hash: 0xF3029A69, Count: 1, Total 80 bytes
Call Stack (TID 10700):
ucrtbased.dll!malloc()
f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (19): MemoryLeakTestCmdAndOpenCV4.exe!operator new() + 0xA bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\system.cpp (58): MemoryLeakTestCmdAndOpenCV4.exe!cv::getInitializationMutex() + 0xA bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\system.cpp (62): MemoryLeakTestCmdAndOpenCV4.exe!cv::`dynamic initializer for '__initialization_mutex_initializer''() + 0x1A bytes
ucrtbased.dll!initterm() + 0x5D bytes
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (223): MemoryLeakTestCmdAndOpenCV4.exe!__scrt_common_main_seh()
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (296): MemoryLeakTestCmdAndOpenCV4.exe!__scrt_common_main()
f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): MemoryLeakTestCmdAndOpenCV4.exe!mainCRTStartup()
KERNEL32.DLL!BaseThreadInitThunk() + 0x14 bytes
ntdll.dll!RtlUserThreadStart() + 0x21 bytes
Data:
02 01 00 00 CD CD CD CD B8 25 97 90 F8 7F 00 00 ........ .%......
00 00 00 00 00 00 00 00 CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD FF FF FF FF 00 00 00 00 ........ ........
---------- Block 38732 at 0x00000000C7FCEA20: 256 bytes ----------
Leak Hash: 0xC671A8C8, Count: 1, Total 256 bytes
Call Stack (TID 10700):
ucrtbased.dll!malloc()
c:\program files (x86)\microsoft visual studio 14.0\vc\include\xmemory0 (977): MemoryLeakTestCmdAndOpenCV4.exe!std::_Wrap_alloc<std::allocator<void * __ptr64> >::allocate()
c:\program files (x86)\microsoft visual studio 14.0\vc\include\vector (1602): MemoryLeakTestCmdAndOpenCV4.exe!std::vector<void * __ptr64,std::allocator<void * __ptr64> >::_Reallocate() + 0x1D bytes
c:\program files (x86)\microsoft visual studio 14.0\vc\include\vector (1039): MemoryLeakTestCmdAndOpenCV4.exe!std::vector<void * __ptr64,std::allocator<void * __ptr64> >::reserve()
c:\users\sebert\downloads\opencv-master\modules\core\src\system.cpp (1301): MemoryLeakTestCmdAndOpenCV4.exe!cv::ThreadData::ThreadData() + 0x12 bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\system.cpp (1441): MemoryLeakTestCmdAndOpenCV4.exe!cv::TlsStorage::setData() + 0x2A bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\system.cpp (1518): MemoryLeakTestCmdAndOpenCV4.exe!cv::TLSDataContainer::getData()
c:\users\sebert\downloads\opencv-master\modules\core\include\opencv2\core\utility.hpp (684): MemoryLeakTestCmdAndOpenCV4.exe!cv::TLSData<cv::CoreTLSData>::get() + 0x28 bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\ocl.cpp (880): MemoryLeakTestCmdAndOpenCV4.exe!cv::ocl::useOpenCL() + 0xD bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\umatrix.cpp (232): MemoryLeakTestCmdAndOpenCV4.exe!cv::UMat::getStdAllocator() + 0x5 bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\umatrix.cpp (372): MemoryLeakTestCmdAndOpenCV4.exe!cv::Mat::getUMat() + 0x5 bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\layers\convolution_layer.cpp (1596): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::ConvolutionLayer::create() + 0x2F bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\include\opencv2\dnn\layer.details.hpp (53): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::details::_layerDynamicRegisterer<cv::dnn::experimental_dnn_v4::ConvolutionLayer>() + 0xF bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (2970): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::LayerFactory::createLayerInstance() + 0x2B bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (389): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::LayerData::getLayerInstance() + 0x28 bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (1902): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::getLayerShapesRecursively() + 0x2C bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (1915): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::getLayersShapes() + 0x21 bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (1749): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::allocateLayers()
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (875): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::setUpNet()
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (2080): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::forward() + 0x45 bytes
c:\projects\sss-fpcoding\memoryleaktestprojectopencv4\memoryleaktestprojectopencv4.cpp (17): MemoryLeakTestCmdAndOpenCV4.exe!main() + 0x42 bytes
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (65): MemoryLeakTestCmdAndOpenCV4.exe!invoke_main()
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (253): MemoryLeakTestCmdAndOpenCV4.exe!__scrt_common_main_seh() + 0x5 bytes
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (296): MemoryLeakTestCmdAndOpenCV4.exe!__scrt_common_main()
f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): MemoryLeakTestCmdAndOpenCV4.exe!mainCRTStartup()
KERNEL32.DLL!BaseThreadInitThunk() + 0x14 bytes
ntdll.dll!RtlUserThreadStart() + 0x21 bytes
Data:
F0 8E 95 C8 D5 01 00 00 B0 38 FE C7 D5 01 00 00 ........ .8......
D0 61 A5 D0 D5 01 00 00 CD CD CD CD CD CD CD CD .a...... ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
---------- Block 38746 at 0x00000000C7FCF060: 256 bytes ----------
Leak Hash: 0x03BE8C52, Count: 1, Total 256 bytes
Call Stack (TID 10700):
ucrtbased.dll!malloc()
f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (19): MemoryLeakTestCmdAndOpenCV4.exe!operator new() + 0xA bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\ocl.cpp (2371): MemoryLeakTestCmdAndOpenCV4.exe!cv::ocl::Context::getDefault() + 0xA bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\ocl.cpp (1617): MemoryLeakTestCmdAndOpenCV4.exe!cv::ocl::Device::getDefault() + 0x7 bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\ocl.cpp (885): MemoryLeakTestCmdAndOpenCV4.exe!cv::ocl::useOpenCL() + 0x11 bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\umatrix.cpp (232): MemoryLeakTestCmdAndOpenCV4.exe!cv::UMat::getStdAllocator() + 0x5 bytes
c:\users\sebert\downloads\opencv-master\modules\core\src\umatrix.cpp (372): MemoryLeakTestCmdAndOpenCV4.exe!cv::Mat::getUMat() + 0x5 bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\layers\convolution_layer.cpp (1596): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::ConvolutionLayer::create() + 0x2F bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\include\opencv2\dnn\layer.details.hpp (53): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::details::_layerDynamicRegisterer<cv::dnn::experimental_dnn_v4::ConvolutionLayer>() + 0xF bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (2970): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::LayerFactory::createLayerInstance() + 0x2B bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (389): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::LayerData::getLayerInstance() + 0x28 bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (1902): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::getLayerShapesRecursively() + 0x2C bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (1915): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::getLayersShapes() + 0x21 bytes
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (1749): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::allocateLayers()
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (875): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::Impl::setUpNet()
c:\users\sebert\downloads\opencv-master\modules\dnn\src\dnn.cpp (2080): MemoryLeakTestCmdAndOpenCV4.exe!cv::dnn::experimental_dnn_v4::Net::forward() + 0x45 bytes
c:\projects\sss-fpcoding\memoryleaktestprojectopencv4\memoryleaktestprojectopencv4.cpp (17): MemoryLeakTestCmdAndOpenCV4.exe!main() + 0x42 bytes
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (65): MemoryLeakTestCmdAndOpenCV4.exe!invoke_main()
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (253): MemoryLeakTestCmdAndOpenCV4.exe!__scrt_common_main_seh() + 0x5 bytes
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (296): MemoryLeakTestCmdAndOpenCV4.exe!__scrt_common_main()
f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): MemoryLeakTestCmdAndOpenCV4.exe!mainCRTStartup()
KERNEL32.DLL!BaseThreadInitThunk() + 0x14 bytes
ntdll.dll!RtlUserThreadStart() + 0x21 bytes
Data:
01 00 00 00 CD CD CD CD 20 29 FE C7 D5 01 00 00 ........ .)......
F0 AC 93 C8 D5 01 00 00 B0 E0 03 C8 D5 01 00 00 ........ ........
B8 E0 03 C8 D5 01 00 00 B8 E0 03 C8 D5 01 00 00 ........ ........
80 A9 93 C8 D5 01 00 00 00 CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD 00 00 00 00 00 00 00 00 ........ ........
0F 00 00 00 00 00 00 00 70 AA 93 C8 D5 01 00 00 ........ p.......
00 CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
00 00 00 00 00 00 00 00 0F 00 00 00 00 00 00 00 ........ ........
02 01 00 00 CD CD CD CD B8 25 97 90 F8 7F 00 00 ........ .%......
00 00 00 00 00 00 00 00 CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD ........ ........
CD CD CD CD CD CD CD CD FF FF FF FF 00 00 00 00 ........ ........
C0 A5 93 C8 D5 01 00 00 C0 29 00 C8 D5 01 00 00 ........ .)......
00 00 00 00 00 00 00 00 C0 AA 93 C8 D5 01 00 00 ........ ........
10 D8 0B C8 D5 01 00 00 00 00 00 00 00 00 00 00 ........ ........
...many more blocks...
...please see attached .txt for full leak report...
[memoryleakreport_30.7.2018.opencv4.txt](https://github.com/opencv/opencv/files/2240396/memoryleakreport_30.7.2018.opencv4.txt)
Visual Leak Detector detected 128 memory leaks (14924 bytes).
Largest number used: 20520922 bytes.
Total allocations: 46858788 bytes.
Visual Leak Detector is now exiting.
The program '[9328] MemoryLeakTestCmdAndOpenCV4.exe' has exited with code 0 (0x0).
</code></pre></div> | 0 |
<h1 dir="auto">Environment</h1>
<p dir="auto">Windows build number: Microsoft Windows [Version 10.0.18363.900]<br>
PowerToys version: 0.18.2<br>
PowerToy module for which you are reporting the bug (if applicable): PowerToys Run</p>
<h1 dir="auto">Description</h1>
<p dir="auto">PowerToys run does not search for files/folders in drives other than C:. It does it even when I tell it specifically to search, for example, in drive S: as seen in the picture below. Only way to get to the file/folder is to specify the entire path to it.</p>
<h1 dir="auto">Steps to reproduce</h1>
<ul dir="auto">
<li>open PowerToys run</li>
<li>search for a file or folder that is in a drive other than C: either by searching directly for its name, or by using the syntax "drive letter":\ >"name of the file/folder"</li>
</ul>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">PowerToys run finds the file/folder and displays it in the result list.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">PowerToys run only finds some unrelated results in drive C: and says that "Access to the path '"drive letter":\System Volume Information' is denied" if you specify the drive in which to search for the result.</p>
<h1 dir="auto">Screenshots</h1>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/43518872/85378070-5b236b80-b53a-11ea-9e2e-9e99cedf3ab0.png"><img src="https://user-images.githubusercontent.com/43518872/85378070-5b236b80-b53a-11ea-9e2e-9e99cedf3ab0.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/43518872/85375172-33320900-b536-11ea-9b6c-8f4addb8eb40.png"><img src="https://user-images.githubusercontent.com/43518872/85375172-33320900-b536-11ea-9b6c-8f4addb8eb40.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/43518872/85378789-4d221a80-b53b-11ea-9f3b-9a0661b519d9.png"><img src="https://user-images.githubusercontent.com/43518872/85378789-4d221a80-b53b-11ea-9f3b-9a0661b519d9.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/43518872/85378895-65923500-b53b-11ea-93e9-9b1d28f00f02.png"><img src="https://user-images.githubusercontent.com/43518872/85378895-65923500-b53b-11ea-93e9-9b1d28f00f02.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/43518872/85379002-878bb780-b53b-11ea-8667-35447864c104.png"><img src="https://user-images.githubusercontent.com/43518872/85379002-878bb780-b53b-11ea-8667-35447864c104.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">ps : I've seen people using this kind of template for issue reporting... Is there a specific place from where I can get this template or is it user generated ?</p> | <p dir="auto">Comment by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/EdgarVaguencia/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/EdgarVaguencia">@EdgarVaguencia</a> from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="621287020" data-permission-text="Title is private" data-url="https://github.com/microsoft/PowerToys/issues/3223" data-hovercard-type="issue" data-hovercard-url="/microsoft/PowerToys/issues/3223/hovercard" href="https://github.com/microsoft/PowerToys/issues/3223">#3223</a></p>
<p dir="auto">Doesn't find Code<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8364748/83461221-0306b700-a41d-11ea-8c93-76f7047841c3.png"><img src="https://user-images.githubusercontent.com/8364748/83461221-0306b700-a41d-11ea-8c93-76f7047841c3.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Wox result:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8364748/83461228-08fc9800-a41d-11ea-83c5-051abd90dad2.png"><img src="https://user-images.githubusercontent.com/8364748/83461228-08fc9800-a41d-11ea-83c5-051abd90dad2.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">the G drive is a partition, the different thing is that i don't create shortcut on start menu, but i add the path in environment variables</p> | 1 |
<p dir="auto">Hi !</p>
<p dir="auto">Could it be possible to add a transformer for JSX that outputs a Javascript "normal" string ?<br>
For example, this:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let foo = "Hello world !";
let bar = (
<div>
{foo}
</div>
);"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">foo</span> <span class="pl-c1">=</span> <span class="pl-s">"Hello world !"</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">bar</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span>
<span class="pl-kos"><</span><span class="pl-smi">div</span><span class="pl-kos">></span>
<span class="pl-kos">{</span>foo<span class="pl-kos">}</span>
<span class="pl-c1"><</span><span class="pl-pds"><span class="pl-c1">/</span>div></span><span class="pl-c1"></span>
<span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">would be transformed to:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let foo = "Hello world";
let test = "<div>" + foo + "</div>";"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">foo</span> <span class="pl-c1">=</span> <span class="pl-s">"Hello world"</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">test</span> <span class="pl-c1">=</span> <span class="pl-s">"<div>"</span> <span class="pl-c1">+</span> <span class="pl-s1">foo</span> <span class="pl-c1">+</span> <span class="pl-s">"</div>"</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">I'm not sure if it goes into the scope of the project, since one could use the <code class="notranslate">preserve</code> option and use an additional transpiler, but I think it could help users write components & templates for any library (Vuejs, Ractive, ...), instead of just React.</p> | <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface A
{
func(arg: string): boolean;
func(arg: number): string;
} // OK!
interface B
{
func: (arg: string) => boolean;
func: (arg: number) => string;
} // Error! Duplicate identifier 'func'."><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">A</span>
<span class="pl-kos">{</span>
<span class="pl-c1">func</span><span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span>: <span class="pl-smi">boolean</span><span class="pl-kos">;</span>
<span class="pl-c1">func</span><span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">number</span><span class="pl-kos">)</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span> <span class="pl-c">// OK!</span>
<span class="pl-k">interface</span> <span class="pl-smi">B</span>
<span class="pl-kos">{</span>
<span class="pl-c1">func</span>: <span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">string</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">boolean</span><span class="pl-kos">;</span>
<span class="pl-c1">func</span>: <span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">number</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span> <span class="pl-c">// Error! Duplicate identifier 'func'.</span></pre></div>
<p dir="auto">?</p> | 0 |
<p dir="auto">There's two parts to this.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Add a function to runtime which will generate a json schema for a given API object: <a href="http://json-schema.org/" rel="nofollow">http://json-schema.org/</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Add a function to apiserver that just walks through all registered resources and emits this: <a href="http://raml.org/" rel="nofollow">http://raml.org/</a></li>
</ul>
<p dir="auto">This will allow us to add a -raml flag to the apiserver binary and get up to date docs on demand.</p> | <p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):</p>
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):<br>
BUG REPORT</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):<br>
Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:48:38Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}<br>
Unable to connect to the server: x509: cannot validate certificate for 10.37.116.27 because it doesn't contain any IP SANs</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>:</li>
<li><strong>OS</strong> (e.g. from /etc/os-release):<br>
cat /etc/os-release<br>
NAME="CentOS Linux"<br>
VERSION="7 (Core)"<br>
ID="centos"<br>
ID_LIKE="rhel fedora"<br>
VERSION_ID="7"<br>
PRETTY_NAME="CentOS Linux 7 (Core)"<br>
ANSI_COLOR="0;31"<br>
CPE_NAME="cpe:/o:centos:centos:7"<br>
HOME_URL="<a href="https://www.centos.org/" rel="nofollow">https://www.centos.org/</a>"<br>
BUG_REPORT_URL="<a href="https://bugs.centos.org/" rel="nofollow">https://bugs.centos.org/</a>"</li>
</ul>
<p dir="auto">CENTOS_MANTISBT_PROJECT="CentOS-7"<br>
CENTOS_MANTISBT_PROJECT_VERSION="7"<br>
REDHAT_SUPPORT_PRODUCT="centos"<br>
REDHAT_SUPPORT_PRODUCT_VERSION="7"</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):<br>
uname -a<br>
Linux k8smaster 4.8.4-1.el7.elrepo.x86_64 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35192559" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/1" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/1/hovercard" href="https://github.com/kubernetes/kubernetes/issues/1">#1</a> SMP Sat Oct 22 11:47:38 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux</p>
</li>
<li>
<p dir="auto"><strong>Install tools</strong>:</p>
</li>
<li>
<p dir="auto"><strong>Others</strong>:</p>
</li>
</ul>
<p dir="auto"><strong>What happened</strong>:<br>
E1102 14:09:21.532058 21349 reflector.go:214] k8s.io/kubernetes/plugin/pkg/admission/resourcequota/resource_access.go:83: Failed to list *api.ResourceQuota: Get <a href="http://127.0.0.1:8080/api/v1/resourcequotas?resourceVersion=0" rel="nofollow">http://127.0.0.1:8080/api/v1/resourcequotas?resourceVersion=0</a>: dial tcp 127.0.0.1:8080: getsockopt: connection refused<br>
E1102 14:09:21.532344 21349 reflector.go:214] k8s.io/kubernetes/plugin/pkg/admission/serviceaccount/admission.go:119: Failed to list *api.Secret: Get <a href="http://127.0.0.1:8080/api/v1/secrets?fieldSelector=type%3Dkubernetes.io%2Fservice-account-token&resourceVersion=0" rel="nofollow">http://127.0.0.1:8080/api/v1/secrets?fieldSelector=type%3Dkubernetes.io%2Fservice-account-token&resourceVersion=0</a>: dial tcp 127.0.0.1:8080: getsockopt: connection refused<br>
E1102 14:09:21.532430 21349 reflector.go:214] k8s.io/kubernetes/plugin/pkg/admission/serviceaccount/admission.go:103: Failed to list *api.ServiceAccount: Get <a href="http://127.0.0.1:8080/api/v1/serviceaccounts?resourceVersion=0" rel="nofollow">http://127.0.0.1:8080/api/v1/serviceaccounts?resourceVersion=0</a>: dial tcp 127.0.0.1:8080: getsockopt: connection refused<br>
E1102 14:09:21.532519 21349 reflector.go:203] k8s.io/kubernetes/plugin/pkg/admission/limitranger/admission.go:154: Failed to list *api.LimitRange: Get <a href="http://127.0.0.1:8080/api/v1/limitranges?resourceVersion=0" rel="nofollow">http://127.0.0.1:8080/api/v1/limitranges?resourceVersion=0</a>: dial tcp 127.0.0.1:8080: getsockopt: connection refused</p>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
curl -L <a href="http://127.0.0.1:8080/api/v1/limitranges?resourceVersion=0" rel="nofollow">http://127.0.0.1:8080/api/v1/limitranges?resourceVersion=0</a><br>
{<br>
"kind": "LimitRangeList",<br>
"apiVersion": "v1",<br>
"metadata": {<br>
"selfLink": "/api/v1/limitranges",<br>
"resourceVersion": "13351"<br>
},<br>
"items": []<br>
}</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p>
<p dir="auto"><strong>Anything else do we need to know</strong>:</p> | 0 |
<p dir="auto">Ref. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="190476770" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/19364" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/19364/hovercard?comment_id=394957888&comment_type=issue_comment" href="https://github.com/JuliaLang/julia/issues/19364#issuecomment-394957888">#19364 (comment)</a></p>
<p dir="auto">The idea would be that given a file <code class="notranslate">bar.jl</code> with contents <code class="notranslate">y=5</code>, one could do</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function foo()
local y
@include "bar.jl"
return y
end"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">foo</span>()
<span class="pl-k">local</span> y
<span class="pl-c1">@include</span> <span class="pl-s"><span class="pl-pds">"</span>bar.jl<span class="pl-pds">"</span></span>
<span class="pl-k">return</span> y
<span class="pl-k">end</span></pre></div>
<p dir="auto">and <code class="notranslate">foo()</code> would return 5, but not define a global variable <code class="notranslate">y</code> in the containing module. (Using the existing <code class="notranslate">include</code> function, <code class="notranslate">foo()</code> would define <code class="notranslate">y</code> globally and then fail because <code class="notranslate">y</code> is undefined in local scope.)</p> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="("before_first_compact", ir) = ("before_first_compact", 1 ── nothing
809 │ nothing
│ nothing
│ %4 = Base.Broadcast.axes(%%2)::Tuple{Base.OneTo{Int64}}
│ %5 = Base.Broadcast.axes(%%3)::Tuple{Base.OneTo{Int64}}
│ %6 = Base.Broadcast.:==(%4, %5)::Bool
└─── goto 14 if not %6
2 ── nothing
811 3 ── %9 = Base.getproperty(%%3, :f)::NotInferenceDontLookHere.Const(-, false)
│ %10 = Base.Broadcast.:===(%9, Base.Broadcast.identity)::NotInferenceDontLookHere.Const(false, false)
└─── goto 4 if not %10
4 ┄─ %12 = false::NotInferenceDontLookHere.Const(false, false)
4 ┄─ %62 = π (%12, NotInferenceDontLookHere.Const(false, false))
└─── goto 5 if not %62"><pre class="notranslate"><code class="notranslate">("before_first_compact", ir) = ("before_first_compact", 1 ── nothing
809 │ nothing
│ nothing
│ %4 = Base.Broadcast.axes(%%2)::Tuple{Base.OneTo{Int64}}
│ %5 = Base.Broadcast.axes(%%3)::Tuple{Base.OneTo{Int64}}
│ %6 = Base.Broadcast.:==(%4, %5)::Bool
└─── goto 14 if not %6
2 ── nothing
811 3 ── %9 = Base.getproperty(%%3, :f)::NotInferenceDontLookHere.Const(-, false)
│ %10 = Base.Broadcast.:===(%9, Base.Broadcast.identity)::NotInferenceDontLookHere.Const(false, false)
└─── goto 4 if not %10
4 ┄─ %12 = false::NotInferenceDontLookHere.Const(false, false)
4 ┄─ %62 = π (%12, NotInferenceDontLookHere.Const(false, false))
└─── goto 5 if not %62
</code></pre></div>
<p dir="auto">Note the duplicate showing of BB4. Also pending nodes should be in yellow, which they don't appear to be anymore.</p> | 0 |
<p dir="auto">Make sure these boxes are checked before submitting your issue - thank you!</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the superset logs for python stacktraces and included it here as text if any</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have reproduced the issue with at least the latest released version of superset</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the issue tracker for the same issue and I haven't found one similar</li>
</ul>
<h3 dir="auto">Superset version</h3>
<p dir="auto">Master</p>
<h3 dir="auto">Expected results</h3>
<p dir="auto">One <code class="notranslate"><script></code> tag for each chunk.</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">There are duplicate <code class="notranslate"><script></code> tags for the shared chunks. If you view page source, there will be multiple <code class="notranslate">vendors-addSlice-common-dashboard-explore-profile-sqllab-theme-welcome.0fe210d7.chunk.js</code></p>
<p dir="auto">For example on the top of the page.</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<script src="/static/assets/dist/vendors-addSlice-common-dashboard-explore-profile-sqllab-theme-welcome.0fe210d7.chunk.js"></script>
<script src="/static/assets/dist/vendors-dashboard-explore-profile-sqllab-theme-welcome.0fe210d7.chunk.js"></script>
<script src="/static/assets/dist/theme.0fe210d7.entry.js"></script>
<script src="/static/assets/dist/vendors-addSlice-common-dashboard-explore-profile-sqllab-theme-welcome.0fe210d7.chunk.js"></script>
<script src="/static/assets/dist/vendors-addSlice-common-dashboard-explore-profile-sqllab-welcome.0fe210d7.chunk.js"></script>
<script src="/static/assets/dist/addSlice-common-dashboard-explore-profile-sqllab-welcome.0fe210d7.chunk.js"></script>
<script src="/static/assets/dist/common.0fe210d7.entry.js"></script>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">/static/assets/dist/vendors-addSlice-common-dashboard-explore-profile-sqllab-theme-welcome.0fe210d7.chunk.js</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">/static/assets/dist/vendors-dashboard-explore-profile-sqllab-theme-welcome.0fe210d7.chunk.js</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">/static/assets/dist/theme.0fe210d7.entry.js</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">/static/assets/dist/vendors-addSlice-common-dashboard-explore-profile-sqllab-theme-welcome.0fe210d7.chunk.js</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">/static/assets/dist/vendors-addSlice-common-dashboard-explore-profile-sqllab-welcome.0fe210d7.chunk.js</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">/static/assets/dist/addSlice-common-dashboard-explore-profile-sqllab-welcome.0fe210d7.chunk.js</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">/static/assets/dist/common.0fe210d7.entry.js</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span></pre></div>
<p dir="auto">Because each entry in the js manifest lists an array of chunks each entry point needs, independent of other entry points. When we render this directly to FAB template, it does not de-dup.</p>
<p dir="auto">XHR Performance-wise not too bad as browser only fetches and parses once, but for correctness, if the chunk executes something, it executes multiple times.</p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Open Superset, view source.</p> | <p dir="auto">Hello,<br>
I'm very new to Superset, so please forgive me if it's a newbie question or has been asked a lot.</p>
<p dir="auto">I'm testing Superset with a couple of databases that all have the same type of application writing data to them. So all the databases obviously have the same tables in them.<br>
Now after I added two databases and tables as datasets, I get Datasets with identical names, and I can't see a way to differentiate between them. When I want to create a new chart and want to choose a dataset, they're indistinguishable:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2715287/115414724-917f5500-a1f6-11eb-9a79-c36780540747.png"><img src="https://user-images.githubusercontent.com/2715287/115414724-917f5500-a1f6-11eb-9a79-c36780540747.png" alt="superset-duplicate-names--507675505" style="max-width: 100%;"></a></p>
<p dir="auto">Is there any way to give the Datasets a specific name or similar, to differentiate them?</p>
<p dir="auto">Thank you for your insights!</p> | 0 |
<h5 dir="auto">Issue Type:</h5>
<p dir="auto">Bug Report</p>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">1.5.5</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">CentOS 5.9</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">We are using Ansible to run puppet agent, which by default (and very helpfully) uses colors to indicate severity of logs. When puppet is run with default (color=on) settings, there is no output from Ansible; when it is run with ("--color=false") then ansible displays the output. We would like to have puppet colors preserved since they are of value to spotting issues.</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">Run the "puppet agent -t" (or other puppet apply command) on a system using Ansible.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[root@localhost ~]# ansible server.example.com -m shell -a 'puppet agent -t --noop' -v"><pre class="notranslate"><code class="notranslate">[root@localhost ~]# ansible server.example.com -m shell -a 'puppet agent -t --noop' -v
</code></pre></div>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">Expected to see something like below (but with ANSI colors):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[root@localhost ~]# ansible server.example.com -m shell -a 'puppet agent -t --noop' -v
server.example.com | success | rc=0 >>
info: Retrieving plugin
info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
info: Caching catalog for server.example.com
info: Applying configuration version '1400866037'
notice: Finished catalog run in 8.13 seconds
[root@localhost ~]#"><pre class="notranslate"><code class="notranslate">[root@localhost ~]# ansible server.example.com -m shell -a 'puppet agent -t --noop' -v
server.example.com | success | rc=0 >>
info: Retrieving plugin
info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
info: Caching catalog for server.example.com
info: Applying configuration version '1400866037'
notice: Finished catalog run in 8.13 seconds
[root@localhost ~]#
</code></pre></div>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">E.g.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[root@localhost ~]# ansible server.example.com -m shell -a 'puppet agent -t --noop' -v
server.example.com | success | rc=0 >>
[root@localhost ~]#"><pre class="notranslate"><code class="notranslate">[root@localhost ~]# ansible server.example.com -m shell -a 'puppet agent -t --noop' -v
server.example.com | success | rc=0 >>
[root@localhost ~]#
</code></pre></div> | <p dir="auto">错误信息:fatal: [globalmonitor1]: FAILED! => {"failed": true, "msg": "Timeout (12s) waiting for privilege escalation prompt: "}</p>
<p dir="auto">ansible 2.1.0.0</p>
<p dir="auto">Red Hat Enterprise Linux Server release 7.2 (Maipo)</p> | 0 |
<p dir="auto">In particular, they should be of the form <code class="notranslate"><some components]: <message></code>.</p>
<p dir="auto">This came up in CL 5542.</p> | <p dir="auto">The established conventions should be enforced, as they were in the old hg codereview plugin.</p>
<p dir="auto">Also check for old-style "Fixes issue nnnn" messages.</p> | 1 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 3.4.3</li>
<li>Operating System / Platform => macOS High Sierra (10.13.6)</li>
<li>Compiler => Apple LLVM version 10.0.0 (clang-1000.10.44.2)</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">I'm using a mouse callback on a window created with HighGUI in order to retrieve the X/Y coordinates of the mouse pointer when the user click inside the image. The returned coordinates are correct along the X axis, but off along the Y axis. In particular, if I click at the top of the image (where the Y coordinates should be 0), nothing happens. I have to click several pixels below the top of the image (maybe 15-20 pixels) to get a response (0 instead of 15-20). If I click at the very bottom of the image (where the Y coordinates should be the height of the image), I get the correct response. It is like the active part of the image (that is the one in which a click generates a response) is compressed along the Y axis relative to the actual height occupied by the image.</p>
<p dir="auto">Note that this bug might be similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="182837879" data-permission-text="Title is private" data-url="https://github.com/opencv/opencv/issues/7485" data-hovercard-type="issue" data-hovercard-url="/opencv/opencv/issues/7485/hovercard" href="https://github.com/opencv/opencv/issues/7485">#7485</a>, but I wasn't certain of it.</p>
<h5 dir="auto">Steps to reproduce</h5>
<p dir="auto">Below is the code I used.</p>
<div class="highlight highlight-source-c++ notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="struct ClickData {
int x;
int y;
int button;
};
void onMouse(int event, int x, int y, int flags, void* data) {
ClickData* p = (ClickData*) data;
if (event == cv::EVENT_LBUTTONDOWN) {
p->x = x;
p->y = y;
p->button = 0;
} else if (event == cv::EVENT_RBUTTONDOWN) {
p->x = x;
p->y = y;
p->button = 1;
}
}
ClickData _click(std::string window_name) {
ClickData d;
d.button = -1;
cv::setMouseCallback(window_name, onMouse, &d);
while (d.button == -1) {
cv::waitKey(10);
}
return d;
}"><pre class="notranslate"><span class="pl-k">struct</span> <span class="pl-en">ClickData</span> {
<span class="pl-k">int</span> x;
<span class="pl-k">int</span> y;
<span class="pl-k">int</span> button;
};
<span class="pl-k">void</span> <span class="pl-en">onMouse</span>(<span class="pl-k">int</span> event, <span class="pl-k">int</span> x, <span class="pl-k">int</span> y, <span class="pl-k">int</span> flags, <span class="pl-k">void</span>* data) {
ClickData* p = (ClickData*) data;
<span class="pl-k">if</span> (event == cv::EVENT_LBUTTONDOWN) {
p-><span class="pl-smi">x</span> = x;
p-><span class="pl-smi">y</span> = y;
p-><span class="pl-smi">button</span> = <span class="pl-c1">0</span>;
} <span class="pl-k">else</span> <span class="pl-k">if</span> (event == cv::EVENT_RBUTTONDOWN) {
p-><span class="pl-smi">x</span> = x;
p-><span class="pl-smi">y</span> = y;
p-><span class="pl-smi">button</span> = <span class="pl-c1">1</span>;
}
}
ClickData <span class="pl-en">_click</span>(std::string window_name) {
ClickData d;
d.<span class="pl-smi">button</span> = -<span class="pl-c1">1</span>;
<span class="pl-c1">cv::setMouseCallback</span>(window_name, onMouse, &d);
<span class="pl-k">while</span> (d.<span class="pl-smi">button</span> == -<span class="pl-c1">1</span>) {
<span class="pl-c1">cv::waitKey</span>(<span class="pl-c1">10</span>);
}
<span class="pl-k">return</span> d;
}</pre></div> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 3.4.4</li>
<li>Operating System / Platform => Ubuntu 16.04</li>
<li>Compiler => gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">I am trying to install OpenCV3.4.4 with contrib modules. The issue is I have several python versions in my system and I'm unable to to get it to install in the required place even after correctly setting up all cmake flags.</p>
<h5 dir="auto">Steps to reproduce</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="mkdir build
cd build
sudo cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D INSTALL_C_EXAMPLES=OFF \
-D OPENCV_ENABLE_NONFREE=ON \
-D OPENCV_EXTRA_MODULES_PATH=~/OpenCV/opencv_contrib/modules \
-D PYTHON_DEFAULT_EXECUTABLE=~/anaconda3/bin/python3.6 \
-D PYTHON_PACKAGES_PATH=~/anaconda3/lib/python3.6/site-packages/ \
-D PYTHON_LIBRARY=~/anaconda3/lib/libpython3.6m.so \
-D PYTHON_INCLUDE=~/anaconda3/include/python3.6m \
-D PYTHON_NUMPY_INCLUDE_DIRS=~/anaconda3/lib/python3.6/site -packages/numpy/core/include \
-D BUILD_NEW_PYTHON_SUPPORT=ON \
-D BUILD_opencv_python3=ON \
-D HAVE_opencv_python3=ON .."><pre class="notranslate"><code class="notranslate">mkdir build
cd build
sudo cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D INSTALL_C_EXAMPLES=OFF \
-D OPENCV_ENABLE_NONFREE=ON \
-D OPENCV_EXTRA_MODULES_PATH=~/OpenCV/opencv_contrib/modules \
-D PYTHON_DEFAULT_EXECUTABLE=~/anaconda3/bin/python3.6 \
-D PYTHON_PACKAGES_PATH=~/anaconda3/lib/python3.6/site-packages/ \
-D PYTHON_LIBRARY=~/anaconda3/lib/libpython3.6m.so \
-D PYTHON_INCLUDE=~/anaconda3/include/python3.6m \
-D PYTHON_NUMPY_INCLUDE_DIRS=~/anaconda3/lib/python3.6/site -packages/numpy/core/include \
-D BUILD_NEW_PYTHON_SUPPORT=ON \
-D BUILD_opencv_python3=ON \
-D HAVE_opencv_python3=ON ..
</code></pre></div>
<p dir="auto">The entire output is attached as a text file:</p>
<p dir="auto"><a href="https://github.com/opencv/opencv/files/2777273/op_log.txt">op_log.txt</a></p>
<p dir="auto">Of relevance:</p>
<p dir="auto">-- Python 3:<br>
-- Interpreter: /usr/bin/python3 (ver 3.5.2)<br>
-- Libraries: NO<br>
-- numpy: NO (Python3 wrappers can not be generated)<br>
-- packages path: lib/python3.5/dist-packages</p>
<p dir="auto">-- Python (for build): /home/sheshank/anaconda3/bin/python3.6</p>
<p dir="auto">-- Install to: /usr/local</p>
<p dir="auto">As you can see it is somehow installing in the default python3 instead of the ananconda3 python which I had specified. Please explain how I can install it in the anaconda python. Thanks in advance</p> | 0 |
<p dir="auto">While creating or changing a zone, it would be nice if the size in pixels x*y will be visible</p>
<p dir="auto">When creating a zone i would like to see how many pixels in x and y i have. On a big monitor with 3840<em>2160 i want to create some zone with 1920</em>1080 pixels.</p> | <p dir="auto">Would it be possible to display the sizes in each windows when creating/modifying the custom layouts in FancyZones? This will help, for example, when you want a window that is exactly half/third/quarter etc of the screen size of another window.</p>
<p dir="auto">Thanks for a great tool.</p> | 1 |
<p dir="auto">From <a href="https://stackoverflow.com/questions/68927829/how-to-use-use-numpy-random-choice-to-get-progressively-longer-sequences-with-th" rel="nofollow">https://stackoverflow.com/questions/68927829/how-to-use-use-numpy-random-choice-to-get-progressively-longer-sequences-with-th</a></p>
<p dir="auto">When generating random numbers with <code class="notranslate">np.random.Generator.choice</code> and having probabilities, the chosen elements in the first positions will depend on the number of elements to generate, leading to inconsistent results if one tries to replicate results but with varying input lengths:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
n = 100
prob = np.random.choice(100, n)
prob = prob / np.sum(prob)
for i in np.arange(10, 40, 10):
rng = np.random.default_rng(seed=123)
selected = rng.choice(n, size=i, replace=False, p=prob)
print(str(i) + ': ' + str(selected))"><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">n</span> <span class="pl-c1">=</span> <span class="pl-c1">100</span>
<span class="pl-s1">prob</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">choice</span>(<span class="pl-c1">100</span>, <span class="pl-s1">n</span>)
<span class="pl-s1">prob</span> <span class="pl-c1">=</span> <span class="pl-s1">prob</span> <span class="pl-c1">/</span> <span class="pl-s1">np</span>.<span class="pl-en">sum</span>(<span class="pl-s1">prob</span>)
<span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">10</span>, <span class="pl-c1">40</span>, <span class="pl-c1">10</span>):
<span class="pl-s1">rng</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">default_rng</span>(<span class="pl-s1">seed</span><span class="pl-c1">=</span><span class="pl-c1">123</span>)
<span class="pl-s1">selected</span> <span class="pl-c1">=</span> <span class="pl-s1">rng</span>.<span class="pl-en">choice</span>(<span class="pl-s1">n</span>, <span class="pl-s1">size</span><span class="pl-c1">=</span><span class="pl-s1">i</span>, <span class="pl-s1">replace</span><span class="pl-c1">=</span><span class="pl-c1">False</span>, <span class="pl-s1">p</span><span class="pl-c1">=</span><span class="pl-s1">prob</span>)
<span class="pl-en">print</span>(<span class="pl-en">str</span>(<span class="pl-s1">i</span>) <span class="pl-c1">+</span> <span class="pl-s">': '</span> <span class="pl-c1">+</span> <span class="pl-en">str</span>(<span class="pl-s1">selected</span>))</pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="10: [71 5 20 16 81 92 26 82 88 52]
20: [71 5 20 16 81 92 26 82 88 52 24 19 75 65 22 80 53 25 13 48]
30: [71 5 20 16 81 92 26 82 88 52 24 19 75 65 22 80 53 15 50 60 1 48 74 91 94 87 18 73 31 79]"><pre class="notranslate"><code class="notranslate">10: [71 5 20 16 81 92 26 82 88 52]
20: [71 5 20 16 81 92 26 82 88 52 24 19 75 65 22 80 53 25 13 48]
30: [71 5 20 16 81 92 26 82 88 52 24 19 75 65 22 80 53 15 50 60 1 48 74 91 94 87 18 73 31 79]
</code></pre></div>
<p dir="auto">Which is quite unexpected and does not happen in e.g. R's <code class="notranslate">sample</code>.</p>
<p dir="auto">I would assume the optimal algorithm for drawing these random numbers amounts to having some binary tree saving weights of its left and right subtrees, and then drawing random numbers in the tree's range and passing down the tree until reaching the bottom and removing that weight, which should not make any choice at position <code class="notranslate">n</code> depend on what's going to happen at position <code class="notranslate">n+1</code>.</p> | <p dir="auto">In the FFTPACK code, we have some "clever" code that uses the pattern <code class="notranslate">NPY_SIGINT_ON</code>, then run some inner loop, then <code class="notranslate">NPY_SIGINT_OFF</code>. And what this does is:</p>
<p dir="auto"><code class="notranslate">NPY_SIGINT_ON</code> uses <code class="notranslate">setjmp</code> to make a jump buffer target, saves the current signal handler for SIGINT (control-C), and then registers a new SIGINT handler that attempts to handle control-C by <code class="notranslate">longjmp</code>ing out to the <code class="notranslate">setjmp</code> buffer. The idea is that this allows us to cancel long-running calculations.</p>
<p dir="auto">The actual implementations of these macros is:</p>
<div class="highlight highlight-source-c notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# define NPY_SIGINT_ON { \
PyOS_sighandler_t _npy_sig_save; \
_npy_sig_save = PyOS_setsig(SIGINT, _PyArray_SigintHandler);\
\
if (NPY_SIGSETJMP(*((NPY_SIGJMP_BUF *)_PyArray_GetSigintBuf(\
)), \
1) == 0) {
# define NPY_SIGINT_OFF } \
PyOS_setsig(SIGINT, _npy_sig_save); \
}"><pre class="notranslate"><span class="pl-k"># define</span> <span class="pl-c1">NPY_SIGINT_ON</span> { \
PyOS_sighandler_t _npy_sig_save; \
_npy_sig_save = PyOS_setsig(SIGINT, _PyArray_SigintHandler);\
\
if (NPY_SIGSETJMP(*((NPY_SIGJMP_BUF *)_PyArray_GetSigintBuf(\
)), \
1) == 0) {
<span class="pl-k"># define</span> <span class="pl-c1">NPY_SIGINT_OFF</span> } \
PyOS_setsig(SIGINT, _npy_sig_save); \
}</pre></div>
<p dir="auto">So this has two race conditions:</p>
<p dir="auto">Minor problem: If we receive a control-C <em>in between</em> the call to <code class="notranslate">PyOS_setsig</code> and the call to <code class="notranslate">NPY_SIGSETJMP</code>, then we'll longjmp out of the signal handler into a uninitialized buffer, and <a href="https://xkcd.com/1133/" rel="nofollow">will not go to space today</a>.</p>
<p dir="auto">Major problem: suppose that the following sequence occurs:</p>
<ol dir="auto">
<li>thread 1 enters <code class="notranslate">NPY_SIGINT_ON</code>, stashes Python's default sigint handler in its <code class="notranslate">_npy_sig_save</code></li>
<li>thread 2 enters <code class="notranslate">NPY_SIGINT_ON</code>, stashes <em>our</em> sigint handler in its <code class="notranslate">_npy_sig_save</code></li>
<li>thread 1 leaves via <code class="notranslate">NPY_SIGINT_OFF</code>, restores Python's default sigint handler from its <code class="notranslate">_npy_sig_save</code></li>
<li>thread 2 leaves via <code class="notranslate">NPY_SIGINT_OFF</code>, then restores <em>our</em> sigint handler from its <code class="notranslate">_npy_sig_save</code></li>
</ol>
<p dir="auto">Now our signal handler gets left installed indefinitely, and eventually when control-C gets hit it will attempt to jump out to a stack frame that was reused ages ago. This is a bad problem and you will not go to space today.</p>
<p dir="auto">By adding some <code class="notranslate">printf</code> checks to <code class="notranslate">NPY_SIGINT_OFF</code>, I've confirmed that this is the cause of the segfault that <a href="https://mail.scipy.org/pipermail/numpy-discussion/2016-April/075361.html" rel="nofollow">Oscar reported on numpy-discussion</a>. It's very easy to replicate even from Python code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy
numpy.test()
import os
import signal
os.kill(os.getpid(), signal.SIGINT)
# -> segfault"><pre class="notranslate"><code class="notranslate">import numpy
numpy.test()
import os
import signal
os.kill(os.getpid(), signal.SIGINT)
# -> segfault
</code></pre></div>
<p dir="auto">Also, the whole architecture here is somewhat screwed up, because the Python model is that all signals are directed to the main thread (by setting them to masked on all other threads). So it doesn't even make sense to be installing a signal handler to interrupt operations on a thread that can't receive signals.</p>
<p dir="auto">(If you look at the definition of <code class="notranslate">_PyArray_SigintHandler</code> and <code class="notranslate">_PyArray_GetSigintBuf</code> in <code class="notranslate">multiarraymodule.c</code>, then you'll see that there's some basic defenses against this: we keep our jump buffer in TLS, and also a flag <code class="notranslate">sigint_buf_init</code>, so that idea is that if we start running the signal handler in a thread that hasn't actually allocated a jump buffer, then we throw away the signal. This is also pretty buggy: (1) nothing ever sets the flag back to 0, so if a thread has <em>ever</em> had a valid jump buffer on its stack then we will happily jump to it, even if it's no longer valid. (2) we shouldn't throw away the signal, we should pass it on to Python.)</p>
<p dir="auto">So the simple solution is (1) check whether we are actually the one thread that can receive signals, (2) if so, then register our handler etc.; (3) if not, then make these macros into no-ops.</p>
<p dir="auto">The one wrinkle here is that in theory it's possible for someone to call <code class="notranslate">sigprocmask</code> themselves and enable signal receiving on a non-default thread. We might want to be robust to this. A nice extra constraint is that there's no C API to check whether we are in the main thread; the only way I can think of to check that is actually to call <code class="notranslate">sigprocmask</code> and check whether SIGINT delivery is enabled for this thread.</p> | 0 |
<p dir="auto">I've just had julia updated from 0.4.0 to 0.4.1 via homebrew and ran the tests just to check before getting too excited and I have attached the test output.</p>
<p dir="auto">I am using a MacBook Air running OS X 10.9.5</p>
<p dir="auto">Model Name: MacBook Air<br>
Model Identifier: MacBookAir4,1<br>
Processor Name: Intel Core i7<br>
Processor Speed: 1.8 GHz<br>
Number of Processors: 1<br>
Total Number of Cores: 2<br>
L2 Cache (per Core): 256 KB<br>
L3 Cache: 4 MB<br>
Memory: 4 GB<br>
Boot ROM Version: MBA41.0077.B12<br>
SMC Version (system): 1.74f4</p>
<p dir="auto"><a href="https://github.com/JuliaLang/julia/files/33762/julia0.4.1-test-output.txt">julia0.4.1-test-output.txt</a></p> | <p dir="auto">This is similar to #7269, but there's no apparent resolution there and I have a very difficult machine setup.</p>
<p dir="auto">I'm on Max OSX 10.11.1. I installed Julia 0.4.1 via the Homebrew formula. I have Xcode 7.1.1 installed and it has installed the command line tools.</p>
<p dir="auto">When I execute the full test suite: <code class="notranslate">/usr/local/Cellar/julia/0.4.1/bin/julia -e "Base.runtests()"</code>, I get this error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" From worker 5: * linalg/matmul in 9.48 seconds
From worker 5: * linalg/schur in 10.67 seconds
From worker 5: * linalg/special in 3.72 seconds
From worker 5: * linalg/eigen in 7.99 seconds
From worker 5: * linalg/bunchkaufman in 4.58 seconds
From worker 5: * linalg/svd in 5.16 seconds
From worker 4: * linalg/dense in 55.11 seconds
From worker 3: * linalg/qr in 55.64 seconds
From worker 5: * linalg/lapack in 19.66 seconds
From worker 4: * linalg/tridiag in 9.26 seconds
From worker 3: * linalg/bidiag in 14.30 seconds
From worker 4: * linalg/pinv in 7.72 seconds
From worker 2: * linalg/triangular in 95.10 seconds
ERROR: LoadError: On worker 5:
LoadError: error compiling logdet: error compiling mod2pi: could not load library "libopenspecfun"
dlopen(libopenspecfun.dylib, 1): Library not loaded: /usr/local/opt/libgfortran/lib/libgfortran.3.dylib
Referenced from: /usr/local/Cellar/julia/0.4.1/lib/julia//libopenspecfun.dylib
Reason: image not found
[inlined code] from /usr/local/Cellar/julia/0.4.1/share/julia/test/linalg/diagonal.jl:80
in anonymous at no file:0
in include_string at loading.jl:266
in include_from_node1 at /usr/local/Cellar/julia/0.4.1/lib/julia/sys.dylib
[inlined code] from util.jl:179
in runtests at /usr/local/Cellar/julia/0.4.1/share/julia/test/testdefs.jl:6
in anonymous at multi.jl:908
in run_work_thunk at multi.jl:646
[inlined code] from multi.jl:908
in anonymous at task.jl:63
while loading /usr/local/Cellar/julia/0.4.1/share/julia/test/linalg/diagonal.jl, in expression starting on line 12
while loading /usr/local/Cellar/julia/0.4.1/share/julia/test/runtests.jl, in expression starting on line 13
From worker 5: * linalg/diagonal ERROR: A test has failed. Please submit a bug report (https://github.com/JuliaLang/julia/issues)
including error messages above and the output of versioninfo():
Julia Version 0.4.1
Commit cbe1bee* (2015-11-08 10:33 UTC)
Platform Info:
System: Darwin (x86_64-apple-darwin15.0.0)
CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
WORD_SIZE: 64
BLAS: libopenblas (DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-3.3
in error at /usr/local/Cellar/julia/0.4.1/lib/julia/sys.dylib
in runtests at interactiveutil.jl:411
in runtests at interactiveutil.jl:400
in process_options at /usr/local/Cellar/julia/0.4.1/lib/julia/sys.dylib
in _start at /usr/local/Cellar/julia/0.4.1/lib/julia/sys.dylib"><pre class="notranslate"><code class="notranslate"> From worker 5: * linalg/matmul in 9.48 seconds
From worker 5: * linalg/schur in 10.67 seconds
From worker 5: * linalg/special in 3.72 seconds
From worker 5: * linalg/eigen in 7.99 seconds
From worker 5: * linalg/bunchkaufman in 4.58 seconds
From worker 5: * linalg/svd in 5.16 seconds
From worker 4: * linalg/dense in 55.11 seconds
From worker 3: * linalg/qr in 55.64 seconds
From worker 5: * linalg/lapack in 19.66 seconds
From worker 4: * linalg/tridiag in 9.26 seconds
From worker 3: * linalg/bidiag in 14.30 seconds
From worker 4: * linalg/pinv in 7.72 seconds
From worker 2: * linalg/triangular in 95.10 seconds
ERROR: LoadError: On worker 5:
LoadError: error compiling logdet: error compiling mod2pi: could not load library "libopenspecfun"
dlopen(libopenspecfun.dylib, 1): Library not loaded: /usr/local/opt/libgfortran/lib/libgfortran.3.dylib
Referenced from: /usr/local/Cellar/julia/0.4.1/lib/julia//libopenspecfun.dylib
Reason: image not found
[inlined code] from /usr/local/Cellar/julia/0.4.1/share/julia/test/linalg/diagonal.jl:80
in anonymous at no file:0
in include_string at loading.jl:266
in include_from_node1 at /usr/local/Cellar/julia/0.4.1/lib/julia/sys.dylib
[inlined code] from util.jl:179
in runtests at /usr/local/Cellar/julia/0.4.1/share/julia/test/testdefs.jl:6
in anonymous at multi.jl:908
in run_work_thunk at multi.jl:646
[inlined code] from multi.jl:908
in anonymous at task.jl:63
while loading /usr/local/Cellar/julia/0.4.1/share/julia/test/linalg/diagonal.jl, in expression starting on line 12
while loading /usr/local/Cellar/julia/0.4.1/share/julia/test/runtests.jl, in expression starting on line 13
From worker 5: * linalg/diagonal ERROR: A test has failed. Please submit a bug report (https://github.com/JuliaLang/julia/issues)
including error messages above and the output of versioninfo():
Julia Version 0.4.1
Commit cbe1bee* (2015-11-08 10:33 UTC)
Platform Info:
System: Darwin (x86_64-apple-darwin15.0.0)
CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
WORD_SIZE: 64
BLAS: libopenblas (DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-3.3
in error at /usr/local/Cellar/julia/0.4.1/lib/julia/sys.dylib
in runtests at interactiveutil.jl:411
in runtests at interactiveutil.jl:400
in process_options at /usr/local/Cellar/julia/0.4.1/lib/julia/sys.dylib
in _start at /usr/local/Cellar/julia/0.4.1/lib/julia/sys.dylib
</code></pre></div>
<p dir="auto">When I search my entire system for "libopenspecfun", it is found in these places:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/usr/local/Cellar/julia/0.4.0/lib/julia/libopenspecfun.dylib
/usr/local/Cellar/julia/0.4.0/lib/julia/libopenspecfun.dylib.1
/usr/local/Cellar/julia/0.4.0/lib/julia/libopenspecfun.dylib.1.0
/usr/local/Cellar/julia/0.4.1/lib/julia/libopenspecfun.dylib
/usr/local/Cellar/julia/0.4.1/lib/julia/libopenspecfun.dylib.1
/usr/local/Cellar/julia/0.4.1/lib/julia/libopenspecfun.dylib.1.0"><pre class="notranslate"><code class="notranslate">/usr/local/Cellar/julia/0.4.0/lib/julia/libopenspecfun.dylib
/usr/local/Cellar/julia/0.4.0/lib/julia/libopenspecfun.dylib.1
/usr/local/Cellar/julia/0.4.0/lib/julia/libopenspecfun.dylib.1.0
/usr/local/Cellar/julia/0.4.1/lib/julia/libopenspecfun.dylib
/usr/local/Cellar/julia/0.4.1/lib/julia/libopenspecfun.dylib.1
/usr/local/Cellar/julia/0.4.1/lib/julia/libopenspecfun.dylib.1.0
</code></pre></div>
<p dir="auto">Searching for libgfortran shows up:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/Users/admin/.julia/v0.4/Homebrew/deps/usr/Library/Taps/staticfloat/homebrew-juliadeps/libgfortran.rb
/Users/admin/.pyenv/versions/intrinsicenv/lib/python3.4/site-packages/scipy/.dylibs/libgfortran.2.0.0.dylib
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.2.0/i386/libgfortranbegin.a
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.2.0/libgfortranbegin.a
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/i386/libgfortran.3.dylib
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/i386/libgfortran.a
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/i386/libgfortran.dylib
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/i386/libgfortran.spec
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/libgfortran.3.dylib
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/libgfortran.a
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/libgfortran.dylib
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/libgfortran.spec
/usr/local/lib/python2.7/site-packages/scipy/.dylibs/libgfortran.2.0.0.dylib
/usr/local/lib/python3.4/site-packages/scipy/.dylibs/libgfortran.2.0.0.dylib
/usr/local/lib/python3.5/site-packages/scipy/.dylibs/libgfortran.2.0.0.dylib"><pre class="notranslate"><code class="notranslate">/Users/admin/.julia/v0.4/Homebrew/deps/usr/Library/Taps/staticfloat/homebrew-juliadeps/libgfortran.rb
/Users/admin/.pyenv/versions/intrinsicenv/lib/python3.4/site-packages/scipy/.dylibs/libgfortran.2.0.0.dylib
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.2.0/i386/libgfortranbegin.a
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.2.0/libgfortranbegin.a
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/i386/libgfortran.3.dylib
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/i386/libgfortran.a
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/i386/libgfortran.dylib
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/i386/libgfortran.spec
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/libgfortran.3.dylib
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/libgfortran.a
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/libgfortran.dylib
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/libgfortran.spec
/usr/local/lib/python2.7/site-packages/scipy/.dylibs/libgfortran.2.0.0.dylib
/usr/local/lib/python3.4/site-packages/scipy/.dylibs/libgfortran.2.0.0.dylib
/usr/local/lib/python3.5/site-packages/scipy/.dylibs/libgfortran.2.0.0.dylib
</code></pre></div>
<p dir="auto">Although it is installed with Homebrew's GCC, it doesn't appear to be at <code class="notranslate">/usr/local/opt/libgfortran/</code> where Julia is looking for it.</p>
<p dir="auto"><code class="notranslate">echo $LD_LIBRARY_PATH</code> gives the path of a single output directory in one of my projects:<br>
<code class="notranslate">/local/dev/my-proj/build/release:</code></p>
<p dir="auto">Note that the basic suite of tests succeeded: <code class="notranslate">brew test -v julia</code>.</p>
<p dir="auto">I tried <code class="notranslate">brew reinstall gcc</code> but that didn't help.</p>
<p dir="auto">Finally, I did a <code class="notranslate">brew update; brew rm -f julia; brew install julia</code>, but that didn't help either.</p>
<p dir="auto">I initially posted this as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="116864471" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/13980" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/13980/hovercard" href="https://github.com/JuliaLang/julia/issues/13980">JuliaLang/julia#13980</a>, but it looks like this is a better place for it.</p> | 1 |
<p dir="auto"><em>I've created a <a href="http://www.reddit.com/r/rust/comments/2ba3az/macros_writeln_and_the_semicolon/" rel="nofollow">discussion topic</a> on Reddit, but for some reason it disappeared from the Rust page, so I'm filling an issue here. If there's a better place to discuss similar suggestions, please tell me.</em></p>
<p dir="auto">I was just playing with Rust on <a href="http://rustbyexample.com/" rel="nofollow">http://rustbyexample.com/</a>, and I've accidentally discovered that writeln can be called without a semicolon.<br>
It doesn't look like a big deal, but for a perfectionist like me, I see it as a consistency flaw, especially for (probably) the most common macro in the language.</p>
<p dir="auto">The author of <strong>Rust by example</strong> explained what's going on <a href="https://github.com/japaric/rust-by-example/issues/183" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust-by-example/issues/183/hovercard">here</a>, but that doesn't look right to me. Even C has a do-while(0) hack for this case.</p>
<p dir="auto"><a href="http://is.gd/ajFYN1" rel="nofollow">This</a> is an expanded <code class="notranslate">println!("test")</code>. The <code class="notranslate">match</code> looks very similar to the do-while(0) C hack for macros, and I think that it's the wrong way to do it, not only because it looks and feels like a hack, but also because it behaves differently than a native Rust function. For example, <code class="notranslate">println!("test") println!("test")</code> compiles, while <code class="notranslate">returns_unit() returns_unit()</code> doesn't.</p>
<p dir="auto">My proposal: use a self-calling function, similar to what <a href="http://stackoverflow.com/questions/592396/what-is-the-purpose-of-a-self-executing-function-in-javascript" rel="nofollow">JavaScript allows</a>. I don't know whether it's currently possible in Rust, but if not, I think it could be a natural addition to the language. <a href="http://is.gd/CZ7Y8u" rel="nofollow">Here's</a> how I expect it to look, more or less.</p> | <p dir="auto">I have encountered an issue which seems very unusual to me and I believe it might be a bug.</p>
<p dir="auto">Below is a small example which illustrates the issue.</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="struct CountDown {
count: uint,
// Including the vector causes `Some(self.current())` to fail later on.
vector: Vec<uint>
}
impl CountDown {
fn new() -> CountDown {
CountDown {
count: 10,
vector: vec!(3u, 4, 5)
}
}
fn current(self) -> uint {
self.count
}
}
impl Iterator<uint> for CountDown {
fn next(&mut self) -> Option<uint> {
self.count -= 1;
if self.count == 0 {
None
} else {
// Whether the vector is in the struct or not, this work:
//Some(self.count)
// When the struct contains a vector, the following causes the error:
// cannot move out of dereference of `&mut`-pointer
// If the vector is not in the struct, this work fine.
Some(self.current())
}
}
}
fn main() {
for n in CountDown::new() {
println!("n = {}", n);
}
}"><pre class="notranslate"><span class="pl-k">struct</span> <span class="pl-smi">CountDown</span> <span class="pl-kos">{</span>
<span class="pl-c1">count</span><span class="pl-kos">:</span> <span class="pl-smi">uint</span><span class="pl-kos">,</span>
<span class="pl-c">// Including the vector causes `Some(self.current())` to fail later on.</span>
<span class="pl-c1">vector</span><span class="pl-kos">:</span> <span class="pl-smi">Vec</span><span class="pl-kos"><</span><span class="pl-smi">uint</span><span class="pl-kos">></span>
<span class="pl-kos">}</span>
<span class="pl-k">impl</span> <span class="pl-smi">CountDown</span> <span class="pl-kos">{</span>
<span class="pl-k">fn</span> <span class="pl-en">new</span><span class="pl-kos">(</span><span class="pl-kos">)</span> -> <span class="pl-smi">CountDown</span> <span class="pl-kos">{</span>
<span class="pl-smi">CountDown</span> <span class="pl-kos">{</span>
<span class="pl-c1">count</span><span class="pl-kos">:</span> <span class="pl-c1">10</span><span class="pl-kos">,</span>
<span class="pl-c1">vector</span><span class="pl-kos">:</span> <span class="pl-en">vec</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-c1">3</span>u, <span class="pl-c1">4</span>, <span class="pl-c1">5</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">fn</span> <span class="pl-en">current</span><span class="pl-kos">(</span><span class="pl-smi">self</span><span class="pl-kos">)</span> -> <span class="pl-smi">uint</span> <span class="pl-kos">{</span>
<span class="pl-smi">self</span><span class="pl-kos">.</span><span class="pl-c1">count</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">impl</span> <span class="pl-smi">Iterator</span><span class="pl-kos"><</span><span class="pl-smi">uint</span><span class="pl-kos">></span> <span class="pl-k">for</span> <span class="pl-smi">CountDown</span> <span class="pl-kos">{</span>
<span class="pl-k">fn</span> <span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-k">mut</span> <span class="pl-smi">self</span><span class="pl-kos">)</span> -> <span class="pl-smi">Option</span><span class="pl-kos"><</span><span class="pl-smi">uint</span><span class="pl-kos">></span> <span class="pl-kos">{</span>
<span class="pl-smi">self</span><span class="pl-kos">.</span><span class="pl-c1">count</span> -= <span class="pl-c1">1</span><span class="pl-kos">;</span>
<span class="pl-k">if</span> <span class="pl-smi">self</span><span class="pl-kos">.</span><span class="pl-c1">count</span> == <span class="pl-c1">0</span> <span class="pl-kos">{</span>
<span class="pl-v">None</span>
<span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-kos">{</span>
<span class="pl-c">// Whether the vector is in the struct or not, this work:</span>
<span class="pl-c">//Some(self.count)</span>
<span class="pl-c">// When the struct contains a vector, the following causes the error:</span>
<span class="pl-c">// cannot move out of dereference of `&mut`-pointer</span>
<span class="pl-c">// If the vector is not in the struct, this work fine.</span>
<span class="pl-v">Some</span><span class="pl-kos">(</span><span class="pl-smi">self</span><span class="pl-kos">.</span><span class="pl-en">current</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">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">for</span> n <span class="pl-k">in</span> <span class="pl-smi">CountDown</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>
<span class="pl-en">println</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"n = {}"</span>, n<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">It appears to me quite strange that the presence of a Vector within the struct (even if it isn't used) causes the issue. It also seems strange to me that returning a struct field works, but returning a method which itself returns that struct field fails.</p>
<p dir="auto">Admittedly, I don't really understand what <code class="notranslate">cannot move out of dereference of '&mut'-pointer</code> really means; a Google search doesn't yield very much, and the documentation doesn't seem to contain much regarding the error.</p> | 0 |
<p dir="auto">Something like the following isn't possible at the moment:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<select name="select">
<option class="x" value="1">red</option>
<option value="2">blue</option>
<option class="y" data-value="3" value="3">green</option>
</select>"><pre class="notranslate"><code class="notranslate"><select name="select">
<option class="x" value="1">red</option>
<option value="2">blue</option>
<option class="y" data-value="3" value="3">green</option>
</select>
</code></pre></div>
<p dir="auto">I want to add some custom attributes to choice options.</p> | <p dir="auto">It would be nice to be able to define extra HTML attributes for choices in a choice list that are added to the <code class="notranslate">option</code> or <code class="notranslate">input</code> tags.</p>
<p dir="auto">Origin of this ticket: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3393283" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/3456" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/3456/hovercard" href="https://github.com/symfony/symfony/issues/3456">#3456</a></p> | 1 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [13]: pd.MultiIndex.from_arrays([[], []])
Out[13]:
MultiIndex(levels=[[], []],
labels=[[], []])
In [14]: pd.MultiIndex.from_arrays([[], []]).unique()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-14-d5be3b23b8c3> in <module>()
----> 1 pd.MultiIndex.from_arrays([[], []]).unique()
~/pandas/pandas/core/indexes/multi.py in unique(self, level)
1071
1072 if level is None:
-> 1073 return super(MultiIndex, self).unique()
1074 else:
1075 level = self._get_level_number(level)
~/pandas/pandas/core/indexes/base.py in unique(self, level)
4366 self._validate_index_level(level)
4367 result = super(Index, self).unique()
-> 4368 return self._shallow_copy(result)
4369
4370 def drop_duplicates(self, keep='first'):
~/pandas/pandas/core/indexes/multi.py in _shallow_copy(self, values, **kwargs)
558 # discards freq
559 kwargs.pop('freq', None)
--> 560 return MultiIndex.from_tuples(values, **kwargs)
561 return self.view()
562
~/pandas/pandas/core/indexes/multi.py in from_tuples(cls, tuples, sortorder, names)
1315 if names is None:
1316 msg = 'Cannot infer number of levels from empty list'
-> 1317 raise TypeError(msg)
1318 arrays = [[]] * len(names)
1319 elif isinstance(tuples, (np.ndarray, Index)):
TypeError: Cannot infer number of levels from empty list
"><pre class="notranslate"><code class="notranslate">In [13]: pd.MultiIndex.from_arrays([[], []])
Out[13]:
MultiIndex(levels=[[], []],
labels=[[], []])
In [14]: pd.MultiIndex.from_arrays([[], []]).unique()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-14-d5be3b23b8c3> in <module>()
----> 1 pd.MultiIndex.from_arrays([[], []]).unique()
~/pandas/pandas/core/indexes/multi.py in unique(self, level)
1071
1072 if level is None:
-> 1073 return super(MultiIndex, self).unique()
1074 else:
1075 level = self._get_level_number(level)
~/pandas/pandas/core/indexes/base.py in unique(self, level)
4366 self._validate_index_level(level)
4367 result = super(Index, self).unique()
-> 4368 return self._shallow_copy(result)
4369
4370 def drop_duplicates(self, keep='first'):
~/pandas/pandas/core/indexes/multi.py in _shallow_copy(self, values, **kwargs)
558 # discards freq
559 kwargs.pop('freq', None)
--> 560 return MultiIndex.from_tuples(values, **kwargs)
561 return self.view()
562
~/pandas/pandas/core/indexes/multi.py in from_tuples(cls, tuples, sortorder, names)
1315 if names is None:
1316 msg = 'Cannot infer number of levels from empty list'
-> 1317 raise TypeError(msg)
1318 arrays = [[]] * len(names)
1319 elif isinstance(tuples, (np.ndarray, Index)):
TypeError: Cannot infer number of levels from empty list
</code></pre></div> | <p dir="auto">I have been trying to insert ~30k rows into a mysql database using pandas-0.15.1, oursql-0.9.3.1 and sqlalchemy-0.9.4. Because the machine is as across the atlantic from me, calling <code class="notranslate">data.to_sql</code> was taking >1 hr to insert the data. On inspecting with wireshark, the issue is that it is sending an insert for every row, then waiting for the ACK before sending the next, and, long story short, the ping times are killing me.</p>
<p dir="auto">However, following the instructions from <a href="http://docs.sqlalchemy.org/en/latest/core/dml.html#sqlalchemy.sql.expression.Insert.values" rel="nofollow">SQLAlchemy</a>, I changed</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="def _execute_insert(self, conn, keys, data_iter):
data = [dict((k, v) for k, v in zip(keys, row)) for row in data_iter]
conn.execute(self.insert_statement(), data)"><pre class="notranslate"><span class="pl-k">def</span> <span class="pl-en">_execute_insert</span>(<span class="pl-s1">self</span>, <span class="pl-s1">conn</span>, <span class="pl-s1">keys</span>, <span class="pl-s1">data_iter</span>):
<span class="pl-s1">data</span> <span class="pl-c1">=</span> [<span class="pl-en">dict</span>((<span class="pl-s1">k</span>, <span class="pl-s1">v</span>) <span class="pl-k">for</span> <span class="pl-s1">k</span>, <span class="pl-s1">v</span> <span class="pl-c1">in</span> <span class="pl-en">zip</span>(<span class="pl-s1">keys</span>, <span class="pl-s1">row</span>)) <span class="pl-k">for</span> <span class="pl-s1">row</span> <span class="pl-c1">in</span> <span class="pl-s1">data_iter</span>]
<span class="pl-s1">conn</span>.<span class="pl-en">execute</span>(<span class="pl-s1">self</span>.<span class="pl-en">insert_statement</span>(), <span class="pl-s1">data</span>)</pre></div>
<p dir="auto">to</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="def _execute_insert(self, conn, keys, data_iter):
data = [dict((k, v) for k, v in zip(keys, row)) for row in data_iter]
conn.execute(self.insert_statement().values(data))"><pre class="notranslate"><span class="pl-k">def</span> <span class="pl-en">_execute_insert</span>(<span class="pl-s1">self</span>, <span class="pl-s1">conn</span>, <span class="pl-s1">keys</span>, <span class="pl-s1">data_iter</span>):
<span class="pl-s1">data</span> <span class="pl-c1">=</span> [<span class="pl-en">dict</span>((<span class="pl-s1">k</span>, <span class="pl-s1">v</span>) <span class="pl-k">for</span> <span class="pl-s1">k</span>, <span class="pl-s1">v</span> <span class="pl-c1">in</span> <span class="pl-en">zip</span>(<span class="pl-s1">keys</span>, <span class="pl-s1">row</span>)) <span class="pl-k">for</span> <span class="pl-s1">row</span> <span class="pl-c1">in</span> <span class="pl-s1">data_iter</span>]
<span class="pl-s1">conn</span>.<span class="pl-en">execute</span>(<span class="pl-s1">self</span>.<span class="pl-en">insert_statement</span>().<span class="pl-en">values</span>(<span class="pl-s1">data</span>))</pre></div>
<p dir="auto">and the entire operation completes in less than a minute. (To save you a click, the difference is between multiple calls to <code class="notranslate">insert into foo (columns) values (rowX)</code> and one massive <code class="notranslate">insert into foo (columns) VALUES (row1), (row2), row3)</code>). Given how often people are likely to use pandas to insert large volumes of data, this feels like a huge win that would be great to be included more widely.</p>
<p dir="auto">Some challenges:</p>
<ul dir="auto">
<li>Not every database supports multirow inserts (SQLite and SQLServer didn't in the past, though they do now). I don't know how to check for this via SQLAlchemy</li>
<li>The MySQL server I was using didn't allow me to insert the data all in one go, I had to set the chunksize (5k worked fine, but I guess the full 30k was too much). If we made this the default insert, most people would have to add a chunk size (which might be hard to calculate, as it might be determined by the maximum packet size of the server).</li>
</ul>
<p dir="auto">The easiest way to do this, would be to add a <code class="notranslate">multirow=</code> boolean parameter (default <code class="notranslate">False</code>) to the <code class="notranslate">to_sql</code> function, and then leave the user responsible for setting the chunksize, but perhaps there's a better way?</p>
<p dir="auto">Thoughts?</p> | 0 |
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/build-javascript-objects" rel="nofollow">Build JavaScript Objects</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">After running the test and passing it, I click the "Submit and move on to the next Challenge" button. However, I am not taken to the next challenge and the pop up box "orb" continues to move.<br>
My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Example
var ourDog = {
"name": "Camper",
"legs": 4,
"tails": 1,
"friends": ["everything!"]
};
// Only change code below this line.
var myDog = {
"name": "Tobi",
"legs": 4,
"tails": 1,
"friends": ["Family!"]
};
"><pre class="notranslate"><span class="pl-c">// Example</span>
<span class="pl-k">var</span> <span class="pl-s1">ourDog</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-s">"name"</span>: <span class="pl-s">"Camper"</span><span class="pl-kos">,</span>
<span class="pl-s">"legs"</span>: <span class="pl-c1">4</span><span class="pl-kos">,</span>
<span class="pl-s">"tails"</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span>
<span class="pl-s">"friends"</span>: <span class="pl-kos">[</span><span class="pl-s">"everything!"</span><span class="pl-kos">]</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">myDog</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-s">"name"</span>: <span class="pl-s">"Tobi"</span><span class="pl-kos">,</span>
<span class="pl-s">"legs"</span>: <span class="pl-c1">4</span><span class="pl-kos">,</span>
<span class="pl-s">"tails"</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span>
<span class="pl-s">"friends"</span>: <span class="pl-kos">[</span><span class="pl-s">"Family!"</span><span class="pl-kos">]</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> | <p dir="auto">I cann't press the button "Submit and go to my next challenge (ctrl + enter)". But if I clicked I only see the infinite loading. How to solve this problem?<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/15948159/12712716/62a3c88c-c8db-11e5-9556-7183e96aa60b.PNG"><img src="https://cloud.githubusercontent.com/assets/15948159/12712716/62a3c88c-c8db-11e5-9556-7183e96aa60b.PNG" alt="default" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-serial/2334/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-serial/2334/</a></p>
<p dir="auto">Multiple broken tests:</p>
<p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 35 pods per node {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Expected error:
<errors.aggregate | len:4, cap:4>: [
{
s: "Resource usage on node \"jenkins-e2e-master\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-lxlm\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-o3by\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-xx3u\" is not ready yet",
},
]
[Resource usage on node "jenkins-e2e-master" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-lxlm" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-o3by" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-xx3u" is not ready yet]
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:104"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Expected error:
<errors.aggregate | len:4, cap:4>: [
{
s: "Resource usage on node \"jenkins-e2e-master\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-lxlm\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-o3by\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-xx3u\" is not ready yet",
},
]
[Resource usage on node "jenkins-e2e-master" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-lxlm" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-o3by" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-xx3u" is not ready yet]
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:104
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="162928137" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28220" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28220/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28220">#28220</a></p>
<p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 0 pods per node {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Expected error:
<errors.aggregate | len:4, cap:4>: [
{
s: "Resource usage on node \"jenkins-e2e-minion-group-o3by\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-xx3u\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-master\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-lxlm\" is not ready yet",
},
]
[Resource usage on node "jenkins-e2e-minion-group-o3by" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-xx3u" is not ready yet, Resource usage on node "jenkins-e2e-master" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-lxlm" is not ready yet]
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:104"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Expected error:
<errors.aggregate | len:4, cap:4>: [
{
s: "Resource usage on node \"jenkins-e2e-minion-group-o3by\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-xx3u\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-master\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-lxlm\" is not ready yet",
},
]
[Resource usage on node "jenkins-e2e-minion-group-o3by" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-xx3u" is not ready yet, Resource usage on node "jenkins-e2e-master" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-lxlm" is not ready yet]
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:104
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158397793" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26784" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26784/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26784">#26784</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163478516" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28384" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28384/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28384">#28384</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177833576" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33023" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33023/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33023">#33023</a></p>
<p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 100 pods per node {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Expected error:
<errors.aggregate | len:4, cap:4>: [
{
s: "Resource usage on node \"jenkins-e2e-master\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-lxlm\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-o3by\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-xx3u\" is not ready yet",
},
]
[Resource usage on node "jenkins-e2e-master" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-lxlm" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-o3by" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-xx3u" is not ready yet]
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:104"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Expected error:
<errors.aggregate | len:4, cap:4>: [
{
s: "Resource usage on node \"jenkins-e2e-master\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-lxlm\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-o3by\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-xx3u\" is not ready yet",
},
]
[Resource usage on node "jenkins-e2e-master" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-lxlm" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-o3by" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-xx3u" is not ready yet]
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:104
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158988182" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26982" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26982/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26982">#26982</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180814114" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33994" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33994/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33994">#33994</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180962361" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34035" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34035/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34035">#34035</a></p>
<p dir="auto">Failed: [k8s.io] SchedulerPredicates [Serial] validates MaxPods limit number of pods that are allowed to run [Slow] {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:142
Not scheduled Pods: []api.Pod(nil)
Expected
<int>: 0
to equal
<int>: 1
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:932"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:142
Not scheduled Pods: []api.Pod(nil)
Expected
<int>: 0
to equal
<int>: 1
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:932
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161018054" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27662" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27662/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27662">#27662</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="168466600" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29820" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29820/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29820">#29820</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="174754367" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31971" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31971/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31971">#31971</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="176422785" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32505" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32505/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32505">#32505</a></p>
<p dir="auto">Failed: [k8s.io] SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run [Conformance] {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:216
Not scheduled Pods: []api.Pod(nil)
Expected
<int>: 0
to equal
<int>: 1
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:932"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:216
Not scheduled Pods: []api.Pod(nil)
Expected
<int>: 0
to equal
<int>: 1
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:932
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="159342711" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27115" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27115/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27115">#27115</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="162281972" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28070" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28070/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28070">#28070</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="171585184" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30747" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30747/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30747">#30747</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="172938376" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31341" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31341/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31341">#31341</a></p>
<p dir="auto">Previous issues for this suite: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158247454" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26743" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26743/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26743">#26743</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="159373265" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27118" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27118/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27118">#27118</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="160068749" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27320" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27320/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27320">#27320</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="174204161" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31771" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31771/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31771">#31771</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181317254" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34183" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34183/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34183">#34183</a></p> | <p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-serial/2327/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-serial/2327/</a></p>
<p dir="auto">Multiple broken tests:</p>
<p dir="auto">Failed: [k8s.io] SchedulerPredicates [Serial] validates MaxPods limit number of pods that are allowed to run [Slow] {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:142
Not scheduled Pods: []api.Pod(nil)
Expected
<int>: 0
to equal
<int>: 1
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:932"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:142
Not scheduled Pods: []api.Pod(nil)
Expected
<int>: 0
to equal
<int>: 1
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:932
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161018054" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27662" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27662/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27662">#27662</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="168466600" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29820" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29820/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29820">#29820</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="174754367" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31971" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31971/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31971">#31971</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="176422785" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32505" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32505/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32505">#32505</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181390975" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34221" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34221/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34221">#34221</a></p>
<p dir="auto">Failed: [k8s.io] SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run [Conformance] {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:216
Not scheduled Pods: []api.Pod(nil)
Expected
<int>: 0
to equal
<int>: 1
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:932"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:216
Not scheduled Pods: []api.Pod(nil)
Expected
<int>: 0
to equal
<int>: 1
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:932
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="159342711" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27115" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27115/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27115">#27115</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="162281972" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28070" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28070/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28070">#28070</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="171585184" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30747" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30747/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30747">#30747</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="172938376" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31341" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31341/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31341">#31341</a></p>
<p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 0 pods per node {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Expected error:
<errors.aggregate | len:4, cap:4>: [
{
s: "Resource usage on node \"jenkins-e2e-master\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-l55u\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-ocuh\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-yvw5\" is not ready yet",
},
]
[Resource usage on node "jenkins-e2e-master" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-l55u" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-ocuh" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-yvw5" is not ready yet]
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:104"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Expected error:
<errors.aggregate | len:4, cap:4>: [
{
s: "Resource usage on node \"jenkins-e2e-master\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-l55u\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-ocuh\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-yvw5\" is not ready yet",
},
]
[Resource usage on node "jenkins-e2e-master" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-l55u" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-ocuh" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-yvw5" is not ready yet]
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:104
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158397793" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26784" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26784/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26784">#26784</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163478516" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28384" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28384/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28384">#28384</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="174654466" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31935" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31935/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31935">#31935</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177833576" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33023" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33023/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33023">#33023</a></p>
<p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 100 pods per node {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Expected error:
<errors.aggregate | len:4, cap:4>: [
{
s: "Resource usage on node \"jenkins-e2e-master\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-gb1m\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-ocuh\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-yvw5\" is not ready yet",
},
]
[Resource usage on node "jenkins-e2e-master" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-gb1m" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-ocuh" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-yvw5" is not ready yet]
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:104"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Expected error:
<errors.aggregate | len:4, cap:4>: [
{
s: "Resource usage on node \"jenkins-e2e-master\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-gb1m\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-ocuh\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-yvw5\" is not ready yet",
},
]
[Resource usage on node "jenkins-e2e-master" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-gb1m" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-ocuh" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-yvw5" is not ready yet]
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:104
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158988182" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26982" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26982/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26982">#26982</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="175562552" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32214" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32214/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32214">#32214</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180814114" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33994" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33994/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33994">#33994</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180962361" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34035" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34035/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34035">#34035</a></p>
<p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 35 pods per node {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Expected error:
<errors.aggregate | len:4, cap:4>: [
{
s: "Resource usage on node \"jenkins-e2e-minion-group-yvw5\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-master\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-gb1m\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-ocuh\" is not ready yet",
},
]
[Resource usage on node "jenkins-e2e-minion-group-yvw5" is not ready yet, Resource usage on node "jenkins-e2e-master" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-gb1m" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-ocuh" is not ready yet]
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:104"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Expected error:
<errors.aggregate | len:4, cap:4>: [
{
s: "Resource usage on node \"jenkins-e2e-minion-group-yvw5\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-master\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-gb1m\" is not ready yet",
},
{
s: "Resource usage on node \"jenkins-e2e-minion-group-ocuh\" is not ready yet",
},
]
[Resource usage on node "jenkins-e2e-minion-group-yvw5" is not ready yet, Resource usage on node "jenkins-e2e-master" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-gb1m" is not ready yet, Resource usage on node "jenkins-e2e-minion-group-ocuh" is not ready yet]
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:104
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="162928137" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28220" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28220/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28220">#28220</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177562336" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32942" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32942/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32942">#32942</a></p>
<p dir="auto">Previous issues for this suite: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158247454" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26743" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26743/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26743">#26743</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="159373265" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27118" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27118/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27118">#27118</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="160068749" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27320" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27320/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27320">#27320</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="174204161" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31771" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31771/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31771">#31771</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181317254" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34183" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34183/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34183">#34183</a></p> | 1 |
<p dir="auto">Appears to be a recent issue as Google has indexed the non-WWW URL: search for site:material-ui.com (35 results) and site:www.material-ui.com (no results)</p> | <p dir="auto"><a href="http://www.material-ui.com/" rel="nofollow">http://www.material-ui.com/</a> OK<br>
<a href="http://material-ui.com/" rel="nofollow">http://material-ui.com/</a> ERR_NAME_NOT_RESOLVED</p>
<p dir="auto">We should fix this.</p> | 1 |
<ul dir="auto">
<li>VSCode Version:1.1.1</li>
<li>OS Version: Microsoft windows 7-6.1.7601<br>
-Node -v4.4.5-x86<br>
Steps to Reproduce:</li>
</ul>
<ol dir="auto">
<li>Hover on the object</li>
<li>the list of the object hover popup displayed top position only.<br>
3.I couldn't see the full list, even the scroll feature also not in the hover popup.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/19775816/15819526/57f94cc0-2c01-11e6-927f-748b2ed17431.png"><img src="https://cloud.githubusercontent.com/assets/19775816/15819526/57f94cc0-2c01-11e6-927f-748b2ed17431.png" alt="actuallistwithissue" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/19775816/15819532/5d387eb8-2c01-11e6-8b9f-2989d1bb925f.png"><img src="https://cloud.githubusercontent.com/assets/19775816/15819532/5d387eb8-2c01-11e6-8b9f-2989d1bb925f.png" alt="issueonfulllist" style="max-width: 100%;"></a></li>
</ol> | <p dir="auto">Would be possible to get a editor agnostic Json Schema npm package or something we can use as a service? Something similar to OmniSharp but for Json Schema I suppose. Ideally it would also be able to be hosted independent of VSCode, so editors like Sublime could call on the same functionality as well.</p>
<p dir="auto">All the hard work is done to get Json Schema support into VSCode, and I'm looking to derive from it to enhance the Atom support for Json Schema (and Json in general). Now that said that means two duplicate code bases, doing essentially the same thing. It would be great if we had one shared code base, so fixes could be shared amoung many editors.</p>
<p dir="auto">Having a set of API's that could API's for...</p>
<ul dir="auto">
<li>completion</li>
<li>hover</li>
<li>symbols</li>
<li>formatting</li>
<li>contributions
<ul dir="auto">
<li>list</li>
<li>add</li>
<li>[remove?]</li>
</ul>
</li>
</ul> | 0 |
<p dir="auto">I found something that I don't think is a bug by itself, but doesn't really strike me as completely correct behaviour neither.</p>
<p dir="auto">When I dump the security configuration on the console, I will not see any authentication mechanism configurations, like form_login, x509, http_basic etc, but after I clear the cache without warming up, these configuration settings are correctly dumped.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ php app/console config:dump-reference security
firewalls: # Required
# Prototype
name:
pattern: ~
host: ~
.......
anonymous:
key: 54a5a642d6404
switch_user:
provider: ~
parameter: _switch_user
role: ROLE_ALLOWED_TO_SWITCH
access_control:
requires_channel: null
# use the urldecoded format
path: null # Example: ^/path to resource/
host: null
$"><pre class="notranslate"><code class="notranslate">$ php app/console config:dump-reference security
firewalls: # Required
# Prototype
name:
pattern: ~
host: ~
.......
anonymous:
key: 54a5a642d6404
switch_user:
provider: ~
parameter: _switch_user
role: ROLE_ALLOWED_TO_SWITCH
access_control:
requires_channel: null
# use the urldecoded format
path: null # Example: ^/path to resource/
host: null
$
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ php app/console clear:cache --no-warmup
$ php app/console config:dump-reference security
firewalls: # Required
# Prototype
name:
pattern: ~
host: ~
.......
anonymous:
key: 54a5a642d6404
switch_user:
provider: ~
parameter: _switch_user
role: ROLE_ALLOWED_TO_SWITCH
x509:
provider: ~
user: SSL_CLIENT_S_DN_Email
credentials: SSL_CLIENT_S_DN
simple_preauth:
provider: ~
authenticator: ~
form_login:
provider: ~
remember_me: true
success_handler: ~
.......
access_control:
requires_channel: null
# use the urldecoded format
path: null # Example: ^/path to resource/
host: null
$"><pre class="notranslate"><code class="notranslate">$ php app/console clear:cache --no-warmup
$ php app/console config:dump-reference security
firewalls: # Required
# Prototype
name:
pattern: ~
host: ~
.......
anonymous:
key: 54a5a642d6404
switch_user:
provider: ~
parameter: _switch_user
role: ROLE_ALLOWED_TO_SWITCH
x509:
provider: ~
user: SSL_CLIENT_S_DN_Email
credentials: SSL_CLIENT_S_DN
simple_preauth:
provider: ~
authenticator: ~
form_login:
provider: ~
remember_me: true
success_handler: ~
.......
access_control:
requires_channel: null
# use the urldecoded format
path: null # Example: ^/path to resource/
host: null
$
</code></pre></div>
<p dir="auto">The reason for this is that the authentication security listeners are added through the addSecurityListenerFactory() in the <a href="https://github.com/symfony/symfony/blob/2.7/src/Symfony/Bundle/SecurityBundle/SecurityBundle.php#L39">securityBundle::build()</a> method, which only gets called when creating a new cache.</p>
<p dir="auto">Once the cache has been build, the security listener factories aren't added so the <a href="https://github.com/symfony/symfony/blob/2.7/src/Symfony/Bundle/SecurityBundle/DependencyInjection/MainConfiguration.php#L295">MainConfiguration</a> cannot find their configuration.</p>
<p dir="auto">I think the configuration dump should be consistent regardless if it was cached or not. Maybe there could be a way to add the securityListenerFactories at some other place so the configurations will always show up?</p> | <p dir="auto">Here is the output I get before and after clearing the cache, and the diff. As you can see the difference is huge. If I run the command again, the output comes back to the initial state (the one with the fewer lines) I think it should be the same.</p>
<h1 dir="auto">Before clearing the cache</h1>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Default configuration for "SecurityBundle"
security:
access_denied_url: null # Example: /foo/error403
# strategy can be: none, migrate, invalidate
session_fixation_strategy: migrate
hide_user_not_found: true
always_authenticate_before_granting: false
erase_credentials: true
access_decision_manager:
strategy: affirmative
allow_if_all_abstain: false
allow_if_equal_granted_denied: true
acl:
# any name configured in doctrine.dbal section
connection: null
cache:
id: ~
prefix: sf2_acl_
provider: ~
tables:
class: acl_classes
entry: acl_entries
object_identity: acl_object_identities
object_identity_ancestors: acl_object_identity_ancestors
security_identity: acl_security_identities
voter:
allow_if_object_identity_unavailable: true
encoders:
# Examples:
Acme\DemoBundle\Entity\User1: sha512
Acme\DemoBundle\Entity\User2:
algorithm: sha512
encode_as_base64: true
iterations: 5000
# Prototype
class:
algorithm: ~
# Name of hashing algorithm for PBKDF2 (i.e. sha256, sha512, etc..) See hash_algos() for a list of supported algorithms.
hash_algorithm: sha512
key_length: 40
ignore_case: false
encode_as_base64: true
iterations: 5000
cost: 13
id: ~
providers: # Required
# Examples:
my_memory_provider:
memory:
users:
foo:
password: foo
roles: ROLE_USER
bar:
password: bar
roles: [ROLE_USER, ROLE_ADMIN]
my_entity_provider:
entity:
class: SecurityBundle:User
property: username
# Prototype
name:
id: ~
chain:
providers: []
firewalls: # Required
# Prototype
name:
pattern: ~
host: ~
methods: []
security: true
request_matcher: ~
access_denied_url: ~
access_denied_handler: ~
entry_point: ~
provider: ~
stateless: false
context: ~
logout:
csrf_parameter: _csrf_token
csrf_token_generator: ~
csrf_token_id: logout
path: /logout
target: /
success_handler: ~
invalidate_session: true
delete_cookies:
# Prototype
name:
path: null
domain: null
handlers: []
anonymous:
key: 538c9e213ae18
switch_user:
provider: ~
parameter: _switch_user
role: ROLE_ALLOWED_TO_SWITCH
access_control:
requires_channel: null
# use the urldecoded format
path: null # Example: ^/path to resource/
host: null
ips: []
methods: []
allow_if: null
roles: []
role_hierarchy:
# Prototype
id: []"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> Default configuration for "SecurityBundle"</span>
<span class="pl-ent">security</span>:
<span class="pl-ent">access_denied_url</span>: <span class="pl-s">null </span><span class="pl-c"><span class="pl-c">#</span> Example: /foo/error403</span>
<span class="pl-c"><span class="pl-c">#</span> strategy can be: none, migrate, invalidate</span>
<span class="pl-ent">session_fixation_strategy</span>: <span class="pl-s">migrate</span>
<span class="pl-ent">hide_user_not_found</span>: <span class="pl-c1">true</span>
<span class="pl-ent">always_authenticate_before_granting</span>: <span class="pl-c1">false</span>
<span class="pl-ent">erase_credentials</span>: <span class="pl-c1">true</span>
<span class="pl-ent">access_decision_manager</span>:
<span class="pl-ent">strategy</span>: <span class="pl-s">affirmative</span>
<span class="pl-ent">allow_if_all_abstain</span>: <span class="pl-c1">false</span>
<span class="pl-ent">allow_if_equal_granted_denied</span>: <span class="pl-c1">true</span>
<span class="pl-ent">acl</span>:
<span class="pl-c"><span class="pl-c">#</span> any name configured in doctrine.dbal section</span>
<span class="pl-ent">connection</span>: <span class="pl-c1">null</span>
<span class="pl-ent">cache</span>:
<span class="pl-ent">id</span>: <span class="pl-c1">~</span>
<span class="pl-ent">prefix</span>: <span class="pl-s">sf2_acl_</span>
<span class="pl-ent">provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">tables</span>:
<span class="pl-ent">class</span>: <span class="pl-s">acl_classes</span>
<span class="pl-ent">entry</span>: <span class="pl-s">acl_entries</span>
<span class="pl-ent">object_identity</span>: <span class="pl-s">acl_object_identities</span>
<span class="pl-ent">object_identity_ancestors</span>: <span class="pl-s">acl_object_identity_ancestors</span>
<span class="pl-ent">security_identity</span>: <span class="pl-s">acl_security_identities</span>
<span class="pl-ent">voter</span>:
<span class="pl-ent">allow_if_object_identity_unavailable</span>: <span class="pl-c1">true</span>
<span class="pl-ent">encoders</span>:
<span class="pl-c"><span class="pl-c">#</span> Examples:</span>
<span class="pl-ent">Acme\DemoBundle\Entity\User1</span>: <span class="pl-s">sha512</span>
<span class="pl-ent">Acme\DemoBundle\Entity\User2</span>:
<span class="pl-ent">algorithm</span>: <span class="pl-s">sha512</span>
<span class="pl-ent">encode_as_base64</span>: <span class="pl-c1">true</span>
<span class="pl-ent">iterations</span>: <span class="pl-c1">5000</span>
<span class="pl-c"><span class="pl-c">#</span> Prototype</span>
<span class="pl-ent">class</span>:
<span class="pl-ent">algorithm</span>: <span class="pl-c1">~</span>
<span class="pl-c"><span class="pl-c">#</span> Name of hashing algorithm for PBKDF2 (i.e. sha256, sha512, etc..) See hash_algos() for a list of supported algorithms.</span>
<span class="pl-ent">hash_algorithm</span>: <span class="pl-s">sha512</span>
<span class="pl-ent">key_length</span>: <span class="pl-c1">40</span>
<span class="pl-ent">ignore_case</span>: <span class="pl-c1">false</span>
<span class="pl-ent">encode_as_base64</span>: <span class="pl-c1">true</span>
<span class="pl-ent">iterations</span>: <span class="pl-c1">5000</span>
<span class="pl-ent">cost</span>: <span class="pl-c1">13</span>
<span class="pl-ent">id</span>: <span class="pl-c1">~</span>
<span class="pl-ent">providers</span>: <span class="pl-c"><span class="pl-c">#</span> Required</span>
<span class="pl-c"><span class="pl-c">#</span> Examples:</span>
<span class="pl-ent">my_memory_provider</span>:
<span class="pl-ent">memory</span>:
<span class="pl-ent">users</span>:
<span class="pl-ent">foo</span>:
<span class="pl-ent">password</span>: <span class="pl-s">foo</span>
<span class="pl-ent">roles</span>: <span class="pl-s">ROLE_USER</span>
<span class="pl-ent">bar</span>:
<span class="pl-ent">password</span>: <span class="pl-s">bar</span>
<span class="pl-ent">roles</span>: <span class="pl-s">[ROLE_USER, ROLE_ADMIN]</span>
<span class="pl-ent">my_entity_provider</span>:
<span class="pl-ent">entity</span>:
<span class="pl-ent">class</span>: <span class="pl-s">SecurityBundle:User</span>
<span class="pl-ent">property</span>: <span class="pl-s">username</span>
<span class="pl-c"><span class="pl-c">#</span> Prototype</span>
<span class="pl-ent">name</span>:
<span class="pl-ent">id</span>: <span class="pl-c1">~</span>
<span class="pl-ent">chain</span>:
<span class="pl-ent">providers</span>: <span class="pl-s">[]</span>
<span class="pl-ent">firewalls</span>: <span class="pl-c"><span class="pl-c">#</span> Required</span>
<span class="pl-c"><span class="pl-c">#</span> Prototype</span>
<span class="pl-ent">name</span>:
<span class="pl-ent">pattern</span>: <span class="pl-c1">~</span>
<span class="pl-ent">host</span>: <span class="pl-c1">~</span>
<span class="pl-ent">methods</span>: <span class="pl-s">[]</span>
<span class="pl-ent">security</span>: <span class="pl-c1">true</span>
<span class="pl-ent">request_matcher</span>: <span class="pl-c1">~</span>
<span class="pl-ent">access_denied_url</span>: <span class="pl-c1">~</span>
<span class="pl-ent">access_denied_handler</span>: <span class="pl-c1">~</span>
<span class="pl-ent">entry_point</span>: <span class="pl-c1">~</span>
<span class="pl-ent">provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">stateless</span>: <span class="pl-c1">false</span>
<span class="pl-ent">context</span>: <span class="pl-c1">~</span>
<span class="pl-ent">logout</span>:
<span class="pl-ent">csrf_parameter</span>: <span class="pl-s">_csrf_token</span>
<span class="pl-ent">csrf_token_generator</span>: <span class="pl-c1">~</span>
<span class="pl-ent">csrf_token_id</span>: <span class="pl-s">logout</span>
<span class="pl-ent">path</span>: <span class="pl-s">/logout</span>
<span class="pl-ent">target</span>: <span class="pl-s">/</span>
<span class="pl-ent">success_handler</span>: <span class="pl-c1">~</span>
<span class="pl-ent">invalidate_session</span>: <span class="pl-c1">true</span>
<span class="pl-ent">delete_cookies</span>:
<span class="pl-c"><span class="pl-c">#</span> Prototype</span>
<span class="pl-ent">name</span>:
<span class="pl-ent">path</span>: <span class="pl-c1">null</span>
<span class="pl-ent">domain</span>: <span class="pl-c1">null</span>
<span class="pl-ent">handlers</span>: <span class="pl-s">[]</span>
<span class="pl-ent">anonymous</span>:
<span class="pl-ent">key</span>: <span class="pl-s">538c9e213ae18</span>
<span class="pl-ent">switch_user</span>:
<span class="pl-ent">provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">parameter</span>: <span class="pl-s">_switch_user</span>
<span class="pl-ent">role</span>: <span class="pl-s">ROLE_ALLOWED_TO_SWITCH</span>
<span class="pl-ent">access_control</span>:
<span class="pl-ent">requires_channel</span>: <span class="pl-c1">null</span>
<span class="pl-c"><span class="pl-c">#</span> use the urldecoded format</span>
<span class="pl-ent">path</span>: <span class="pl-s">null </span><span class="pl-c"><span class="pl-c">#</span> Example: ^/path to resource/</span>
<span class="pl-ent">host</span>: <span class="pl-c1">null</span>
<span class="pl-ent">ips</span>: <span class="pl-s">[]</span>
<span class="pl-ent">methods</span>: <span class="pl-s">[]</span>
<span class="pl-ent">allow_if</span>: <span class="pl-c1">null</span>
<span class="pl-ent">roles</span>: <span class="pl-s">[]</span>
<span class="pl-ent">role_hierarchy</span>:
<span class="pl-c"><span class="pl-c">#</span> Prototype</span>
<span class="pl-ent">id</span>: <span class="pl-s">[]</span></pre></div>
<h1 dir="auto">After clearing the cache</h1>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Default configuration for "SecurityBundle"
security:
access_denied_url: null # Example: /foo/error403
# strategy can be: none, migrate, invalidate
session_fixation_strategy: migrate
hide_user_not_found: true
always_authenticate_before_granting: false
erase_credentials: true
access_decision_manager:
strategy: affirmative
allow_if_all_abstain: false
allow_if_equal_granted_denied: true
acl:
# any name configured in doctrine.dbal section
connection: null
cache:
id: ~
prefix: sf2_acl_
provider: ~
tables:
class: acl_classes
entry: acl_entries
object_identity: acl_object_identities
object_identity_ancestors: acl_object_identity_ancestors
security_identity: acl_security_identities
voter:
allow_if_object_identity_unavailable: true
encoders:
# Examples:
Acme\DemoBundle\Entity\User1: sha512
Acme\DemoBundle\Entity\User2:
algorithm: sha512
encode_as_base64: true
iterations: 5000
# Prototype
class:
algorithm: ~
# Name of hashing algorithm for PBKDF2 (i.e. sha256, sha512, etc..) See hash_algos() for a list of supported algorithms.
hash_algorithm: sha512
key_length: 40
ignore_case: false
encode_as_base64: true
iterations: 5000
cost: 13
id: ~
providers: # Required
# Examples:
my_memory_provider:
memory:
users:
foo:
password: foo
roles: ROLE_USER
bar:
password: bar
roles: [ROLE_USER, ROLE_ADMIN]
my_entity_provider:
entity:
class: SecurityBundle:User
property: username
# Prototype
name:
id: ~
chain:
providers: []
memory:
users:
# Prototype
name:
password: 538c9e35acffa
roles: []
entity:
class: ~ # Required
property: null
manager_name: null
firewalls: # Required
# Prototype
name:
pattern: ~
host: ~
methods: []
security: true
request_matcher: ~
access_denied_url: ~
access_denied_handler: ~
entry_point: ~
provider: ~
stateless: false
context: ~
logout:
csrf_parameter: _csrf_token
csrf_token_generator: ~
csrf_token_id: logout
path: /logout
target: /
success_handler: ~
invalidate_session: true
delete_cookies:
# Prototype
name:
path: null
domain: null
handlers: []
anonymous:
key: 538c9e35ad418
switch_user:
provider: ~
parameter: _switch_user
role: ROLE_ALLOWED_TO_SWITCH
x509:
provider: ~
user: SSL_CLIENT_S_DN_Email
credentials: SSL_CLIENT_S_DN
simple_preauth:
provider: ~
authenticator: ~
fr3d_ldap: []
cas:
provider: ~
remember_me: true
success_handler: ~
failure_handler: ~
check_path: null
use_forward: false
require_previous_session: true
# domain name of the cas application
cas_server: ~ # Required
# port to use when connecting to the CAS application. Defaults to 443.
cas_port: 443
# path to the certification authority that issued the certificate for your authentication server.
ca_certificate: ~ # Required
# will be used to trigger the redirection to CAS
login_path: ~ # Required
always_use_default_target_path: false
default_target_path: /
target_path_parameter: _target_path
use_referer: false
failure_path: null
failure_forward: false
failure_path_parameter: _failure_path
form_login:
provider: ~
remember_me: true
success_handler: ~
failure_handler: ~
check_path: /login_check
use_forward: false
require_previous_session: true
username_parameter: _username
password_parameter: _password
csrf_parameter: _csrf_token
intention: authenticate
post_only: true
always_use_default_target_path: false
default_target_path: /
login_path: /login
target_path_parameter: _target_path
use_referer: false
failure_path: null
failure_forward: false
failure_path_parameter: _failure_path
csrf_provider: ~
simple_form:
provider: ~
remember_me: true
success_handler: ~
failure_handler: ~
check_path: /login_check
use_forward: false
require_previous_session: true
username_parameter: _username
password_parameter: _password
csrf_parameter: _csrf_token
intention: authenticate
post_only: true
authenticator: ~
always_use_default_target_path: false
default_target_path: /
login_path: /login
target_path_parameter: _target_path
use_referer: false
failure_path: null
failure_forward: false
failure_path_parameter: _failure_path
csrf_provider: ~
http_basic:
provider: ~
realm: 'Secured Area'
http_digest:
provider: ~
realm: 'Secured Area'
key: ~ # Required
remember_me:
key: ~ # Required
token_provider: ~
user_providers: []
name: REMEMBERME
lifetime: 31536000
path: /
domain: null
secure: false
httponly: true
always_remember_me: false
remember_me_parameter: _remember_me
access_control:
requires_channel: null
# use the urldecoded format
path: null # Example: ^/path to resource/
host: null
ips: []
methods: []
allow_if: null
roles: []
role_hierarchy:
# Prototype
id: []
"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> Default configuration for "SecurityBundle"</span>
<span class="pl-ent">security</span>:
<span class="pl-ent">access_denied_url</span>: <span class="pl-s">null </span><span class="pl-c"><span class="pl-c">#</span> Example: /foo/error403</span>
<span class="pl-c"><span class="pl-c">#</span> strategy can be: none, migrate, invalidate</span>
<span class="pl-ent">session_fixation_strategy</span>: <span class="pl-s">migrate</span>
<span class="pl-ent">hide_user_not_found</span>: <span class="pl-c1">true</span>
<span class="pl-ent">always_authenticate_before_granting</span>: <span class="pl-c1">false</span>
<span class="pl-ent">erase_credentials</span>: <span class="pl-c1">true</span>
<span class="pl-ent">access_decision_manager</span>:
<span class="pl-ent">strategy</span>: <span class="pl-s">affirmative</span>
<span class="pl-ent">allow_if_all_abstain</span>: <span class="pl-c1">false</span>
<span class="pl-ent">allow_if_equal_granted_denied</span>: <span class="pl-c1">true</span>
<span class="pl-ent">acl</span>:
<span class="pl-c"><span class="pl-c">#</span> any name configured in doctrine.dbal section</span>
<span class="pl-ent">connection</span>: <span class="pl-c1">null</span>
<span class="pl-ent">cache</span>:
<span class="pl-ent">id</span>: <span class="pl-c1">~</span>
<span class="pl-ent">prefix</span>: <span class="pl-s">sf2_acl_</span>
<span class="pl-ent">provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">tables</span>:
<span class="pl-ent">class</span>: <span class="pl-s">acl_classes</span>
<span class="pl-ent">entry</span>: <span class="pl-s">acl_entries</span>
<span class="pl-ent">object_identity</span>: <span class="pl-s">acl_object_identities</span>
<span class="pl-ent">object_identity_ancestors</span>: <span class="pl-s">acl_object_identity_ancestors</span>
<span class="pl-ent">security_identity</span>: <span class="pl-s">acl_security_identities</span>
<span class="pl-ent">voter</span>:
<span class="pl-ent">allow_if_object_identity_unavailable</span>: <span class="pl-c1">true</span>
<span class="pl-ent">encoders</span>:
<span class="pl-c"><span class="pl-c">#</span> Examples:</span>
<span class="pl-ent">Acme\DemoBundle\Entity\User1</span>: <span class="pl-s">sha512</span>
<span class="pl-ent">Acme\DemoBundle\Entity\User2</span>:
<span class="pl-ent">algorithm</span>: <span class="pl-s">sha512</span>
<span class="pl-ent">encode_as_base64</span>: <span class="pl-c1">true</span>
<span class="pl-ent">iterations</span>: <span class="pl-c1">5000</span>
<span class="pl-c"><span class="pl-c">#</span> Prototype</span>
<span class="pl-ent">class</span>:
<span class="pl-ent">algorithm</span>: <span class="pl-c1">~</span>
<span class="pl-c"><span class="pl-c">#</span> Name of hashing algorithm for PBKDF2 (i.e. sha256, sha512, etc..) See hash_algos() for a list of supported algorithms.</span>
<span class="pl-ent">hash_algorithm</span>: <span class="pl-s">sha512</span>
<span class="pl-ent">key_length</span>: <span class="pl-c1">40</span>
<span class="pl-ent">ignore_case</span>: <span class="pl-c1">false</span>
<span class="pl-ent">encode_as_base64</span>: <span class="pl-c1">true</span>
<span class="pl-ent">iterations</span>: <span class="pl-c1">5000</span>
<span class="pl-ent">cost</span>: <span class="pl-c1">13</span>
<span class="pl-ent">id</span>: <span class="pl-c1">~</span>
<span class="pl-ent">providers</span>: <span class="pl-c"><span class="pl-c">#</span> Required</span>
<span class="pl-c"><span class="pl-c">#</span> Examples:</span>
<span class="pl-ent">my_memory_provider</span>:
<span class="pl-ent">memory</span>:
<span class="pl-ent">users</span>:
<span class="pl-ent">foo</span>:
<span class="pl-ent">password</span>: <span class="pl-s">foo</span>
<span class="pl-ent">roles</span>: <span class="pl-s">ROLE_USER</span>
<span class="pl-ent">bar</span>:
<span class="pl-ent">password</span>: <span class="pl-s">bar</span>
<span class="pl-ent">roles</span>: <span class="pl-s">[ROLE_USER, ROLE_ADMIN]</span>
<span class="pl-ent">my_entity_provider</span>:
<span class="pl-ent">entity</span>:
<span class="pl-ent">class</span>: <span class="pl-s">SecurityBundle:User</span>
<span class="pl-ent">property</span>: <span class="pl-s">username</span>
<span class="pl-c"><span class="pl-c">#</span> Prototype</span>
<span class="pl-ent">name</span>:
<span class="pl-ent">id</span>: <span class="pl-c1">~</span>
<span class="pl-ent">chain</span>:
<span class="pl-ent">providers</span>: <span class="pl-s">[]</span>
<span class="pl-ent">memory</span>:
<span class="pl-ent">users</span>:
<span class="pl-c"><span class="pl-c">#</span> Prototype</span>
<span class="pl-ent">name</span>:
<span class="pl-ent">password</span>: <span class="pl-s">538c9e35acffa</span>
<span class="pl-ent">roles</span>: <span class="pl-s">[]</span>
<span class="pl-ent">entity</span>:
<span class="pl-ent">class</span>: ~ <span class="pl-c"><span class="pl-c">#</span> Required</span>
<span class="pl-ent">property</span>: <span class="pl-c1">null</span>
<span class="pl-ent">manager_name</span>: <span class="pl-c1">null</span>
<span class="pl-ent">firewalls</span>: <span class="pl-c"><span class="pl-c">#</span> Required</span>
<span class="pl-c"><span class="pl-c">#</span> Prototype</span>
<span class="pl-ent">name</span>:
<span class="pl-ent">pattern</span>: <span class="pl-c1">~</span>
<span class="pl-ent">host</span>: <span class="pl-c1">~</span>
<span class="pl-ent">methods</span>: <span class="pl-s">[]</span>
<span class="pl-ent">security</span>: <span class="pl-c1">true</span>
<span class="pl-ent">request_matcher</span>: <span class="pl-c1">~</span>
<span class="pl-ent">access_denied_url</span>: <span class="pl-c1">~</span>
<span class="pl-ent">access_denied_handler</span>: <span class="pl-c1">~</span>
<span class="pl-ent">entry_point</span>: <span class="pl-c1">~</span>
<span class="pl-ent">provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">stateless</span>: <span class="pl-c1">false</span>
<span class="pl-ent">context</span>: <span class="pl-c1">~</span>
<span class="pl-ent">logout</span>:
<span class="pl-ent">csrf_parameter</span>: <span class="pl-s">_csrf_token</span>
<span class="pl-ent">csrf_token_generator</span>: <span class="pl-c1">~</span>
<span class="pl-ent">csrf_token_id</span>: <span class="pl-s">logout</span>
<span class="pl-ent">path</span>: <span class="pl-s">/logout</span>
<span class="pl-ent">target</span>: <span class="pl-s">/</span>
<span class="pl-ent">success_handler</span>: <span class="pl-c1">~</span>
<span class="pl-ent">invalidate_session</span>: <span class="pl-c1">true</span>
<span class="pl-ent">delete_cookies</span>:
<span class="pl-c"><span class="pl-c">#</span> Prototype</span>
<span class="pl-ent">name</span>:
<span class="pl-ent">path</span>: <span class="pl-c1">null</span>
<span class="pl-ent">domain</span>: <span class="pl-c1">null</span>
<span class="pl-ent">handlers</span>: <span class="pl-s">[]</span>
<span class="pl-ent">anonymous</span>:
<span class="pl-ent">key</span>: <span class="pl-s">538c9e35ad418</span>
<span class="pl-ent">switch_user</span>:
<span class="pl-ent">provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">parameter</span>: <span class="pl-s">_switch_user</span>
<span class="pl-ent">role</span>: <span class="pl-s">ROLE_ALLOWED_TO_SWITCH</span>
<span class="pl-ent">x509</span>:
<span class="pl-ent">provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">user</span>: <span class="pl-s">SSL_CLIENT_S_DN_Email</span>
<span class="pl-ent">credentials</span>: <span class="pl-s">SSL_CLIENT_S_DN</span>
<span class="pl-ent">simple_preauth</span>:
<span class="pl-ent">provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">authenticator</span>: <span class="pl-c1">~</span>
<span class="pl-ent">fr3d_ldap</span>: <span class="pl-s">[]</span>
<span class="pl-ent">cas</span>:
<span class="pl-ent">provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">remember_me</span>: <span class="pl-c1">true</span>
<span class="pl-ent">success_handler</span>: <span class="pl-c1">~</span>
<span class="pl-ent">failure_handler</span>: <span class="pl-c1">~</span>
<span class="pl-ent">check_path</span>: <span class="pl-c1">null</span>
<span class="pl-ent">use_forward</span>: <span class="pl-c1">false</span>
<span class="pl-ent">require_previous_session</span>: <span class="pl-c1">true</span>
<span class="pl-c"><span class="pl-c">#</span> domain name of the cas application</span>
<span class="pl-ent">cas_server</span>: ~ <span class="pl-c"><span class="pl-c">#</span> Required</span>
<span class="pl-c"><span class="pl-c">#</span> port to use when connecting to the CAS application. Defaults to 443.</span>
<span class="pl-ent">cas_port</span>: <span class="pl-c1">443</span>
<span class="pl-c"><span class="pl-c">#</span> path to the certification authority that issued the certificate for your authentication server.</span>
<span class="pl-ent">ca_certificate</span>: ~ <span class="pl-c"><span class="pl-c">#</span> Required</span>
<span class="pl-c"><span class="pl-c">#</span> will be used to trigger the redirection to CAS</span>
<span class="pl-ent">login_path</span>: ~ <span class="pl-c"><span class="pl-c">#</span> Required</span>
<span class="pl-ent">always_use_default_target_path</span>: <span class="pl-c1">false</span>
<span class="pl-ent">default_target_path</span>: <span class="pl-s">/</span>
<span class="pl-ent">target_path_parameter</span>: <span class="pl-s">_target_path</span>
<span class="pl-ent">use_referer</span>: <span class="pl-c1">false</span>
<span class="pl-ent">failure_path</span>: <span class="pl-c1">null</span>
<span class="pl-ent">failure_forward</span>: <span class="pl-c1">false</span>
<span class="pl-ent">failure_path_parameter</span>: <span class="pl-s">_failure_path</span>
<span class="pl-ent">form_login</span>:
<span class="pl-ent">provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">remember_me</span>: <span class="pl-c1">true</span>
<span class="pl-ent">success_handler</span>: <span class="pl-c1">~</span>
<span class="pl-ent">failure_handler</span>: <span class="pl-c1">~</span>
<span class="pl-ent">check_path</span>: <span class="pl-s">/login_check</span>
<span class="pl-ent">use_forward</span>: <span class="pl-c1">false</span>
<span class="pl-ent">require_previous_session</span>: <span class="pl-c1">true</span>
<span class="pl-ent">username_parameter</span>: <span class="pl-s">_username</span>
<span class="pl-ent">password_parameter</span>: <span class="pl-s">_password</span>
<span class="pl-ent">csrf_parameter</span>: <span class="pl-s">_csrf_token</span>
<span class="pl-ent">intention</span>: <span class="pl-s">authenticate</span>
<span class="pl-ent">post_only</span>: <span class="pl-c1">true</span>
<span class="pl-ent">always_use_default_target_path</span>: <span class="pl-c1">false</span>
<span class="pl-ent">default_target_path</span>: <span class="pl-s">/</span>
<span class="pl-ent">login_path</span>: <span class="pl-s">/login</span>
<span class="pl-ent">target_path_parameter</span>: <span class="pl-s">_target_path</span>
<span class="pl-ent">use_referer</span>: <span class="pl-c1">false</span>
<span class="pl-ent">failure_path</span>: <span class="pl-c1">null</span>
<span class="pl-ent">failure_forward</span>: <span class="pl-c1">false</span>
<span class="pl-ent">failure_path_parameter</span>: <span class="pl-s">_failure_path</span>
<span class="pl-ent">csrf_provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">simple_form</span>:
<span class="pl-ent">provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">remember_me</span>: <span class="pl-c1">true</span>
<span class="pl-ent">success_handler</span>: <span class="pl-c1">~</span>
<span class="pl-ent">failure_handler</span>: <span class="pl-c1">~</span>
<span class="pl-ent">check_path</span>: <span class="pl-s">/login_check</span>
<span class="pl-ent">use_forward</span>: <span class="pl-c1">false</span>
<span class="pl-ent">require_previous_session</span>: <span class="pl-c1">true</span>
<span class="pl-ent">username_parameter</span>: <span class="pl-s">_username</span>
<span class="pl-ent">password_parameter</span>: <span class="pl-s">_password</span>
<span class="pl-ent">csrf_parameter</span>: <span class="pl-s">_csrf_token</span>
<span class="pl-ent">intention</span>: <span class="pl-s">authenticate</span>
<span class="pl-ent">post_only</span>: <span class="pl-c1">true</span>
<span class="pl-ent">authenticator</span>: <span class="pl-c1">~</span>
<span class="pl-ent">always_use_default_target_path</span>: <span class="pl-c1">false</span>
<span class="pl-ent">default_target_path</span>: <span class="pl-s">/</span>
<span class="pl-ent">login_path</span>: <span class="pl-s">/login</span>
<span class="pl-ent">target_path_parameter</span>: <span class="pl-s">_target_path</span>
<span class="pl-ent">use_referer</span>: <span class="pl-c1">false</span>
<span class="pl-ent">failure_path</span>: <span class="pl-c1">null</span>
<span class="pl-ent">failure_forward</span>: <span class="pl-c1">false</span>
<span class="pl-ent">failure_path_parameter</span>: <span class="pl-s">_failure_path</span>
<span class="pl-ent">csrf_provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">http_basic</span>:
<span class="pl-ent">provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">realm</span>: <span class="pl-s"><span class="pl-pds">'</span>Secured Area<span class="pl-pds">'</span></span>
<span class="pl-ent">http_digest</span>:
<span class="pl-ent">provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">realm</span>: <span class="pl-s"><span class="pl-pds">'</span>Secured Area<span class="pl-pds">'</span></span>
<span class="pl-ent">key</span>: ~ <span class="pl-c"><span class="pl-c">#</span> Required</span>
<span class="pl-ent">remember_me</span>:
<span class="pl-ent">key</span>: ~ <span class="pl-c"><span class="pl-c">#</span> Required</span>
<span class="pl-ent">token_provider</span>: <span class="pl-c1">~</span>
<span class="pl-ent">user_providers</span>: <span class="pl-s">[]</span>
<span class="pl-ent">name</span>: <span class="pl-s">REMEMBERME</span>
<span class="pl-ent">lifetime</span>: <span class="pl-c1">31536000</span>
<span class="pl-ent">path</span>: <span class="pl-s">/</span>
<span class="pl-ent">domain</span>: <span class="pl-c1">null</span>
<span class="pl-ent">secure</span>: <span class="pl-c1">false</span>
<span class="pl-ent">httponly</span>: <span class="pl-c1">true</span>
<span class="pl-ent">always_remember_me</span>: <span class="pl-c1">false</span>
<span class="pl-ent">remember_me_parameter</span>: <span class="pl-s">_remember_me</span>
<span class="pl-ent">access_control</span>:
<span class="pl-ent">requires_channel</span>: <span class="pl-c1">null</span>
<span class="pl-c"><span class="pl-c">#</span> use the urldecoded format</span>
<span class="pl-ent">path</span>: <span class="pl-s">null </span><span class="pl-c"><span class="pl-c">#</span> Example: ^/path to resource/</span>
<span class="pl-ent">host</span>: <span class="pl-c1">null</span>
<span class="pl-ent">ips</span>: <span class="pl-s">[]</span>
<span class="pl-ent">methods</span>: <span class="pl-s">[]</span>
<span class="pl-ent">allow_if</span>: <span class="pl-c1">null</span>
<span class="pl-ent">roles</span>: <span class="pl-s">[]</span>
<span class="pl-ent">role_hierarchy</span>:
<span class="pl-c"><span class="pl-c">#</span> Prototype</span>
<span class="pl-ent">id</span>: <span class="pl-s">[]</span>
</pre></div>
<h1 dir="auto">Diff</h1>
<div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="72a73,83
> memory:
> users:
>
> # Prototype
> name:
> password: 538c9e35acffa
> roles: []
> entity:
> class: ~ # Required
> property: null
> manager_name: null
104c115
< key: 538c9e213ae18
---
> key: 538c9e35ad418
108a120,218
> x509:
> provider: ~
> user: SSL_CLIENT_S_DN_Email
> credentials: SSL_CLIENT_S_DN
> simple_preauth:
> provider: ~
> authenticator: ~
> fr3d_ldap: []
> cas:
> provider: ~
> remember_me: true
> success_handler: ~
> failure_handler: ~
> check_path: null
> use_forward: false
> require_previous_session: true
>
> # domain name of the cas application
> cas_server: ~ # Required
>
> # port to use when connecting to the CAS application. Defaults to 443.
> cas_port: 443
>
> # path to the certification authority that issued the certificate for your authentication server.
> ca_certificate: ~ # Required
>
> # will be used to trigger the redirection to CAS
> login_path: ~ # Required
> always_use_default_target_path: false
> default_target_path: /
> target_path_parameter: _target_path
> use_referer: false
> failure_path: null
> failure_forward: false
> failure_path_parameter: _failure_path
> form_login:
> provider: ~
> remember_me: true
> success_handler: ~
> failure_handler: ~
> check_path: /login_check
> use_forward: false
> require_previous_session: true
> username_parameter: _username
> password_parameter: _password
> csrf_parameter: _csrf_token
> intention: authenticate
> post_only: true
> always_use_default_target_path: false
> default_target_path: /
> login_path: /login
> target_path_parameter: _target_path
> use_referer: false
> failure_path: null
> failure_forward: false
> failure_path_parameter: _failure_path
> csrf_provider: ~
> simple_form:
> provider: ~
> remember_me: true
> success_handler: ~
> failure_handler: ~
> check_path: /login_check
> use_forward: false
> require_previous_session: true
> username_parameter: _username
> password_parameter: _password
> csrf_parameter: _csrf_token
> intention: authenticate
> post_only: true
> authenticator: ~
> always_use_default_target_path: false
> default_target_path: /
> login_path: /login
> target_path_parameter: _target_path
> use_referer: false
> failure_path: null
> failure_forward: false
> failure_path_parameter: _failure_path
> csrf_provider: ~
> http_basic:
> provider: ~
> realm: 'Secured Area'
> http_digest:
> provider: ~
> realm: 'Secured Area'
> key: ~ # Required
> remember_me:
> key: ~ # Required
> token_provider: ~
> user_providers: []
> name: REMEMBERME
> lifetime: 31536000
> path: /
> domain: null
> secure: false
> httponly: true
> always_remember_me: false
> remember_me_parameter: _remember_me
"><pre class="notranslate"><span class="pl-mdr">72a73,83</span>
<span class="pl-mi1"><span class="pl-mi1">></span> memory:</span>
<span class="pl-mi1"><span class="pl-mi1">></span> users:</span>
<span class="pl-mi1"><span class="pl-mi1">></span> </span>
<span class="pl-mi1"><span class="pl-mi1">></span> # Prototype</span>
<span class="pl-mi1"><span class="pl-mi1">></span> name:</span>
<span class="pl-mi1"><span class="pl-mi1">></span> password: 538c9e35acffa</span>
<span class="pl-mi1"><span class="pl-mi1">></span> roles: []</span>
<span class="pl-mi1"><span class="pl-mi1">></span> entity:</span>
<span class="pl-mi1"><span class="pl-mi1">></span> class: ~ # Required</span>
<span class="pl-mi1"><span class="pl-mi1">></span> property: null</span>
<span class="pl-mi1"><span class="pl-mi1">></span> manager_name: null</span>
<span class="pl-mdr">104c115</span>
<span class="pl-md"><span class="pl-md"><</span> key: 538c9e213ae18</span>
<span class="pl-ms">---</span>
<span class="pl-mi1"><span class="pl-mi1">></span> key: 538c9e35ad418</span>
<span class="pl-mdr">108a120,218</span>
<span class="pl-mi1"><span class="pl-mi1">></span> x509:</span>
<span class="pl-mi1"><span class="pl-mi1">></span> provider: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> user: SSL_CLIENT_S_DN_Email</span>
<span class="pl-mi1"><span class="pl-mi1">></span> credentials: SSL_CLIENT_S_DN</span>
<span class="pl-mi1"><span class="pl-mi1">></span> simple_preauth:</span>
<span class="pl-mi1"><span class="pl-mi1">></span> provider: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> authenticator: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> fr3d_ldap: []</span>
<span class="pl-mi1"><span class="pl-mi1">></span> cas:</span>
<span class="pl-mi1"><span class="pl-mi1">></span> provider: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> remember_me: true</span>
<span class="pl-mi1"><span class="pl-mi1">></span> success_handler: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> failure_handler: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> check_path: null</span>
<span class="pl-mi1"><span class="pl-mi1">></span> use_forward: false</span>
<span class="pl-mi1"><span class="pl-mi1">></span> require_previous_session: true</span>
<span class="pl-mi1"><span class="pl-mi1">></span> </span>
<span class="pl-mi1"><span class="pl-mi1">></span> # domain name of the cas application</span>
<span class="pl-mi1"><span class="pl-mi1">></span> cas_server: ~ # Required</span>
<span class="pl-mi1"><span class="pl-mi1">></span> </span>
<span class="pl-mi1"><span class="pl-mi1">></span> # port to use when connecting to the CAS application. Defaults to 443.</span>
<span class="pl-mi1"><span class="pl-mi1">></span> cas_port: 443</span>
<span class="pl-mi1"><span class="pl-mi1">></span> </span>
<span class="pl-mi1"><span class="pl-mi1">></span> # path to the certification authority that issued the certificate for your authentication server.</span>
<span class="pl-mi1"><span class="pl-mi1">></span> ca_certificate: ~ # Required</span>
<span class="pl-mi1"><span class="pl-mi1">></span> </span>
<span class="pl-mi1"><span class="pl-mi1">></span> # will be used to trigger the redirection to CAS</span>
<span class="pl-mi1"><span class="pl-mi1">></span> login_path: ~ # Required</span>
<span class="pl-mi1"><span class="pl-mi1">></span> always_use_default_target_path: false</span>
<span class="pl-mi1"><span class="pl-mi1">></span> default_target_path: /</span>
<span class="pl-mi1"><span class="pl-mi1">></span> target_path_parameter: _target_path</span>
<span class="pl-mi1"><span class="pl-mi1">></span> use_referer: false</span>
<span class="pl-mi1"><span class="pl-mi1">></span> failure_path: null</span>
<span class="pl-mi1"><span class="pl-mi1">></span> failure_forward: false</span>
<span class="pl-mi1"><span class="pl-mi1">></span> failure_path_parameter: _failure_path</span>
<span class="pl-mi1"><span class="pl-mi1">></span> form_login:</span>
<span class="pl-mi1"><span class="pl-mi1">></span> provider: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> remember_me: true</span>
<span class="pl-mi1"><span class="pl-mi1">></span> success_handler: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> failure_handler: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> check_path: /login_check</span>
<span class="pl-mi1"><span class="pl-mi1">></span> use_forward: false</span>
<span class="pl-mi1"><span class="pl-mi1">></span> require_previous_session: true</span>
<span class="pl-mi1"><span class="pl-mi1">></span> username_parameter: _username</span>
<span class="pl-mi1"><span class="pl-mi1">></span> password_parameter: _password</span>
<span class="pl-mi1"><span class="pl-mi1">></span> csrf_parameter: _csrf_token</span>
<span class="pl-mi1"><span class="pl-mi1">></span> intention: authenticate</span>
<span class="pl-mi1"><span class="pl-mi1">></span> post_only: true</span>
<span class="pl-mi1"><span class="pl-mi1">></span> always_use_default_target_path: false</span>
<span class="pl-mi1"><span class="pl-mi1">></span> default_target_path: /</span>
<span class="pl-mi1"><span class="pl-mi1">></span> login_path: /login</span>
<span class="pl-mi1"><span class="pl-mi1">></span> target_path_parameter: _target_path</span>
<span class="pl-mi1"><span class="pl-mi1">></span> use_referer: false</span>
<span class="pl-mi1"><span class="pl-mi1">></span> failure_path: null</span>
<span class="pl-mi1"><span class="pl-mi1">></span> failure_forward: false</span>
<span class="pl-mi1"><span class="pl-mi1">></span> failure_path_parameter: _failure_path</span>
<span class="pl-mi1"><span class="pl-mi1">></span> csrf_provider: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> simple_form:</span>
<span class="pl-mi1"><span class="pl-mi1">></span> provider: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> remember_me: true</span>
<span class="pl-mi1"><span class="pl-mi1">></span> success_handler: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> failure_handler: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> check_path: /login_check</span>
<span class="pl-mi1"><span class="pl-mi1">></span> use_forward: false</span>
<span class="pl-mi1"><span class="pl-mi1">></span> require_previous_session: true</span>
<span class="pl-mi1"><span class="pl-mi1">></span> username_parameter: _username</span>
<span class="pl-mi1"><span class="pl-mi1">></span> password_parameter: _password</span>
<span class="pl-mi1"><span class="pl-mi1">></span> csrf_parameter: _csrf_token</span>
<span class="pl-mi1"><span class="pl-mi1">></span> intention: authenticate</span>
<span class="pl-mi1"><span class="pl-mi1">></span> post_only: true</span>
<span class="pl-mi1"><span class="pl-mi1">></span> authenticator: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> always_use_default_target_path: false</span>
<span class="pl-mi1"><span class="pl-mi1">></span> default_target_path: /</span>
<span class="pl-mi1"><span class="pl-mi1">></span> login_path: /login</span>
<span class="pl-mi1"><span class="pl-mi1">></span> target_path_parameter: _target_path</span>
<span class="pl-mi1"><span class="pl-mi1">></span> use_referer: false</span>
<span class="pl-mi1"><span class="pl-mi1">></span> failure_path: null</span>
<span class="pl-mi1"><span class="pl-mi1">></span> failure_forward: false</span>
<span class="pl-mi1"><span class="pl-mi1">></span> failure_path_parameter: _failure_path</span>
<span class="pl-mi1"><span class="pl-mi1">></span> csrf_provider: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> http_basic:</span>
<span class="pl-mi1"><span class="pl-mi1">></span> provider: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> realm: 'Secured Area'</span>
<span class="pl-mi1"><span class="pl-mi1">></span> http_digest:</span>
<span class="pl-mi1"><span class="pl-mi1">></span> provider: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> realm: 'Secured Area'</span>
<span class="pl-mi1"><span class="pl-mi1">></span> key: ~ # Required</span>
<span class="pl-mi1"><span class="pl-mi1">></span> remember_me:</span>
<span class="pl-mi1"><span class="pl-mi1">></span> key: ~ # Required</span>
<span class="pl-mi1"><span class="pl-mi1">></span> token_provider: ~</span>
<span class="pl-mi1"><span class="pl-mi1">></span> user_providers: []</span>
<span class="pl-mi1"><span class="pl-mi1">></span> name: REMEMBERME</span>
<span class="pl-mi1"><span class="pl-mi1">></span> lifetime: 31536000</span>
<span class="pl-mi1"><span class="pl-mi1">></span> path: /</span>
<span class="pl-mi1"><span class="pl-mi1">></span> domain: null</span>
<span class="pl-mi1"><span class="pl-mi1">></span> secure: false</span>
<span class="pl-mi1"><span class="pl-mi1">></span> httponly: true</span>
<span class="pl-mi1"><span class="pl-mi1">></span> always_remember_me: false</span>
<span class="pl-mi1"><span class="pl-mi1">></span> remember_me_parameter: _remember_me</span>
</pre></div> | 1 |
<p dir="auto">This test hasn't succeeded in the last 30 runs on GCE or GKE. Trying to figure out what's going on.</p> | <div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[k8s.io] Kubectl client
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework.go:420
[k8s.io] Simple pod
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework.go:420
should support exec through an HTTP proxy [It]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:458
Mar 23 15:38:18.838: Unexpected kubectl exec output. Wanted "running in container\n", got "Unable to connect to the server: http: error connecting to proxy http://10.245.3.6:8080: dial tcp 10.245.3.6:8080: i/o timeout\n"
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:446
------------------------------
Summarizing 1 Failure:
[Fail] [k8s.io] Kubectl client [k8s.io] Simple pod [It] should support exec through an HTTP proxy
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:446
Ran 159 of 266 Specs in 4598.064 seconds
FAIL! -- 158 Passed | 1 Failed | 0 Pending | 107 Skipped --- FAIL: TestE2E (4598.48s)
FAIL"><pre class="notranslate"><span class="pl-c1">[k8s.io] Kubectl client</span>
<span class="pl-c1">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework.go:420</span>
<span class="pl-c1"> [k8s.io] Simple pod</span>
<span class="pl-c1"> /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework.go:420</span>
<span class="pl-c1"> should support exec through an HTTP proxy [It]</span>
<span class="pl-c1"> /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:458</span>
<span class="pl-c1"> Mar 23 15:38:18.838: Unexpected kubectl exec output. Wanted "running in container\n", got "Unable to connect to the server: http: error connecting to proxy http://10.245.3.6:8080: dial tcp 10.245.3.6:8080: i/o timeout\n"</span>
<span class="pl-c1"> /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:446</span>
<span class="pl-c1">------------------------------</span>
<span class="pl-c1">Summarizing 1 Failure:</span>
<span class="pl-c1">[Fail] [k8s.io] Kubectl client [k8s.io] Simple pod [It] should support exec through an HTTP proxy </span>
<span class="pl-c1">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:446</span>
<span class="pl-c1">Ran 159 of 266 Specs in 4598.064 seconds</span>
<span class="pl-c1">FAIL! -- 158 Passed | 1 Failed | 0 Pending | 107 Skipped --- FAIL: TestE2E (4598.48s)</span>
<span class="pl-c1">FAIL</span></pre></div> | 0 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.