text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<p dir="auto">Flask will send 400 "Bad Request Version" if Flask send 401 or 403 response to Client without closing the http connection.</p> <ol dir="auto"> <li>Client POST text/xml message without "Basic Authorization"</li> <li>Server response 401, but don't send "HTTP: close"</li> <li>Client POST text/xml message again with "Basic Authorization"</li> <li>Server response 400 "Bad Request Version"</li> </ol> <p dir="auto">I wish Flask can handle the second POST correctly, And I have tested using another server, it works well.<br> Please the capture for details. And the partial code is as following(full code link:<a href="https://github.com/ballzb/pyacs">https://github.com/ballzb/pyacs</a> )</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@basic_auth.verify_password def verify_password(username, password): #app.logger.error(f&quot;username={username}, password={password}&quot;) if username==config['local']['username'] and password==config['local']['password']: return username else: g.current_user = username return False #username or password error @basic_auth.error_handler def auth_error(status_code): #app.logger.error(f&quot;status_code={status_code}, username={g.current_user}&quot;) if status_code == 401: if g.current_user: return cwmp.make_403_response() else: return cwmp.make_401_response(config['local']['authentication']) # return &quot;Access Denied&quot;, status_code @app.route('/acs', methods=['GET', 'POST']) @multi_auth.login_required def acs(): &quot;&quot;&quot; main tr069/acs entry point &quot;&quot;&quot; if request.method == 'GET': return DESCRIPTION if request.method != 'POST': return 'There is nothing to show' #app.logger.error(request.headers) # POST requests if request.content_type.find('text/xml')==-1: app.logger.error(f&quot;request.content_type={request.content_type}&quot;) return 'Wrong content type' result = cwmp.handle_request(request) if result: return result else: return DESCRIPTION"><pre class="notranslate"><span class="pl-en">@<span class="pl-s1">basic_auth</span>.<span class="pl-s1">verify_password</span></span> <span class="pl-k">def</span> <span class="pl-en">verify_password</span>(<span class="pl-s1">username</span>, <span class="pl-s1">password</span>): <span class="pl-c">#app.logger.error(f"username={username}, password={password}")</span> <span class="pl-k">if</span> <span class="pl-s1">username</span><span class="pl-c1">==</span><span class="pl-s1">config</span>[<span class="pl-s">'local'</span>][<span class="pl-s">'username'</span>] <span class="pl-c1">and</span> <span class="pl-s1">password</span><span class="pl-c1">==</span><span class="pl-s1">config</span>[<span class="pl-s">'local'</span>][<span class="pl-s">'password'</span>]: <span class="pl-k">return</span> <span class="pl-s1">username</span> <span class="pl-k">else</span>: <span class="pl-s1">g</span>.<span class="pl-s1">current_user</span> <span class="pl-c1">=</span> <span class="pl-s1">username</span> <span class="pl-k">return</span> <span class="pl-c1">False</span> <span class="pl-c">#username or password error</span> <span class="pl-en">@<span class="pl-s1">basic_auth</span>.<span class="pl-s1">error_handler</span></span> <span class="pl-k">def</span> <span class="pl-en">auth_error</span>(<span class="pl-s1">status_code</span>): <span class="pl-c">#app.logger.error(f"status_code={status_code}, username={g.current_user}")</span> <span class="pl-k">if</span> <span class="pl-s1">status_code</span> <span class="pl-c1">==</span> <span class="pl-c1">401</span>: <span class="pl-k">if</span> <span class="pl-s1">g</span>.<span class="pl-s1">current_user</span>: <span class="pl-k">return</span> <span class="pl-s1">cwmp</span>.<span class="pl-en">make_403_response</span>() <span class="pl-k">else</span>: <span class="pl-k">return</span> <span class="pl-s1">cwmp</span>.<span class="pl-en">make_401_response</span>(<span class="pl-s1">config</span>[<span class="pl-s">'local'</span>][<span class="pl-s">'authentication'</span>]) <span class="pl-c"># return "Access Denied", status_code</span> <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">route</span>(<span class="pl-s">'/acs'</span>, <span class="pl-s1">methods</span><span class="pl-c1">=</span>[<span class="pl-s">'GET'</span>, <span class="pl-s">'POST'</span>])</span> <span class="pl-en">@<span class="pl-s1">multi_auth</span>.<span class="pl-s1">login_required</span></span> <span class="pl-k">def</span> <span class="pl-en">acs</span>(): <span class="pl-s">""" main tr069/acs entry point """</span> <span class="pl-k">if</span> <span class="pl-s1">request</span>.<span class="pl-s1">method</span> <span class="pl-c1">==</span> <span class="pl-s">'GET'</span>: <span class="pl-k">return</span> <span class="pl-v">DESCRIPTION</span> <span class="pl-k">if</span> <span class="pl-s1">request</span>.<span class="pl-s1">method</span> <span class="pl-c1">!=</span> <span class="pl-s">'POST'</span>: <span class="pl-k">return</span> <span class="pl-s">'There is nothing to show'</span> <span class="pl-c">#app.logger.error(request.headers)</span> <span class="pl-c"># POST requests</span> <span class="pl-k">if</span> <span class="pl-s1">request</span>.<span class="pl-s1">content_type</span>.<span class="pl-en">find</span>(<span class="pl-s">'text/xml'</span>)<span class="pl-c1">==</span><span class="pl-c1">-</span><span class="pl-c1">1</span>: <span class="pl-s1">app</span>.<span class="pl-s1">logger</span>.<span class="pl-en">error</span>(<span class="pl-s">f"request.content_type=<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">request</span>.<span class="pl-s1">content_type</span><span class="pl-kos">}</span></span>"</span>) <span class="pl-k">return</span> <span class="pl-s">'Wrong content type'</span> <span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-s1">cwmp</span>.<span class="pl-en">handle_request</span>(<span class="pl-s1">request</span>) <span class="pl-k">if</span> <span class="pl-s1">result</span>: <span class="pl-k">return</span> <span class="pl-s1">result</span> <span class="pl-k">else</span>: <span class="pl-k">return</span> <span class="pl-v">DESCRIPTION</span></pre></div> <p dir="auto">Environment:</p> <ul dir="auto"> <li>Python version: 3.10</li> <li>Flask version: 2.1.1<br> <a href="https://github.com/pallets/flask/files/8499045/400.zip">400.zip</a></li> </ul>
<p dir="auto">With the following example:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from flask import Flask app = Flask(__name__) @app.route('/', methods=['POST']) def hello_world(): return 'Hello World!' if __name__ == '__main__': app.run()"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">flask</span> <span class="pl-k">import</span> <span class="pl-v">Flask</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">Flask</span>(<span class="pl-s1">__name__</span>) <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">route</span>(<span class="pl-s">'/'</span>, <span class="pl-s1">methods</span><span class="pl-c1">=</span>[<span class="pl-s">'POST'</span>])</span> <span class="pl-k">def</span> <span class="pl-en">hello_world</span>(): <span class="pl-k">return</span> <span class="pl-s">'Hello World!'</span> <span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">'__main__'</span>: <span class="pl-s1">app</span>.<span class="pl-en">run</span>()</pre></div> <p dir="auto">When you set the request body to <code class="notranslate">{}</code> with Postman or any HTTP clients, the first request will return 200, while the second request will return a 405 error response. The log shows the request method is <code class="notranslate">{}POST</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;{}POST / HTTP/1.1&quot; 405"><pre class="notranslate"><code class="notranslate">"{}POST / HTTP/1.1" 405 </code></pre></div> <p dir="auto">Notice the request body became the part of the request method.</p>
1
<h3 dir="auto">Is there an existing issue for this?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the existing issues</li> </ul> <h3 dir="auto">Current Behavior</h3> <p dir="auto">New lines in arguments supplied to <code class="notranslate">npx</code> are replaced with \n when reading via process.argv</p> <p dir="auto">So "<br> " becomes "\n". This behaviour is not reproducible if running a bin script directly in the command line (<code class="notranslate">./bin.js "$ARG"</code> and not <code class="notranslate">npx package-with-bin "$ARG"</code>)</p> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">New lines in process.argv args to be represented as "<br> "</p> <h3 dir="auto">Steps To Reproduce</h3> <ol dir="auto"> <li>bin.js:</li> </ol> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#!/usr/bin/env node const value = process.argv[2]; console.log(value);"><pre class="notranslate">#!/usr/bin/env node <span class="pl-k">const</span> <span class="pl-s1">value</span> <span class="pl-c1">=</span> <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">argv</span><span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <ol start="2" dir="auto"> <li>package.json:</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &quot;bin&quot; : { &quot;package-with-bin&quot;: &quot;./bin.js&quot; },"><pre class="notranslate"><code class="notranslate"> "bin" : { "package-with-bin": "./bin.js" }, </code></pre></div> <ol start="2" dir="auto"> <li>npm publish</li> <li>create a file with multiple lines</li> <li></li> </ol> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="npx package-with-bin &quot;$(cat multilinefile)&quot;"><pre class="notranslate">npx package-with-bin <span class="pl-s"><span class="pl-pds">"</span><span class="pl-s"><span class="pl-pds">$(</span>cat multilinefile<span class="pl-pds">)</span></span><span class="pl-pds">"</span></span></pre></div> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>OS: macOS Big Sur 11.3.1</li> <li>Node: v15.12.0</li> <li>npm: 7.8.0</li> </ul>
<h3 dir="auto">Brief</h3> <p dir="auto"><code class="notranslate">npx</code> and <code class="notranslate">npm exec</code> pass <em>ESCAPED</em> multiline string, instead of original string.</p> <h3 dir="auto">Is there an existing issue for this?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the existing issues</li> </ul> <h3 dir="auto">Current Behavior</h3> <div class="highlight highlight-text-adblock notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ npx cowsay -- &quot;$(node --version; npm --version)&quot; __________________ &lt; v14.16.0\n7.15.0 &gt; ------------------ \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||"><pre class="notranslate"><span class="pl-k">$</span> npx cowsay -- "<span class="pl-ii">$</span>(node --version; npm --version)" __________________ &lt; v14.16.0\n7.15.0 &gt; ------------------ \ <span class="pl-k">^</span>__<span class="pl-k">^</span> \ (oo)\_______ (__)\ )\/\ ||----w <span class="pl-k">|</span> || |<span class="pl-k">|</span></pre></div> <h3 dir="auto">Expected Behavior</h3> <div class="highlight highlight-text-adblock notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="cowsay &quot;$(node --version; npm --version)&quot; __________ / v14.16.0 \ \ 7.15.0 / ---------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||"><pre class="notranslate">cowsay "<span class="pl-k">$</span>(node --version; npm --version)" __________ / v14.16.0 \ \ 7.15.0 / ---------- \ <span class="pl-k">^</span>__<span class="pl-k">^</span> \ (oo)\_______ (__)\ )\/\ ||----w <span class="pl-k">|</span> || |<span class="pl-k">|</span></pre></div> <h3 dir="auto">Steps To Reproduce</h3> <ol dir="auto"> <li><code class="notranslate">docker run -it node /bin/bash</code></li> <li><code class="notranslate">npx cowsay "$(node --version; npm --version)"</code></li> </ol> <h3 dir="auto">Environment</h3> <p dir="auto">Docker: node</p> <ul dir="auto"> <li>OS: Debian GNU/Linux 9 (stretch)</li> <li>Node: v15.14.0 - v17.4.0</li> <li>npm: 7.7.6 - 8.3.1</li> </ul>
1
<p dir="auto">I am trying to</p> <p dir="auto"><code class="notranslate">import 'bootstrap/dist/css/bootstrap.min.css';</code></p> <p dir="auto">in my next.js project but I get following error</p> <p dir="auto"><code class="notranslate">Module parse failed: Unexpected token (6:3) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file</code></p> <p dir="auto">I have <code class="notranslate">next.config.js</code> file in root directory of project. It has this configuration</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// next.config.js const withCSS = require('@zeit/next-css'); module.exports = withCSS({ cssLoaderOptions: { url: false } });"><pre class="notranslate"><span class="pl-c">// next.config.js </span> <span class="pl-k">const</span> <span class="pl-s1">withCSS</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'@zeit/next-css'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-s1">withCSS</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">cssLoaderOptions</span>: <span class="pl-kos">{</span> <span class="pl-c1">url</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">I followed <a href="https://github.com/zeit/next.js/issues/299#issuecomment-474722259" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/299/hovercard">this comment</a> which apparentlyworks but not for me. Any ideas why?</p>
<h1 dir="auto">Bug report</h1> <h2 dir="auto">Describe the bug</h2> <p dir="auto">Importing a stylesheet from a package is not possible in a page, because next throws with this error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Global CSS cannot be imported from files other than your Custom &lt;App&gt;. Please move all global CSS imports to pages/_app.tsx. Read more: https://err.sh/next.js/css-global"><pre class="notranslate"><code class="notranslate">Global CSS cannot be imported from files other than your Custom &lt;App&gt;. Please move all global CSS imports to pages/_app.tsx. Read more: https://err.sh/next.js/css-global </code></pre></div> <p dir="auto">While I understand where this stems from, it makes code-splitting impossible. If I import a component from a component library, I need to import the CSS as well. There might be libraries that don't correctly scope their selectors, but that shouldn't stop me from overwriting this warning. CSS that is imported from a library isn't inherently "global".</p> <h2 dir="auto">To Reproduce</h2> <ol dir="auto"> <li><code class="notranslate">import "my-library/index.css"</code></li> <li><code class="notranslate">yarn dev</code></li> <li>I get the error from above</li> </ol> <h2 dir="auto">Expected behavior</h2> <p dir="auto">The file should be imported.</p> <p dir="auto">I see these possible solutions:</p> <ul dir="auto"> <li>Global flag in <code class="notranslate">next.config.js</code></li> <li>Comment annotation on import</li> <li>Warn instead of completely blocking it</li> <li>Check if the CSS only contains scoped selectors</li> </ul> <h2 dir="auto">Additional context</h2> <p dir="auto">There have been previous discussions about this.</p> <h3 dir="auto">From the <a href="https://nextjs.org/blog/next-9-2#built-in-css-support-for-global-stylesheets" rel="nofollow">blog</a></h3> <blockquote> <p dir="auto">Since stylesheets are global by nature, they must be imported in the Custom component. This is necessary to avoid class name and ordering conflicts for global styles.</p> </blockquote> <p dir="auto">I disagree with this statement, the reasoning being that an external library can use CSS modules and package them as a CSS file to import. Which is perfectly valid and common practice and <em>does not have side effects</em>.</p> <h3 dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="548628209" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/10059" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/10059/hovercard" href="https://github.com/vercel/next.js/issues/10059">#10059</a></h3> <p dir="auto">This issue got closed because the global import in <code class="notranslate">_app</code> is the correct choice there.<br> This <a href="https://github.com/zeit/next.js/issues/10059#issuecomment-607444285" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/10059/hovercard">comment</a> describes the exact problem, but there hasn't been any response, as the issue is closed. The comment got a lot of positive reactions though, so I suppose I'm not the only one with this problem.</p> <h3 dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="579347940" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/10975" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/10975/hovercard" href="https://github.com/vercel/next.js/issues/10975">#10975</a></h3> <p dir="auto">Seems to be unrelated.</p> <h3 dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="542414502" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/9830" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/9830/hovercard" href="https://github.com/vercel/next.js/issues/9830">#9830</a></h3> <p dir="auto">Might be related, but I'm not sure.</p> <h2 dir="auto">My use case</h2> <p dir="auto">I write long articles with a lot of custom artwork and interactive illustrations. Articles use private npm packages with react components that render SVG with quite a bit of CSS. These packages use CSS modules and export an <code class="notranslate">index.js</code> and <code class="notranslate">index.css</code>. Adding all the CSS files to <code class="notranslate">_app</code> causes all the CSS to be loaded, even if people are on the home page, the contact form, or any other article, even though it's 100% unused. It also goes against having the file system take care of your pages because almost every page corresponds to a CSS import in <code class="notranslate">_app</code>.</p>
1
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [21]: a = np.empty(shape=(0,0)) In [22]: np.lib.apply_along_axis(sum, 1, a) --------------------------------------------------------------------------- IndexError Traceback (most recent call last) &lt;ipython-input-22-2fcce4e707fd&gt; in &lt;module&gt;() ----&gt; 1 np.lib.apply_along_axis(sum, 1, a) myvirtualenv/lib/python2.7/site-packages/numpy-1.9.2-py2.7-linux-x86_64.egg/numpy/lib/shape_base.pyc in apply_along_axis(func1d, axis, arr, *args, **kwargs) 89 outshape = asarray(arr.shape).take(indlist) 90 i.put(indlist, ind) ---&gt; 91 res = func1d(arr[tuple(i.tolist())], *args, **kwargs) 92 # if res is a number, then we have a smaller output array 93 if isscalar(res): IndexError: index 0 is out of bounds for axis 0 with size 0"><pre class="notranslate"><code class="notranslate">In [21]: a = np.empty(shape=(0,0)) In [22]: np.lib.apply_along_axis(sum, 1, a) --------------------------------------------------------------------------- IndexError Traceback (most recent call last) &lt;ipython-input-22-2fcce4e707fd&gt; in &lt;module&gt;() ----&gt; 1 np.lib.apply_along_axis(sum, 1, a) myvirtualenv/lib/python2.7/site-packages/numpy-1.9.2-py2.7-linux-x86_64.egg/numpy/lib/shape_base.pyc in apply_along_axis(func1d, axis, arr, *args, **kwargs) 89 outshape = asarray(arr.shape).take(indlist) 90 i.put(indlist, ind) ---&gt; 91 res = func1d(arr[tuple(i.tolist())], *args, **kwargs) 92 # if res is a number, then we have a smaller output array 93 if isscalar(res): IndexError: index 0 is out of bounds for axis 0 with size 0 </code></pre></div>
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1261" rel="nofollow">http://projects.scipy.org/numpy/ticket/1261</a> on 2009-10-13 by trac user dpeterson, assigned to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rgommers/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rgommers">@rgommers</a>.</em></p> <p dir="auto">Sent to me via e-mail by Burkhard Neinhues:</p> <p dir="auto">I've been trying to compile numpy and scipy on HP-UX. I succeeded in the end, but some patches were required. I've also attached the results for numpy.test() to this email. Please find below the steps required to compile them, if you require the patches as separate files, please let me know.</p> <p dir="auto"><em>NUMPY</em>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# to have native support for lapack and blas export NUMPY_FCONFIG=&quot;config_fc --fcompiler=hpux&quot; export LAPACK=/opt/mlib/lib/pa20_64/liblapack.sl export BLAS=/opt/mlib/lib/pa20_64/libveclib.sl # I had to add several missing information to this file. Is there any option to configure for 32 or 64 bits support? # I've now hard-wired 64 bits"><pre class="notranslate"><code class="notranslate"># to have native support for lapack and blas export NUMPY_FCONFIG="config_fc --fcompiler=hpux" export LAPACK=/opt/mlib/lib/pa20_64/liblapack.sl export BLAS=/opt/mlib/lib/pa20_64/libveclib.sl # I had to add several missing information to this file. Is there any option to configure for 32 or 64 bits support? # I've now hard-wired 64 bits </code></pre></div> <p dir="auto">The file <code class="notranslate">parisc-numpy.patch</code> contains the patches. There are also some notes (as comments) in the file about why the various patches were done. Note that some of the changes support builds on additional platforms such as Solaris and AIX.</p> <p dir="auto">The file <code class="notranslate">parisc-test.out</code> is the test output Burkhard referred too.</p>
0
<h3 dir="auto">Issue with current documentation:</h3> <p dir="auto">In the "Examples" section of <a href="https://numpy.org/doc/stable/reference/generated/numpy.ndindex.html#numpy.ndindex" rel="nofollow">https://numpy.org/doc/stable/reference/generated/numpy.ndindex.html#numpy.ndindex</a>, the lines of code are not formatted correctly. It seems like they are not enclosed in a codeblock.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/79152594/147418412-f9143009-1cff-4893-80e3-b3348965ea28.png"><img src="https://user-images.githubusercontent.com/79152594/147418412-f9143009-1cff-4893-80e3-b3348965ea28.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">Idea or request for content:</h3> <p dir="auto"><em>No response</em></p>
<h3 dir="auto">Issue with current documentation:</h3> <p dir="auto">In <a href="https://numpy.org/doc/stable/reference/generated/numpy.ndindex.html#numpy.ndindex" rel="nofollow">https://numpy.org/doc/stable/reference/generated/numpy.ndindex.html#numpy.ndindex</a>, Examples has incorrect format:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# dimensions as individual arguments &gt;&gt;&gt; for index in np.ndindex(3, 2, 1): … print(index) (0, 0, 0) (0, 1, 0) (1, 0, 0) (1, 1, 0) (2, 0, 0) (2, 1, 0) # same dimensions - but in a tuple (3, 2, 1) &gt;&gt;&gt; for index in np.ndindex((3, 2, 1)): … print(index) (0, 0, 0) (0, 1, 0) (1, 0, 0) (1, 1, 0) (2, 0, 0) (2, 1, 0)"><pre class="notranslate"><code class="notranslate"># dimensions as individual arguments &gt;&gt;&gt; for index in np.ndindex(3, 2, 1): … print(index) (0, 0, 0) (0, 1, 0) (1, 0, 0) (1, 1, 0) (2, 0, 0) (2, 1, 0) # same dimensions - but in a tuple (3, 2, 1) &gt;&gt;&gt; for index in np.ndindex((3, 2, 1)): … print(index) (0, 0, 0) (0, 1, 0) (1, 0, 0) (1, 1, 0) (2, 0, 0) (2, 1, 0) </code></pre></div> <h3 dir="auto">Idea or request for content:</h3> <p dir="auto"><em>No response</em></p>
1
<p dir="auto">Flutter crash report; please file at <a href="https://github.com/flutter/flutter/issues">https://github.com/flutter/flutter/issues</a>.</p> <h2 dir="auto">command</h2> <p dir="auto">flutter build bundle --suppress-analytics --target /Users/jingjinggu/develope/longzhu/flutter/LongzhuFlutterAndroid/longzhuflutter/lib/main.dart --preview-dart-2 --target-platform android-arm64 --depfile /Users/jingjinggu/develope/longzhu/flutter/LongzhuFlutterAndroid/longzhuflutter/.android/Flutter/build/intermediates/flutter/debug/snapshot_blob.bin.d --asset-dir /Users/jingjinggu/develope/longzhu/flutter/LongzhuFlutterAndroid/longzhuflutter/.android/Flutter/build/intermediates/flutter/debug/flutter_assets --debug</p> <h2 dir="auto">exception</h2> <p dir="auto">FileSystemException: FileSystemException: Cannot open file, path = 'build/app.dill' (OS Error: No such file or directory, errno = 2)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#0 _File.open.&lt;anonymous closure&gt; (dart:io/file_impl.dart:368:9) #1 _rootRunUnary (dart:async/zone.dart:1132:38) #2 _CustomZone.runUnary (dart:async/zone.dart:1029:19) #3 _FutureListener.handleValue (dart:async/future_impl.dart:129:18) #4 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45) #5 Future._propagateToListeners (dart:async/future_impl.dart:671:32) #6 Future._completeWithValue (dart:async/future_impl.dart:486:5) #7 Future._asyncComplete.&lt;anonymous closure&gt; (dart:async/future_impl.dart:516:7) #8 _rootRun (dart:async/zone.dart:1124:13) #9 _CustomZone.run (dart:async/zone.dart:1021:19) #10 _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:947:23) #11 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #12 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #13 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:114:13) #14 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:170:5)"><pre class="notranslate"><code class="notranslate">#0 _File.open.&lt;anonymous closure&gt; (dart:io/file_impl.dart:368:9) #1 _rootRunUnary (dart:async/zone.dart:1132:38) #2 _CustomZone.runUnary (dart:async/zone.dart:1029:19) #3 _FutureListener.handleValue (dart:async/future_impl.dart:129:18) #4 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45) #5 Future._propagateToListeners (dart:async/future_impl.dart:671:32) #6 Future._completeWithValue (dart:async/future_impl.dart:486:5) #7 Future._asyncComplete.&lt;anonymous closure&gt; (dart:async/future_impl.dart:516:7) #8 _rootRun (dart:async/zone.dart:1124:13) #9 _CustomZone.run (dart:async/zone.dart:1021:19) #10 _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:947:23) #11 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #12 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #13 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:114:13) #14 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:170:5) </code></pre></div> <h2 dir="auto">flutter doctor</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel master, v0.5.9-pre.30, on Mac OS X 10.13.5 17F77, locale zh-Hans-CN) • Flutter version 0.5.9-pre.30 at /Users/jingjinggu/develope/flutter/flutter • Framework revision 33c4cd0f39 (20 hours ago), 2018-08-13 23:43:49 -0700 • Engine revision e54bc4ea18 • Dart version 2.0.0-dev.69.5.flutter-eab492385c [✓] Android toolchain - develop for Android devices (Android SDK 28.0.0) • Android SDK at /Users/jingjinggu/Library/Android/sdk • Android NDK at /Users/jingjinggu/Library/Android/sdk/ndk-bundle • Platform android-28, build-tools 28.0.0 • ANDROID_HOME = /Users/jingjinggu/Library/Android/sdk • Java binary at: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java • Java version Java(TM) SE Runtime Environment (build 1.8.0_121-b13) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.4, Build version 9F1027a • ios-deploy 1.9.2 • CocoaPods version 1.5.3 [✗] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.io/setup/#android-setup for detailed instructions). [!] VS Code (version 1.26.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension not installed; install from https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [✓] Connected devices (1 available) • HUAWEI NXT AL10 • 5LM0216122011219 • android-arm64 • Android 7.0 (API 24) ! Doctor found issues in 2 categories."><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel master, v0.5.9-pre.30, on Mac OS X 10.13.5 17F77, locale zh-Hans-CN) • Flutter version 0.5.9-pre.30 at /Users/jingjinggu/develope/flutter/flutter • Framework revision 33c4cd0f39 (20 hours ago), 2018-08-13 23:43:49 -0700 • Engine revision e54bc4ea18 • Dart version 2.0.0-dev.69.5.flutter-eab492385c [✓] Android toolchain - develop for Android devices (Android SDK 28.0.0) • Android SDK at /Users/jingjinggu/Library/Android/sdk • Android NDK at /Users/jingjinggu/Library/Android/sdk/ndk-bundle • Platform android-28, build-tools 28.0.0 • ANDROID_HOME = /Users/jingjinggu/Library/Android/sdk • Java binary at: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java • Java version Java(TM) SE Runtime Environment (build 1.8.0_121-b13) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.4, Build version 9F1027a • ios-deploy 1.9.2 • CocoaPods version 1.5.3 [✗] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.io/setup/#android-setup for detailed instructions). [!] VS Code (version 1.26.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension not installed; install from https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [✓] Connected devices (1 available) • HUAWEI NXT AL10 • 5LM0216122011219 • android-arm64 • Android 7.0 (API 24) ! Doctor found issues in 2 categories. </code></pre></div>
<p dir="auto">I've read through <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="166207860" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/4959" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/4959/hovercard" href="https://github.com/flutter/flutter/issues/4959">#4959</a> and am glad that a solution to specifying custom routeTransitions is available,<br> though I really wish there were predefined route transitions (like we have for <code class="notranslate">Alignment.topLeft</code>, or for <code class="notranslate">mainAxisAlignment</code> and other stuff), which we could call like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Navigator.push( context, Transitions.SlideRight(screen: Screen(screenArgs)) );"><pre class="notranslate"><code class="notranslate">Navigator.push( context, Transitions.SlideRight(screen: Screen(screenArgs)) ); </code></pre></div> <p dir="auto">this would reduce a lot of code duplication, at least one variant for each developer needing this, and considering that there are several transitions that are popular like, slides and fades, I fell this is not an unusual request.</p> <p dir="auto">Thanks for your time</p>
0
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: 1.30.0</li> <li>Operating System: windows 10</li> <li>Browser: firefox, chromium</li> </ul> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li> </ul> <p dir="auto"><strong>Config file</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts import type { PlaywrightTestConfig } from '@playwright/test' const config: PlaywrightTestConfig = { use: { trace: 'on' }, } export default config "><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span> <span class="pl-k">import</span> <span class="pl-k">type</span> <span class="pl-kos">{</span> <span class="pl-smi">PlaywrightTestConfig</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span> <span class="pl-k">const</span> <span class="pl-s1">config</span>: <span class="pl-smi">PlaywrightTestConfig</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> <span class="pl-c1">trace</span>: <span class="pl-s">'on'</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-s1">config</span></pre></div> <p dir="auto"><strong>Test file (self-contained)</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { test } from '@playwright/test' test('page loads', async ({ page }) =&gt; { await page.goto('https://google.com') await page.waitForSelector('/') })"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">test</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'page loads'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">'https://google.com'</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">waitForSelector</span><span class="pl-kos">(</span><span class="pl-s">'/'</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>run test</li> <li>run <code class="notranslate">playwright show-trace</code> with the path to the trace file or upload it to trace.playwright.dev</li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">trace file loads, with some sort of handling on the step with the invalid selector</p> <p dir="auto"><strong>Actual</strong></p> <p dir="auto">blank screen with errors in the console:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/57028336/227069246-cd09e978-0675-4c73-9f23-40a7c7688fb2.png"><img src="https://user-images.githubusercontent.com/57028336/227069246-cd09e978-0675-4c73-9f23-40a7c7688fb2.png" alt="image" style="max-width: 100%;"></a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught (in promise) Error: Unexpected token &quot;/&quot; while parsing selector &quot;/&quot;"><pre class="notranslate"><code class="notranslate">Uncaught (in promise) Error: Unexpected token "/" while parsing selector "/" </code></pre></div>
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: v1.34.3</li> <li>Operating System: Self hosted runner on GitHub Action</li> <li>Browser: Firefox, WebKit</li> <li>Other info: Only repro when chromium browser is not installed on the playwright instance</li> </ul> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li> </ul> <p dir="auto"><strong>Config file</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts import { defineConfig, devices } from '@playwright/test'; export default defineConfig({ projects: [ { name: 'setup', testMatch: /env.setup\.js/, }, { name: 'chromium', use: { ...devices['Desktop Chrome'], }, dependencies: ['setup'] }, { name: 'firefox', use: { ...devices['Desktop Firefox'], }, dependencies: ['setup'] }, { name: 'webkit', use: { ...devices['Desktop Safari'], }, dependencies: ['setup'] }, });"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">defineConfig</span><span class="pl-kos">,</span> <span class="pl-s1">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">projects</span>: <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'setup'</span><span class="pl-kos">,</span> <span class="pl-c1">testMatch</span>: <span class="pl-pds"><span class="pl-c1">/</span>env.setup<span class="pl-cce">\.</span>js<span class="pl-c1">/</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-c1">name</span>: <span class="pl-s">'chromium'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">dependencies</span>: <span class="pl-kos">[</span><span class="pl-s">'setup'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'firefox'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Firefox'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">dependencies</span>: <span class="pl-kos">[</span><span class="pl-s">'setup'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'webkit'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Safari'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">dependencies</span>: <span class="pl-kos">[</span><span class="pl-s">'setup'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span><span class="pl-kos"></span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>GitHub Actions with matrix setup</strong></p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Github Action file name: Scheduled on: workflow_dispatch: jobs: UI-Tests: runs-on: [self-hosted, AWS, Linux] timeout-minutes: 30 strategy: fail-fast: false matrix: browser: ['chromium', 'firefox', 'webkit'] steps: - name: Checkout code uses: actions/checkout@v3 - name: Setup Node uses: actions/setup-node@v3 - name: Install Dependencies run: npm ci - name: Setup Playwright run: npx playwright install ${{ matrix.browser }} --with-deps - name: Run UI Tests run: npx playwright test --project=${{ matrix.browser }} "><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> Github Action file</span> <span class="pl-ent">name</span>: <span class="pl-s">Scheduled</span> <span class="pl-ent">on</span>: <span class="pl-ent">workflow_dispatch</span>: <span class="pl-ent">jobs</span>: <span class="pl-ent">UI-Tests</span>: <span class="pl-ent">runs-on</span>: <span class="pl-s">[self-hosted, AWS, Linux]</span> <span class="pl-ent">timeout-minutes</span>: <span class="pl-c1">30</span> <span class="pl-ent">strategy</span>: <span class="pl-ent">fail-fast</span>: <span class="pl-c1">false</span> <span class="pl-ent">matrix</span>: <span class="pl-ent">browser</span>: <span class="pl-s">['chromium', 'firefox', 'webkit']</span> <span class="pl-ent">steps</span>: - <span class="pl-ent">name</span>: <span class="pl-s">Checkout code</span> <span class="pl-ent">uses</span>: <span class="pl-s">actions/checkout@v3</span> - <span class="pl-ent">name</span>: <span class="pl-s">Setup Node</span> <span class="pl-ent">uses</span>: <span class="pl-s">actions/setup-node@v3</span> - <span class="pl-ent">name</span>: <span class="pl-s">Install Dependencies</span> <span class="pl-ent">run</span>: <span class="pl-s">npm ci</span> - <span class="pl-ent">name</span>: <span class="pl-s">Setup Playwright</span> <span class="pl-ent">run</span>: <span class="pl-s">npx playwright install ${{ matrix.browser }} --with-deps</span> - <span class="pl-ent">name</span>: <span class="pl-s">Run UI Tests</span> <span class="pl-ent">run</span>: <span class="pl-s">npx playwright test --project=${{ matrix.browser }} </span></pre></div> <p dir="auto"><strong>Test file (self-contained)</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// tests/env.setup.js import { test, expect } from '@playwright/test'; test('has title', async ({ page }) =&gt; { await page.goto('https://playwright.dev/'); await expect(page).toHaveTitle(/Playwright/); }); // tests/get-link.test.js import { test, expect } from '@playwright/test'; test('get started link', async ({ page }) =&gt; { await page.goto('https://playwright.dev/'); await page.getByRole('link', { name: 'Get started' }).click(); await expect(page).toHaveURL(/.*intro/); });"><pre class="notranslate"><span class="pl-c">// tests/env.setup.js</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">test</span><span class="pl-kos">,</span> <span class="pl-s1">expect</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'has title'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">'https://playwright.dev/'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveTitle</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>Playwright<span class="pl-c1">/</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// tests/get-link.test.js</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">test</span><span class="pl-kos">,</span> <span class="pl-s1">expect</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'get started link'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">'https://playwright.dev/'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getByRole</span><span class="pl-kos">(</span><span class="pl-s">'link'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'Get started'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">click</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveURL</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>.<span class="pl-c1">*</span>intro<span class="pl-c1">/</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>Execute the tests using GitHub Action</li> </ul> <p dir="auto"><strong>Expected</strong><br> Since the GitHub Action only installs the browser it requires for running the test, the set up file should run on the browser mentioned in project.</p> <p dir="auto"><strong>Actual</strong><br> The setup file gets executed on chromium browser only, even though the specified browser can be firefox or webkit. Verified it in the headed mode on local as well. The reason we decided to not install all the browsers was because <code class="notranslate">webkit</code> required dependencies to install and use to take longer for each execution.</p>
0
<p dir="auto">The line <code class="notranslate">reslist[ resindex -1 ]</code> gives the following error (because of the <code class="notranslate">-1</code>):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: MethodError: `typed_hcat` has no method matching typed_hcat(::Array{MIToS.PDB.PDBResidue,1}, ::Int64, ::Int64) Closest candidates are: typed_hcat(::Type{T}, ::Number...) typed_hcat(::Type{T}, ::Any...)"><pre class="notranslate"><code class="notranslate">ERROR: MethodError: `typed_hcat` has no method matching typed_hcat(::Array{MIToS.PDB.PDBResidue,1}, ::Int64, ::Int64) Closest candidates are: typed_hcat(::Type{T}, ::Number...) typed_hcat(::Type{T}, ::Any...) </code></pre></div>
<p dir="auto">This gives the following error:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; A = zeros(5) for i in 1:3 A[2*i -1] = 10 end ERROR: syntax: invalid spacing in left side of indexed assignment in eval at ./boot.jl:267"><pre class="notranslate">julia<span class="pl-k">&gt;</span> A <span class="pl-k">=</span> <span class="pl-c1">zeros</span>(<span class="pl-c1">5</span>) <span class="pl-k">for</span> i <span class="pl-k">in</span> <span class="pl-c1">1</span><span class="pl-k">:</span><span class="pl-c1">3</span> A[<span class="pl-c1">2</span><span class="pl-k">*</span>i <span class="pl-k">-</span><span class="pl-c1">1</span>] <span class="pl-k">=</span> <span class="pl-c1">10</span> <span class="pl-k">end</span> ERROR<span class="pl-k">:</span> syntax<span class="pl-k">:</span> invalid spacing <span class="pl-k">in</span> left side of indexed assignment <span class="pl-k">in</span> eval at <span class="pl-k">./</span>boot<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">267</span></pre></div> <p dir="auto">Removing the space in front of <code class="notranslate">-1</code> makes it work.</p>
1
<p dir="auto">Would be nice to have a simple way of editing the options in the Context Menu (right click menu). Mine tends to get very cluttered. Current methods of editing the menu that I have found require third party software or editing the register which can be a pain.</p>
<p dir="auto">Easily manage the right click actions to edit, open at. Right now this is all over the place, different applications add right-click extensions and it is a mess. You can somehow change the default open application. But it would be great to be able to manage other actions to for example edit e.g Tiff file, HTML file, compile, etc.</p>
1
<p dir="auto">In the current toolchain <a href="https://scipy.github.io/devdocs/dev/toolchain.html#numpy" rel="nofollow">roadmap</a> page, I find the information regarding Python versions confusing as the last versions of SciPy are not listed and also there is no information about the max Python version for a given version of SciPy.</p> <p dir="auto">I propose to change the table with the following columns:</p> <table role="table"> <thead> <tr> <th>SciPy version</th> <th>Python versions</th> <th>NumPy versions</th> </tr> </thead> <tbody> <tr> <td>1.7</td> <td>&gt;3.7, &lt;=3.10</td> <td>&gt;=1.16.5, &gt;= 1.20.x</td> </tr> </tbody> </table> <p dir="auto">Right now, I am not sure for most items about the max Python version. This should also answer: should we drop Python 3.7 for 1.8? Same goes for NumPy 1.16.5.</p>
<p dir="auto"><strong>Is your feature request related to a problem? Please describe.</strong><br> The problem is to have an estimator of location (i.e. the mean) in 1 dimension that is not disrupted by outliers data and that is efficient in heavy-tailed setting. This is partly solved by the median but there are estimators that are much more efficient than the median when, for example, we want to estimate the mean of a corrupted Gaussian distribution.</p> <p dir="auto"><strong>Describe the solution you'd like</strong></p> <p dir="auto">I'd like to implement Huber's estimator of location. This is an M-estimator, it is already <a href="https://www.rdocumentation.org/packages/MASS/versions/7.3-53.1/topics/huber" rel="nofollow">included in R library "MASS"</a> for instance. This is similar but different from <a href="https://www.statsmodels.org/stable/generated/statsmodels.robust.scale.Huber.html" rel="nofollow">statsmodel implementation</a> in part because statsmodel implementation is more complex than what I propose and it suffers a low breakdown point (number of outliers tolerated by the estimator).</p> <p dir="auto">Huber estimator is very famous in robust statistics and has been used for quite some time now. In particular, one can look at the seminal article [1] but also at the books [2], [3] and any google scholar search will tell you that it is widely used.</p> <p dir="auto">There are several ways to compute this estimator but one of the simplest is the iterative reweighting algorithm found in [2].</p> <p dir="auto"><strong>Describe alternatives you've considered</strong><br> None</p> <p dir="auto"><strong>Additional context (e.g. screenshots)</strong><br> None</p> <p dir="auto">[1] Robust Estimation of a Location Parameter, Peter J. Huber, Ann. Math. Statist (1964)<br> [2] Robust Statistics, Peter J. Huber and Elvezio M. Ronchetti , Wiley Series in Probability and Statistics (2009)<br> [3] Robust Statistics: The Approach Based on Influence Functions, Frank R. Hampel, Elvezio M. Ronchetti, Peter J. Rousseeuw, Werner A. Stahel, Wiley (2011)</p>
0
<p dir="auto">MACHINE: WSL 2 (Ubuntu 20.04)<br> OS: Ubuntu 20.04</p> <p dir="auto">Current version: 1.2.3</p> <p dir="auto">What's wrong</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="dev@Raspberry:~$ deno upgrade Checking for latest version downloading https://github.com/denoland/deno/releases/download/v1.3.0/deno-x86_64-unknown-linux-gnu.zip Version has been found Deno is upgrading to version 1.3.0 downloading https://github-production-release-asset-2e65be.s3.amazonaws.com/133442384/c3e0d480-dd82-11ea-837c-81e79e8669bd?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200817%2Fus-east-1%2Fs3%2Faws4_request&amp;X-Amz-Date=20200817T130905Z&amp;X-Amz-Expires=300&amp;X-Amz-Signature=649fcd47675f065db1f1c92b223489d8645ec52e03f3c566d20bc9a116a2ad22&amp;X-Amz-SignedHeaders=host&amp;actor_id=0&amp;repo_id=133442384&amp;response-content-disposition=attachment%3B%20filename%3Ddeno-x86_64-unknown-linux-gnu.zip&amp;response-content-type=application%2Foctet-stream Version has been found Deno is upgrading to version 1.3.0 error: No such file or directory (os error 2)"><pre class="notranslate">dev@Raspberry:<span class="pl-k">~</span>$ deno upgrade Checking <span class="pl-k">for</span> latest version downloading https://github.com/denoland/deno/releases/download/v1.3.0/deno-x86_64-unknown-linux-gnu.zip Version has been found Deno is upgrading to version 1.3.0 downloading https://github-production-release-asset-2e65be.s3.amazonaws.com/133442384/c3e0d480-dd82-11ea-837c-81e79e8669bd<span class="pl-k">?</span>X-Amz-Algorithm=AWS4-HMAC-SHA256<span class="pl-k">&amp;</span>X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200817%2Fus-east-1%2Fs3%2Faws4_request<span class="pl-k">&amp;</span>X-Amz-Date=20200817T130905Z<span class="pl-k">&amp;</span>X-Amz-Expires=300<span class="pl-k">&amp;</span>X-Amz-Signature=649fcd47675f065db1f1c92b223489d8645ec52e03f3c566d20bc9a116a2ad22<span class="pl-k">&amp;</span>X-Amz-SignedHeaders=host<span class="pl-k">&amp;</span>actor_id=0<span class="pl-k">&amp;</span>repo_id=133442384<span class="pl-k">&amp;</span>response-content-disposition=attachment%3B%20filename%3Ddeno-x86_64-unknown-linux-gnu.zip<span class="pl-k">&amp;</span>response-content-type=application%2Foctet-stream Version has been found Deno is upgrading to version 1.3.0 error: No such file or directory (os error 2)</pre></div> <p dir="auto">What's expected.<br> Succesful upgrade.</p>
<p dir="auto">Reproc:</p> <ol dir="auto"> <li>Create a script and write <code class="notranslate">console.log("test")</code></li> <li>Run <code class="notranslate">deno compile test.ts</code> (this will work)</li> <li>Run <code class="notranslate">deno compile test.ts</code> (this will fail)</li> </ol> <p dir="auto">Notes:</p> <ul dir="auto"> <li>Deleting the file it produces changes nothing</li> <li>Changing the file in any way between doing 2 and 3 causes it to succeed</li> </ul> <p dir="auto">Terminal log:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ioB:Desktop$ echo &quot;console.log('test')&quot; &gt; test1.ts # Create the file ioB:Desktop$ deno compile test1.ts # Compile the file (success) Check file:///Users/linolevan/Desktop/test1.ts Compile file:///Users/linolevan/Desktop/test1.ts Emit test1 ioB:Desktop$ deno compile test1.ts # Compile the file (fail) ============================================================ Deno has panicked. This is a bug in Deno. Please report this at https://github.com/denoland/deno/issues/new. If you can reliably reproduce this panic, include the reproduction steps and re-run with the RUST_BACKTRACE=1 env var set and include the backtrace in your report. Platform: macos x86_64 Version: 1.25.0 Args: [&quot;deno&quot;, &quot;compile&quot;, &quot;test1.ts&quot;] thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /Users/brew/Library/Caches/Homebrew/cargo_cache/registry/src/github.com-1ecc6299db9ec823/eszip-0.25.0/src/v2.rs:512:60 stack backtrace: 0: 0x1017f4d19 - &lt;std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display&gt;::fmt::hf40d0caef3ef003c 1: 0x100dca2da - core::fmt::write::h7fafa4d8eb87db06 2: 0x1017d8988 - std::io::Write::write_fmt::he2d3473829bfad58 3: 0x1017db0b8 - std::panicking::default_hook::{{closure}}::h2e54ef15ea4323a2 4: 0x1017dada7 - std::panicking::default_hook::ha4f40c368619ac79 5: 0x100d59943 - deno::setup_panic_hook::{{closure}}::he0294168cb0c0d8f 6: 0x1017dbafb - std::panicking::rust_panic_with_hook::hd7ebe5d3a09e3b75 7: 0x1017f50cf - std::panicking::begin_panic_handler::{{closure}}::h53bdf79c49b104e9 8: 0x1017f5069 - std::sys_common::backtrace::__rust_end_short_backtrace::h73d9d520ad1d0732 9: 0x1017db4e5 - _rust_begin_unwind 10: 0x102baf9e3 - core::panicking::panic_fmt::he3416ad8dabf8a89 11: 0x102bafaa7 - core::panicking::panic::h2675996f18b77b08 12: 0x10157fa8c - eszip::v2::EszipV2::from_graph::visit_module::hf407b54cbb136c92 13: 0x100d26734 - deno::compile_command::{{closure}}::h70b6120ee7456569 14: 0x100d24c66 - &lt;core::future::from_generator::GenFuture&lt;T&gt; as core::future::future::Future&gt;::poll::h622265d96264ea8f 15: 0x1009f4c17 - deno::main::{{closure}}::hfd220545647f9818 16: 0x1009e7ae1 - &lt;core::future::from_generator::GenFuture&lt;T&gt; as core::future::future::Future&gt;::poll::h808b0be9b3a09bb3 17: 0x1009e4ed8 - deno_runtime::tokio_util::run_local::h3f8035d1fbda0e5e 18: 0x1009e4336 - deno::main::hd31f23f32394030f 19: 0x1009e3c5c - std::sys_common::backtrace::__rust_begin_short_backtrace::h8e206b1e2808c429 20: 0x1009e3ee6 - _main"><pre class="notranslate"><code class="notranslate">ioB:Desktop$ echo "console.log('test')" &gt; test1.ts # Create the file ioB:Desktop$ deno compile test1.ts # Compile the file (success) Check file:///Users/linolevan/Desktop/test1.ts Compile file:///Users/linolevan/Desktop/test1.ts Emit test1 ioB:Desktop$ deno compile test1.ts # Compile the file (fail) ============================================================ Deno has panicked. This is a bug in Deno. Please report this at https://github.com/denoland/deno/issues/new. If you can reliably reproduce this panic, include the reproduction steps and re-run with the RUST_BACKTRACE=1 env var set and include the backtrace in your report. Platform: macos x86_64 Version: 1.25.0 Args: ["deno", "compile", "test1.ts"] thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /Users/brew/Library/Caches/Homebrew/cargo_cache/registry/src/github.com-1ecc6299db9ec823/eszip-0.25.0/src/v2.rs:512:60 stack backtrace: 0: 0x1017f4d19 - &lt;std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display&gt;::fmt::hf40d0caef3ef003c 1: 0x100dca2da - core::fmt::write::h7fafa4d8eb87db06 2: 0x1017d8988 - std::io::Write::write_fmt::he2d3473829bfad58 3: 0x1017db0b8 - std::panicking::default_hook::{{closure}}::h2e54ef15ea4323a2 4: 0x1017dada7 - std::panicking::default_hook::ha4f40c368619ac79 5: 0x100d59943 - deno::setup_panic_hook::{{closure}}::he0294168cb0c0d8f 6: 0x1017dbafb - std::panicking::rust_panic_with_hook::hd7ebe5d3a09e3b75 7: 0x1017f50cf - std::panicking::begin_panic_handler::{{closure}}::h53bdf79c49b104e9 8: 0x1017f5069 - std::sys_common::backtrace::__rust_end_short_backtrace::h73d9d520ad1d0732 9: 0x1017db4e5 - _rust_begin_unwind 10: 0x102baf9e3 - core::panicking::panic_fmt::he3416ad8dabf8a89 11: 0x102bafaa7 - core::panicking::panic::h2675996f18b77b08 12: 0x10157fa8c - eszip::v2::EszipV2::from_graph::visit_module::hf407b54cbb136c92 13: 0x100d26734 - deno::compile_command::{{closure}}::h70b6120ee7456569 14: 0x100d24c66 - &lt;core::future::from_generator::GenFuture&lt;T&gt; as core::future::future::Future&gt;::poll::h622265d96264ea8f 15: 0x1009f4c17 - deno::main::{{closure}}::hfd220545647f9818 16: 0x1009e7ae1 - &lt;core::future::from_generator::GenFuture&lt;T&gt; as core::future::future::Future&gt;::poll::h808b0be9b3a09bb3 17: 0x1009e4ed8 - deno_runtime::tokio_util::run_local::h3f8035d1fbda0e5e 18: 0x1009e4336 - deno::main::hd31f23f32394030f 19: 0x1009e3c5c - std::sys_common::backtrace::__rust_begin_short_backtrace::h8e206b1e2808c429 20: 0x1009e3ee6 - _main </code></pre></div>
0
<p dir="auto">Note that the number of samples the test observed is small small (18 samples) compared to the test execution time (0.49s). The expected CPU sampling rate is 100Hz.</p> <hr> <p dir="auto"><a href="http://build.golang.org/log/790f12ebfd076cb47d01055b7ee138b6d40be2b1" rel="nofollow">http://build.golang.org/log/790f12ebfd076cb47d01055b7ee138b6d40be2b1</a></p> <p dir="auto">go_android_exec: adb shell mkdir -p /data/local/tmp/pprof.test-23878<br> go_android_exec: adb push /tmp/go-build624543768/runtime/pprof/_test/pprof.test /data/local/tmp/pprof.test-23878/pprof.test-23878-tmp<br> 217 KB/s (3129500 bytes in 14.033s)<br> go_android_exec: adb shell cp '/data/local/tmp/pprof.test-23878/pprof.test-23878-tmp' '/data/local/tmp/pprof.test-23878/pprof.test-23878'<br> go_android_exec: adb shell rm '/data/local/tmp/pprof.test-23878/pprof.test-23878-tmp'<br> go_android_exec: adb shell export TMPDIR="/data/local/tmp/pprof.test-23878"; export GOROOT="/data/local/tmp/goroot"; export GOPATH="/data/local/tmp/gopath"; cd "/data/local/tmp/goroot/src/runtime/pprof"; '/data/local/tmp/pprof.test-23878/pprof.test-23878' -test.short=true -test.timeout=4m0s; echo -n exitcode=$?<br> --- FAIL: TestCPUProfileMultithreaded (0.49s)<br> pprof_test.go:161: total 18 CPU profile samples collected<br> pprof_test.go:170: runtime/pprof_test.cpuHog1: 0<br> pprof_test.go:170: runtime/pprof_test.cpuHog2: 18<br> pprof_test.go:184: runtime/pprof_test.cpuHog1 has 0 samples out of 18, want at least 1, ideally 9<br> FAIL<br> exitcode=1go_android_exec: adb shell rm -rf /data/local/tmp/pprof.test-23878</p>
<p dir="auto">TestCPUProfileMultithreaded occasionally fails for GOOS=android and GOARCH=arm.</p> <p dir="auto">834 KB/s (2368016 bytes in 2.770s)<br> go_android_exec: adb shell cp '/data/local/tmp/goroot/pprof.test-3947-tmp' '/data/local/tmp/goroot/pprof.test-3947'<br> go_android_exec: adb shell rm '/data/local/tmp/goroot/pprof.test-3947-tmp'<br> go_android_exec: adb shell export TMPDIR="/data/local/tmp"; export GOROOT="/data/local/tmp/goroot"; cd "$GOROOT/src/runtime/pprof"; '/data/local/tmp/goroot/pprof.test-3947' -test.short=true -test.timeout=360s; echo -n exitcode=$?<br> --- FAIL: TestCPUProfileMultithreaded (3.60s)<br> pprof_test.go:165: runtime/pprof_test.cpuHog1: 0<br> pprof_test.go:165: runtime/pprof_test.cpuHog2: 61<br> pprof_test.go:179: runtime/pprof_test.cpuHog1 has 0 samples out of 61, want at least 1, ideally 30<br> FAIL</p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.3</li> <li>Operating System version: MacOS</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>Declare a service, with <code class="notranslate">dubbo.registry.address=N/A</code> and <code class="notranslate">dubbo.protocol.port=12345</code> in <code class="notranslate">application.properties</code></li> </ol> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Service(version = &quot;1.0.0&quot;) public class CartServiceImpl implements CartService { // do sth. }"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">Service</span>(<span class="pl-s1">version</span> = <span class="pl-s">"1.0.0"</span>) <span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">CartServiceImpl</span> <span class="pl-k">implements</span> <span class="pl-smi">CartService</span> { <span class="pl-c">// do sth.</span> }</pre></div> <ol start="2" dir="auto"> <li>Configure consumer</li> </ol> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Service public class CartDAO { @Reference(version = &quot;1.0.0&quot;, url = &quot;dubbo://127.0.0.1:12345&quot;) private CartService cartService; // do sth. }"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">Service</span> <span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">CartDAO</span> { <span class="pl-c1">@</span><span class="pl-c1">Reference</span>(<span class="pl-s1">version</span> = <span class="pl-s">"1.0.0"</span>, <span class="pl-s1">url</span> = <span class="pl-s">"dubbo://127.0.0.1:12345"</span>) <span class="pl-k">private</span> <span class="pl-smi">CartService</span> <span class="pl-s1">cartService</span>; <span class="pl-c">// do sth.</span> }</pre></div> <ol start="3" dir="auto"> <li>Call the service</li> </ol> <h3 dir="auto">Expected Result</h3> <p dir="auto">Provider returns without error.</p> <h3 dir="auto">Actual Result</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="org.apache.dubbo.remoting.RemotingException: Not found exported service: com.alibabacloud.hipstershop.CartService:12345 in [com.alibabacloud.hipstershop.CartService:1.0.0:12345], may be version or group mismatch , channel: consumer: /30.5.124.78:59068 --&gt; provider: /30.5.124.78:12345, message:RpcInvocation [methodName=addItemToCart, parameterTypes=[class java.lang.String, class java.lang.String, int], arguments=null, attachments={path=com.alibabacloud.hipstershop.CartService, dubbo=2.0.2, interface=com.alibabacloud.hipstershop.CartService, version=0.0.0}] at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol.getInvoker(DubboProtocol.java:266) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.rpc.protocol.dubbo.CallbackServiceCodec.decodeInvocationArgument(CallbackServiceCodec.java:282) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:137) [dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:73) [dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.rpc.protocol.dubbo.DubboCodec.decodeBody(DubboCodec.java:132) [dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:122) [dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:82) [dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.rpc.protocol.dubbo.DubboCountCodec.decode(DubboCountCodec.java:48) [dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.remoting.transport.netty4.NettyCodecAdapter$InternalDecoder.decode(NettyCodecAdapter.java:90) [dubbo-2.7.3.jar:2.7.3] at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:502) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:441) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:278) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1408) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:682) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:617) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:534) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:906) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-all-4.1.36.Final.jar:4.1.36.Final] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_191]"><pre class="notranslate"><code class="notranslate">org.apache.dubbo.remoting.RemotingException: Not found exported service: com.alibabacloud.hipstershop.CartService:12345 in [com.alibabacloud.hipstershop.CartService:1.0.0:12345], may be version or group mismatch , channel: consumer: /30.5.124.78:59068 --&gt; provider: /30.5.124.78:12345, message:RpcInvocation [methodName=addItemToCart, parameterTypes=[class java.lang.String, class java.lang.String, int], arguments=null, attachments={path=com.alibabacloud.hipstershop.CartService, dubbo=2.0.2, interface=com.alibabacloud.hipstershop.CartService, version=0.0.0}] at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol.getInvoker(DubboProtocol.java:266) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.rpc.protocol.dubbo.CallbackServiceCodec.decodeInvocationArgument(CallbackServiceCodec.java:282) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:137) [dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:73) [dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.rpc.protocol.dubbo.DubboCodec.decodeBody(DubboCodec.java:132) [dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:122) [dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:82) [dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.rpc.protocol.dubbo.DubboCountCodec.decode(DubboCountCodec.java:48) [dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.remoting.transport.netty4.NettyCodecAdapter$InternalDecoder.decode(NettyCodecAdapter.java:90) [dubbo-2.7.3.jar:2.7.3] at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:502) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:441) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:278) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1408) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:682) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:617) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:534) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:906) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-all-4.1.36.Final.jar:4.1.36.Final] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_191] </code></pre></div>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.7</li> <li>Operating System version: windows 10</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>dubbo 2.7.1 升级成2.7.7后项目启动不了</li> <li>yml配置文件<br> spring:<br> resources:<br> static-locations: <ul dir="auto"> <li>classpath:static/<br> dubbo:<br> protocol:<br> id: dubbo<br> name: dubbo<br> port: -1<br> consumer:<br> timeout: 50000<br> registries:</li> <li>address: 127.0.0.1:2181<br> protocol: zookeeper<br> default: true<br> id: base</li> <li>address: 127.0.0.1:2181<br> protocol: zookeeper<br> id: admin<br> group: bossadmin</li> </ul> </li> </ol> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">想正常启动项目</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">启动时报异常了</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="org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileController': Injection of @DubboReference dependencies is failed; nested exception is java.lang.IllegalStateException: No registry config found or it's not a valid config! The registry config is: &lt;dubbo:registry /&gt; at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor.postProcessPropertyValues(AbstractAnnotationBeanPostProcessor.java:146) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1383) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:575) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:846) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) at com.ucbigdata.wisdomdata.basic.platform.web.BasicPlatformWebApp.main(BasicPlatformWebApp.java:23) Caused by: java.lang.IllegalStateException: No registry config found or it's not a valid config! The registry config is: &lt;dubbo:registry /&gt; at org.apache.dubbo.config.AbstractInterfaceConfig.checkRegistry(AbstractInterfaceConfig.java:185) at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:300) at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:258) at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:158) at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.getOrCreateProxy(ReferenceAnnotationBeanPostProcessor.java:280) at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.doGetInjectedBean(ReferenceAnnotationBeanPostProcessor.java:149) at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor.getInjectedObject(AbstractAnnotationBeanPostProcessor.java:359) at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor$AnnotatedFieldElement.inject(AbstractAnnotationBeanPostProcessor.java:539) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90) at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor.postProcessPropertyValues(AbstractAnnotationBeanPostProcessor.java:142) ... 17 common frames omitted"><pre lang="log" class="notranslate"><code class="notranslate">org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileController': Injection of @DubboReference dependencies is failed; nested exception is java.lang.IllegalStateException: No registry config found or it's not a valid config! The registry config is: &lt;dubbo:registry /&gt; at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor.postProcessPropertyValues(AbstractAnnotationBeanPostProcessor.java:146) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1383) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:575) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:846) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) at com.ucbigdata.wisdomdata.basic.platform.web.BasicPlatformWebApp.main(BasicPlatformWebApp.java:23) Caused by: java.lang.IllegalStateException: No registry config found or it's not a valid config! The registry config is: &lt;dubbo:registry /&gt; at org.apache.dubbo.config.AbstractInterfaceConfig.checkRegistry(AbstractInterfaceConfig.java:185) at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:300) at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:258) at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:158) at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.getOrCreateProxy(ReferenceAnnotationBeanPostProcessor.java:280) at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.doGetInjectedBean(ReferenceAnnotationBeanPostProcessor.java:149) at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor.getInjectedObject(AbstractAnnotationBeanPostProcessor.java:359) at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor$AnnotatedFieldElement.inject(AbstractAnnotationBeanPostProcessor.java:539) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90) at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor.postProcessPropertyValues(AbstractAnnotationBeanPostProcessor.java:142) ... 17 common frames omitted </code></pre></div>
0
<p dir="auto">In many threads / meetings I mentioned that we are not satisfied with today's container runtime interface due to many reasons. Here are the top reasons off my head:</p> <ul dir="auto"> <li>Duplicated code for supporting SyncPod for all container runtime implementations, especially with Kubernetes defined policy: StartPolicy, PullPolicy, etc. We talked about changing today's declarative API to imperative API at this lowest extensible point.</li> <li>Tight coupled with image format: docker runtime supports docker image, while rkt support appc image by converting docker image to its own format. In a long run, we want to add support for other image format without changing each runtime. There is no easy way to achieve that goal with today's API.</li> <li>Logging management is very different on different os distro and with different runtime implementation. We should make this pluggable with runtime.</li> <li>Part of resource isolation is handled by runtime today, while another part is handled by Kubelet. The decision is ad-hoc without much thinking. We need to decide if we want runtime interface to handle resource management or completely hand over to ResourceManager module in Kubelet since qos policy is defined by Kubernetes, and it might be redefined over releases.</li> <li>...</li> </ul> <p dir="auto">In my mind, we should separate image management, resource / cgroup management, logging management from today's runtime interface. After this effort, we effectively make today's runtime interface as pod / container lifecycle management interface.</p> <p dir="auto">cc/ @kubernetes/sig-node, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bgrant0607/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bgrant0607">@bgrant0607</a><br> cc/ <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/philips/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/philips">@philips</a> and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jonboulle/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jonboulle">@jonboulle</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/yifan-gu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/yifan-gu">@yifan-gu</a> from coreos<br> cc/ <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/smarterclayton/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/smarterclayton">@smarterclayton</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/derekwaynecarr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/derekwaynecarr">@derekwaynecarr</a> from redhat</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> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="179968541" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33729" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33729/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33729">#33729</a></p> <h2 dir="auto">they have a different bug</h2> <p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):<br> This is a BUG report</p> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):<br> 1.4.4<br> kubeadm init --use-kubernetes-version v1.4.6<br> kubeadm init --use-kubernetes-version v1.4.1<br> etc.</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> ubuntu 16.04</li> <li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):</li> <li><strong>Install tools</strong>:</li> <li><strong>Others</strong>:</li> </ul> <p dir="auto"><strong>What happened</strong>:</p> <p dir="auto">the containers stay in pause mode: docker.ps shows (sorry, i gave my best for table layout)<br> COMMAND | NAMES<br> ------------------ | ---------------------<br> "kube-controller-mana" | k8s_kube-controller-manager.<br> "kube-scheduler --v=2" | k8s_kube-scheduler.<br> "/pause" | k8s_POD.d8dbe16c_kube-controller-manager-<br> "/pause" | k8s_POD.d8dbe16c_kube-apiserver-<br> "/pause" | k8s_POD.d8dbe16c_etcd-<br> "/pause" | k8s_POD.d8dbe16c_kube-scheduler</p> <p dir="auto"><strong>What you expected to happen</strong>:<br> start the api container at port 8080 / 6443</p> <p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p> <p dir="auto">I just followed the tutorials.<br> <strong>Anything else do we need to know</strong>:</p> <p dir="auto">I have nothing listening at port 8080 / 443 / 6443. I do not know which parts of the syslog could be helpful. The first part is here:<br> <a href="http://pastebin.com/TUk1qsms" rel="nofollow">http://pastebin.com/TUk1qsms</a></p> <p dir="auto">then come <strong>a lot</strong> of <code class="notranslate">xy.service not handled by systemd</code></p> <p dir="auto">and then the useless attempts to connect to the (paused) node:</p> <p dir="auto"><code class="notranslate">26360 manager.go:843] ignoring container "/system.slice/dev-hugepages.mount"</code><br> <code class="notranslate">Nov 15 18:15:52 laptop kubelet[26360]: I1115 18:15:52.800147 26360 conversion.go:133] failed to handle multiple devices for container. Skipping Filesystem stats</code><br> <code class="notranslate">Nov 15 18:15:52 laptop kubelet[26360]: E1115 18:15:52.825236 26360 eviction_manager.go:162] eviction manager: unexpected err: failed GetNode: node 'laptop.tu' not found</code><br> <code class="notranslate">Nov 15 18:15:52 laptop kubelet[26360]: I1115 18:15:52.849907 26360 kubelet_node_status.go:203] Setting node annotation to enable volume controller attach/detach</code><br> <code class="notranslate">Nov 15 18:15:52 laptop kubelet[26360]: I1115 18:15:52.854325 26360 kubelet_node_status.go:354] Recording NodeHasSufficientDisk event message for node laptop.tu</code><br> <code class="notranslate">Nov 15 18:15:52 laptop kubelet[26360]: I1115 18:15:52.854354 26360 kubelet_node_status.go:354] Recording NodeHasSufficientMemory event message for node laptop.tu</code><br> <code class="notranslate">Nov 15 18:15:52 laptop kubelet[26360]: I1115 18:15:52.854367 26360 kubelet_node_status.go:354] Recording NodeHasNoDiskPressure event message for node laptop.tu</code><br> <code class="notranslate">Nov 15 18:15:52 laptop kubelet[26360]: I1115 18:15:52.854385 26360 kubelet_node_status.go:73] Attempting to register node laptop.tu</code><br> <code class="notranslate">Nov 15 18:15:52 laptop kubelet[26360]: I1115 18:15:52.854410 26360 server.go:608] Event(api.ObjectReference{Kind:"Node", Namespace:"", Name:"laptop.tu", UID:"laptop.tu", APIVersion:"", ResourceVersion:"", FieldPath:""}): type: 'Normal' reason: 'NodeHasSufficientDisk' Node laptop.tu status is now: NodeHasSufficientDisk</code><br> <code class="notranslate">Nov 15 18:15:52 laptop kubelet[26360]: I1115 18:15:52.854466 26360 server.go:608] Event(api.ObjectReference{Kind:"Node", Namespace:"", Name:"laptop.tu", UID:"laptop.tu", APIVersion:"", ResourceVersion:"", FieldPath:""}): type: 'Normal' reason: 'NodeHasSufficientMemory' Node laptop.tu status is now: NodeHasSufficientMemory</code><br> <code class="notranslate">Nov 15 18:15:52 laptop kubelet[26360]: I1115 18:15:52.854594 26360 server.go:608] Event(api.ObjectReference{Kind:"Node", Namespace:"", Name:"laptop.tu", UID:"laptop.tu", APIVersion:"", ResourceVersion:"", FieldPath:""}): type: 'Normal' reason: 'NodeHasNoDiskPressure' Node laptop.tu status is now: NodeHasNoDiskPressure</code><br> <code class="notranslate">Nov 15 18:15:52 laptop kubelet[26360]: E1115 18:15:52.854691 26360 kubelet_node_status.go:97] Unable to register node "laptop.tu" with API server: Post https://192.168.0.2:6443/api/v1/nodes: dial tcp 192.168.0.2:6443: getsockopt: connection refused</code></p> <p dir="auto">It does this for the next couple of hours. Then I kick my laptop out of the window. Usually this stops the entrys.</p> <p dir="auto">What can I do? Where is the one parameter to rule the stuff? Do you need more information?</p>
0
<p dir="auto"><code class="notranslate">static pub MANTISSA_DIGITS: uint = 53u;</code><br> I guess that should be 24. Or is there some reasoning behind it that I don't see?<br> As well as <code class="notranslate">std::f32::DIGITS</code> which should probably be 6 instead of 15.</p>
<p dir="auto">Dependency information from compilers is useful to build incrementally. Without that, build process will be incorrect and/or slow.</p> <p dir="auto">GCC and Clang can emit such information in (a subset of) Makefile syntax. AFAIK that can be used from <code class="notranslate">make</code> (of cource) and <a href="http://martine.github.io/ninja/" rel="nofollow">ninja</a>. It might be nice if rustc provides similar feature, I think.</p>
0
<p dir="auto">The following <code class="notranslate">export</code> statement is not properly transformed:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export {A, B} from './foo'"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-kos">{</span><span class="pl-v">A</span><span class="pl-kos">,</span> <span class="pl-v">B</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./foo'</span></pre></div> <p dir="auto">It produces:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="exports.A = _interopRequire(require(&quot;./foo&quot;)); exports.B = _interopRequire(require(&quot;./foo&quot;));"><pre class="notranslate"><span class="pl-s1">exports</span><span class="pl-kos">.</span><span class="pl-c1">A</span> <span class="pl-c1">=</span> <span class="pl-en">_interopRequire</span><span class="pl-kos">(</span><span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"./foo"</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">exports</span><span class="pl-kos">.</span><span class="pl-c1">B</span> <span class="pl-c1">=</span> <span class="pl-en">_interopRequire</span><span class="pl-kos">(</span><span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"./foo"</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Instead of:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var _ref = require(&quot;./foo&quot;); exports.A = _ref.A; exports.B = _ref.B;"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">_ref</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"./foo"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">exports</span><span class="pl-kos">.</span><span class="pl-c1">A</span> <span class="pl-c1">=</span> <span class="pl-s1">_ref</span><span class="pl-kos">.</span><span class="pl-c1">A</span><span class="pl-kos">;</span> <span class="pl-s1">exports</span><span class="pl-kos">.</span><span class="pl-c1">B</span> <span class="pl-c1">=</span> <span class="pl-s1">_ref</span><span class="pl-kos">.</span><span class="pl-c1">B</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Tested using <code class="notranslate">[email protected]</code></p>
<h2 dir="auto">Bug report / Feature Request</h2> <p dir="auto">With TypeScript 2.9.2 and <code class="notranslate">styled-components</code> 3.3.3, it is possible to declare a typed template literal the following way:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const Item = styled.div&lt;{ selected?: boolean; }&gt;` color: ${p =&gt; p.selected ? 'red' : 'black' }; `;"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-smi">Item</span> <span class="pl-c1">=</span> <span class="pl-s1">styled</span><span class="pl-kos">.</span><span class="pl-en">div</span><span class="pl-kos">&lt;</span><span class="pl-kos">{</span> <span class="pl-c1">selected</span>?: <span class="pl-smi">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">&gt;</span><span class="pl-s">`</span> <span class="pl-s"> color: <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">p</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">p</span><span class="pl-kos">.</span><span class="pl-c1">selected</span> ? <span class="pl-s">'red'</span> : <span class="pl-s">'black'</span> <span class="pl-kos">}</span></span>;</span> <span class="pl-s">`</span><span class="pl-kos">;</span></pre></div> <p dir="auto">This is parsed and linted by TypeScript well (e.g. writing something like <code class="notranslate">p =&gt; p.xyz</code> causes a TS error).</p> <p dir="auto">When the same code is parsed with babel 7 &amp; <code class="notranslate">[email protected]</code>, the following syntax error shows up:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="SyntaxError: /path/to/file.tsx: Unexpected token, expected &quot;,&quot; (42:10) const Item = styled.div&lt;{ selected?: boolean; ^ }&gt;`"><pre class="notranslate"><code class="notranslate">SyntaxError: /path/to/file.tsx: Unexpected token, expected "," (42:10) const Item = styled.div&lt;{ selected?: boolean; ^ }&gt;` </code></pre></div> <p dir="auto">This situation has created a pretty hard-to-investigate situation for me in a Next.js project. VSCode and <code class="notranslate">yarn lint</code> did not report any any problems, but the app was not building.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" ```ts interface ItemProps { selected?: boolean; }; const Item = styled.div&lt;ItemProps&gt;` color: ${p =&gt; p.selected ? 'red' : 'black' }; `; ``` ↑ this transpiles, but resulting code is wrong. Something like: ```js var Item = __WEBPACK_IMPORTED_MODULE_3_styled_components___default.div.div &lt; ItemProps &gt; &quot;...&quot;.concat(function (p) {... ``` Because `ItemProps` was not supposed to be there at all, we get ` ReferenceError: ItemProps is not defined` 😱 --- It'd be great if syntax parsing by babel could be improved when it comes to typed template literals."><pre lang="Meanwhile," class="notranslate"><code class="notranslate"> ```ts interface ItemProps { selected?: boolean; }; const Item = styled.div&lt;ItemProps&gt;` color: ${p =&gt; p.selected ? 'red' : 'black' }; `; ``` ↑ this transpiles, but resulting code is wrong. Something like: ```js var Item = __WEBPACK_IMPORTED_MODULE_3_styled_components___default.div.div &lt; ItemProps &gt; "...".concat(function (p) {... ``` Because `ItemProps` was not supposed to be there at all, we get ` ReferenceError: ItemProps is not defined` 😱 --- It'd be great if syntax parsing by babel could be improved when it comes to typed template literals. </code></pre></div>
0
<p dir="auto">Any draggable annotation is displayed in the wrong position after dragging (i.e. nowhere near the mouse cursor) if either of the initial XY coordinates is negative. Minimal example:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4472522/6884211/09f0fa00-d59a-11e4-9b2e-fa54be93ebb6.gif"><img src="https://cloud.githubusercontent.com/assets/4472522/6884211/09f0fa00-d59a-11e4-9b2e-fa54be93ebb6.gif" alt="drag" data-animated-image="" style="max-width: 100%;"></a></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt import matplotlib as mpl mpl.rcdefaults() mpl.rcParams['toolbar'] = 'none' plt.figure(figsize=(5, 2)) plt.plot(range(-10, 10)) an1 = plt.annotate(s='good', xy=(15, 5), bbox={'alpha': 0.5}) an1.draggable() an2 = plt.annotate(s='bad', xy=(5, -5), bbox={'alpha': 0.5}) an2.draggable() plt.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-k">import</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">as</span> <span class="pl-s1">mpl</span> <span class="pl-s1">mpl</span>.<span class="pl-en">rcdefaults</span>() <span class="pl-s1">mpl</span>.<span class="pl-s1">rcParams</span>[<span class="pl-s">'toolbar'</span>] <span class="pl-c1">=</span> <span class="pl-s">'none'</span> <span class="pl-s1">plt</span>.<span class="pl-en">figure</span>(<span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">5</span>, <span class="pl-c1">2</span>)) <span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-en">range</span>(<span class="pl-c1">-</span><span class="pl-c1">10</span>, <span class="pl-c1">10</span>)) <span class="pl-s1">an1</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">annotate</span>(<span class="pl-s1">s</span><span class="pl-c1">=</span><span class="pl-s">'good'</span>, <span class="pl-s1">xy</span><span class="pl-c1">=</span>(<span class="pl-c1">15</span>, <span class="pl-c1">5</span>), <span class="pl-s1">bbox</span><span class="pl-c1">=</span>{<span class="pl-s">'alpha'</span>: <span class="pl-c1">0.5</span>}) <span class="pl-s1">an1</span>.<span class="pl-en">draggable</span>() <span class="pl-s1">an2</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">annotate</span>(<span class="pl-s1">s</span><span class="pl-c1">=</span><span class="pl-s">'bad'</span>, <span class="pl-s1">xy</span><span class="pl-c1">=</span>(<span class="pl-c1">5</span>, <span class="pl-c1">-</span><span class="pl-c1">5</span>), <span class="pl-s1">bbox</span><span class="pl-c1">=</span>{<span class="pl-s">'alpha'</span>: <span class="pl-c1">0.5</span>}) <span class="pl-s1">an2</span>.<span class="pl-en">draggable</span>() <span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div> <p dir="auto">It is caused by the reference coordinates being set apparently incorrectly here: <a href="https://github.com/matplotlib/matplotlib/blob/8a270fcc64197ee00c818ec8f9ccc9f0e884828a/lib/matplotlib/text.py#L1597-1605">https://github.com/matplotlib/matplotlib/blob/8a270fcc64197ee00c818ec8f9ccc9f0e884828a/lib/matplotlib/text.py#L1597-1605</a></p> <p dir="auto">Using matplotlib 1.4.3 with various OSes/backends.</p>
<p dir="auto">I am finding that annotations placed outside of axes get placed incorrectly in v1.4.3. Here is an example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt import matplotlib as mpl fig, ax = plt.subplots() ax.annotate('+ pts', xytext = [40, 20], textcoords = 'axes points', \ xy = [40, 20], xycoords = 'axes points', fontsize = 32) ax.annotate('- pts', xytext = [40, -20], textcoords = 'axes points', \ xy = [40, -20], xycoords = 'axes points', fontsize = 32) ax.annotate('+ frac', xytext = [0.5, 0.1], textcoords = 'axes fraction', \ xy = [0.5, 0.1], xycoords = 'axes fraction', fontsize = 32) ax.annotate('- frac', xytext = [0.5, -0.1], textcoords = 'axes fraction', \ xy = [0.5, -0.1], xycoords = 'axes fraction', fontsize = 32) plt.savefig('test' + mpl.__version__ + '.png')"><pre class="notranslate"><code class="notranslate">import matplotlib.pyplot as plt import matplotlib as mpl fig, ax = plt.subplots() ax.annotate('+ pts', xytext = [40, 20], textcoords = 'axes points', \ xy = [40, 20], xycoords = 'axes points', fontsize = 32) ax.annotate('- pts', xytext = [40, -20], textcoords = 'axes points', \ xy = [40, -20], xycoords = 'axes points', fontsize = 32) ax.annotate('+ frac', xytext = [0.5, 0.1], textcoords = 'axes fraction', \ xy = [0.5, 0.1], xycoords = 'axes fraction', fontsize = 32) ax.annotate('- frac', xytext = [0.5, -0.1], textcoords = 'axes fraction', \ xy = [0.5, -0.1], xycoords = 'axes fraction', fontsize = 32) plt.savefig('test' + mpl.__version__ + '.png') </code></pre></div> <p dir="auto">In matplotlib v1.4.2 the plot looks like this:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4099759/6883289/4627552e-d56c-11e4-8518-543d4dee233e.png"><img src="https://cloud.githubusercontent.com/assets/4099759/6883289/4627552e-d56c-11e4-8518-543d4dee233e.png" alt="test1 4 2" style="max-width: 100%;"></a></p> <p dir="auto">In matplotlib v1.4.3 the plot looks like this:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4099759/6883290/4d13ae3c-d56c-11e4-85f1-dd4b195dc9d6.png"><img src="https://cloud.githubusercontent.com/assets/4099759/6883290/4d13ae3c-d56c-11e4-85f1-dd4b195dc9d6.png" alt="test1 4 3" style="max-width: 100%;"></a></p> <p dir="auto">Apparently v1.4.3 takes a negative axes fraction (or points) and wraps it around to the top of the axes.</p>
1
<p dir="auto">I use an external monitor with my MacbookPro (OSX 10.9.4 Mavericks). I use this monitor as an extension of my desktop on the laptop. During the day I make Atom fill the entire screen (I snap the window, a feature I have enabled using BetterTouchTool). When I disconnect the external monitor and attempt to use Atom on the laptop's screen it is too large, as if extending off the screen. To find it again I have to click into Atom, go to the top bar, Window -&gt; Zoom. Once I do this it properly fills (again, not fullscreen) the laptop's screen.</p> <p dir="auto">At first you might dismiss this as saying the 3rd party app (BetterTouchTool) is responsible. However, Atom is the only application that this happens to. I also keep Chrome and Outlook in the same - window filled via snap mode on the fullscreen. Both of these apps will extend too far, but the height will be correct and I can again "grab" the window by the window title bar.</p> <p dir="auto">Thus I am led to believe there is something going on with the window settings for Atom, but I don't know enough about this topic to dig any farther. I was able to replicate the issue on a co-workers Mac, but we have similar environments so I can't promise that this isn't being caused by something else.</p> <p dir="auto">The issue: Atom window title bar cannot be found after external disconnect<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1287375/3975693/82d7a7fe-280f-11e4-88f4-56ab7dc24f42.png"><img src="https://cloud.githubusercontent.com/assets/1287375/3975693/82d7a7fe-280f-11e4-88f4-56ab7dc24f42.png" alt="screen shot 2014-08-19 at 7 04 31 pm" style="max-width: 100%;"></a><br> How to fix: Window -&gt; Zoom<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1287375/3975697/b2b3abee-280f-11e4-8409-790c8c747d17.png"><img src="https://cloud.githubusercontent.com/assets/1287375/3975697/b2b3abee-280f-11e4-8409-790c8c747d17.png" alt="screen shot 2014-08-19 at 7 05 25 pm" style="max-width: 100%;"></a><br> Fixed: Atom window title bar now properly showing<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1287375/3975700/b2b6f89e-280f-11e4-947b-228bc1d4a489.png"><img src="https://cloud.githubusercontent.com/assets/1287375/3975700/b2b6f89e-280f-11e4-947b-228bc1d4a489.png" alt="screen shot 2014-08-19 at 7 05 30 pm" style="max-width: 100%;"></a><br> What should happen: Chrome after external disconnect (all other apps on external look like this also)<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1287375/3975701/b2b8a996-280f-11e4-9b4c-9652ef0f71f2.png"><img src="https://cloud.githubusercontent.com/assets/1287375/3975701/b2b8a996-280f-11e4-9b4c-9652ef0f71f2.png" alt="screen shot 2014-08-19 at 7 07 28 pm" style="max-width: 100%;"></a><br> Resizing Chrome: easy because the title bar is showing - I just snap it to the top and it fills the screen<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1287375/3975699/b2b63382-280f-11e4-8f42-ef7873ca07d8.png"><img src="https://cloud.githubusercontent.com/assets/1287375/3975699/b2b63382-280f-11e4-8f42-ef7873ca07d8.png" alt="screen shot 2014-08-19 at 7 07 35 pm" style="max-width: 100%;"></a><br> Chrome properly resized<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1287375/3975698/b2b61b18-280f-11e4-9ee9-432331c0ca35.png"><img src="https://cloud.githubusercontent.com/assets/1287375/3975698/b2b61b18-280f-11e4-9ee9-432331c0ca35.png" alt="screen shot 2014-08-19 at 7 07 37 pm" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7317458/3932689/5819bcd0-246f-11e4-8973-451a17f7685f.png"><img src="https://cloud.githubusercontent.com/assets/7317458/3932689/5819bcd0-246f-11e4-8973-451a17f7685f.png" alt="screenshot_49" style="max-width: 100%;"></a></p> <p dir="auto">stick on the bar at the top - no window around.<br> fresh install from <a href="http://www.atom.io" rel="nofollow">www.atom.io</a> - version 0.122.0</p>
1
<p dir="auto">It would be useful if the route generator could filter by certain route criteria, especially "host".</p> <p dir="auto"><em>(Sorry, I already posted in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="8572536" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/6088" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/6088/hovercard" href="https://github.com/symfony/symfony/issues/6088">#6088</a> but that issue is already closed, and the request was for a different use case.)</em></p> <p dir="auto">Here is a possible use case for a generator that filters by host, please feel free to point out an alternative approach though. In short, I want to be able to do something like this in Twig:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{{ path('contact') }}"><pre class="notranslate"><code class="notranslate">{{ path('contact') }} </code></pre></div> <p dir="auto">and get the right route depending on the current hostname (but other applications might have other criteria).</p> <p dir="auto">Let's say I have English and German versions of a site, under different domains: example.co.uk and example.de. Then, I can import groups of routes like this:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" uk_routes: resource: @MyBundle/Resources/config/routing_uk.yml host: &quot;example.co.uk&quot; de_routes: resource: @MyBundle/Resources/config/routing_de.yml host: &quot;example.de&quot;"><pre class="notranslate"> <span class="pl-ent">uk_routes</span>: <span class="pl-ent">resource</span>: <span class="pl-s">@MyBundle/Resources/config/routing_uk.yml</span> <span class="pl-ent">host</span>: <span class="pl-s"><span class="pl-pds">"</span>example.co.uk<span class="pl-pds">"</span></span> <span class="pl-ent">de_routes</span>: <span class="pl-ent">resource</span>: <span class="pl-s">@MyBundle/Resources/config/routing_de.yml</span> <span class="pl-ent">host</span>: <span class="pl-s"><span class="pl-pds">"</span>example.de<span class="pl-pds">"</span></span></pre></div> <p dir="auto">Then, in each file, I might try something like this:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" # routing_uk.yml contact: path: /contact defaults: _controller: my_site.controller.default:contactAction # routing_de.yml contact: path: /kontakt defaults: _controller: my_site.controller.default:contactAction"><pre class="notranslate"> <span class="pl-c"><span class="pl-c">#</span> routing_uk.yml</span> <span class="pl-ent">contact</span>: <span class="pl-ent">path</span>: <span class="pl-s">/contact</span> <span class="pl-ent">defaults</span>: <span class="pl-ent">_controller</span>: <span class="pl-s">my_site.controller.default:contactAction</span> <span class="pl-c"><span class="pl-c">#</span> routing_de.yml</span> <span class="pl-ent">contact</span>: <span class="pl-ent">path</span>: <span class="pl-s">/kontakt</span> <span class="pl-ent">defaults</span>: <span class="pl-ent">_controller</span>: <span class="pl-s">my_site.controller.default:contactAction</span></pre></div> <p dir="auto"><em>But...</em> this won't work, because one "contact" route silently overwrite the other.</p> <p dir="auto">An "alias" (or "forward") parameter would help here:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" # routing_uk.yml uk_contact: alias: contact path: /contact defaults: _controller: my_site.controller.default:contactAction options: foo: bar_uk_example # routing_de.yml de_contact: alias: contact path: /uber_uns defaults: _controller: my_site.controller.default:contactAction options: foo: bar_de_example"><pre class="notranslate"> <span class="pl-c"><span class="pl-c">#</span> routing_uk.yml</span> <span class="pl-ent">uk_contact</span>: <span class="pl-ent">alias</span>: <span class="pl-s">contact</span> <span class="pl-ent">path</span>: <span class="pl-s">/contact</span> <span class="pl-ent">defaults</span>: <span class="pl-ent">_controller</span>: <span class="pl-s">my_site.controller.default:contactAction</span> <span class="pl-ent">options</span>: <span class="pl-ent">foo</span>: <span class="pl-s">bar_uk_example</span> <span class="pl-c"><span class="pl-c">#</span> routing_de.yml</span> <span class="pl-ent">de_contact</span>: <span class="pl-ent">alias</span>: <span class="pl-s">contact</span> <span class="pl-ent">path</span>: <span class="pl-s">/uber_uns</span> <span class="pl-ent">defaults</span>: <span class="pl-ent">_controller</span>: <span class="pl-s">my_site.controller.default:contactAction</span> <span class="pl-ent">options</span>: <span class="pl-ent">foo</span>: <span class="pl-s">bar_de_example</span></pre></div> <p dir="auto">If only one route had the "contact" alias, it's easy for the Generator to know which route to use (we could even just duplicate the route behind the scenes, to save a copy and paste).</p> <p dir="auto">But here, the routing generator is faced with two different routes with the same alias. So it needs to decide which one to pick. In this case, I want it to filter on the <code class="notranslate">host</code> (each route has this, but I defined it at the file level instead of each route). Maybe there are other things to filter on too, so it should be configurable/extensible.</p> <p dir="auto">For now, I have created a <a href="https://github.com/fazy/FazyMultiSiteBundle/blob/master/Routing/Generator/UrlGenerator.php">very basic route generator</a> that does this. It's part of a very rough/experimental bundle that should probably be split apart, but hopefully it gives an idea.</p> <p dir="auto">Of course, I could be looking at this the wrong way. Maybe we don't need route aliases, but namespaces? Or multiple routers (but then, how to select which one is being used?)</p> <p dir="auto">I also started a <a href="https://groups.google.com/forum/#!topic/symfony2/tUEmPDbyoKw" rel="nofollow">mailing list topic</a> about this. I'm interested to know the best approach, how other people satisfy this use case, and whether a future Symfony route generator can allow allow multiple route candidates (aliases, or similar).</p>
<p dir="auto">When Symfony2 was launched in the summer of 2011, Twig was a relatively new project and thus, Symfony decided to support both Twig and PHP templates. Now it's clear that Twig is the way to go when developing Symfony applications and it's getting better and better with each new version.</p> <p dir="auto">That's why <strong>I'd like to propose to drop PHP templates support entirely for Symfony 3.0</strong>.</p> <p dir="auto">Pros:</p> <ul dir="auto"> <li>Much less code to maintain, specially on heavy components such as forms.</li> <li>Much less documentation to write or maintain. We could use those resources to create new docs or improve the existing ones.</li> <li>Ideally, if we only define one default templating format, we could also optimize Symfony performance and configuration .</li> </ul> <p dir="auto">Cons:</p> <ul dir="auto"> <li>The tiny fraction of developers still using PHP templates will have to configure <em>something</em> or install <em>something</em> to be able to use PHP templates.</li> </ul>
0
<p dir="auto">In the 0.x versions were 5 hooks:<br> ('args', 'pre_request', 'pre_send', 'post_request', 'response')</p> <p dir="auto">In 1.x there's only one: response</p> <p dir="auto">I've seen quite a few packages that used these hooks to manipulate the requests objects before sending them, and now in v1.x there's not even a single hook that allows them to do so.</p> <p dir="auto">This functionality is very much needed, and without it quite a few packages simple cannot adapt to v1.x, and their alternative is to the <a href="https://github.com/LuminosoInsight/python-requests-transition">sort-of-a-fork requests-transition</a></p>
<p dir="auto">I'm sending a <code class="notranslate">POST</code> request with multiple fields with the same name which normally works well when passed in a <code class="notranslate">dict</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; from requests import post &gt;&gt;&gt; print post('http://httpbin.org/post', data={'field': ['a', 'b']}).content { &quot;origin&quot;: &quot;[...]&quot;, &quot;files&quot;: {}, &quot;form&quot;: { &quot;field&quot;: [ &quot;a&quot;, &quot;b&quot; ] }, &quot;url&quot;: &quot;http://httpbin.org/post&quot;, &quot;args&quot;: {}, &quot;headers&quot;: { &quot;Content-Length&quot;: &quot;15&quot;, &quot;Accept-Encoding&quot;: &quot;identity, deflate, compress, gzip&quot;, &quot;Connection&quot;: &quot;keep-alive&quot;, &quot;Accept&quot;: &quot;*/*&quot;, &quot;User-Agent&quot;: &quot;python-requests/0.13.1&quot;, &quot;Host&quot;: &quot;httpbin.org&quot;, &quot;Content-Type&quot;: &quot;application/x-www-form-urlencoded&quot; }, &quot;json&quot;: null, &quot;data&quot;: &quot;&quot; }"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; from requests import post &gt;&gt;&gt; print post('http://httpbin.org/post', data={'field': ['a', 'b']}).content { "origin": "[...]", "files": {}, "form": { "field": [ "a", "b" ] }, "url": "http://httpbin.org/post", "args": {}, "headers": { "Content-Length": "15", "Accept-Encoding": "identity, deflate, compress, gzip", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "python-requests/0.13.1", "Host": "httpbin.org", "Content-Type": "application/x-www-form-urlencoded" }, "json": null, "data": "" } </code></pre></div> <p dir="auto">But fails with a <code class="notranslate">TypeError</code> when the request is a <code class="notranslate">multipart/form-data</code> one:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; print post('http://httpbin.org/post', data={'field': ['a', 'b']}, files={'file': open('/etc/hosts')}).content Traceback (most recent call last): File &quot;&lt;ipython-input-15-4008ff697f5a&gt;&quot;, line 1, in &lt;module&gt; print requests.post('http://httpbin.org/post', data={'field': ['a', 'b']}, files={'file': open('/etc/hosts')}).content File &quot;python2.7/site-packages/requests/api.py&quot;, line 87, in post return request('post', url, data=data, **kwargs) File &quot;python2.7/site-packages/requests/safe_mode.py&quot;, line 37, in wrapped return function(method, url, **kwargs) File &quot;python2.7/site-packages/requests/api.py&quot;, line 42, in request return s.request(method=method, url=url, **kwargs) File &quot;python2.7/site-packages/requests/sessions.py&quot;, line 230, in request r.send(prefetch=prefetch) File &quot;python2.7/site-packages/requests/models.py&quot;, line 507, in send (body, content_type) = self._encode_files(self.files) File &quot;site-packages/requests/models.py&quot;, line 366, in _encode_files (body, content_type) = encode_multipart_formdata(fields) File &quot;site-packages/requests/packages/urllib3/filepost.py&quot;, line 80, in encode_multipart_formdata body.write(data) TypeError: 'list' does not have the buffer interface"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; print post('http://httpbin.org/post', data={'field': ['a', 'b']}, files={'file': open('/etc/hosts')}).content Traceback (most recent call last): File "&lt;ipython-input-15-4008ff697f5a&gt;", line 1, in &lt;module&gt; print requests.post('http://httpbin.org/post', data={'field': ['a', 'b']}, files={'file': open('/etc/hosts')}).content File "python2.7/site-packages/requests/api.py", line 87, in post return request('post', url, data=data, **kwargs) File "python2.7/site-packages/requests/safe_mode.py", line 37, in wrapped return function(method, url, **kwargs) File "python2.7/site-packages/requests/api.py", line 42, in request return s.request(method=method, url=url, **kwargs) File "python2.7/site-packages/requests/sessions.py", line 230, in request r.send(prefetch=prefetch) File "python2.7/site-packages/requests/models.py", line 507, in send (body, content_type) = self._encode_files(self.files) File "site-packages/requests/models.py", line 366, in _encode_files (body, content_type) = encode_multipart_formdata(fields) File "site-packages/requests/packages/urllib3/filepost.py", line 80, in encode_multipart_formdata body.write(data) TypeError: 'list' does not have the buffer interface </code></pre></div> <p dir="auto">Passing a <code class="notranslate">list</code> of <code class="notranslate">tuple</code>s doesn't raise an exception but only the last item is included in the request:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; print requests.post('http://httpbin.org/post', data=[('field', 'a'), ('field', 'b')], files={'file': open('/etc/hosts')}).content { &quot;origin&quot;: &quot;[...]&quot;, &quot;files&quot;: { &quot;file&quot;: &quot;[...]&quot; }, &quot;form&quot;: { &quot;field&quot;: &quot;b&quot; }, &quot;url&quot;: &quot;http://httpbin.org/post&quot;, &quot;args&quot;: {}, &quot;headers&quot;: { &quot;Content-Length&quot;: &quot;862&quot;, &quot;Accept-Encoding&quot;: &quot;identity, deflate, compress, gzip&quot;, &quot;Connection&quot;: &quot;keep-alive&quot;, &quot;Accept&quot;: &quot;*/*&quot;, &quot;User-Agent&quot;: &quot;python-requests/0.13.1&quot;, &quot;Host&quot;: &quot;httpbin.org&quot;, &quot;Content-Type&quot;: &quot;multipart/form-data; boundary=127.0.0.1.501.73436.1343139319.461.6&quot; }, &quot;json&quot;: null, &quot;data&quot;: &quot;&quot; }"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; print requests.post('http://httpbin.org/post', data=[('field', 'a'), ('field', 'b')], files={'file': open('/etc/hosts')}).content { "origin": "[...]", "files": { "file": "[...]" }, "form": { "field": "b" }, "url": "http://httpbin.org/post", "args": {}, "headers": { "Content-Length": "862", "Accept-Encoding": "identity, deflate, compress, gzip", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "python-requests/0.13.1", "Host": "httpbin.org", "Content-Type": "multipart/form-data; boundary=127.0.0.1.501.73436.1343139319.461.6" }, "json": null, "data": "" } </code></pre></div>
0
<h1 dir="auto">Bug report</h1> <p dir="auto">I wanted to create a new next app using <code class="notranslate">npx create-next-app</code> with typescript. I followed all the steps and renamed .js files to .tsx and ran <code class="notranslate">yarn dev</code>. According to this blogpost: <a href="https://nextjs.org/blog/next-9#built-in-zero-config-typescript-support" rel="nofollow">https://nextjs.org/blog/next-9#built-in-zero-config-typescript-support</a> it should detect that the project is using typescript and add what's necessary but it didn't.</p> <h2 dir="auto">Screenshots</h2> <p dir="auto">If applicable, add screenshots to help explain your problem.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3116731/63625572-56cbb080-c600-11e9-9b16-04cc84388853.png"><img src="https://user-images.githubusercontent.com/3116731/63625572-56cbb080-c600-11e9-9b16-04cc84388853.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/3116731/63625700-ac07c200-c600-11e9-9d94-353f506bf6ff.png"><img src="https://user-images.githubusercontent.com/3116731/63625700-ac07c200-c600-11e9-9d94-353f506bf6ff.png" alt="image" style="max-width: 100%;"></a></p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>OS: Windows</li> <li>Version of Next.js: 9.0.4</li> </ul>
<p dir="auto">When (implicitly) using multiple <code class="notranslate">Head</code> elements in <code class="notranslate">_document.js</code>, e.g.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" return ( &lt;html&gt; &lt;Head&gt; &lt;title&gt;Test&lt;/title&gt; &lt;/Head&gt; &lt;HeadStyle /&gt; ..."><pre class="notranslate"> <span class="pl-k">return</span> <span class="pl-kos">(</span> <span class="pl-c1">&lt;</span><span class="pl-ent">html</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">Head</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">title</span><span class="pl-c1">&gt;</span>Test<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">title</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">Head</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">HeadStyle</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span> ...</pre></div> <p dir="auto">where <code class="notranslate">HeadStyle</code> is defined as</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const HeadStyle =&gt; &lt;Head&gt;&lt;style&gt;{`body { margin: 0; color: red; }`}&lt;/style&gt;&lt;/Head&gt;;"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-v">HeadStyle</span> <span class="pl-c1">=&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">Head</span><span class="pl-c1">&gt;</span><span class="pl-c1">&lt;</span><span class="pl-ent">style</span><span class="pl-c1">&gt;</span><span class="pl-kos">{</span><span class="pl-s">`body { margin: 0; color: red; }`</span><span class="pl-kos">}</span><span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">style</span><span class="pl-c1">&gt;</span><span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">Head</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span></pre></div> <p dir="auto">... the second <code class="notranslate">Head</code>'s content never gets injected into the document <strong>on the first page load of a fresh <code class="notranslate">now</code> deployment</strong>. The consequent reloads (including in a clean browser) are fine.</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <ul dir="auto"> <li>Multiple <code class="notranslate">Head</code> elements (implicit and explicit) work reliably (even in <code class="notranslate">_document.js</code>)</li> </ul> <h2 dir="auto">Current Behavior</h2> <ul dir="auto"> <li>Broken page on the first page load of a fresh <code class="notranslate">now</code> deployment</li> </ul> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>Clone <a href="https://github.com/agurtovoy/nextjs-head-bug">https://github.com/agurtovoy/nextjs-head-bug</a></li> <li><code class="notranslate">now</code></li> <li>Open the deployed site, see this (note the black text and the absence of the custom <code class="notranslate">&lt;style&gt;</code> element in <code class="notranslate">&lt;head&gt;</code>):</li> </ol> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3394202/33458660-b586c7a0-d5ec-11e7-80f9-bde8b26b30d0.png"><img width="792" alt="screen shot 2017-11-30 at 4 11 58 pm" src="https://user-images.githubusercontent.com/3394202/33458660-b586c7a0-d5ec-11e7-80f9-bde8b26b30d0.png" style="max-width: 100%;"></a></p> <ol start="4" dir="auto"> <li>Refresh the page, get the expected result (text is red, <code class="notranslate">&lt;style&gt;</code> element is there):</li> </ol> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3394202/33458793-32e1f9e0-d5ed-11e7-8ecb-9d118f340b06.png"><img width="769" alt="screen shot 2017-11-30 at 4 12 17 pm" src="https://user-images.githubusercontent.com/3394202/33458793-32e1f9e0-d5ed-11e7-8ecb-9d118f340b06.png" style="max-width: 100%;"></a></p> <h2 dir="auto">Context</h2> <p dir="auto">This reproduces consistently, i.e. every time you push a new deployment, the very first page load will surface the issue. It also reproduces in dev env from time to time, but not consistently.</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>4.1.4</td> </tr> <tr> <td>node</td> <td><code class="notranslate">now</code></td> </tr> <tr> <td>OS</td> <td><code class="notranslate">now</code>, macOS</td> </tr> <tr> <td>browser</td> <td>any</td> </tr> </tbody> </table>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">This is a change request.<br> In My opinion, it would be helpful if the <code class="notranslate">color</code> prop of Typography is set to <code class="notranslate">inherit</code> by default.<br> It would also match expectation that when I set a color on a parent component then all children inherit the color (unless overridden).</p> <p dir="auto">Additionally, it would be awesome if this could be done for <code class="notranslate">Icons</code> as well.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">When I am working on a customised design, I am finding myself writing <code class="notranslate">color="inherit"</code> on Many of the <code class="notranslate">Typography</code> elements across components.</p> <ol dir="auto"> <li>Create a new Component (I am making a menu) which adds child items recursively (which are different components)</li> <li>Change Background color and color (text color) of parent component</li> <li>Child components should have <code class="notranslate">Typography</code> elements.</li> </ol> <p dir="auto">Now even though the color is explicitly defined in parent component, still typography needs to have a prop.</p> <h2 dir="auto">Context</h2> <p dir="auto">Having to specify color prop many times.</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td></td> </tr> <tr> <td>React</td> <td></td> </tr> <tr> <td>browser</td> <td></td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">I have react and react-dom installed and present in my node_modules, and in my webpack.config.js, and I expected my application to compile at least, probably with some syntax errors.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">My code doesn't compile, I get the error: Uncaught Error: Cannot find module "react" in the browser console, and the error: Cannot resolve module 'react' in C:\Users&lt;user&gt;\node_modules\material-ui\Toggle, and this error is repeated for many other material-ui</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto">Here is a link to my codesandbox project : <a href="https://qzpxwlpkpw.codesandbox.io/" rel="nofollow">https://qzpxwlpkpw.codesandbox.io/</a></p> <ol dir="auto"> <li>install material-ui v1.0.0-beta.21</li> <li>edit some example code from the Material Ui website</li> <li>npm start</li> <li>ERROR in C:/Users//~/material-ui/Toggle/Toggle.js<br> Module not found: Error: Cannot resolve module 'react' in C:\Users&lt;user&gt;\node_modules\material-ui\Toggle and this error is repeated for many other material-ui components</li> </ol> <h2 dir="auto">Context</h2> <p dir="auto">I'm trying to get a material-ui table to compile so I can have a play and figure out how I'm going to use it for a project I'm working on. I've installed react and react-dom, and I've checked they appear in node_modules, and have package.json files. I'm really baffled as to what's going on. Since it's working in code sandbox is it something to do with my node modules? If so, how can I figure out what it is that needs fixing?</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>v1.0.0-beta.21</td> </tr> <tr> <td>React</td> <td>v15.6.2</td> </tr> <tr> <td>react-dom</td> <td>v15.6.2</td> </tr> <tr> <td>browser</td> <td>Chrome v61.0.3163.100 (Official Build) (64-bit)</td> </tr> </tbody> </table>
0
<ul dir="auto"> <li>VSCode latest alpha</li> <li>OS Version: OX 10.11.4</li> </ul> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1898161/14084878/3054f32e-f51d-11e5-9246-e955cb198a07.png"><img src="https://cloud.githubusercontent.com/assets/1898161/14084878/3054f32e-f51d-11e5-9246-e955cb198a07.png" alt="2016-03-28 19-40-42" style="max-width: 100%;"></a></p>
<p dir="auto">I tried to install an extension. As I'm currently behind a corp firewall I wasn't successful after a first try with <strong>ext install</strong>. After configuring <strong>"http.proxy": "<a href="http://xxx.yyy.zzz:1234/" rel="nofollow">http://xxx.yyy.zzz:1234/</a>"</strong> within my global <strong>settings.json</strong> I was successful in loading the list of extensions. But installing one fails with the error <strong>connect ECONNREFUSED 191.238.172.191:443</strong>. Yes, I also configured <strong>https.proxy</strong> correspondingly, but it seems that this value doesn't get honored.</p>
0
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">Allow command line arguments for Power Toys Run commands</p> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <p dir="auto"><code class="notranslate">notepad &lt;arg1&gt; "&lt;arg .. 2&gt;" &lt;arg3&gt;</code></p> <p dir="auto">Power Toys Run to find program (notepad in this example) from PATH. Then pass arguments to the matching command.</p>
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">Support running commands, utilities with parameters.</p> <p dir="auto">The older run box supports commands and parameters to be used in cases like this:</p> <ul dir="auto"> <li>cmd /k [your command here]</li> <li>ssh <a href="mailto:[email protected]">[email protected]</a></li> <li>runas.exe .......</li> <li>wt (Launch Windows Terminal)</li> <li>ping [server_address_here]</li> </ul> <p dir="auto">and more!</p> <p dir="auto">Could you please allow commands to be used with their optional parameters? Like the old run box did ?</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22074851/82533654-04460300-9b44-11ea-85e2-72e006128a8e.jpg"><img src="https://user-images.githubusercontent.com/22074851/82533654-04460300-9b44-11ea-85e2-72e006128a8e.jpg" alt="PowerToys Run with parameters" style="max-width: 100%;"></a></p>
1
<p dir="auto">Hello -</p> <p dir="auto">I have been using the bootstrap customization tool (getbootstrap.com/customize/) a lot over the past week and it has been an invaluable timesaver.</p> <p dir="auto">It would be great if the tool saved the customization ID in the comments at the top of the generated CSS file. This way I could load up my build weeks or months later and quickly make any needed tweaks. Just a thought :)</p> <p dir="auto">Thanks for the great development tools!</p>
<p dir="auto">The new site has the awesome customization screen, but unless you manage your bookmarks like a champ, there's no clear mapping between which custom builds on your system correspond to which URLs on the site. It would rock socks if the URL of the custom build was in the header comment in the generated source files.</p> <p dir="auto">For example, In bootstrap.css, you could have something like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/*! * Bootstrap v3.0.0 * Custom build generated by http://getbootstrap.com/customize/?id=6277349 * "><pre class="notranslate"><code class="notranslate">/*! * Bootstrap v3.0.0 * Custom build generated by http://getbootstrap.com/customize/?id=6277349 * </code></pre></div>
1
<p dir="auto">There're two <code class="notranslate">CustomScrollView</code> in <a href="https://flutter.io/widgets/scrolling/" rel="nofollow">https://flutter.io/widgets/scrolling/</a></p>
<h2 dir="auto">Steps to Reproduce</h2> <p dir="auto">Basically, the app crashes as soon as it boots up. You see the splash screen for about a second, then it crashes. At one point, I was seeing an error about a "VM snapshot", but I no longer see it, as now there is no error message... I'm using an iPhone X on iOS 11.2<br> STEPS<br> clone <a href="https://github.com/bdytx5/thumbsoutdos">https://github.com/bdytx5/thumbsoutdos</a></p> <p dir="auto">run in release mode on iOS</p> <p dir="auto">"flutter run -d yourdevice --release</p> <h2 dir="auto">Logs</h2> <p dir="auto"><a href="https://docs.google.com/document/d/1Uqx5e6qJWclcUfp9m1EpZQ4QdyI0horh58qJmuXowWU/edit?usp=sharing" rel="nofollow">https://docs.google.com/document/d/1Uqx5e6qJWclcUfp9m1EpZQ4QdyI0horh58qJmuXowWU/edit?usp=sharing</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/Chat/msgScreen.dart:2:8 info • Unused import: 'dart:io' • lib/Chat/msgScreen.dart:5:8 info • Unused import: 'msgStream.dart' • lib/Chat/msgScreen.dart:8:8 info • Unused import: '../homePage/feedStream.dart' • lib/Chat/msgScreen.dart:10:8 info • Name types using UpperCamelCase • lib/Chat/msgScreen.dart:30:7 info • Name non-constant identifiers using lowerCamelCase • lib/Chat/msgScreen.dart:150:10 info • The value of the local variable 'dayFormatter' isn't used • lib/Chat/msgScreen.dart:312:7 info • The value of the local variable 'firstName' isn't used • lib/Chat/msgScreen.dart:382:12 info • The value of the local variable 'lastName' isn't used • lib/Chat/msgScreen.dart:383:12 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/Chat/msgStream.dart:2:8 info • Unused import: 'dart:async' • lib/Chat/msgStream.dart:4:8 info • Unused import: 'dart:io' • lib/Chat/msgStream.dart:5:8 info • Unused import: 'package:intl/intl.dart' • lib/Chat/msgStream.dart:7:8 info • Unused import: '../globals.dart' • lib/Chat/msgStream.dart:8:8 info • Unused import: 'package:flutter_firebase_ui/flutter_firebase_ui.dart' • lib/Chat/msgStream.dart:9:8 info • Duplicate import • lib/Chat/msgStream.dart:10:8 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/Chat/msgStream.dart:10:8 info • Name non-constant identifiers using lowerCamelCase • lib/Chat/msgStream.dart:100:8 info • Name types using UpperCamelCase • lib/Chat/msgStream.dart:108:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/Chat/msgStream.dart:108:7 info • The value of the field '_listKey' isn't used • lib/Chat/msgStream.dart:113:38 info • Unused import: '../loginFlow/login_page.dart' • lib/homePage/chatList.dart:4:8 info • Unused import: 'dart:io' • lib/homePage/chatList.dart:6:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/homePage/chatList.dart:7:8 info • Unused import: '../main.dart' • lib/homePage/chatList.dart:8:8 info • Unused import: '../postSubmission/placepicker.dart' • lib/homePage/chatList.dart:9:8 info • Unused import: 'package:flutter/services.dart' • lib/homePage/chatList.dart:11:8 info • Unused import: '../Chat/msgStream.dart' • lib/homePage/chatList.dart:15:8 info • Unused import: 'feedStream.dart' • lib/homePage/chatList.dart:18:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/chatList.dart:20:7 info • Name types using UpperCamelCase • lib/homePage/chatList.dart:33:7 info • Name non-constant identifiers using lowerCamelCase • lib/homePage/chatList.dart:174:10 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/homePage/chatListStream.dart:2:8 info • Unused import: 'dart:async' • lib/homePage/chatListStream.dart:4:8 info • Unused import: 'dart:io' • lib/homePage/chatListStream.dart:5:8 info • Unused import: 'package:flutter_firebase_ui/flutter_firebase_ui.dart' • lib/homePage/chatListStream.dart:9:8 info • Duplicate import • lib/homePage/chatListStream.dart:10:8 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/homePage/chatListStream.dart:10:8 info • Unused import: 'profileSheet.dart' • lib/homePage/chatListStream.dart:13:8 info • Name types using UpperCamelCase • lib/homePage/chatListStream.dart:19:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/chatListStream.dart:19:7 info • The value of the local variable 'reversedFeed' isn't used • lib/homePage/chatListStream.dart:55:19 info • The value of the local variable 'i' isn't used • lib/homePage/chatListStream.dart:56:13 info • Name non-constant identifiers using lowerCamelCase • lib/homePage/chatListStream.dart:142:10 info • The value of the local variable 'ref' isn't used • lib/homePage/chatListStream.dart:218:23 info • Unused import: '../loginFlow/login_page.dart' • lib/homePage/feed.dart:4:8 info • Unused import: 'dart:io' • lib/homePage/feed.dart:6:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/homePage/feed.dart:7:8 info • Duplicate import • lib/homePage/feed.dart:11:8 info • Unused import: '../postSubmission/submitpost.dart' • lib/homePage/feed.dart:12:8 info • Unused import: 'package:intl/intl.dart' • lib/homePage/feed.dart:13:8 info • Unused import: '../Chat/msgScreen.dart' • lib/homePage/feed.dart:14:8 info • Unused import: '../homePage/chatList.dart' • lib/homePage/feed.dart:15:8 info • Unused import: '../homePage/feed.dart' • lib/homePage/feed.dart:16:8 info • Unused import: '../loginFlow/selectSchool.dart' • lib/homePage/feed.dart:20:8 info • Unused import: '../Chat/msgStream.dart' • lib/homePage/feed.dart:21:8 info • Unused import: 'profileSheet.dart' • lib/homePage/feed.dart:22:8 info • Unused import: '../notifications/notificationsPage.dart' • lib/homePage/feed.dart:24:8 info • Duplicate import • lib/homePage/feed.dart:25:8 info • Unused import: '../Chat/msgScreen.dart' • lib/homePage/feed.dart:25:8 info • Unused import: '../profilePages/commentsPage.dart' • lib/homePage/feed.dart:26:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/feed.dart:29:7 info • The value of the field '_sheetController' isn't used • lib/homePage/feed.dart:48:37 info • The value of the field '_bottomSheet' isn't used • lib/homePage/feed.dart:49:31 info • The value of the field '_counter' isn't used • lib/homePage/feed.dart:50:9 info • The value of the field '_btnTxt' isn't used • lib/homePage/feed.dart:55:12 info • The value of the field '_sheet' isn't used • lib/homePage/feed.dart:56:17 info • The method '_toggleFavorite' isn't used • lib/homePage/feed.dart:70:8 info • The method '_errorMenu' isn't used • lib/homePage/feed.dart:222:18 info • Unused import: 'dart:io' • lib/homePage/feedStream.dart:5:8 info • Unused import: 'package:flutter_firebase_ui/flutter_firebase_ui.dart' • lib/homePage/feedStream.dart:10:8 info • Duplicate import • lib/homePage/feedStream.dart:11:8 info • Unused import: 'profileSheet.dart' • lib/homePage/feedStream.dart:13:8 info • Unused import: 'feed.dart' • lib/homePage/feedStream.dart:14:8 info • Unused import: 'chatList.dart' • lib/homePage/feedStream.dart:15:8 info • Unused import: '../textFieldFix.dart' • lib/homePage/feedStream.dart:17:8 info • Name types using UpperCamelCase • lib/homePage/feedStream.dart:28:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/feedStream.dart:28:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/feedStream.dart:97:7 info • Method doesn't override an inherited method • lib/homePage/feedStream.dart:151:8 info • The value of the local variable 'expanded' isn't used • lib/homePage/feedStream.dart:168:8 info • Name non-constant identifiers using lowerCamelCase • lib/homePage/feedStream.dart:398:10 info • The value of the local variable 'post' isn't used • lib/homePage/feedStream.dart:515:15 info • Unused import: 'dart:io' • lib/homePage/home.dart:6:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/homePage/home.dart:7:8 info • Unused import: '../main.dart' • lib/homePage/home.dart:8:8 info • Unused import: '../postSubmission/placepicker.dart' • lib/homePage/home.dart:9:8 info • Duplicate import • lib/homePage/home.dart:14:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/homePage/home.dart:14:8 info • Unused import: 'feedStream.dart' • lib/homePage/home.dart:16:8 info • Unused import: '../Chat/msgScreen.dart' • lib/homePage/home.dart:24:8 info • Duplicate import • lib/homePage/home.dart:26:8 info • Unused import: 'feedStream.dart' • lib/homePage/home.dart:26:8 info • Duplicate import • lib/homePage/home.dart:28:8 info • Unused import: '../main.dart' • lib/homePage/home.dart:28:8 info • Unused import: 'package:intl/intl.dart' • lib/homePage/home.dart:30:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/home.dart:35:7 info • Name types using UpperCamelCase • lib/homePage/home.dart:50:7 info • The value of the field '_Channel' isn't used • lib/homePage/home.dart:53:28 info • The value of the field '_image' isn't used • lib/homePage/home.dart:65:13 info • 'child' is deprecated and shouldn't be used • lib/homePage/home.dart:341:50 info • The value of the local variable 'result' isn't used • lib/homePage/home.dart:466:11 info • Await only futures • lib/homePage/home.dart:467:36 info • Await only futures • lib/homePage/home.dart:468:23 info • Await only futures • lib/homePage/home.dart:504:34 info • Await only futures • lib/homePage/home.dart:505:21 info • The value of the local variable 'dwldUrl' isn't used • lib/homePage/home.dart:506:11 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/homePage/profileSheet.dart:2:8 info • Unused import: 'dart:io' • lib/homePage/profileSheet.dart:5:8 info • Unused import: 'package:flutter_firebase_ui/flutter_firebase_ui.dart' • lib/homePage/profileSheet.dart:10:8 info • Duplicate import • lib/homePage/profileSheet.dart:11:8 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/homePage/profileSheet.dart:11:8 info • Unused import: 'feed.dart' • lib/homePage/profileSheet.dart:13:8 info • Unused import: 'chatList.dart' • lib/homePage/profileSheet.dart:14:8 info • Unused import: 'feedStream.dart' • lib/homePage/profileSheet.dart:16:8 info • Unused import: '../profilePages/commentsPage.dart' • lib/homePage/profileSheet.dart:19:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/profileSheet.dart:84:7 info • Cancel instances of dart.async.StreamSubscription • lib/homePage/profileSheet.dart:112:43 info • The value of the field '_onStateChanged' isn't used • lib/homePage/profileSheet.dart:112:43 info • Avoid using braces in interpolation when not needed • lib/homePage/profileSheet.dart:386:34 info • Avoid using braces in interpolation when not needed • lib/homePage/profileSheet.dart:386:92 info • The value of the local variable 'flutterWebviewPlugin' isn't used • lib/homePage/profileSheet.dart:388:11 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/homePage/userSearch.dart:2:8 info • Unused import: 'dart:async' • lib/homePage/userSearch.dart:4:8 info • Unused import: 'dart:io' • lib/homePage/userSearch.dart:5:8 info • Unused import: 'profileSheet.dart' • lib/homePage/userSearch.dart:12:8 info • Name types using UpperCamelCase • lib/homePage/userSearch.dart:17:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/userSearch.dart:17:7 info • Name types using UpperCamelCase • lib/homePage/userSearch.dart:36:7 info • The value of the local variable 'ref' isn't used • lib/homePage/userSearch.dart:80:23 info • The value of the local variable 'sup' isn't used • lib/homePage/userSearch.dart:145:17 info • Unused import: '../homePage/chatList.dart' • lib/loginFlow/customizeProfile.dart:2:8 info • Unused import: 'package:flutter_webview_plugin/flutter_webview_plugin.dart' • lib/loginFlow/customizeProfile.dart:3:8 info • Unused import: 'package:firebase_database/ui/firebase_animated_list.dart' • lib/loginFlow/customizeProfile.dart:5:8 info • Unused import: 'imageResizer.dart' • lib/loginFlow/customizeProfile.dart:6:8 info • Unused import: 'package:intl/intl.dart' • lib/loginFlow/customizeProfile.dart:7:8 info • Unused import: 'package:firebase_messaging/firebase_messaging.dart' • lib/loginFlow/customizeProfile.dart:21:8 info • Name types using UpperCamelCase • lib/loginFlow/customizeProfile.dart:23:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/customizeProfile.dart:23:7 info • Name types using UpperCamelCase • lib/loginFlow/customizeProfile.dart:36:7 info • The value of the local variable 'ref' isn't used • lib/loginFlow/customizeProfile.dart:383:28 info • The value of the local variable 'result' isn't used • lib/loginFlow/customizeProfile.dart:412:9 info • Await only futures • lib/loginFlow/customizeProfile.dart:413:34 info • Await only futures • lib/loginFlow/customizeProfile.dart:414:21 info • The method '_lastNameChange' isn't used • lib/loginFlow/customizeProfile.dart:426:8 info • The value of the local variable 'firstName' isn't used • lib/loginFlow/customizeProfile.dart:435:12 info • The value of the local variable 'lastName' isn't used • lib/loginFlow/customizeProfile.dart:436:12 info • Unused import: 'package:image_picker/image_picker.dart' • lib/loginFlow/imageResizer.dart:7:8 info • Name types using UpperCamelCase • lib/loginFlow/imageResizer.dart:11:7 info • Name types using UpperCamelCase • lib/loginFlow/imageResizer.dart:19:7 info • The value of the local variable 'fl2' isn't used • lib/loginFlow/imageResizer.dart:41:20 info • The value of the local variable 'result' isn't used • lib/loginFlow/imageResizer.dart:54:9 info • Unused import: 'dart:io' • lib/loginFlow/login_page.dart:5:8 info • Unused import: 'signup.dart' • lib/loginFlow/login_page.dart:9:8 info • Unused import: '../main.dart' • lib/loginFlow/login_page.dart:10:8 info • Unused import: '../postSubmission/placepicker.dart' • lib/loginFlow/login_page.dart:12:8 info • Unused import: '../homePage/feed.dart' • lib/loginFlow/login_page.dart:13:8 info • Unused import: 'package:firebase_messaging/firebase_messaging.dart' • lib/loginFlow/login_page.dart:18:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/login_page.dart:21:7 info • The value of the local variable 'ref' isn't used • lib/loginFlow/login_page.dart:145:30 info • The method '_login' isn't used • lib/loginFlow/login_page.dart:229:21 info • Avoid using braces in interpolation when not needed • lib/loginFlow/login_page.dart:322:40 info • Avoid using braces in interpolation when not needed • lib/loginFlow/login_page.dart:322:64 info • 'JSON' is deprecated and shouldn't be used • lib/loginFlow/login_page.dart:325:36 info • Unused import: 'login_page.dart' • lib/loginFlow/selectSchool.dart:4:8 info • Unused import: '../main.dart' • lib/loginFlow/selectSchool.dart:9:8 info • Unused import: 'package:intl/intl.dart' • lib/loginFlow/selectSchool.dart:10:8 info • Unused import: '../homePage/feed.dart' • lib/loginFlow/selectSchool.dart:20:8 info • Unused import: 'signupPopup.dart' • lib/loginFlow/selectSchool.dart:22:8 info • Duplicate import • lib/loginFlow/selectSchool.dart:24:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/selectSchool.dart:28:7 info • The value of the field '_prefs' isn't used • lib/loginFlow/selectSchool.dart:54:29 info • The value of the local variable 'result' isn't used • lib/loginFlow/selectSchool.dart:406:11 info • Await only futures • lib/loginFlow/selectSchool.dart:407:36 info • Await only futures • lib/loginFlow/selectSchool.dart:408:23 info • Name types using UpperCamelCase • lib/loginFlow/selectSchool.dart:458:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/selectSchool.dart:458:7 info • Unused import: 'package:firebase_database/firebase_database.dart' • lib/loginFlow/signup.dart:3:8 info • Unused import: 'login_page.dart' • lib/loginFlow/signup.dart:4:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/loginFlow/signup.dart:7:8 info • Unused import: '../main.dart' • lib/loginFlow/signup.dart:8:8 info • Unused import: 'dart:io' • lib/loginFlow/signup.dart:10:8 info • Unused import: '../postSubmission/placepicker.dart' • lib/loginFlow/signup.dart:14:8 info • Unused import: 'selectSchool.dart' • lib/loginFlow/signup.dart:15:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/signup.dart:17:7 info • Await only futures • lib/loginFlow/signup.dart:149:18 info • The value of the local variable 'signupInfo' isn't used • lib/loginFlow/signup.dart:169:35 info • Unused import: 'login_page.dart' • lib/loginFlow/signupPopup.dart:4:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/loginFlow/signupPopup.dart:7:8 info • Unused import: '../main.dart' • lib/loginFlow/signupPopup.dart:8:8 info • Duplicate import • lib/loginFlow/signupPopup.dart:11:8 info • Unused import: 'package:http/http.dart' • lib/loginFlow/signupPopup.dart:14:8 info • Unused import: '../postSubmission/placepicker.dart' • lib/loginFlow/signupPopup.dart:15:8 info • Duplicate import • lib/loginFlow/signupPopup.dart:16:8 info • Unused import: '../homePage/home.dart' • lib/loginFlow/signupPopup.dart:19:8 info • Unused import: '../homePage/feed.dart' • lib/loginFlow/signupPopup.dart:20:8 info • Unused import: 'package:shared_preferences/shared_preferences.dart' • lib/loginFlow/signupPopup.dart:21:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/signupPopup.dart:23:7 info • Await only futures • lib/loginFlow/signupPopup.dart:221:18 info • Await only futures • lib/loginFlow/signupPopup.dart:221:115 info • Await only futures • lib/loginFlow/signupPopup.dart:248:19 info • Await only futures • lib/loginFlow/signupPopup.dart:248:117 info • Await only futures • lib/loginFlow/signupPopup.dart:348:34 info • Await only futures • lib/loginFlow/signupPopup.dart:349:21 info • Unused import: 'package:firebase_database/firebase_database.dart' • lib/loginFlow/splash.dart:3:8 info • Unused import: 'dart:io' • lib/loginFlow/splash.dart:5:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/loginFlow/splash.dart:6:8 info • Unused import: 'dart:convert' • lib/loginFlow/splash.dart:7:8 info • Unused import: 'package:http/http.dart' • lib/loginFlow/splash.dart:8:8 info • Unused import: 'signup.dart' • lib/loginFlow/splash.dart:9:8 info • Unused import: '../main.dart' • lib/loginFlow/splash.dart:10:8 info • Unused import: '../globals.dart' • lib/loginFlow/splash.dart:11:8 info • Unused import: '../postSubmission/placepicker.dart' • lib/loginFlow/splash.dart:12:8 info • Unused import: '../homePage/feed.dart' • lib/loginFlow/splash.dart:13:8 info • Unused import: '../homePage/home.dart' • lib/loginFlow/splash.dart:15:8 info • Name types using UpperCamelCase • lib/loginFlow/splash.dart:20:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/splash.dart:20:7 info • Name types using UpperCamelCase • lib/loginFlow/splash.dart:36:7 info • Unused import: 'package:firebase_database/firebase_database.dart' • lib/loginFlow/splashtwo.dart:3:8 info • Unused import: 'dart:io' • lib/loginFlow/splashtwo.dart:5:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/loginFlow/splashtwo.dart:6:8 info • Unused import: 'signup.dart' • lib/loginFlow/splashtwo.dart:9:8 info • Unused import: '../main.dart' • lib/loginFlow/splashtwo.dart:10:8 info • Unused import: '../globals.dart' • lib/loginFlow/splashtwo.dart:11:8 info • Unused import: '../postSubmission/placepicker.dart' • lib/loginFlow/splashtwo.dart:12:8 info • Unused import: '../homePage/feed.dart' • lib/loginFlow/splashtwo.dart:13:8 info • Unused import: '../homePage/home.dart' • lib/loginFlow/splashtwo.dart:15:8 info • Duplicate import • lib/loginFlow/splashtwo.dart:17:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/loginFlow/splashtwo.dart:17:8 info • Name types using UpperCamelCase • lib/loginFlow/splashtwo.dart:22:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/splashtwo.dart:22:7 info • Name types using UpperCamelCase • lib/loginFlow/splashtwo.dart:38:7 info • Avoid using braces in interpolation when not needed • lib/loginFlow/splashtwo.dart:240:40 info • Avoid using braces in interpolation when not needed • lib/loginFlow/splashtwo.dart:240:64 info • 'JSON' is deprecated and shouldn't be used • lib/loginFlow/splashtwo.dart:243:34 info • Unused import: 'package:firebase_database/firebase_database.dart' • lib/main.dart:8:8 info • Unused import: 'loginFlow/selectSchool.dart' • lib/main.dart:13:8 info • Unused import: 'loginFlow/splash.dart' • lib/main.dart:14:8 info • Unused import: 'profilePages/profilePage.dart' • lib/main.dart:17:8 info • Unused import: 'loginFlow/imageResizer.dart' • lib/main.dart:18:8 info • Unused import: 'loginFlow/customizeProfile.dart' • lib/main.dart:19:8 info • Unused import: 'profilePages/commentsPage.dart' • lib/main.dart:21:8 info • The value of the local variable 'userState' isn't used • lib/main.dart:84:24 info • The value of the local variable 'oldDeviceNotSignedIn' isn't used • lib/main.dart:87:9 info • The value of the local variable 'routes' isn't used • lib/main.dart:210:9 info • The value of the field '_iconTurns' isn't used • lib/modifiedExpansionTile.dart:92:21 info • The value of the local variable 'titleColor' isn't used • lib/modifiedExpansionTile.dart:138:17 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/notifications/notificationsPage.dart:2:8 info • Unused import: 'dart:async' • lib/notifications/notificationsPage.dart:4:8 info • Unused import: 'dart:io' • lib/notifications/notificationsPage.dart:5:8 info • Unused import: 'package:intl/intl.dart' • lib/notifications/notificationsPage.dart:7:8 info • Unused import: 'package:flutter_firebase_ui/flutter_firebase_ui.dart' • lib/notifications/notificationsPage.dart:10:8 info • Duplicate import • lib/notifications/notificationsPage.dart:11:8 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/notifications/notificationsPage.dart:11:8 info • Unused import: 'package:firebase_database/ui/firebase_animated_list.dart' • lib/notifications/notificationsPage.dart:12:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/notifications/notificationsPage.dart:19:7 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/notifications/notificationsStream.dart:2:8 info • Unused import: 'dart:async' • lib/notifications/notificationsStream.dart:4:8 info • Unused import: 'dart:io' • lib/notifications/notificationsStream.dart:5:8 info • Unused import: 'package:flutter_firebase_ui/flutter_firebase_ui.dart' • lib/notifications/notificationsStream.dart:10:8 info • Duplicate import • lib/notifications/notificationsStream.dart:11:8 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/notifications/notificationsStream.dart:11:8 info • Unused import: '../homePage/profileSheet.dart' • lib/notifications/notificationsStream.dart:13:8 info • Unused import: 'notificationsPage.dart' • lib/notifications/notificationsStream.dart:14:8 info • Unused import: '../globals.dart' • lib/postSubmission/placepicker.dart:9:8 info • Unused import: '../loginFlow/signup.dart' • lib/postSubmission/placepicker.dart:10:8 info • Unused import: '../main.dart' • lib/postSubmission/placepicker.dart:12:8 info • Unused import: '../homePage/feed.dart' • lib/postSubmission/placepicker.dart:13:8 info • Unused import: 'package:dio/dio.dart' • lib/postSubmission/placepicker.dart:14:8 info • The value of the local variable 'cityName' isn't used • lib/postSubmission/placepicker.dart:311:12 info • Unused import: '../loginFlow/login_page.dart' • lib/postSubmission/postSubmitPopUp.dart:4:8 info • Unused import: 'dart:io' • lib/postSubmission/postSubmitPopUp.dart:6:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/postSubmission/postSubmitPopUp.dart:7:8 info • Unused import: '../main.dart' • lib/postSubmission/postSubmitPopUp.dart:8:8 info • Unused import: 'package:dio/dio.dart' • lib/postSubmission/postSubmitPopUp.dart:12:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/postSubmission/postSubmitPopUp.dart:17:7 info • The method '_errorMenu' isn't used • lib/postSubmission/postSubmitPopUp.dart:423:16 info • Unused import: '../loginFlow/login_page.dart' • lib/postSubmission/submitpost.dart:4:8 info • Unused import: 'dart:async' • lib/postSubmission/submitpost.dart:5:8 info • Unused import: 'dart:io' • lib/postSubmission/submitpost.dart:6:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/postSubmission/submitpost.dart:7:8 info • Unused import: '../main.dart' • lib/postSubmission/submitpost.dart:8:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/postSubmission/submitpost.dart:15:7 info • Name types using UpperCamelCase • lib/postSubmission/submitpost.dart:28:7 warning • The parameter 'onPressed' is required • lib/postSubmission/submitpost.dart:148:41 info • The value of the local variable 'place' isn't used • lib/postSubmission/submitpost.dart:202:35 info • Unused import: '../homePage/chatList.dart' • lib/profilePages/addFeedback.dart:2:8 info • Unused import: 'package:flutter_webview_plugin/flutter_webview_plugin.dart' • lib/profilePages/addFeedback.dart:3:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/profilePages/addFeedback.dart:8:7 info • Unused import: '../homePage/chatList.dart' • lib/profilePages/commentsPage.dart:2:8 info • Unused import: 'package:flutter_webview_plugin/flutter_webview_plugin.dart' • lib/profilePages/commentsPage.dart:3:8 info • Name types using UpperCamelCase • lib/profilePages/commentsPage.dart:11:7 info • Name types using UpperCamelCase • lib/profilePages/commentsPage.dart:20:7 info • The value of the local variable 'ref' isn't used • lib/profilePages/commentsPage.dart:29:23 info • Name non-constant identifiers using lowerCamelCase • lib/profilePages/commentsPage.dart:97:10 info • Name non-constant identifiers using lowerCamelCase • lib/profilePages/commentsPage.dart:174:10 info • The value of the local variable 'post' isn't used • lib/profilePages/commentsPage.dart:340:15 info • The value of the local variable 'dayFormatter' isn't used • lib/profilePages/commentsPage.dart:396:9 info • Unused import: '../homePage/chatList.dart' • lib/profilePages/profilePage.dart:2:8 info • Unused import: 'package:flutter_webview_plugin/flutter_webview_plugin.dart' • lib/profilePages/profilePage.dart:3:8 info • Unused import: 'package:flutter/foundation.dart' • lib/profilePages/profilePage.dart:8:8 info • Duplicate import • lib/profilePages/profilePage.dart:12:8 info • Duplicate import • lib/profilePages/profilePage.dart:14:8 info • Duplicate import • lib/profilePages/profilePage.dart:15:8 info • Unused import: 'package:flutter/foundation.dart' • lib/profilePages/profilePage.dart:15:8 info • Name types using UpperCamelCase • lib/profilePages/profilePage.dart:44:7 info • Avoid using braces in interpolation when not needed • lib/profilePages/profilePage.dart:226:90 info • Avoid using braces in interpolation when not needed • lib/profilePages/profilePage.dart:226:101 info • The value of the local variable 'firstName' isn't used • lib/profilePages/profilePage.dart:381:10 info • The value of the local variable 'lastName' isn't used • lib/profilePages/profilePage.dart:382:10 "><pre class="notranslate"><code class="notranslate"> info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/Chat/msgScreen.dart:2:8 info • Unused import: 'dart:io' • lib/Chat/msgScreen.dart:5:8 info • Unused import: 'msgStream.dart' • lib/Chat/msgScreen.dart:8:8 info • Unused import: '../homePage/feedStream.dart' • lib/Chat/msgScreen.dart:10:8 info • Name types using UpperCamelCase • lib/Chat/msgScreen.dart:30:7 info • Name non-constant identifiers using lowerCamelCase • lib/Chat/msgScreen.dart:150:10 info • The value of the local variable 'dayFormatter' isn't used • lib/Chat/msgScreen.dart:312:7 info • The value of the local variable 'firstName' isn't used • lib/Chat/msgScreen.dart:382:12 info • The value of the local variable 'lastName' isn't used • lib/Chat/msgScreen.dart:383:12 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/Chat/msgStream.dart:2:8 info • Unused import: 'dart:async' • lib/Chat/msgStream.dart:4:8 info • Unused import: 'dart:io' • lib/Chat/msgStream.dart:5:8 info • Unused import: 'package:intl/intl.dart' • lib/Chat/msgStream.dart:7:8 info • Unused import: '../globals.dart' • lib/Chat/msgStream.dart:8:8 info • Unused import: 'package:flutter_firebase_ui/flutter_firebase_ui.dart' • lib/Chat/msgStream.dart:9:8 info • Duplicate import • lib/Chat/msgStream.dart:10:8 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/Chat/msgStream.dart:10:8 info • Name non-constant identifiers using lowerCamelCase • lib/Chat/msgStream.dart:100:8 info • Name types using UpperCamelCase • lib/Chat/msgStream.dart:108:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/Chat/msgStream.dart:108:7 info • The value of the field '_listKey' isn't used • lib/Chat/msgStream.dart:113:38 info • Unused import: '../loginFlow/login_page.dart' • lib/homePage/chatList.dart:4:8 info • Unused import: 'dart:io' • lib/homePage/chatList.dart:6:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/homePage/chatList.dart:7:8 info • Unused import: '../main.dart' • lib/homePage/chatList.dart:8:8 info • Unused import: '../postSubmission/placepicker.dart' • lib/homePage/chatList.dart:9:8 info • Unused import: 'package:flutter/services.dart' • lib/homePage/chatList.dart:11:8 info • Unused import: '../Chat/msgStream.dart' • lib/homePage/chatList.dart:15:8 info • Unused import: 'feedStream.dart' • lib/homePage/chatList.dart:18:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/chatList.dart:20:7 info • Name types using UpperCamelCase • lib/homePage/chatList.dart:33:7 info • Name non-constant identifiers using lowerCamelCase • lib/homePage/chatList.dart:174:10 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/homePage/chatListStream.dart:2:8 info • Unused import: 'dart:async' • lib/homePage/chatListStream.dart:4:8 info • Unused import: 'dart:io' • lib/homePage/chatListStream.dart:5:8 info • Unused import: 'package:flutter_firebase_ui/flutter_firebase_ui.dart' • lib/homePage/chatListStream.dart:9:8 info • Duplicate import • lib/homePage/chatListStream.dart:10:8 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/homePage/chatListStream.dart:10:8 info • Unused import: 'profileSheet.dart' • lib/homePage/chatListStream.dart:13:8 info • Name types using UpperCamelCase • lib/homePage/chatListStream.dart:19:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/chatListStream.dart:19:7 info • The value of the local variable 'reversedFeed' isn't used • lib/homePage/chatListStream.dart:55:19 info • The value of the local variable 'i' isn't used • lib/homePage/chatListStream.dart:56:13 info • Name non-constant identifiers using lowerCamelCase • lib/homePage/chatListStream.dart:142:10 info • The value of the local variable 'ref' isn't used • lib/homePage/chatListStream.dart:218:23 info • Unused import: '../loginFlow/login_page.dart' • lib/homePage/feed.dart:4:8 info • Unused import: 'dart:io' • lib/homePage/feed.dart:6:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/homePage/feed.dart:7:8 info • Duplicate import • lib/homePage/feed.dart:11:8 info • Unused import: '../postSubmission/submitpost.dart' • lib/homePage/feed.dart:12:8 info • Unused import: 'package:intl/intl.dart' • lib/homePage/feed.dart:13:8 info • Unused import: '../Chat/msgScreen.dart' • lib/homePage/feed.dart:14:8 info • Unused import: '../homePage/chatList.dart' • lib/homePage/feed.dart:15:8 info • Unused import: '../homePage/feed.dart' • lib/homePage/feed.dart:16:8 info • Unused import: '../loginFlow/selectSchool.dart' • lib/homePage/feed.dart:20:8 info • Unused import: '../Chat/msgStream.dart' • lib/homePage/feed.dart:21:8 info • Unused import: 'profileSheet.dart' • lib/homePage/feed.dart:22:8 info • Unused import: '../notifications/notificationsPage.dart' • lib/homePage/feed.dart:24:8 info • Duplicate import • lib/homePage/feed.dart:25:8 info • Unused import: '../Chat/msgScreen.dart' • lib/homePage/feed.dart:25:8 info • Unused import: '../profilePages/commentsPage.dart' • lib/homePage/feed.dart:26:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/feed.dart:29:7 info • The value of the field '_sheetController' isn't used • lib/homePage/feed.dart:48:37 info • The value of the field '_bottomSheet' isn't used • lib/homePage/feed.dart:49:31 info • The value of the field '_counter' isn't used • lib/homePage/feed.dart:50:9 info • The value of the field '_btnTxt' isn't used • lib/homePage/feed.dart:55:12 info • The value of the field '_sheet' isn't used • lib/homePage/feed.dart:56:17 info • The method '_toggleFavorite' isn't used • lib/homePage/feed.dart:70:8 info • The method '_errorMenu' isn't used • lib/homePage/feed.dart:222:18 info • Unused import: 'dart:io' • lib/homePage/feedStream.dart:5:8 info • Unused import: 'package:flutter_firebase_ui/flutter_firebase_ui.dart' • lib/homePage/feedStream.dart:10:8 info • Duplicate import • lib/homePage/feedStream.dart:11:8 info • Unused import: 'profileSheet.dart' • lib/homePage/feedStream.dart:13:8 info • Unused import: 'feed.dart' • lib/homePage/feedStream.dart:14:8 info • Unused import: 'chatList.dart' • lib/homePage/feedStream.dart:15:8 info • Unused import: '../textFieldFix.dart' • lib/homePage/feedStream.dart:17:8 info • Name types using UpperCamelCase • lib/homePage/feedStream.dart:28:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/feedStream.dart:28:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/feedStream.dart:97:7 info • Method doesn't override an inherited method • lib/homePage/feedStream.dart:151:8 info • The value of the local variable 'expanded' isn't used • lib/homePage/feedStream.dart:168:8 info • Name non-constant identifiers using lowerCamelCase • lib/homePage/feedStream.dart:398:10 info • The value of the local variable 'post' isn't used • lib/homePage/feedStream.dart:515:15 info • Unused import: 'dart:io' • lib/homePage/home.dart:6:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/homePage/home.dart:7:8 info • Unused import: '../main.dart' • lib/homePage/home.dart:8:8 info • Unused import: '../postSubmission/placepicker.dart' • lib/homePage/home.dart:9:8 info • Duplicate import • lib/homePage/home.dart:14:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/homePage/home.dart:14:8 info • Unused import: 'feedStream.dart' • lib/homePage/home.dart:16:8 info • Unused import: '../Chat/msgScreen.dart' • lib/homePage/home.dart:24:8 info • Duplicate import • lib/homePage/home.dart:26:8 info • Unused import: 'feedStream.dart' • lib/homePage/home.dart:26:8 info • Duplicate import • lib/homePage/home.dart:28:8 info • Unused import: '../main.dart' • lib/homePage/home.dart:28:8 info • Unused import: 'package:intl/intl.dart' • lib/homePage/home.dart:30:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/home.dart:35:7 info • Name types using UpperCamelCase • lib/homePage/home.dart:50:7 info • The value of the field '_Channel' isn't used • lib/homePage/home.dart:53:28 info • The value of the field '_image' isn't used • lib/homePage/home.dart:65:13 info • 'child' is deprecated and shouldn't be used • lib/homePage/home.dart:341:50 info • The value of the local variable 'result' isn't used • lib/homePage/home.dart:466:11 info • Await only futures • lib/homePage/home.dart:467:36 info • Await only futures • lib/homePage/home.dart:468:23 info • Await only futures • lib/homePage/home.dart:504:34 info • Await only futures • lib/homePage/home.dart:505:21 info • The value of the local variable 'dwldUrl' isn't used • lib/homePage/home.dart:506:11 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/homePage/profileSheet.dart:2:8 info • Unused import: 'dart:io' • lib/homePage/profileSheet.dart:5:8 info • Unused import: 'package:flutter_firebase_ui/flutter_firebase_ui.dart' • lib/homePage/profileSheet.dart:10:8 info • Duplicate import • lib/homePage/profileSheet.dart:11:8 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/homePage/profileSheet.dart:11:8 info • Unused import: 'feed.dart' • lib/homePage/profileSheet.dart:13:8 info • Unused import: 'chatList.dart' • lib/homePage/profileSheet.dart:14:8 info • Unused import: 'feedStream.dart' • lib/homePage/profileSheet.dart:16:8 info • Unused import: '../profilePages/commentsPage.dart' • lib/homePage/profileSheet.dart:19:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/profileSheet.dart:84:7 info • Cancel instances of dart.async.StreamSubscription • lib/homePage/profileSheet.dart:112:43 info • The value of the field '_onStateChanged' isn't used • lib/homePage/profileSheet.dart:112:43 info • Avoid using braces in interpolation when not needed • lib/homePage/profileSheet.dart:386:34 info • Avoid using braces in interpolation when not needed • lib/homePage/profileSheet.dart:386:92 info • The value of the local variable 'flutterWebviewPlugin' isn't used • lib/homePage/profileSheet.dart:388:11 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/homePage/userSearch.dart:2:8 info • Unused import: 'dart:async' • lib/homePage/userSearch.dart:4:8 info • Unused import: 'dart:io' • lib/homePage/userSearch.dart:5:8 info • Unused import: 'profileSheet.dart' • lib/homePage/userSearch.dart:12:8 info • Name types using UpperCamelCase • lib/homePage/userSearch.dart:17:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/homePage/userSearch.dart:17:7 info • Name types using UpperCamelCase • lib/homePage/userSearch.dart:36:7 info • The value of the local variable 'ref' isn't used • lib/homePage/userSearch.dart:80:23 info • The value of the local variable 'sup' isn't used • lib/homePage/userSearch.dart:145:17 info • Unused import: '../homePage/chatList.dart' • lib/loginFlow/customizeProfile.dart:2:8 info • Unused import: 'package:flutter_webview_plugin/flutter_webview_plugin.dart' • lib/loginFlow/customizeProfile.dart:3:8 info • Unused import: 'package:firebase_database/ui/firebase_animated_list.dart' • lib/loginFlow/customizeProfile.dart:5:8 info • Unused import: 'imageResizer.dart' • lib/loginFlow/customizeProfile.dart:6:8 info • Unused import: 'package:intl/intl.dart' • lib/loginFlow/customizeProfile.dart:7:8 info • Unused import: 'package:firebase_messaging/firebase_messaging.dart' • lib/loginFlow/customizeProfile.dart:21:8 info • Name types using UpperCamelCase • lib/loginFlow/customizeProfile.dart:23:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/customizeProfile.dart:23:7 info • Name types using UpperCamelCase • lib/loginFlow/customizeProfile.dart:36:7 info • The value of the local variable 'ref' isn't used • lib/loginFlow/customizeProfile.dart:383:28 info • The value of the local variable 'result' isn't used • lib/loginFlow/customizeProfile.dart:412:9 info • Await only futures • lib/loginFlow/customizeProfile.dart:413:34 info • Await only futures • lib/loginFlow/customizeProfile.dart:414:21 info • The method '_lastNameChange' isn't used • lib/loginFlow/customizeProfile.dart:426:8 info • The value of the local variable 'firstName' isn't used • lib/loginFlow/customizeProfile.dart:435:12 info • The value of the local variable 'lastName' isn't used • lib/loginFlow/customizeProfile.dart:436:12 info • Unused import: 'package:image_picker/image_picker.dart' • lib/loginFlow/imageResizer.dart:7:8 info • Name types using UpperCamelCase • lib/loginFlow/imageResizer.dart:11:7 info • Name types using UpperCamelCase • lib/loginFlow/imageResizer.dart:19:7 info • The value of the local variable 'fl2' isn't used • lib/loginFlow/imageResizer.dart:41:20 info • The value of the local variable 'result' isn't used • lib/loginFlow/imageResizer.dart:54:9 info • Unused import: 'dart:io' • lib/loginFlow/login_page.dart:5:8 info • Unused import: 'signup.dart' • lib/loginFlow/login_page.dart:9:8 info • Unused import: '../main.dart' • lib/loginFlow/login_page.dart:10:8 info • Unused import: '../postSubmission/placepicker.dart' • lib/loginFlow/login_page.dart:12:8 info • Unused import: '../homePage/feed.dart' • lib/loginFlow/login_page.dart:13:8 info • Unused import: 'package:firebase_messaging/firebase_messaging.dart' • lib/loginFlow/login_page.dart:18:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/login_page.dart:21:7 info • The value of the local variable 'ref' isn't used • lib/loginFlow/login_page.dart:145:30 info • The method '_login' isn't used • lib/loginFlow/login_page.dart:229:21 info • Avoid using braces in interpolation when not needed • lib/loginFlow/login_page.dart:322:40 info • Avoid using braces in interpolation when not needed • lib/loginFlow/login_page.dart:322:64 info • 'JSON' is deprecated and shouldn't be used • lib/loginFlow/login_page.dart:325:36 info • Unused import: 'login_page.dart' • lib/loginFlow/selectSchool.dart:4:8 info • Unused import: '../main.dart' • lib/loginFlow/selectSchool.dart:9:8 info • Unused import: 'package:intl/intl.dart' • lib/loginFlow/selectSchool.dart:10:8 info • Unused import: '../homePage/feed.dart' • lib/loginFlow/selectSchool.dart:20:8 info • Unused import: 'signupPopup.dart' • lib/loginFlow/selectSchool.dart:22:8 info • Duplicate import • lib/loginFlow/selectSchool.dart:24:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/selectSchool.dart:28:7 info • The value of the field '_prefs' isn't used • lib/loginFlow/selectSchool.dart:54:29 info • The value of the local variable 'result' isn't used • lib/loginFlow/selectSchool.dart:406:11 info • Await only futures • lib/loginFlow/selectSchool.dart:407:36 info • Await only futures • lib/loginFlow/selectSchool.dart:408:23 info • Name types using UpperCamelCase • lib/loginFlow/selectSchool.dart:458:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/selectSchool.dart:458:7 info • Unused import: 'package:firebase_database/firebase_database.dart' • lib/loginFlow/signup.dart:3:8 info • Unused import: 'login_page.dart' • lib/loginFlow/signup.dart:4:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/loginFlow/signup.dart:7:8 info • Unused import: '../main.dart' • lib/loginFlow/signup.dart:8:8 info • Unused import: 'dart:io' • lib/loginFlow/signup.dart:10:8 info • Unused import: '../postSubmission/placepicker.dart' • lib/loginFlow/signup.dart:14:8 info • Unused import: 'selectSchool.dart' • lib/loginFlow/signup.dart:15:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/signup.dart:17:7 info • Await only futures • lib/loginFlow/signup.dart:149:18 info • The value of the local variable 'signupInfo' isn't used • lib/loginFlow/signup.dart:169:35 info • Unused import: 'login_page.dart' • lib/loginFlow/signupPopup.dart:4:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/loginFlow/signupPopup.dart:7:8 info • Unused import: '../main.dart' • lib/loginFlow/signupPopup.dart:8:8 info • Duplicate import • lib/loginFlow/signupPopup.dart:11:8 info • Unused import: 'package:http/http.dart' • lib/loginFlow/signupPopup.dart:14:8 info • Unused import: '../postSubmission/placepicker.dart' • lib/loginFlow/signupPopup.dart:15:8 info • Duplicate import • lib/loginFlow/signupPopup.dart:16:8 info • Unused import: '../homePage/home.dart' • lib/loginFlow/signupPopup.dart:19:8 info • Unused import: '../homePage/feed.dart' • lib/loginFlow/signupPopup.dart:20:8 info • Unused import: 'package:shared_preferences/shared_preferences.dart' • lib/loginFlow/signupPopup.dart:21:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/signupPopup.dart:23:7 info • Await only futures • lib/loginFlow/signupPopup.dart:221:18 info • Await only futures • lib/loginFlow/signupPopup.dart:221:115 info • Await only futures • lib/loginFlow/signupPopup.dart:248:19 info • Await only futures • lib/loginFlow/signupPopup.dart:248:117 info • Await only futures • lib/loginFlow/signupPopup.dart:348:34 info • Await only futures • lib/loginFlow/signupPopup.dart:349:21 info • Unused import: 'package:firebase_database/firebase_database.dart' • lib/loginFlow/splash.dart:3:8 info • Unused import: 'dart:io' • lib/loginFlow/splash.dart:5:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/loginFlow/splash.dart:6:8 info • Unused import: 'dart:convert' • lib/loginFlow/splash.dart:7:8 info • Unused import: 'package:http/http.dart' • lib/loginFlow/splash.dart:8:8 info • Unused import: 'signup.dart' • lib/loginFlow/splash.dart:9:8 info • Unused import: '../main.dart' • lib/loginFlow/splash.dart:10:8 info • Unused import: '../globals.dart' • lib/loginFlow/splash.dart:11:8 info • Unused import: '../postSubmission/placepicker.dart' • lib/loginFlow/splash.dart:12:8 info • Unused import: '../homePage/feed.dart' • lib/loginFlow/splash.dart:13:8 info • Unused import: '../homePage/home.dart' • lib/loginFlow/splash.dart:15:8 info • Name types using UpperCamelCase • lib/loginFlow/splash.dart:20:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/splash.dart:20:7 info • Name types using UpperCamelCase • lib/loginFlow/splash.dart:36:7 info • Unused import: 'package:firebase_database/firebase_database.dart' • lib/loginFlow/splashtwo.dart:3:8 info • Unused import: 'dart:io' • lib/loginFlow/splashtwo.dart:5:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/loginFlow/splashtwo.dart:6:8 info • Unused import: 'signup.dart' • lib/loginFlow/splashtwo.dart:9:8 info • Unused import: '../main.dart' • lib/loginFlow/splashtwo.dart:10:8 info • Unused import: '../globals.dart' • lib/loginFlow/splashtwo.dart:11:8 info • Unused import: '../postSubmission/placepicker.dart' • lib/loginFlow/splashtwo.dart:12:8 info • Unused import: '../homePage/feed.dart' • lib/loginFlow/splashtwo.dart:13:8 info • Unused import: '../homePage/home.dart' • lib/loginFlow/splashtwo.dart:15:8 info • Duplicate import • lib/loginFlow/splashtwo.dart:17:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/loginFlow/splashtwo.dart:17:8 info • Name types using UpperCamelCase • lib/loginFlow/splashtwo.dart:22:7 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/loginFlow/splashtwo.dart:22:7 info • Name types using UpperCamelCase • lib/loginFlow/splashtwo.dart:38:7 info • Avoid using braces in interpolation when not needed • lib/loginFlow/splashtwo.dart:240:40 info • Avoid using braces in interpolation when not needed • lib/loginFlow/splashtwo.dart:240:64 info • 'JSON' is deprecated and shouldn't be used • lib/loginFlow/splashtwo.dart:243:34 info • Unused import: 'package:firebase_database/firebase_database.dart' • lib/main.dart:8:8 info • Unused import: 'loginFlow/selectSchool.dart' • lib/main.dart:13:8 info • Unused import: 'loginFlow/splash.dart' • lib/main.dart:14:8 info • Unused import: 'profilePages/profilePage.dart' • lib/main.dart:17:8 info • Unused import: 'loginFlow/imageResizer.dart' • lib/main.dart:18:8 info • Unused import: 'loginFlow/customizeProfile.dart' • lib/main.dart:19:8 info • Unused import: 'profilePages/commentsPage.dart' • lib/main.dart:21:8 info • The value of the local variable 'userState' isn't used • lib/main.dart:84:24 info • The value of the local variable 'oldDeviceNotSignedIn' isn't used • lib/main.dart:87:9 info • The value of the local variable 'routes' isn't used • lib/main.dart:210:9 info • The value of the field '_iconTurns' isn't used • lib/modifiedExpansionTile.dart:92:21 info • The value of the local variable 'titleColor' isn't used • lib/modifiedExpansionTile.dart:138:17 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/notifications/notificationsPage.dart:2:8 info • Unused import: 'dart:async' • lib/notifications/notificationsPage.dart:4:8 info • Unused import: 'dart:io' • lib/notifications/notificationsPage.dart:5:8 info • Unused import: 'package:intl/intl.dart' • lib/notifications/notificationsPage.dart:7:8 info • Unused import: 'package:flutter_firebase_ui/flutter_firebase_ui.dart' • lib/notifications/notificationsPage.dart:10:8 info • Duplicate import • lib/notifications/notificationsPage.dart:11:8 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/notifications/notificationsPage.dart:11:8 info • Unused import: 'package:firebase_database/ui/firebase_animated_list.dart' • lib/notifications/notificationsPage.dart:12:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/notifications/notificationsPage.dart:19:7 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/notifications/notificationsStream.dart:2:8 info • Unused import: 'dart:async' • lib/notifications/notificationsStream.dart:4:8 info • Unused import: 'dart:io' • lib/notifications/notificationsStream.dart:5:8 info • Unused import: 'package:flutter_firebase_ui/flutter_firebase_ui.dart' • lib/notifications/notificationsStream.dart:10:8 info • Duplicate import • lib/notifications/notificationsStream.dart:11:8 info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/notifications/notificationsStream.dart:11:8 info • Unused import: '../homePage/profileSheet.dart' • lib/notifications/notificationsStream.dart:13:8 info • Unused import: 'notificationsPage.dart' • lib/notifications/notificationsStream.dart:14:8 info • Unused import: '../globals.dart' • lib/postSubmission/placepicker.dart:9:8 info • Unused import: '../loginFlow/signup.dart' • lib/postSubmission/placepicker.dart:10:8 info • Unused import: '../main.dart' • lib/postSubmission/placepicker.dart:12:8 info • Unused import: '../homePage/feed.dart' • lib/postSubmission/placepicker.dart:13:8 info • Unused import: 'package:dio/dio.dart' • lib/postSubmission/placepicker.dart:14:8 info • The value of the local variable 'cityName' isn't used • lib/postSubmission/placepicker.dart:311:12 info • Unused import: '../loginFlow/login_page.dart' • lib/postSubmission/postSubmitPopUp.dart:4:8 info • Unused import: 'dart:io' • lib/postSubmission/postSubmitPopUp.dart:6:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/postSubmission/postSubmitPopUp.dart:7:8 info • Unused import: '../main.dart' • lib/postSubmission/postSubmitPopUp.dart:8:8 info • Unused import: 'package:dio/dio.dart' • lib/postSubmission/postSubmitPopUp.dart:12:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/postSubmission/postSubmitPopUp.dart:17:7 info • The method '_errorMenu' isn't used • lib/postSubmission/postSubmitPopUp.dart:423:16 info • Unused import: '../loginFlow/login_page.dart' • lib/postSubmission/submitpost.dart:4:8 info • Unused import: 'dart:async' • lib/postSubmission/submitpost.dart:5:8 info • Unused import: 'dart:io' • lib/postSubmission/submitpost.dart:6:8 info • Unused import: 'package:flutter_facebook_login/flutter_facebook_login.dart' • lib/postSubmission/submitpost.dart:7:8 info • Unused import: '../main.dart' • lib/postSubmission/submitpost.dart:8:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/postSubmission/submitpost.dart:15:7 info • Name types using UpperCamelCase • lib/postSubmission/submitpost.dart:28:7 warning • The parameter 'onPressed' is required • lib/postSubmission/submitpost.dart:148:41 info • The value of the local variable 'place' isn't used • lib/postSubmission/submitpost.dart:202:35 info • Unused import: '../homePage/chatList.dart' • lib/profilePages/addFeedback.dart:2:8 info • Unused import: 'package:flutter_webview_plugin/flutter_webview_plugin.dart' • lib/profilePages/addFeedback.dart:3:8 info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/profilePages/addFeedback.dart:8:7 info • Unused import: '../homePage/chatList.dart' • lib/profilePages/commentsPage.dart:2:8 info • Unused import: 'package:flutter_webview_plugin/flutter_webview_plugin.dart' • lib/profilePages/commentsPage.dart:3:8 info • Name types using UpperCamelCase • lib/profilePages/commentsPage.dart:11:7 info • Name types using UpperCamelCase • lib/profilePages/commentsPage.dart:20:7 info • The value of the local variable 'ref' isn't used • lib/profilePages/commentsPage.dart:29:23 info • Name non-constant identifiers using lowerCamelCase • lib/profilePages/commentsPage.dart:97:10 info • Name non-constant identifiers using lowerCamelCase • lib/profilePages/commentsPage.dart:174:10 info • The value of the local variable 'post' isn't used • lib/profilePages/commentsPage.dart:340:15 info • The value of the local variable 'dayFormatter' isn't used • lib/profilePages/commentsPage.dart:396:9 info • Unused import: '../homePage/chatList.dart' • lib/profilePages/profilePage.dart:2:8 info • Unused import: 'package:flutter_webview_plugin/flutter_webview_plugin.dart' • lib/profilePages/profilePage.dart:3:8 info • Unused import: 'package:flutter/foundation.dart' • lib/profilePages/profilePage.dart:8:8 info • Duplicate import • lib/profilePages/profilePage.dart:12:8 info • Duplicate import • lib/profilePages/profilePage.dart:14:8 info • Duplicate import • lib/profilePages/profilePage.dart:15:8 info • Unused import: 'package:flutter/foundation.dart' • lib/profilePages/profilePage.dart:15:8 info • Name types using UpperCamelCase • lib/profilePages/profilePage.dart:44:7 info • Avoid using braces in interpolation when not needed • lib/profilePages/profilePage.dart:226:90 info • Avoid using braces in interpolation when not needed • lib/profilePages/profilePage.dart:226:101 info • The value of the local variable 'firstName' isn't used • lib/profilePages/profilePage.dart:381:10 info • The value of the local variable 'lastName' isn't used • lib/profilePages/profilePage.dart:382:10 </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter doctor -v [✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13 17A405, locale en-US) • Flutter version 0.5.1 at /Users/brett/flutter/flutter • Framework revision c7ea3ca377 (8 weeks ago), 2018-05-29 21:07:33 +0200 • Engine revision 1ed25ca7b7 • Dart version 2.0.0-dev.58.0.flutter-f981f09760 [✓] Android toolchain - develop for Android devices (Android SDK 28.0.1) • Android SDK at /Users/brett/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.1 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.2, Build version 9C40b • ios-deploy 1.9.2 • CocoaPods version 1.5.3 [✓] Android Studio (version 3.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 26.0.1 • Dart plugin version 173.4700 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) [✓] Connected devices (2 available) • Brett’s iPhone • d8dab15c1ed2059bc7aad3cdaf538c479e86551f • ios • iOS 11.2 • iPhone X • 0CF2C3DA-07A1-48BF-B820-A0FAE1418212 • ios • iOS 11.2 (simulator) • No issues found!"><pre class="notranslate"><code class="notranslate">flutter doctor -v [✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13 17A405, locale en-US) • Flutter version 0.5.1 at /Users/brett/flutter/flutter • Framework revision c7ea3ca377 (8 weeks ago), 2018-05-29 21:07:33 +0200 • Engine revision 1ed25ca7b7 • Dart version 2.0.0-dev.58.0.flutter-f981f09760 [✓] Android toolchain - develop for Android devices (Android SDK 28.0.1) • Android SDK at /Users/brett/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.1 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.2, Build version 9C40b • ios-deploy 1.9.2 • CocoaPods version 1.5.3 [✓] Android Studio (version 3.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 26.0.1 • Dart plugin version 173.4700 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) [✓] Connected devices (2 available) • Brett’s iPhone • d8dab15c1ed2059bc7aad3cdaf538c479e86551f • ios • iOS 11.2 • iPhone X • 0CF2C3DA-07A1-48BF-B820-A0FAE1418212 • ios • iOS 11.2 (simulator) • No issues found! </code></pre></div>
0
<h2 dir="auto">Steps to Reproduce</h2> <ol dir="auto"> <li>Create an app with a material <code class="notranslate">Input</code> widget.</li> <li>Create a <code class="notranslate">test_driver</code> test that tries to <code class="notranslate">driver.setInputText...</code></li> <li>Attempt to run test on Android Device</li> <li>Encounter error <code class="notranslate">DriverError: Failed to fulfill SetInputText due to remote error</code></li> </ol> <p dir="auto">Code I wrote in a sandboxed environment to test this can be seen here: <a href="https://github.com/brianegan/flutter-input-test-driver-test">https://github.com/brianegan/flutter-input-test-driver-test</a></p> <h2 dir="auto">Flutter Doctor</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (on Mac OS, channel master) • Flutter at /Users/brian.egan/lab/flutter • Framework revision a69c11f349 (2 days ago), 2016-09-02 17:01:11 • Engine revision dcb026188a • Tools Dart version 1.19.0-dev.5.0 [✓] Android toolchain - develop for Android devices (Android SDK 24.0.2) • Android SDK at /Users/brian.egan/Library/Android/sdk • Platform android-N, build-tools 24.0.2 • Java(TM) SE Runtime Environment (build 1.8.0_101-b13) [✓] iOS toolchain - develop for iOS devices (Xcode 7.3.1) • XCode at /Applications/Xcode.app/Contents/Developer • Xcode 7.3.1, Build version 7D1014 [✓] Atom - a lightweight development environment for Flutter • flutter plugin version 0.2.4 • dartlang plugin version 0.6.35 [✓] Connected devices • Nexus 5 • 0b0d76cc02e4d9e2 • android-arm • Android SDK built for x86 • emulator-5554 • android-x86"><pre class="notranslate"><code class="notranslate">[✓] Flutter (on Mac OS, channel master) • Flutter at /Users/brian.egan/lab/flutter • Framework revision a69c11f349 (2 days ago), 2016-09-02 17:01:11 • Engine revision dcb026188a • Tools Dart version 1.19.0-dev.5.0 [✓] Android toolchain - develop for Android devices (Android SDK 24.0.2) • Android SDK at /Users/brian.egan/Library/Android/sdk • Platform android-N, build-tools 24.0.2 • Java(TM) SE Runtime Environment (build 1.8.0_101-b13) [✓] iOS toolchain - develop for iOS devices (Xcode 7.3.1) • XCode at /Applications/Xcode.app/Contents/Developer • Xcode 7.3.1, Build version 7D1014 [✓] Atom - a lightweight development environment for Flutter • flutter plugin version 0.2.4 • dartlang plugin version 0.6.35 [✓] Connected devices • Nexus 5 • 0b0d76cc02e4d9e2 • android-arm • Android SDK built for x86 • emulator-5554 • android-x86 </code></pre></div> <h2 dir="auto">Logs and Crash Reports</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter drive --target=test_driver/input.dart -d 0b0d76cc02e4d9e2 --verbose 1 ↵ 28 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb devices -l 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb devices -l 5 ms • List of devices attached 0b0d76cc02e4d9e2 device usb:337641472X product:hammerhead model:Nexus_5 device:hammerhead emulator-5554 device product:sdk_google_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86 6 ms • idevice_id -h 3 ms • which idevice_id 0 ms • Exit code 0 from: which idevice_id 0 ms • /usr/local/bin/idevice_id 4 ms • /usr/local/bin/idevice_id -l 2 ms • Exit code 0 from: /usr/local/bin/idevice_id -l 22 ms • xcode-select --print-path 0 ms • Exit code 0 from: xcode-select --print-path 0 ms • /Applications/Xcode.app/Contents/Developer 102 ms • xcodebuild -version 0 ms • Exit code 0 from: xcodebuild -version 0 ms • Xcode 7.3.1 Build version 7D1014 9 ms • xcrun clang 103 ms • /usr/bin/xcrun simctl list --json devices 2 ms • Starting application: test_driver/input.dart 0 ms • Building an APK. 121 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell getprop 0 ms • APK up to date; skipping build step. 0 ms • Stopping previously running application, if any. 21 ms • Stopping application. 1185 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell am force-stop com.yourcompany.inputDriverTest 2 ms • Installing application package. 913 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell pm list packages com.yourcompany.inputDriverTest 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell pm list packages com.yourcompany.inputDriverTest 1 ms • package:com.yourcompany.inputDriverTest 39 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell cat /data/local/tmp/sky.com.yourcompany.inputDriverTest.sha1 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell cat /data/local/tmp/sky.com.yourcompany.inputDriverTest.sha1 0 ms • e4032c412a6ade20181e8dc78eb6e7565529b261 47 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb version 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb version 1 ms • Android Debug Bridge version 1.0.36 Revision 8f855a3d9b35-android 31 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb start-server 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb start-server 1308 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 uninstall com.yourcompany.inputDriverTest 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 uninstall com.yourcompany.inputDriverTest 1 ms • Success 30 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb version 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb version 0 ms • Android Debug Bridge version 1.0.36 Revision 8f855a3d9b35-android 30 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb start-server 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb start-server 9300 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 install -r build/app.apk 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 install -r build/app.apk 0 ms • [ 0%] /data/local/tmp/app.apk [ 1%] /data/local/tmp/app.apk [ 2%] /data/local/tmp/app.apk [ 2%] /data/local/tmp/app.apk [ 3%] /data/local/tmp/app.apk [ 4%] /data/local/tmp/app.apk [ 4%] /data/local/tmp/app.apk [ 5%] /data/local/tmp/app.apk [ 6%] /data/local/tmp/app.apk [ 7%] /data/local/tmp/app.apk [ 7%] /data/local/tmp/app.apk [ 8%] /data/local/tmp/app.apk [ 9%] /data/local/tmp/app.apk [ 9%] /data/local/tmp/app.apk [ 10%] /data/local/tmp/app.apk [ 11%] /data/local/tmp/app.apk [ 11%] /data/local/tmp/app.apk [ 12%] /data/local/tmp/app.apk [ 13%] /data/local/tmp/app.apk [ 14%] /data/local/tmp/app.apk [ 14%] /data/local/tmp/app.apk [ 15%] /data/local/tmp/app.apk [ 16%] /data/local/tmp/app.apk [ 16%] /data/local/tmp/app.apk [ 17%] /data/local/tmp/app.apk [ 18%] /data/local/tmp/app.apk [ 18%] /data/local/tmp/app.apk [ 19%] /data/local/tmp/app.apk [ 20%] /data/local/tmp/app.apk [ 21%] /data/local/tmp/app.apk [ 21%] /data/local/tmp/app.apk [ 22%] /data/local/tmp/app.apk [ 23%] /data/local/tmp/app.apk [ 23%] /data/local/tmp/app.apk [ 24%] /data/local/tmp/app.apk [ 25%] /data/local/tmp/app.apk [ 26%] /data/local/tmp/app.apk [ 26%] /data/local/tmp/app.apk [ 27%] /data/local/tmp/app.apk [ 28%] /data/local/tmp/app.apk [ 28%] /data/local/tmp/app.apk [ 29%] /data/local/tmp/app.apk [ 30%] /data/local/tmp/app.apk [ 30%] /data/local/tmp/app.apk [ 31%] /data/local/tmp/app.apk [ 32%] /data/local/tmp/app.apk [ 33%] /data/local/tmp/app.apk [ 33%] /data/local/tmp/app.apk [ 34%] /data/local/tmp/app.apk [ 35%] /data/local/tmp/app.apk [ 35%] /data/local/tmp/app.apk [ 36%] /data/local/tmp/app.apk [ 37%] /data/local/tmp/app.apk [ 37%] /data/local/tmp/app.apk [ 38%] /data/local/tmp/app.apk [ 39%] /data/local/tmp/app.apk [ 40%] /data/local/tmp/app.apk [ 40%] /data/local/tmp/app.apk [ 41%] /data/local/tmp/app.apk [ 42%] /data/local/tmp/app.apk [ 42%] /data/local/tmp/app.apk [ 43%] /data/local/tmp/app.apk [ 44%] /data/local/tmp/app.apk [ 45%] /data/local/tmp/app.apk [ 45%] /data/local/tmp/app.apk [ 46%] /data/local/tmp/app.apk [ 47%] /data/local/tmp/app.apk [ 47%] /data/local/tmp/app.apk [ 48%] /data/local/tmp/app.apk [ 49%] /data/local/tmp/app.apk [ 49%] /data/local/tmp/app.apk [ 50%] /data/local/tmp/app.apk [ 51%] /data/local/tmp/app.apk [ 52%] /data/local/tmp/app.apk [ 52%] /data/local/tmp/app.apk [ 53%] /data/local/tmp/app.apk [ 54%] /data/local/tmp/app.apk [ 54%] /data/local/tmp/app.apk [ 55%] /data/local/tmp/app.apk [ 56%] /data/local/tmp/app.apk [ 56%] /data/local/tmp/app.apk [ 57%] /data/local/tmp/app.apk [ 58%] /data/local/tmp/app.apk [ 59%] /data/local/tmp/app.apk [ 59%] /data/local/tmp/app.apk [ 60%] /data/local/tmp/app.apk [ 61%] /data/local/tmp/app.apk [ 61%] /data/local/tmp/app.apk [ 62%] /data/local/tmp/app.apk [ 63%] /data/local/tmp/app.apk [ 63%] /data/local/tmp/app.apk [ 64%] /data/local/tmp/app.apk [ 65%] /data/local/tmp/app.apk [ 66%] /data/local/tmp/app.apk [ 66%] /data/local/tmp/app.apk [ 67%] /data/local/tmp/app.apk [ 68%] /data/local/tmp/app.apk [ 68%] /data/local/tmp/app.apk [ 69%] /data/local/tmp/app.apk [ 70%] /data/local/tmp/app.apk [ 71%] /data/local/tmp/app.apk [ 71%] /data/local/tmp/app.apk [ 72%] /data/local/tmp/app.apk [ 73%] /data/local/tmp/app.apk [ 73%] /data/local/tmp/app.apk [ 74%] /data/local/tmp/app.apk [ 75%] /data/local/tmp/app.apk [ 75%] /data/local/tmp/app.apk [ 76%] /data/local/tmp/app.apk [ 77%] /data/local/tmp/app.apk [ 78%] /data/local/tmp/app.apk [ 78%] /data/local/tmp/app.apk [ 79%] /data/local/tmp/app.apk [ 80%] /data/local/tmp/app.apk [ 80%] /data/local/tmp/app.apk [ 81%] /data/local/tmp/app.apk [ 82%] /data/local/tmp/app.apk [ 82%] /data/local/tmp/app.apk [ 83%] /data/local/tmp/app.apk [ 84%] /data/local/tmp/app.apk [ 85%] /data/local/tmp/app.apk [ 85%] /data/local/tmp/app.apk [ 86%] /data/local/tmp/app.apk [ 87%] /data/local/tmp/app.apk [ 87%] /data/local/tmp/app.apk [ 88%] /data/local/tmp/app.apk [ 89%] /data/local/tmp/app.apk [ 90%] /data/local/tmp/app.apk [ 90%] /data/local/tmp/app.apk [ 91%] /data/local/tmp/app.apk [ 92%] /data/local/tmp/app.apk [ 92%] /data/local/tmp/app.apk [ 93%] /data/local/tmp/app.apk [ 94%] /data/local/tmp/app.apk [ 94%] /data/local/tmp/app.apk [ 95%] /data/local/tmp/app.apk [ 96%] /data/local/tmp/app.apk [ 97%] /data/local/tmp/app.apk [ 97%] /data/local/tmp/app.apk [ 98%] /data/local/tmp/app.apk [ 99%] /data/local/tmp/app.apk [ 99%] /data/local/tmp/app.apk [100%] /data/local/tmp/app.apk pkg: /data/local/tmp/app.apk Success 38 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell echo -n e4032c412a6ade20181e8dc78eb6e7565529b261 &gt; /data/local/tmp/sky.com.yourcompany.inputDriverTest.sha1 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell echo -n e4032c412a6ade20181e8dc78eb6e7565529b261 &gt; /data/local/tmp/sky.com.yourcompany.inputDriverTest.sha1 1 ms • Starting application. 31 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb version 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb version 0 ms • Android Debug Bridge version 1.0.36 Revision 8f855a3d9b35-android 32 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb start-server 3 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb start-server 380 ms • /Users/brian.egan/lab/flutter/bin/cache/artifacts/engine/darwin-x64/sky_snapshot --packages=/Users/brian.egan/lab/input-driver-test/.packages --snapshot=build/snapshot_blob.bin --depfile=build/snapshot_blob.bin.d --build-output=build/snapshot_blob.bin /Users/brian.egan/lab/input-driver-test/test_driver/input.dart 115 ms • Building build/app.flx 3 ms • which zip 22 ms • Encoding zip file to build/app.flx 132 ms • [build/flx/] zip -q /Users/brian.egan/lab/input-driver-test/build/app.flx fonts/MaterialIcons-Regular.ttf AssetManifest.json FontManifest.json LICENSE snapshot_blob.bin 0 ms • Exit code 0 from: zip -q /Users/brian.egan/lab/input-driver-test/build/app.flx fonts/MaterialIcons-Regular.ttf AssetManifest.json FontManifest.json LICENSE snapshot_blob.bin 0 ms • Built build/app.flx. 2 ms • Starting bundle for Nexus 5. 0 ms • Nexus 5 startBundle 701 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 push build/app.flx /data/local/tmp/dev.flx 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 push build/app.flx /data/local/tmp/dev.flx 2 ms • [ 7%] /data/local/tmp/dev.flx [ 14%] /data/local/tmp/dev.flx [ 21%] /data/local/tmp/dev.flx [ 29%] /data/local/tmp/dev.flx [ 36%] /data/local/tmp/dev.flx [ 43%] /data/local/tmp/dev.flx [ 51%] /data/local/tmp/dev.flx [ 58%] /data/local/tmp/dev.flx [ 65%] /data/local/tmp/dev.flx [ 72%] /data/local/tmp/dev.flx [ 80%] /data/local/tmp/dev.flx [ 87%] /data/local/tmp/dev.flx [ 94%] /data/local/tmp/dev.flx [100%] /data/local/tmp/dev.flx 71 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 logcat -v time -t 1 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 logcat -v time -t 1 0 ms • --------- beginning of main 09-05 10:21:29.123 I/KomootRealmMigration(27508): realm.configuration.schema.version 6 55 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 logcat -g -T 09-05 10:21:29.123 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 logcat -g -T 09-05 10:21:29.123 0 ms • main: ring buffer is 256Kb (251Kb consumed), max entry is 5120b, max payload is 4076b system: ring buffer is 256Kb (249Kb consumed), max entry is 5120b, max payload is 4076b crash: ring buffer is 256Kb (8Kb consumed), max entry is 5120b, max payload is 4076b 1272 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell am start -a android.intent.action.RUN -d /data/local/tmp/dev.flx -f 0x20000000 --ez enable-background-compilation true --ez enable-checked-mode true --ez start-paused true com.yourcompany.inputDriverTest/org.domokit.sky.shell.SkyActivity 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell am start -a android.intent.action.RUN -d /data/local/tmp/dev.flx -f 0x20000000 --ez enable-background-compilation true --ez enable-checked-mode true --ez start-paused true com.yourcompany.inputDriverTest/org.domokit.sky.shell.SkyActivity 0 ms • Starting: Intent { act=android.intent.action.RUN dat=/data/local/tmp/dev.flx flg=0x20000000 cmp=com.yourcompany.inputDriverTest/org.domokit.sky.shell.SkyActivity (has extras) } 1 ms • Waiting for observatory port to be available... 598 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 logcat -v tag -T 09-05 10:21:29.123 1 ms • observatory port = 48861 32 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 forward tcp:8183 tcp:48861 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 forward tcp:8183 tcp:48861 0 ms • Observatory listening on http://127.0.0.1:8183 5 ms • diagnostic port = 34630 33 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 forward tcp:54194 tcp:34630 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 forward tcp:54194 tcp:34630 5 ms • Diagnostic server listening on http://127.0.0.1:54194 00:00 +0: Input Test (setUpAll) [info ] FlutterDriver: Connecting to Flutter application at http://localhost:8183 [trace] FlutterDriver: Looking for the isolate [trace] FlutterDriver: Isolate is paused at start. [trace] FlutterDriver: Attempting to resume isolate [trace] FlutterDriver: Waiting for service extension [info ] FlutterDriver: Connected to Flutter application. 00:02 +0: Input Test perform search 00:03 +0 -1: Input Test perform search DriverError: Failed to fulfill SetInputText due to remote error Original error: JSON-RPC error -32000: Server error Original stack trace: package:json_rpc_2/src/client.dart 96:56 Client.sendRequest package:json_rpc_2/src/peer.dart 69:15 Peer.sendRequest package:vm_service_client/src/scope.dart 51:23 Scope.sendRequest.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:vm_service_client/src/scope.dart Scope.sendRequest package:vm_service_client/src/isolate.dart 344:19 VMIsolateRef.invokeExtension package:flutter_driver/src/driver.dart 197:32 FlutterDriver._sendCommand.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver._sendCommand package:flutter_driver/src/driver.dart 223:11 FlutterDriver.setInputText.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver.setInputText test_driver/input_test.dart 30:18 InputScreen.setInputText.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask test_driver/input_test.dart InputScreen.setInputText test_driver/input_test.dart 19:25 main.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask test_driver/input_test.dart main.&lt;fn&gt;.&lt;fn&gt; package:test/src/backend/declarer.dart 106:19 Declarer.test.&lt;fn&gt;.&lt;async&gt;.&lt;fn&gt;.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 1158 _rootRunUnary dart:async/zone.dart 1037 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:test/src/backend/declarer.dart 183:3 Declarer._runSetUps.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 1158 _rootRunUnary dart:async/zone.dart 1037 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future.dart 390 Future.doWhile.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 1158 _rootRunUnary dart:async/zone.dart 1037 _CustomZone.runUnary dart:async/zone.dart 932 _CustomZone.runUnaryGuarded dart:async/zone.dart 961 _CustomZone.bindUnaryCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 1158 _rootRunUnary dart:async/zone.dart 1037 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 477 _Future._completeWithValue dart:async/future_impl.dart 528 _Future._asyncComplete.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1073 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper package:test/src/backend/declarer.dart Declarer.test.&lt;fn&gt;.&lt;async&gt;.&lt;fn&gt; package:test/src/backend/invoker.dart 188:17 Invoker.waitForOutstandingCallbacks.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/invoker.dart Invoker.waitForOutstandingCallbacks.&lt;fn&gt;.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 1501 runZoned package:test/src/backend/invoker.dart 185:7 Invoker.waitForOutstandingCallbacks.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 1503 runZoned package:test/src/backend/invoker.dart 184:5 Invoker.waitForOutstandingCallbacks package:test/src/backend/declarer.dart 104:29 Declarer.test.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/declarer.dart Declarer.test.&lt;fn&gt; dart:async/future.dart 118 Future.Future.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async-patch/timer_patch.dart 16 Timer._createTimer.&lt;fn&gt; dart:isolate-patch/timer_impl.dart 385 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/timer.dart 53 Timer.Timer dart:async/timer.dart 92 Timer.run dart:async/future.dart 116 Future.Future package:test/src/backend/invoker.dart 309:13 Invoker._onRun.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/invoker.dart Invoker._onRun.&lt;fn&gt;.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 1501 runZoned package:test/src/utils.dart 204:12 runZonedWithValues.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 1503 runZoned package:test/src/utils.dart 203:10 runZonedWithValues package:test/src/backend/invoker.dart 296:7 Invoker._onRun.&lt;fn&gt; package:stack_trace/src/chain.dart 87:24 Chain.capture.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 1503 runZoned package:stack_trace/src/chain.dart 85:12 Chain.capture package:test/src/backend/invoker.dart 295:11 Invoker._onRun package:test/src/backend/live_test_controller.dart 189:11 LiveTestController._run package:test/src/backend/live_test_controller.dart 40:31 _LiveTest.run package:test/src/runner/remote_listener.dart 195:14 RemoteListener._runLiveTest package:test/src/runner/remote_listener.dart 149:7 RemoteListener._serializeTest.&lt;fn&gt; dart:async/zone.dart 1158 _rootRunUnary dart:async/zone.dart 1037 _CustomZone.runUnary dart:async/zone.dart 932 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 1162 _rootRunUnary dart:async/zone.dart 1037 _CustomZone.runUnary dart:async/zone.dart 932 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add package:stream_channel/src/guarantee_channel.dart 120:12 _GuaranteeSink.add package:stream_channel/src/multi_channel.dart 137:31 _MultiChannel._MultiChannel.&lt;fn&gt; dart:async/zone.dart 1338 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 1338 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add dart:async/zone.dart 1338 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 1338 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add dart:async/zone.dart 1338 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage package:flutter_driver/src/driver.dart 199:7 FlutterDriver._sendCommand.&lt;async&gt; dart:async _Completer.completeError package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.&lt;async&gt; dart:async _Completer.completeError package:json_rpc_2/src/client.dart 177:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _Completer.completeError package:flutter_driver/src/driver.dart 208:3 FlutterDriver._sendCommand.&lt;async&gt; dart:async _Completer.completeError package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.&lt;async&gt; dart:async _Completer.completeError package:json_rpc_2/src/client.dart 177:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _asyncErrorWrapperHelper package:flutter_driver/src/driver.dart FlutterDriver._sendCommand package:flutter_driver/src/driver.dart 223:11 FlutterDriver.setInputText.&lt;async&gt; ===== asynchronous gap =========================== dart:async Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver.setInputText test_driver/input_test.dart 30:18 InputScreen.setInputText.&lt;async&gt; ===== asynchronous gap =========================== dart:async Future.Future.microtask test_driver/input_test.dart InputScreen.setInputText test_driver/input_test.dart 19:25 main.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; ===== asynchronous gap =========================== dart:async Future.Future.microtask test_driver/input_test.dart main.&lt;fn&gt;.&lt;fn&gt; 00:03 +0 -1: Input Test (tearDownAll) 00:03 +0 -1: Some tests failed. 3723 ms • Running driver tests. 0 ms • Stopping application instance. 0 ms • Stopping application. 1332 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell am force-stop com.yourcompany.inputDriverTest 0 ms • 'flutter drive' took 22004ms; exiting with code 1. 0 ms • ensureAnalyticsSent: 99ms"><pre class="notranslate"><code class="notranslate">flutter drive --target=test_driver/input.dart -d 0b0d76cc02e4d9e2 --verbose 1 ↵ 28 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb devices -l 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb devices -l 5 ms • List of devices attached 0b0d76cc02e4d9e2 device usb:337641472X product:hammerhead model:Nexus_5 device:hammerhead emulator-5554 device product:sdk_google_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86 6 ms • idevice_id -h 3 ms • which idevice_id 0 ms • Exit code 0 from: which idevice_id 0 ms • /usr/local/bin/idevice_id 4 ms • /usr/local/bin/idevice_id -l 2 ms • Exit code 0 from: /usr/local/bin/idevice_id -l 22 ms • xcode-select --print-path 0 ms • Exit code 0 from: xcode-select --print-path 0 ms • /Applications/Xcode.app/Contents/Developer 102 ms • xcodebuild -version 0 ms • Exit code 0 from: xcodebuild -version 0 ms • Xcode 7.3.1 Build version 7D1014 9 ms • xcrun clang 103 ms • /usr/bin/xcrun simctl list --json devices 2 ms • Starting application: test_driver/input.dart 0 ms • Building an APK. 121 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell getprop 0 ms • APK up to date; skipping build step. 0 ms • Stopping previously running application, if any. 21 ms • Stopping application. 1185 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell am force-stop com.yourcompany.inputDriverTest 2 ms • Installing application package. 913 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell pm list packages com.yourcompany.inputDriverTest 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell pm list packages com.yourcompany.inputDriverTest 1 ms • package:com.yourcompany.inputDriverTest 39 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell cat /data/local/tmp/sky.com.yourcompany.inputDriverTest.sha1 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell cat /data/local/tmp/sky.com.yourcompany.inputDriverTest.sha1 0 ms • e4032c412a6ade20181e8dc78eb6e7565529b261 47 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb version 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb version 1 ms • Android Debug Bridge version 1.0.36 Revision 8f855a3d9b35-android 31 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb start-server 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb start-server 1308 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 uninstall com.yourcompany.inputDriverTest 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 uninstall com.yourcompany.inputDriverTest 1 ms • Success 30 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb version 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb version 0 ms • Android Debug Bridge version 1.0.36 Revision 8f855a3d9b35-android 30 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb start-server 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb start-server 9300 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 install -r build/app.apk 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 install -r build/app.apk 0 ms • [ 0%] /data/local/tmp/app.apk [ 1%] /data/local/tmp/app.apk [ 2%] /data/local/tmp/app.apk [ 2%] /data/local/tmp/app.apk [ 3%] /data/local/tmp/app.apk [ 4%] /data/local/tmp/app.apk [ 4%] /data/local/tmp/app.apk [ 5%] /data/local/tmp/app.apk [ 6%] /data/local/tmp/app.apk [ 7%] /data/local/tmp/app.apk [ 7%] /data/local/tmp/app.apk [ 8%] /data/local/tmp/app.apk [ 9%] /data/local/tmp/app.apk [ 9%] /data/local/tmp/app.apk [ 10%] /data/local/tmp/app.apk [ 11%] /data/local/tmp/app.apk [ 11%] /data/local/tmp/app.apk [ 12%] /data/local/tmp/app.apk [ 13%] /data/local/tmp/app.apk [ 14%] /data/local/tmp/app.apk [ 14%] /data/local/tmp/app.apk [ 15%] /data/local/tmp/app.apk [ 16%] /data/local/tmp/app.apk [ 16%] /data/local/tmp/app.apk [ 17%] /data/local/tmp/app.apk [ 18%] /data/local/tmp/app.apk [ 18%] /data/local/tmp/app.apk [ 19%] /data/local/tmp/app.apk [ 20%] /data/local/tmp/app.apk [ 21%] /data/local/tmp/app.apk [ 21%] /data/local/tmp/app.apk [ 22%] /data/local/tmp/app.apk [ 23%] /data/local/tmp/app.apk [ 23%] /data/local/tmp/app.apk [ 24%] /data/local/tmp/app.apk [ 25%] /data/local/tmp/app.apk [ 26%] /data/local/tmp/app.apk [ 26%] /data/local/tmp/app.apk [ 27%] /data/local/tmp/app.apk [ 28%] /data/local/tmp/app.apk [ 28%] /data/local/tmp/app.apk [ 29%] /data/local/tmp/app.apk [ 30%] /data/local/tmp/app.apk [ 30%] /data/local/tmp/app.apk [ 31%] /data/local/tmp/app.apk [ 32%] /data/local/tmp/app.apk [ 33%] /data/local/tmp/app.apk [ 33%] /data/local/tmp/app.apk [ 34%] /data/local/tmp/app.apk [ 35%] /data/local/tmp/app.apk [ 35%] /data/local/tmp/app.apk [ 36%] /data/local/tmp/app.apk [ 37%] /data/local/tmp/app.apk [ 37%] /data/local/tmp/app.apk [ 38%] /data/local/tmp/app.apk [ 39%] /data/local/tmp/app.apk [ 40%] /data/local/tmp/app.apk [ 40%] /data/local/tmp/app.apk [ 41%] /data/local/tmp/app.apk [ 42%] /data/local/tmp/app.apk [ 42%] /data/local/tmp/app.apk [ 43%] /data/local/tmp/app.apk [ 44%] /data/local/tmp/app.apk [ 45%] /data/local/tmp/app.apk [ 45%] /data/local/tmp/app.apk [ 46%] /data/local/tmp/app.apk [ 47%] /data/local/tmp/app.apk [ 47%] /data/local/tmp/app.apk [ 48%] /data/local/tmp/app.apk [ 49%] /data/local/tmp/app.apk [ 49%] /data/local/tmp/app.apk [ 50%] /data/local/tmp/app.apk [ 51%] /data/local/tmp/app.apk [ 52%] /data/local/tmp/app.apk [ 52%] /data/local/tmp/app.apk [ 53%] /data/local/tmp/app.apk [ 54%] /data/local/tmp/app.apk [ 54%] /data/local/tmp/app.apk [ 55%] /data/local/tmp/app.apk [ 56%] /data/local/tmp/app.apk [ 56%] /data/local/tmp/app.apk [ 57%] /data/local/tmp/app.apk [ 58%] /data/local/tmp/app.apk [ 59%] /data/local/tmp/app.apk [ 59%] /data/local/tmp/app.apk [ 60%] /data/local/tmp/app.apk [ 61%] /data/local/tmp/app.apk [ 61%] /data/local/tmp/app.apk [ 62%] /data/local/tmp/app.apk [ 63%] /data/local/tmp/app.apk [ 63%] /data/local/tmp/app.apk [ 64%] /data/local/tmp/app.apk [ 65%] /data/local/tmp/app.apk [ 66%] /data/local/tmp/app.apk [ 66%] /data/local/tmp/app.apk [ 67%] /data/local/tmp/app.apk [ 68%] /data/local/tmp/app.apk [ 68%] /data/local/tmp/app.apk [ 69%] /data/local/tmp/app.apk [ 70%] /data/local/tmp/app.apk [ 71%] /data/local/tmp/app.apk [ 71%] /data/local/tmp/app.apk [ 72%] /data/local/tmp/app.apk [ 73%] /data/local/tmp/app.apk [ 73%] /data/local/tmp/app.apk [ 74%] /data/local/tmp/app.apk [ 75%] /data/local/tmp/app.apk [ 75%] /data/local/tmp/app.apk [ 76%] /data/local/tmp/app.apk [ 77%] /data/local/tmp/app.apk [ 78%] /data/local/tmp/app.apk [ 78%] /data/local/tmp/app.apk [ 79%] /data/local/tmp/app.apk [ 80%] /data/local/tmp/app.apk [ 80%] /data/local/tmp/app.apk [ 81%] /data/local/tmp/app.apk [ 82%] /data/local/tmp/app.apk [ 82%] /data/local/tmp/app.apk [ 83%] /data/local/tmp/app.apk [ 84%] /data/local/tmp/app.apk [ 85%] /data/local/tmp/app.apk [ 85%] /data/local/tmp/app.apk [ 86%] /data/local/tmp/app.apk [ 87%] /data/local/tmp/app.apk [ 87%] /data/local/tmp/app.apk [ 88%] /data/local/tmp/app.apk [ 89%] /data/local/tmp/app.apk [ 90%] /data/local/tmp/app.apk [ 90%] /data/local/tmp/app.apk [ 91%] /data/local/tmp/app.apk [ 92%] /data/local/tmp/app.apk [ 92%] /data/local/tmp/app.apk [ 93%] /data/local/tmp/app.apk [ 94%] /data/local/tmp/app.apk [ 94%] /data/local/tmp/app.apk [ 95%] /data/local/tmp/app.apk [ 96%] /data/local/tmp/app.apk [ 97%] /data/local/tmp/app.apk [ 97%] /data/local/tmp/app.apk [ 98%] /data/local/tmp/app.apk [ 99%] /data/local/tmp/app.apk [ 99%] /data/local/tmp/app.apk [100%] /data/local/tmp/app.apk pkg: /data/local/tmp/app.apk Success 38 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell echo -n e4032c412a6ade20181e8dc78eb6e7565529b261 &gt; /data/local/tmp/sky.com.yourcompany.inputDriverTest.sha1 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell echo -n e4032c412a6ade20181e8dc78eb6e7565529b261 &gt; /data/local/tmp/sky.com.yourcompany.inputDriverTest.sha1 1 ms • Starting application. 31 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb version 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb version 0 ms • Android Debug Bridge version 1.0.36 Revision 8f855a3d9b35-android 32 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb start-server 3 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb start-server 380 ms • /Users/brian.egan/lab/flutter/bin/cache/artifacts/engine/darwin-x64/sky_snapshot --packages=/Users/brian.egan/lab/input-driver-test/.packages --snapshot=build/snapshot_blob.bin --depfile=build/snapshot_blob.bin.d --build-output=build/snapshot_blob.bin /Users/brian.egan/lab/input-driver-test/test_driver/input.dart 115 ms • Building build/app.flx 3 ms • which zip 22 ms • Encoding zip file to build/app.flx 132 ms • [build/flx/] zip -q /Users/brian.egan/lab/input-driver-test/build/app.flx fonts/MaterialIcons-Regular.ttf AssetManifest.json FontManifest.json LICENSE snapshot_blob.bin 0 ms • Exit code 0 from: zip -q /Users/brian.egan/lab/input-driver-test/build/app.flx fonts/MaterialIcons-Regular.ttf AssetManifest.json FontManifest.json LICENSE snapshot_blob.bin 0 ms • Built build/app.flx. 2 ms • Starting bundle for Nexus 5. 0 ms • Nexus 5 startBundle 701 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 push build/app.flx /data/local/tmp/dev.flx 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 push build/app.flx /data/local/tmp/dev.flx 2 ms • [ 7%] /data/local/tmp/dev.flx [ 14%] /data/local/tmp/dev.flx [ 21%] /data/local/tmp/dev.flx [ 29%] /data/local/tmp/dev.flx [ 36%] /data/local/tmp/dev.flx [ 43%] /data/local/tmp/dev.flx [ 51%] /data/local/tmp/dev.flx [ 58%] /data/local/tmp/dev.flx [ 65%] /data/local/tmp/dev.flx [ 72%] /data/local/tmp/dev.flx [ 80%] /data/local/tmp/dev.flx [ 87%] /data/local/tmp/dev.flx [ 94%] /data/local/tmp/dev.flx [100%] /data/local/tmp/dev.flx 71 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 logcat -v time -t 1 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 logcat -v time -t 1 0 ms • --------- beginning of main 09-05 10:21:29.123 I/KomootRealmMigration(27508): realm.configuration.schema.version 6 55 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 logcat -g -T 09-05 10:21:29.123 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 logcat -g -T 09-05 10:21:29.123 0 ms • main: ring buffer is 256Kb (251Kb consumed), max entry is 5120b, max payload is 4076b system: ring buffer is 256Kb (249Kb consumed), max entry is 5120b, max payload is 4076b crash: ring buffer is 256Kb (8Kb consumed), max entry is 5120b, max payload is 4076b 1272 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell am start -a android.intent.action.RUN -d /data/local/tmp/dev.flx -f 0x20000000 --ez enable-background-compilation true --ez enable-checked-mode true --ez start-paused true com.yourcompany.inputDriverTest/org.domokit.sky.shell.SkyActivity 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell am start -a android.intent.action.RUN -d /data/local/tmp/dev.flx -f 0x20000000 --ez enable-background-compilation true --ez enable-checked-mode true --ez start-paused true com.yourcompany.inputDriverTest/org.domokit.sky.shell.SkyActivity 0 ms • Starting: Intent { act=android.intent.action.RUN dat=/data/local/tmp/dev.flx flg=0x20000000 cmp=com.yourcompany.inputDriverTest/org.domokit.sky.shell.SkyActivity (has extras) } 1 ms • Waiting for observatory port to be available... 598 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 logcat -v tag -T 09-05 10:21:29.123 1 ms • observatory port = 48861 32 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 forward tcp:8183 tcp:48861 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 forward tcp:8183 tcp:48861 0 ms • Observatory listening on http://127.0.0.1:8183 5 ms • diagnostic port = 34630 33 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 forward tcp:54194 tcp:34630 0 ms • Exit code 0 from: /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 forward tcp:54194 tcp:34630 5 ms • Diagnostic server listening on http://127.0.0.1:54194 00:00 +0: Input Test (setUpAll) [info ] FlutterDriver: Connecting to Flutter application at http://localhost:8183 [trace] FlutterDriver: Looking for the isolate [trace] FlutterDriver: Isolate is paused at start. [trace] FlutterDriver: Attempting to resume isolate [trace] FlutterDriver: Waiting for service extension [info ] FlutterDriver: Connected to Flutter application. 00:02 +0: Input Test perform search 00:03 +0 -1: Input Test perform search DriverError: Failed to fulfill SetInputText due to remote error Original error: JSON-RPC error -32000: Server error Original stack trace: package:json_rpc_2/src/client.dart 96:56 Client.sendRequest package:json_rpc_2/src/peer.dart 69:15 Peer.sendRequest package:vm_service_client/src/scope.dart 51:23 Scope.sendRequest.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:vm_service_client/src/scope.dart Scope.sendRequest package:vm_service_client/src/isolate.dart 344:19 VMIsolateRef.invokeExtension package:flutter_driver/src/driver.dart 197:32 FlutterDriver._sendCommand.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver._sendCommand package:flutter_driver/src/driver.dart 223:11 FlutterDriver.setInputText.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver.setInputText test_driver/input_test.dart 30:18 InputScreen.setInputText.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask test_driver/input_test.dart InputScreen.setInputText test_driver/input_test.dart 19:25 main.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask test_driver/input_test.dart main.&lt;fn&gt;.&lt;fn&gt; package:test/src/backend/declarer.dart 106:19 Declarer.test.&lt;fn&gt;.&lt;async&gt;.&lt;fn&gt;.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 1158 _rootRunUnary dart:async/zone.dart 1037 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:test/src/backend/declarer.dart 183:3 Declarer._runSetUps.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 1158 _rootRunUnary dart:async/zone.dart 1037 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future.dart 390 Future.doWhile.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 1158 _rootRunUnary dart:async/zone.dart 1037 _CustomZone.runUnary dart:async/zone.dart 932 _CustomZone.runUnaryGuarded dart:async/zone.dart 961 _CustomZone.bindUnaryCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 1158 _rootRunUnary dart:async/zone.dart 1037 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 477 _Future._completeWithValue dart:async/future_impl.dart 528 _Future._asyncComplete.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1073 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper package:test/src/backend/declarer.dart Declarer.test.&lt;fn&gt;.&lt;async&gt;.&lt;fn&gt; package:test/src/backend/invoker.dart 188:17 Invoker.waitForOutstandingCallbacks.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/invoker.dart Invoker.waitForOutstandingCallbacks.&lt;fn&gt;.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 1501 runZoned package:test/src/backend/invoker.dart 185:7 Invoker.waitForOutstandingCallbacks.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 1503 runZoned package:test/src/backend/invoker.dart 184:5 Invoker.waitForOutstandingCallbacks package:test/src/backend/declarer.dart 104:29 Declarer.test.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/declarer.dart Declarer.test.&lt;fn&gt; dart:async/future.dart 118 Future.Future.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async-patch/timer_patch.dart 16 Timer._createTimer.&lt;fn&gt; dart:isolate-patch/timer_impl.dart 385 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/timer.dart 53 Timer.Timer dart:async/timer.dart 92 Timer.run dart:async/future.dart 116 Future.Future package:test/src/backend/invoker.dart 309:13 Invoker._onRun.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1146 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 951 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 1061 _CustomZone.registerCallback dart:async/zone.dart 949 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/invoker.dart Invoker._onRun.&lt;fn&gt;.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 924 _CustomZone.runGuarded dart:async/zone.dart 1501 runZoned package:test/src/utils.dart 204:12 runZonedWithValues.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 1503 runZoned package:test/src/utils.dart 203:10 runZonedWithValues package:test/src/backend/invoker.dart 296:7 Invoker._onRun.&lt;fn&gt; package:stack_trace/src/chain.dart 87:24 Chain.capture.&lt;fn&gt; dart:async/zone.dart 1150 _rootRun dart:async/zone.dart 1026 _CustomZone.run dart:async/zone.dart 1503 runZoned package:stack_trace/src/chain.dart 85:12 Chain.capture package:test/src/backend/invoker.dart 295:11 Invoker._onRun package:test/src/backend/live_test_controller.dart 189:11 LiveTestController._run package:test/src/backend/live_test_controller.dart 40:31 _LiveTest.run package:test/src/runner/remote_listener.dart 195:14 RemoteListener._runLiveTest package:test/src/runner/remote_listener.dart 149:7 RemoteListener._serializeTest.&lt;fn&gt; dart:async/zone.dart 1158 _rootRunUnary dart:async/zone.dart 1037 _CustomZone.runUnary dart:async/zone.dart 932 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 1162 _rootRunUnary dart:async/zone.dart 1037 _CustomZone.runUnary dart:async/zone.dart 932 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add package:stream_channel/src/guarantee_channel.dart 120:12 _GuaranteeSink.add package:stream_channel/src/multi_channel.dart 137:31 _MultiChannel._MultiChannel.&lt;fn&gt; dart:async/zone.dart 1338 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 1338 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add dart:async/zone.dart 1338 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 1338 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add dart:async/zone.dart 1338 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage package:flutter_driver/src/driver.dart 199:7 FlutterDriver._sendCommand.&lt;async&gt; dart:async _Completer.completeError package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.&lt;async&gt; dart:async _Completer.completeError package:json_rpc_2/src/client.dart 177:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _Completer.completeError package:flutter_driver/src/driver.dart 208:3 FlutterDriver._sendCommand.&lt;async&gt; dart:async _Completer.completeError package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.&lt;async&gt; dart:async _Completer.completeError package:json_rpc_2/src/client.dart 177:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _asyncErrorWrapperHelper package:flutter_driver/src/driver.dart FlutterDriver._sendCommand package:flutter_driver/src/driver.dart 223:11 FlutterDriver.setInputText.&lt;async&gt; ===== asynchronous gap =========================== dart:async Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver.setInputText test_driver/input_test.dart 30:18 InputScreen.setInputText.&lt;async&gt; ===== asynchronous gap =========================== dart:async Future.Future.microtask test_driver/input_test.dart InputScreen.setInputText test_driver/input_test.dart 19:25 main.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; ===== asynchronous gap =========================== dart:async Future.Future.microtask test_driver/input_test.dart main.&lt;fn&gt;.&lt;fn&gt; 00:03 +0 -1: Input Test (tearDownAll) 00:03 +0 -1: Some tests failed. 3723 ms • Running driver tests. 0 ms • Stopping application instance. 0 ms • Stopping application. 1332 ms • /Users/brian.egan/Library/Android/sdk/platform-tools/adb -s 0b0d76cc02e4d9e2 shell am force-stop com.yourcompany.inputDriverTest 0 ms • 'flutter drive' took 22004ms; exiting with code 1. 0 ms • ensureAnalyticsSent: 99ms </code></pre></div>
<p dir="auto">I'm not sure if this is an artifact of how we're using <code class="notranslate">test</code>, or if we're printing this stack trace ourselves.</p> <p dir="auto">Here's an example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="00:06 +0 -1: end-to-end test tap on the floating action button; verify counter DriverError: Failed to fulfill WaitFor due to remote error Original error: JSON-RPC error -32000: Server error Original stack trace: package:json_rpc_2/src/client.dart 96:56 Client.sendRequest package:json_rpc_2/src/peer.dart 69:15 Peer.sendRequest package:vm_service_client/src/scope.dart 51:23 Scope.sendRequest.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:vm_service_client/src/scope.dart Scope.sendRequest package:vm_service_client/src/isolate.dart 344:19 VMIsolateRef.invokeExtension package:flutter_driver/src/driver.dart 196:32 FlutterDriver._sendCommand.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver._sendCommand package:flutter_driver/src/driver.dart 219:11 FlutterDriver.waitFor.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver.waitFor test_driver/main_test.dart 35:20 main.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:flutter_driver/src/driver.dart 214:5 FlutterDriver.tap.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:flutter_driver/src/driver.dart 196:7 FlutterDriver._sendCommand.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:vm_service_client/src/scope.dart 51:5 Scope.sendRequest.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:json_rpc_2/src/client.dart 175:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_pipe.dart 144 _ForwardingStreamSubscription._add dart:async/stream_pipe.dart 244 _MapStream._handleData dart:async/stream_pipe.dart 176 _ForwardingStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_pipe.dart 144 _ForwardingStreamSubscription._add dart:async/stream_pipe.dart 244 _MapStream._handleData dart:async/stream_pipe.dart 176 _ForwardingStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_pipe.dart 144 _ForwardingStreamSubscription._add dart:async/stream_pipe.dart 108 _ForwardingStream._handleData dart:async/stream_pipe.dart 176 _ForwardingStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:io/websocket_impl.dart 1105 _WebSocketImpl._WebSocketImpl._fromSocket.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_transformers.dart 67 _SinkTransformerStreamSubscription._add dart:async/stream_transformers.dart 14 _EventSinkWrapper.add dart:io/websocket_impl.dart 328 _WebSocketProtocolTransformer._messageFrameEnd dart:io/websocket_impl.dart 223 _WebSocketProtocolTransformer.add dart:async/stream_transformers.dart 119 _SinkTransformerStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:io-patch/socket_patch.dart 1659 _Socket._onData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 962 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:io-patch/socket_patch.dart 1226 _RawSocket._RawSocket.&lt;fn&gt; dart:io-patch/socket_patch.dart 760 _NativeSocket.issueReadEvent.issue dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 873 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper test_driver/main_test.dart main.&lt;fn&gt;.&lt;fn&gt; package:test/src/backend/declarer.dart 88:19 Declarer.test.&lt;fn&gt;.&lt;async&gt;.&lt;fn&gt;.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:test/src/backend/declarer.dart 167:3 Declarer._runSetUps.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future.dart 390 Future.doWhile.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/zone.dart 761 _CustomZone.bindUnaryCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 477 _Future._completeWithValue dart:async/future_impl.dart 528 _Future._asyncComplete.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 873 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper package:test/src/backend/declarer.dart Declarer.test.&lt;fn&gt;.&lt;async&gt;.&lt;fn&gt; package:test/src/backend/invoker.dart 185:17 Invoker.waitForOutstandingCallbacks.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/invoker.dart Invoker.waitForOutstandingCallbacks.&lt;fn&gt;.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 1301 runZoned package:test/src/backend/invoker.dart 182:7 Invoker.waitForOutstandingCallbacks.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 1303 runZoned package:test/src/backend/invoker.dart 181:5 Invoker.waitForOutstandingCallbacks package:test/src/backend/declarer.dart 86:29 Declarer.test.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/declarer.dart Declarer.test.&lt;fn&gt; dart:async/future.dart 118 Future.Future.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async-patch/timer_patch.dart 16 Timer._createTimer.&lt;fn&gt; dart:isolate-patch/timer_impl.dart 385 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/timer.dart 53 Timer.Timer dart:async/timer.dart 92 Timer.run dart:async/future.dart 116 Future.Future package:test/src/backend/invoker.dart 285:13 Invoker._onRun.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/invoker.dart Invoker._onRun.&lt;fn&gt;.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 1301 runZoned package:test/src/utils.dart 232:12 runZonedWithValues.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 1303 runZoned package:test/src/utils.dart 231:10 runZonedWithValues package:test/src/backend/invoker.dart 272:7 Invoker._onRun.&lt;fn&gt; package:stack_trace/src/chain.dart 88:24 Chain.capture.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 1303 runZoned package:stack_trace/src/chain.dart 86:12 Chain.capture package:test/src/backend/invoker.dart 271:11 Invoker._onRun package:test/src/backend/live_test_controller.dart 187:11 LiveTestController._run package:test/src/backend/live_test_controller.dart 39:31 _LiveTest.run package:test/src/runner/remote_listener.dart 189:14 RemoteListener._runLiveTest package:test/src/runner/remote_listener.dart 148:7 RemoteListener._serializeTest.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 962 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add package:stream_channel/src/guarantee_channel.dart 120:12 _GuaranteeSink.add package:stream_channel/src/multi_channel.dart 137:31 _MultiChannel._MultiChannel.&lt;fn&gt; dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage package:flutter_driver/src/driver.dart 198:7 FlutterDriver._sendCommand.&lt;async&gt; dart:async _Completer.completeError package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.&lt;async&gt; dart:async _Completer.completeError package:json_rpc_2/src/client.dart 177:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _Completer.completeError package:flutter_driver/src/driver.dart 207:3 FlutterDriver._sendCommand.&lt;async&gt; dart:async _Completer.completeError package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.&lt;async&gt; dart:async _Completer.completeError package:json_rpc_2/src/client.dart 177:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _asyncErrorWrapperHelper package:flutter_driver/src/driver.dart FlutterDriver._sendCommand package:flutter_driver/src/driver.dart 219:11 FlutterDriver.waitFor.&lt;async&gt; ===== asynchronous gap =========================== dart:async Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver.waitFor test_driver/main_test.dart 35:20 main.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_driver/src/driver.dart 214:5 FlutterDriver.tap.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_driver/src/driver.dart 196:7 FlutterDriver._sendCommand.&lt;async&gt; dart:async _SyncCompleter.complete package:vm_service_client/src/scope.dart 51:5 Scope.sendRequest.&lt;async&gt; dart:async _SyncCompleter.complete package:json_rpc_2/src/client.dart 175:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _asyncThenWrapperHelper test_driver/main_test.dart main.&lt;fn&gt;.&lt;fn&gt;"><pre class="notranslate"><code class="notranslate">00:06 +0 -1: end-to-end test tap on the floating action button; verify counter DriverError: Failed to fulfill WaitFor due to remote error Original error: JSON-RPC error -32000: Server error Original stack trace: package:json_rpc_2/src/client.dart 96:56 Client.sendRequest package:json_rpc_2/src/peer.dart 69:15 Peer.sendRequest package:vm_service_client/src/scope.dart 51:23 Scope.sendRequest.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:vm_service_client/src/scope.dart Scope.sendRequest package:vm_service_client/src/isolate.dart 344:19 VMIsolateRef.invokeExtension package:flutter_driver/src/driver.dart 196:32 FlutterDriver._sendCommand.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver._sendCommand package:flutter_driver/src/driver.dart 219:11 FlutterDriver.waitFor.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver.waitFor test_driver/main_test.dart 35:20 main.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:flutter_driver/src/driver.dart 214:5 FlutterDriver.tap.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:flutter_driver/src/driver.dart 196:7 FlutterDriver._sendCommand.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:vm_service_client/src/scope.dart 51:5 Scope.sendRequest.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:json_rpc_2/src/client.dart 175:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_pipe.dart 144 _ForwardingStreamSubscription._add dart:async/stream_pipe.dart 244 _MapStream._handleData dart:async/stream_pipe.dart 176 _ForwardingStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_pipe.dart 144 _ForwardingStreamSubscription._add dart:async/stream_pipe.dart 244 _MapStream._handleData dart:async/stream_pipe.dart 176 _ForwardingStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_pipe.dart 144 _ForwardingStreamSubscription._add dart:async/stream_pipe.dart 108 _ForwardingStream._handleData dart:async/stream_pipe.dart 176 _ForwardingStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:io/websocket_impl.dart 1105 _WebSocketImpl._WebSocketImpl._fromSocket.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_transformers.dart 67 _SinkTransformerStreamSubscription._add dart:async/stream_transformers.dart 14 _EventSinkWrapper.add dart:io/websocket_impl.dart 328 _WebSocketProtocolTransformer._messageFrameEnd dart:io/websocket_impl.dart 223 _WebSocketProtocolTransformer.add dart:async/stream_transformers.dart 119 _SinkTransformerStreamSubscription._handleData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:io-patch/socket_patch.dart 1659 _Socket._onData package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 962 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:io-patch/socket_patch.dart 1226 _RawSocket._RawSocket.&lt;fn&gt; dart:io-patch/socket_patch.dart 760 _NativeSocket.issueReadEvent.issue dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 873 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper test_driver/main_test.dart main.&lt;fn&gt;.&lt;fn&gt; package:test/src/backend/declarer.dart 88:19 Declarer.test.&lt;fn&gt;.&lt;async&gt;.&lt;fn&gt;.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future_impl.dart 52 _SyncCompleter.complete package:test/src/backend/declarer.dart 167:3 Declarer._runSetUps.&lt;async&gt; dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 467 _Future._complete dart:async/future.dart 390 Future.doWhile.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/zone.dart 761 _CustomZone.bindUnaryCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/future_impl.dart 131 _FutureListener.handleValue dart:async/future_impl.dart 637 _Future._propagateToListeners.handleValueCallback dart:async/future_impl.dart 667 _Future._propagateToListeners dart:async/future_impl.dart 477 _Future._completeWithValue dart:async/future_impl.dart 528 _Future._asyncComplete.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 873 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper package:test/src/backend/declarer.dart Declarer.test.&lt;fn&gt;.&lt;async&gt;.&lt;fn&gt; package:test/src/backend/invoker.dart 185:17 Invoker.waitForOutstandingCallbacks.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/invoker.dart Invoker.waitForOutstandingCallbacks.&lt;fn&gt;.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 1301 runZoned package:test/src/backend/invoker.dart 182:7 Invoker.waitForOutstandingCallbacks.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 1303 runZoned package:test/src/backend/invoker.dart 181:5 Invoker.waitForOutstandingCallbacks package:test/src/backend/declarer.dart 86:29 Declarer.test.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/timer_impl.dart 394 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/declarer.dart Declarer.test.&lt;fn&gt; dart:async/future.dart 118 Future.Future.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async-patch/timer_patch.dart 16 Timer._createTimer.&lt;fn&gt; dart:isolate-patch/timer_impl.dart 385 _Timer._runTimers dart:isolate-patch/timer_impl.dart 414 _Timer._handleMessage dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/timer.dart 53 Timer.Timer dart:async/timer.dart 92 Timer.run dart:async/future.dart 116 Future.Future package:test/src/backend/invoker.dart 285:13 Invoker._onRun.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async/future.dart 144 Future.Future.microtask.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 946 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 751 _CustomZone.bindCallback.&lt;fn&gt; dart:async/schedule_microtask.dart 41 _microtaskLoop dart:async/schedule_microtask.dart 50 _startMicrotaskLoop dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage ===== asynchronous gap =========================== dart:async/zone.dart 861 _CustomZone.registerCallback dart:async/zone.dart 749 _CustomZone.bindCallback dart:async/schedule_microtask.dart 148 scheduleMicrotask dart:async/future.dart 142 Future.Future.microtask package:test/src/backend/invoker.dart Invoker._onRun.&lt;fn&gt;.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 724 _CustomZone.runGuarded dart:async/zone.dart 1301 runZoned package:test/src/utils.dart 232:12 runZonedWithValues.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 1303 runZoned package:test/src/utils.dart 231:10 runZonedWithValues package:test/src/backend/invoker.dart 272:7 Invoker._onRun.&lt;fn&gt; package:stack_trace/src/chain.dart 88:24 Chain.capture.&lt;fn&gt; dart:async/zone.dart 950 _rootRun dart:async/zone.dart 826 _CustomZone.run dart:async/zone.dart 1303 runZoned package:stack_trace/src/chain.dart 86:12 Chain.capture package:test/src/backend/invoker.dart 271:11 Invoker._onRun package:test/src/backend/live_test_controller.dart 187:11 LiveTestController._run package:test/src/backend/live_test_controller.dart 39:31 _LiveTest.run package:test/src/runner/remote_listener.dart 189:14 RemoteListener._runLiveTest package:test/src/runner/remote_listener.dart 148:7 RemoteListener._serializeTest.&lt;fn&gt; dart:async/zone.dart 958 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 962 _rootRunUnary dart:async/zone.dart 837 _CustomZone.runUnary dart:async/zone.dart 732 _CustomZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add package:stream_channel/src/guarantee_channel.dart 120:12 _GuaranteeSink.add package:stream_channel/src/multi_channel.dart 137:31 _MultiChannel._MultiChannel.&lt;fn&gt; dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:async/stream_controller.dart 868 _StreamSinkWrapper.add dart:async/zone.dart 1138 _RootZone.runUnaryGuarded dart:async/stream_impl.dart 334 _BufferingStreamSubscription._sendData dart:async/stream_impl.dart 261 _BufferingStreamSubscription._add dart:async/stream_controller.dart 768 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData dart:async/stream_controller.dart 635 _StreamController._add dart:async/stream_controller.dart 581 _StreamController.add dart:isolate-patch/isolate_patch.dart 148 _RawReceivePortImpl._handleMessage package:flutter_driver/src/driver.dart 198:7 FlutterDriver._sendCommand.&lt;async&gt; dart:async _Completer.completeError package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.&lt;async&gt; dart:async _Completer.completeError package:json_rpc_2/src/client.dart 177:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _Completer.completeError package:flutter_driver/src/driver.dart 207:3 FlutterDriver._sendCommand.&lt;async&gt; dart:async _Completer.completeError package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.&lt;async&gt; dart:async _Completer.completeError package:json_rpc_2/src/client.dart 177:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _asyncErrorWrapperHelper package:flutter_driver/src/driver.dart FlutterDriver._sendCommand package:flutter_driver/src/driver.dart 219:11 FlutterDriver.waitFor.&lt;async&gt; ===== asynchronous gap =========================== dart:async Future.Future.microtask package:flutter_driver/src/driver.dart FlutterDriver.waitFor test_driver/main_test.dart 35:20 main.&lt;fn&gt;.&lt;fn&gt;.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_driver/src/driver.dart 214:5 FlutterDriver.tap.&lt;async&gt; dart:async _SyncCompleter.complete package:flutter_driver/src/driver.dart 196:7 FlutterDriver._sendCommand.&lt;async&gt; dart:async _SyncCompleter.complete package:vm_service_client/src/scope.dart 51:5 Scope.sendRequest.&lt;async&gt; dart:async _SyncCompleter.complete package:json_rpc_2/src/client.dart 175:25 Client._handleSingleResponse package:json_rpc_2/src/client.dart 165:7 Client._handleResponse dart:async _StreamController.add package:json_rpc_2/src/peer.dart 92:36 Peer.listen.&lt;fn&gt; ===== asynchronous gap =========================== dart:async _asyncThenWrapperHelper test_driver/main_test.dart main.&lt;fn&gt;.&lt;fn&gt; </code></pre></div>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=greenwayb" rel="nofollow">Ben Greenway</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-4704?redirect=false" rel="nofollow">SPR-4704</a></strong> and commented</p> <p dir="auto">An exception occurred when using the factory-method call.</p> <p dir="auto">2008-04-15 16:54:18,854 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed<br> java.lang.NullPointerException<br> at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.getCacheKey(AbstractAutoProxyCreator.java:322)<br> at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.predictBeanType(AbstractAutoProxyCreator.java:245)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:531)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1174)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:222)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:303)<br> at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:948)<br> at org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:702)<br> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:378)</p> <p dir="auto">The debugger was run with a conditional breakpoint placed in the class AbstractAutowireCapableBeanFactory at line 530 with the condition "beanClass==null".</p> <p dir="auto">This allowed us to identify the offending config. (The reduced) Bean config was:</p> <p dir="auto">&lt;property name="receiptTypeControlAccountMap"&gt;<br> &lt;map&gt;<br> &lt;entry&gt;&lt;key&gt;&lt;ref bean="receiptTypePremiumResearch"/&gt;&lt;/key&gt;&lt;ref bean="controlAccountPremium"/&gt;&lt;/entry&gt;<br> &lt;/map&gt;<br> &lt;/property&gt;<br> &lt;bean name="receiptTypePremiumResearch" class="com.jdv.stockhighway.journal.types.ReceiptType" factory-method="valueOf"&gt;<br> &lt;constructor-arg&gt;&lt;value&gt;PREMIUM_RESEARCH&lt;/value&gt;&lt;/constructor-arg&gt;<br> &lt;/bean&gt;</p> <p dir="auto">This problem may be averting by using (the better) use of &lt;util:constant static-field= ie.<br> &lt;property name="receiptTypeControlAccountMap"&gt;<br> &lt;map&gt;<br> &lt;entry&gt;<br> &lt;key&gt;&lt;util:constant static-field="com.jdv.stockhighway.journal.types.ReceiptType.PREMIUM_RESEARCH" /&gt;&lt;/key&gt;<br> &lt;ref bean="controlAccountPremium"/&gt;<br> &lt;/entry&gt;</p> <p dir="auto">But unsure why this is an issue with 2.5.3 and was OK with all previous 2.5 releases (2.5, 2.5.1 and 2.5.2).</p> <p dir="auto">Other information:<br> ReceiptType is a Java enum class and does not override the valueOf method.</p> <p dir="auto">public enum ReceiptType implements Serializable {<br> PREMIUM_RESEARCH("P", "Premium Research", "Premium Research"),<br> ALERTS("A", "Alerts service", "Alerts service"),</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.5.3</p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398087236" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9360" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9360/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9360">#9360</a> NullPointerException in org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator (<em><strong>"duplicates"</strong></em>)</li> </ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=perfnorm" rel="nofollow">Jasper Rosenberg</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1129?redirect=false" rel="nofollow">SPR-1129</a></strong> and commented</p> <p dir="auto">The problem is that if you have a bean A that has a constructor argument that expects to be expanded by a PropertyPlaceholderConfigurer, but use A as a factory bean to create bean B, A appears to be constructed before the PropertyPlaceholderConfigurer ever gets a chance to expand A's constructor parameters.</p> <p dir="auto">The attached simple unit test demonstrates the problem. It works against 1.2.1 but not 1.2.2</p> <hr> <p dir="auto"><strong>Affects:</strong> 1.2.2</p> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/10931/spring-ut.zip" rel="nofollow">spring-ut.zip</a> (<em>1.24 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="398058379" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/5820" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/5820/hovercard" href="https://github.com/spring-projects/spring-framework/issues/5820">#5820</a> AbstractBeanFactory.getType change dramatically alters bean instantiation order (<em><strong>"duplicates"</strong></em>)</li> </ul>
0
<p dir="auto">We have accumulated a <em>lot</em> of dev automation tools, and our homegrown <code class="notranslate">runtests.py</code> CLI which is slightly clumsy. Here is an overview:</p> <ul dir="auto"> <li><code class="notranslate">runtests.py</code> - and its sibling <code class="notranslate">dev.py</code> for Meson</li> <li><code class="notranslate">doc/Makefile</code> - build docs and upload them</li> <li><code class="notranslate">pavement.py</code> - uses Paver for some release tasks</li> <li><code class="notranslate">tox.ini</code> - contains <code class="notranslate">flake8</code> and <code class="notranslate">pycodestyle</code> config, we don't use Tox itself anymore</li> <li><code class="notranslate">tools/authors.py</code> / <code class="notranslate">tools/gh_lists.py</code> / <code class="notranslate">tools/download-wheels.py</code> release scripts</li> <li>tasks for which we have no CLI, just docs that we hope people read before doing the thing they need: <ul dir="auto"> <li>dev environment setup - <code class="notranslate">apt-get xxx &amp;&amp; pip install yyy</code> or <code class="notranslate">conda env create -n environment.yml</code></li> <li><code class="notranslate">git</code> - for a lot of things, but with submodules it is getting less intuitive</li> <li><code class="notranslate">docker</code> - for Gitpod config, see <code class="notranslate">tools/docker_dev</code></li> <li><code class="notranslate">act</code> - for running GitHub Actions jobs locally</li> </ul> </li> </ul> <p dir="auto">Many of these things are badly maintained or only half in use. <code class="notranslate">runtests.py</code> has been the best maintained so far, but it's not ideal because task dependencies are manually dealt with in <code class="notranslate">if args.some_task: ...</code> logic.</p> <p dir="auto"><strong>Proposal</strong>: let's create a new and more ergonomic CLI for all development tools.</p> <p dir="auto">Ideally it has these properties:</p> <ul dir="auto"> <li>Completeness: we have all normal/recurring development tasks implemented in it</li> <li>Conciseness: (for example) <code class="notranslate">do bench</code> instead of <code class="notranslate">python runtests.py --bench</code></li> <li>Self-documenting: it should be easy to read the CLI implementation and figure out what actual commands are being run (or maybe the CLI can print the command)</li> <li>Hierarchical: if there are a number of docs-related tasks, they should be discoverable and runnable like: <code class="notranslate">do doc build</code>, <code class="notranslate">do doc show</code>, <code class="notranslate">do doc upload</code>, etc. Same for CI and release tasks; top-level tasks should be for regular contributions/development</li> <li>Genericity: it should make as few assumptions as possible (e.g., don't assume you're developing in a virtualenv), it should be implemented in a way where the non-SciPy-specific parts can be reused in other projects that use <code class="notranslate">pytest</code>/<code class="notranslate">asv</code>/<code class="notranslate">meson</code>/<code class="notranslate">sphinx</code>, and it should work in harmony with the tools it wraps so one can use those directly</li> </ul> <p dir="auto">There will be tools where it doesn't make sense to wrap them (e.g., <a href="https://cli.github.com/">gh</a>) however it would be great if those tools could be made discoverable as well so it doesn't take new contributors years to find out about all of them.</p> <p dir="auto">I don't have a proposal (yet) for which framework or task runner to use. There are many. It looks like we need a straightforward task runner that understands dependencies between tasks and makes it easy to implement a CLI. Something like:</p> <ul dir="auto"> <li><a href="https://airflow.apache.org/docs/apache-airflow/stable/index.html" rel="nofollow">Airflow</a></li> <li><a href="https://docs.celeryproject.org/en/stable/index.html" rel="nofollow">Celery</a></li> <li><a href="https://pydoit.org/contents.html" rel="nofollow">doit</a></li> <li><a href="https://www.pyinvoke.org/" rel="nofollow">Invoke</a></li> </ul> <p dir="auto">Ones that I know of but aren't good choices: Paver (obsolete), Fabric (superceded by Invoke), Luigi (superceded by Airflow), Tox/Nox (they insist on environment activation/updates for every task).</p> <p dir="auto">Airflow is on the complicated (but powerful) side, <code class="notranslate">doit</code> is on the simple side. I don't have a lot of experience with any of these tools, so don't have a good sense for the features vs. simplicity tradeoff or other pros/cons. Suggestions very welcome.</p>
<h3 dir="auto">Is your feature request related to a problem? Please describe.</h3> <p dir="auto">The RegularGridInterpolator <a href="https://github.com/scipy/scipy/blob/main/scipy/interpolate/tests/test_rgi.py">tests</a> often test multiple conditions inside the same test. This underreports the number and type of test failures. For example, <code class="notranslate">test_nearest</code> tests multiple different conditions, each of which should be its own test.</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/scipy/scipy/blob/633172ca3241ac06d8122e3a3d090ebe8bef84cd/scipy/interpolate/tests/test_rgi.py#L160-L177">scipy/scipy/interpolate/tests/test_rgi.py</a> </p> <p class="mb-0 color-fg-muted"> Lines 160 to 177 in <a data-pjax="true" class="commit-tease-sha" href="/scipy/scipy/commit/633172ca3241ac06d8122e3a3d090ebe8bef84cd">633172c</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="L160" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="160"></td> <td id="LC160" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">def</span> <span class="pl-en">test_nearest</span>(<span class="pl-s1">self</span>): </td> </tr> <tr class="border-0"> <td id="L161" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="161"></td> <td id="LC161" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">points</span>, <span class="pl-s1">values</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_get_sample_4d</span>() </td> </tr> <tr class="border-0"> <td id="L162" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="162"></td> <td id="LC162" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">interp</span> <span class="pl-c1">=</span> <span class="pl-v">RegularGridInterpolator</span>(<span class="pl-s1">points</span>, <span class="pl-s1">values</span>, <span class="pl-s1">method</span><span class="pl-c1">=</span><span class="pl-s">"nearest"</span>) </td> </tr> <tr class="border-0"> <td id="L163" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="163"></td> <td id="LC163" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">sample</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">asarray</span>([<span class="pl-c1">0.1</span>, <span class="pl-c1">0.1</span>, <span class="pl-c1">.9</span>, <span class="pl-c1">.9</span>]) </td> </tr> <tr class="border-0"> <td id="L164" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="164"></td> <td id="LC164" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">wanted</span> <span class="pl-c1">=</span> <span class="pl-c1">1100.</span> </td> </tr> <tr class="border-0"> <td id="L165" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="165"></td> <td id="LC165" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-en">assert_array_almost_equal</span>(<span class="pl-en">interp</span>(<span class="pl-s1">sample</span>), <span class="pl-s1">wanted</span>) </td> </tr> <tr class="border-0"> <td id="L166" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="166"></td> <td id="LC166" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">sample</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">asarray</span>([<span class="pl-c1">0.1</span>, <span class="pl-c1">0.1</span>, <span class="pl-c1">0.1</span>, <span class="pl-c1">0.1</span>]) </td> </tr> <tr class="border-0"> <td id="L167" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="167"></td> <td id="LC167" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">wanted</span> <span class="pl-c1">=</span> <span class="pl-c1">0.</span> </td> </tr> <tr class="border-0"> <td id="L168" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="168"></td> <td id="LC168" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-en">assert_array_almost_equal</span>(<span class="pl-en">interp</span>(<span class="pl-s1">sample</span>), <span class="pl-s1">wanted</span>) </td> </tr> <tr class="border-0"> <td id="L169" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="169"></td> <td id="LC169" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">sample</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">asarray</span>([<span class="pl-c1">0.</span>, <span class="pl-c1">0.</span>, <span class="pl-c1">0.</span>, <span class="pl-c1">0.</span>]) </td> </tr> <tr class="border-0"> <td id="L170" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="170"></td> <td id="LC170" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">wanted</span> <span class="pl-c1">=</span> <span class="pl-c1">0.</span> </td> </tr> <tr class="border-0"> <td id="L171" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="171"></td> <td id="LC171" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-en">assert_array_almost_equal</span>(<span class="pl-en">interp</span>(<span class="pl-s1">sample</span>), <span class="pl-s1">wanted</span>) </td> </tr> <tr class="border-0"> <td id="L172" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="172"></td> <td id="LC172" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">sample</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">asarray</span>([<span class="pl-c1">1.</span>, <span class="pl-c1">1.</span>, <span class="pl-c1">1.</span>, <span class="pl-c1">1.</span>]) </td> </tr> <tr class="border-0"> <td id="L173" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="173"></td> <td id="LC173" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">wanted</span> <span class="pl-c1">=</span> <span class="pl-c1">1111.</span> </td> </tr> <tr class="border-0"> <td id="L174" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="174"></td> <td id="LC174" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-en">assert_array_almost_equal</span>(<span class="pl-en">interp</span>(<span class="pl-s1">sample</span>), <span class="pl-s1">wanted</span>) </td> </tr> <tr class="border-0"> <td id="L175" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="175"></td> <td id="LC175" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">sample</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">asarray</span>([<span class="pl-c1">0.1</span>, <span class="pl-c1">0.4</span>, <span class="pl-c1">0.6</span>, <span class="pl-c1">0.9</span>]) </td> </tr> <tr class="border-0"> <td id="L176" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="176"></td> <td id="LC176" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">wanted</span> <span class="pl-c1">=</span> <span class="pl-c1">1055.</span> </td> </tr> <tr class="border-0"> <td id="L177" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="177"></td> <td id="LC177" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-en">assert_array_almost_equal</span>(<span class="pl-en">interp</span>(<span class="pl-s1">sample</span>), <span class="pl-s1">wanted</span>) </td> </tr> </tbody></table> </div> </div> <p></p> <h3 dir="auto">Describe the solution you'd like.</h3> <p dir="auto">I'd like the tests to be parameterised so that each tested condition is its own test. This issue is for someone to go through the above tests and identify which tests can be parameterised and do it.</p> <h3 dir="auto">Describe alternatives you've considered.</h3> <p dir="auto">We could leave it as is.</p> <h3 dir="auto">Additional context (e.g. screenshots, GIFs)</h3> <p dir="auto"><em>No response</em></p>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.3 and 2.7.2</li> <li>Operating System version: Windows 10</li> <li>Java version: 1.8.0_151</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol start="0" dir="auto"> <li>pom:</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;dependency&gt; &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt; &lt;artifactId&gt;spring-cloud-alibaba-dependencies&lt;/artifactId&gt; &lt;exclusions&gt; &lt;exclusion&gt; &lt;groupId&gt;org.apache.dubbo&lt;/groupId&gt; &lt;artifactId&gt;dubbo&lt;/artifactId&gt;&lt;/exclusion&gt; &lt;/exclusions&gt; &lt;version&gt;0.9.0.RELEASE&lt;/version&gt; &lt;type&gt;pom&lt;/type&gt; &lt;scope&gt;import&lt;/scope&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.apache.dubbo&lt;/groupId&gt; &lt;artifactId&gt;dubbo&lt;/artifactId&gt; &lt;version&gt;2.7.3&lt;/version&gt; &lt;exclusions&gt; &lt;exclusion&gt; &lt;groupId&gt;org.springframework&lt;/groupId&gt; &lt;artifactId&gt;spring&lt;/artifactId&gt; &lt;/exclusion&gt; &lt;exclusion&gt; &lt;groupId&gt;javax.servlet&lt;/groupId&gt; &lt;artifactId&gt;servlet-api&lt;/artifactId&gt; &lt;/exclusion&gt; &lt;exclusion&gt; &lt;groupId&gt;log4j&lt;/groupId&gt; &lt;artifactId&gt;log4j&lt;/artifactId&gt; &lt;/exclusion&gt; &lt;/exclusions&gt; &lt;/dependency&gt;"><pre class="notranslate"><code class="notranslate">&lt;dependency&gt; &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt; &lt;artifactId&gt;spring-cloud-alibaba-dependencies&lt;/artifactId&gt; &lt;exclusions&gt; &lt;exclusion&gt; &lt;groupId&gt;org.apache.dubbo&lt;/groupId&gt; &lt;artifactId&gt;dubbo&lt;/artifactId&gt;&lt;/exclusion&gt; &lt;/exclusions&gt; &lt;version&gt;0.9.0.RELEASE&lt;/version&gt; &lt;type&gt;pom&lt;/type&gt; &lt;scope&gt;import&lt;/scope&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.apache.dubbo&lt;/groupId&gt; &lt;artifactId&gt;dubbo&lt;/artifactId&gt; &lt;version&gt;2.7.3&lt;/version&gt; &lt;exclusions&gt; &lt;exclusion&gt; &lt;groupId&gt;org.springframework&lt;/groupId&gt; &lt;artifactId&gt;spring&lt;/artifactId&gt; &lt;/exclusion&gt; &lt;exclusion&gt; &lt;groupId&gt;javax.servlet&lt;/groupId&gt; &lt;artifactId&gt;servlet-api&lt;/artifactId&gt; &lt;/exclusion&gt; &lt;exclusion&gt; &lt;groupId&gt;log4j&lt;/groupId&gt; &lt;artifactId&gt;log4j&lt;/artifactId&gt; &lt;/exclusion&gt; &lt;/exclusions&gt; &lt;/dependency&gt; </code></pre></div> <ol dir="auto"> <li>create a configuration class, <strong>without any dubbo properties in local file</strong>.</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@EnableDubbo(scanBasePackages = {&quot;com.xxxx.rpc&quot;}) @Configuration public class DubboConfig { @Bean public ConfigCenterConfig configCenterConfig() { ConfigCenterConfig configCenterConfig = new ConfigCenterConfig(); configCenterConfig.setAddress(&quot;apollo.xxxx.com&quot;); configCenterConfig.setProtocol(&quot;apollo&quot;); configCenterConfig.setNamespace(&quot;dubbo&quot;); configCenterConfig.setGroup(null); return configCenterConfig; } }"><pre class="notranslate"><code class="notranslate">@EnableDubbo(scanBasePackages = {"com.xxxx.rpc"}) @Configuration public class DubboConfig { @Bean public ConfigCenterConfig configCenterConfig() { ConfigCenterConfig configCenterConfig = new ConfigCenterConfig(); configCenterConfig.setAddress("apollo.xxxx.com"); configCenterConfig.setProtocol("apollo"); configCenterConfig.setNamespace("dubbo"); configCenterConfig.setGroup(null); return configCenterConfig; } } </code></pre></div> <ol start="2" dir="auto"> <li>The RegistryAddress provided in Apollo namespace: dubbo:</li> </ol> <p dir="auto">property key: dubbo.properties<br> property value:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dubbo.application.name=Consumer dubbo.application.qos-enable=false dubbo.registry.address=zookeeper://zk.xxxxx.com?backup=zk2.xxxxx.com dubbo.registry.simplified=true"><pre class="notranslate"><code class="notranslate">dubbo.application.name=Consumer dubbo.application.qos-enable=false dubbo.registry.address=zookeeper://zk.xxxxx.com?backup=zk2.xxxxx.com dubbo.registry.simplified=true </code></pre></div> <p dir="auto">as shown in picture:<br> <a href="http://dubbo.apache.org/img/apollo-configcenter-application.jpg" rel="nofollow">http://dubbo.apache.org/img/apollo-configcenter-application.jpg</a></p> <p dir="auto">when add <code class="notranslate">dubbo.registry.address=N/A</code> to local properties file,the apollo config is truely resolved. but the problem exception still remain.</p> <ol start="3" dir="auto"> <li>The consumer code:</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Reference(version = &quot;${xxxx.service.version}&quot;, retries = 0, lazy=true) private IRExecutionService executionService;"><pre class="notranslate"><code class="notranslate">@Reference(version = "${xxxx.service.version}", retries = 0, lazy=true) private IRExecutionService executionService; </code></pre></div> <p dir="auto">I will provide full code to reproduce this issue if it's necessary.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">The <a href="http://dubbo.apache.org/zh-cn/docs/user/configuration/config-center.html" rel="nofollow">document </a>shows ConfigCenterConfig support RegistryConfig.</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">What actually happens?</p> <p dir="auto">the exception trace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Caused by: java.lang.IllegalStateException: No such any registry to reference com.xxx.yyy.IRExecutionService on the consumer a.b.c.d use dubbo version 2.7.3, please config &lt;dubbo:registry address=&quot;...&quot; /&gt; to your spring config. at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:390) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:329) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:250) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor$ReferenceBeanInvocationHandler.init(ReferenceAnnotationBeanPostProcessor.java:269) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor$ReferenceBeanInvocationHandler.access$100(ReferenceAnnotationBeanPostProcessor.java:242) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.buildInvocationHandler(ReferenceAnnotationBeanPostProcessor.java:236) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.buildProxy(ReferenceAnnotationBeanPostProcessor.java:219) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.doGetInjectedBean(ReferenceAnnotationBeanPostProcessor.java:134) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor.getInjectedObject(AnnotationInjectedBeanPostProcessor.java:360) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor$AnnotatedFieldElement.inject(AnnotationInjectedBeanPostProcessor.java:540) ~[dubbo-2.7.3.jar:2.7.3] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor.postProcessPropertyValues(AnnotationInjectedBeanPostProcessor.java:147) ~[dubbo-2.7.3.jar:2.7.3]"><pre class="notranslate"><code class="notranslate">Caused by: java.lang.IllegalStateException: No such any registry to reference com.xxx.yyy.IRExecutionService on the consumer a.b.c.d use dubbo version 2.7.3, please config &lt;dubbo:registry address="..." /&gt; to your spring config. at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:390) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:329) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:250) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor$ReferenceBeanInvocationHandler.init(ReferenceAnnotationBeanPostProcessor.java:269) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor$ReferenceBeanInvocationHandler.access$100(ReferenceAnnotationBeanPostProcessor.java:242) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.buildInvocationHandler(ReferenceAnnotationBeanPostProcessor.java:236) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.buildProxy(ReferenceAnnotationBeanPostProcessor.java:219) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.doGetInjectedBean(ReferenceAnnotationBeanPostProcessor.java:134) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor.getInjectedObject(AnnotationInjectedBeanPostProcessor.java:360) ~[dubbo-2.7.3.jar:2.7.3] at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor$AnnotatedFieldElement.inject(AnnotationInjectedBeanPostProcessor.java:540) ~[dubbo-2.7.3.jar:2.7.3] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor.postProcessPropertyValues(AnnotationInjectedBeanPostProcessor.java:147) ~[dubbo-2.7.3.jar:2.7.3] </code></pre></div>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.3</li> <li>Operating System version: window</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>配置文件配置</li> </ol> <blockquote> <p dir="auto">nacos.address = 192.168.1.199:8848<br> nacos.dataId = dubbo-EsMobileClientLauncher-cousumer<br> nacos.namespace = fd4c2b5d-3649-4558-b85f-50b2f0eb6c4a<br> dubbo.registry.address = nacos://192.168.1.199:8848?namespace=fd4c2b5d-3649-4558-b85f-50b2f0eb6c4a</p> </blockquote> <ol start="2" dir="auto"> <li>启动时启用动态配置中心,服务发现</li> </ol> <blockquote> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SpringBootApplication/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SpringBootApplication">@SpringBootApplication</a><br> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/configuration/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/configuration">@configuration</a><br> //@EnableCaching<br> //@EnableSwagger2<br> @EnableDubbo(scanBasePackages = "com")<br> @EnableNacosConfig(globalProperties = @NacosProperties(serverAddr = "${nacos.address}",namespace="${nacos.namespace}"))<br> @EnableNacosDiscovery(globalProperties = @NacosProperties(serverAddr = "${nacos.address}",namespace="${nacos.namespace}"))<br> @NacosPropertySource(dataId = "${nacos.dataId}",autoRefreshed=true)<br> public class EsMobileClientLauncherApplication</p> </blockquote> <ol start="3" dir="auto"> <li>dubbo-admin控制台配置条件路由</li> </ol> <blockquote> <p dir="auto">conditions:<br> =&gt; host != 192.168.0.206<br> enabled: true<br> force: true<br> key: com.everstar.mobile.service.INetEventService:1.0.0<br> priority: 0<br> runtime: true<br> scope: service</p> </blockquote> <p dir="auto">发现条件路由并没有生效</p> <ol start="4" dir="auto"> <li>通过debug查看控制台</li> </ol> <blockquote> <p dir="auto">debug了一下,发现<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3623460/66802085-dcf3db80-ef4d-11e9-8327-db2a4dfaf31a.png"><img src="https://user-images.githubusercontent.com/3623460/66802085-dcf3db80-ef4d-11e9-8327-db2a4dfaf31a.png" alt="image" style="max-width: 100%;"></a><br> 使用的NacosRegistry<br> 也订阅了routers<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3623460/66802101-e41ae980-ef4d-11e9-97c6-e5b276ec5ff5.png"><img src="https://user-images.githubusercontent.com/3623460/66802101-e41ae980-ef4d-11e9-97c6-e5b276ec5ff5.png" alt="image" style="max-width: 100%;"></a></p> </blockquote> <p dir="auto">日志显示注册完consumers以后,也进行了订阅了,Categories包含了routers</p> <ol start="5" dir="auto"> <li> <p dir="auto">查看源码,发现<br> org.apache.dubbo.registry.zookeeper.ZookeeperRegistry.doSubscribe(URL url, NotifyListener listener)<br> 会循环Categories<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3623460/66802165-20e6e080-ef4e-11e9-86b1-4b83c2df664f.png"><img src="https://user-images.githubusercontent.com/3623460/66802165-20e6e080-ef4e-11e9-86b1-4b83c2df664f.png" alt="image" style="max-width: 100%;"></a><br> org.apache.dubbo.registry.nacos.NacosRegistry.doSubscribe(URL url, NotifyListener listener, Set serviceNames)<br> 里没有循环Categories<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3623460/66802180-2e03cf80-ef4e-11e9-9aa6-7f246a1e2a60.png"><img src="https://user-images.githubusercontent.com/3623460/66802180-2e03cf80-ef4e-11e9-9aa6-7f246a1e2a60.png" alt="image" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto">更改nacos里的provider服务状态,可以监听到变更,控制台有打印变更的日志<br> 更改nacos里的routers状态,监听不到变更,控制台没有变更的通知</p> </li> <li> <p dir="auto">怀疑NacosRegistry.doSubscribe里没有循环Categories,导致没有订阅routers</p> </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">When a user closes a modal, nothing gets focus. This breaks keyboard/tabbed usability (possibly accessibility?). Consider a long form that a user tabs through elements, and launches modals for things like help text. Ideally the last button or element used to launch the modal would receive focus back and the user could continue from where they left off.</p> <p dir="auto">Test: simply tab through <a href="http://getbootstrap.com/javascript/" rel="nofollow">http://getbootstrap.com/javascript/</a> and use only the keyboard to launch the demo modal, escape it, then start tabbing again to see the behavior in action.</p>
<p dir="auto">Ticket for first pass at making bootstrap's modal element accessible.</p> <p dir="auto">Things that should be done:</p> <ul dir="auto"> <li>limit tabable area to dialog</li> <li>add aria-roles</li> </ul> <p dir="auto">If you know of other things please list them in this ticket and I will add them to the top up here. Thanks &lt;3!</p>
1
<p dir="auto">Sometimes download pictures appear incomplete<br> Code is the latest</p>
<p dir="auto">To follow on a previous issue (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="68294700" data-permission-text="Title is private" data-url="https://github.com/bumptech/glide/issues/409" data-hovercard-type="issue" data-hovercard-url="/bumptech/glide/issues/409/hovercard" href="https://github.com/bumptech/glide/issues/409">#409</a>).</p> <p dir="auto">How are loadData / cleanup and cancel ordered in a DataFetcher ?</p> <p dir="auto">From previous discussion you said you do not cancel jobs, but since cancel will return instantly when do you call the cleanup when the request is cancelled ?</p> <p dir="auto">The problem rely in the fact that cleanup do close the inputstream so if skia is in the process of decoding something it can return an half filled image without error or exception leading to corruption of the cache.</p>
1
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18363.778 PowerToys version: v0.18.1 PowerToy module for which you are reporting the bug (if applicable): PowerToys Run"><pre class="notranslate"><code class="notranslate">Windows build number: 10.0.18363.778 PowerToys version: v0.18.1 PowerToy module for which you are reporting the bug (if applicable): PowerToys Run </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Well, it's just there. Using PowerToys Run, I search for an application (Notion, executable <code class="notranslate">Notion.exe</code>) with or without .exe at the end. I don't get this as a result when it is not running, and when it is running, it is always the least prioritised, despite matching the exe name. (note - the window title NEVER contains the word <code class="notranslate">Notion</code>)</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Notion to appear to be launched when it is not, and when it is running it should appear as the first result.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">When I want to launch notion, PT Run doesn't find it at all, whereas Windows Search does. See Figure 1.<br> When I want to switch to it, it is consistently the last option. See Figure 2.</p> <h1 dir="auto">Screenshots</h1> <p dir="auto">Figure 1:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22503550/83754640-312a0800-a664-11ea-88a6-9aac78463568.png"><img src="https://user-images.githubusercontent.com/22503550/83754640-312a0800-a664-11ea-88a6-9aac78463568.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Figure 2:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22503550/83754755-6898b480-a664-11ea-8d42-760c58df4e85.png"><img src="https://user-images.githubusercontent.com/22503550/83754755-6898b480-a664-11ea-8d42-760c58df4e85.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">What index or similar feature does PowerToys Run use to find files, directories and applications? I have updated my index to search %appdata%, yet PowerToys still fails to find applications such as Discord which install in username/%appdata%.</p> <p dir="auto">Thank you for any and all insight!</p>
1
<p dir="auto">They mention EPD and Python(x,y), both dead projects. Maybe mention Conda and Canopy instead?</p>
<p dir="auto">As noted in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="26551126" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/2773" data-hovercard-type="issue" data-hovercard-url="/matplotlib/matplotlib/issues/2773/hovercard" href="https://github.com/matplotlib/matplotlib/issues/2773">#2773</a>, the installation section of the FAQ is out of date, and our installation documentation in general does not give sufficiently clear and correct advice, particularly for OSX and Windows users.<br> My inclination is to strongly recommend that non-expert OSX and Windows users take advantage of either Enthought or Continuum.io.<br> My impression is that if they really don't want to do that, then the recommendation is to first install python from python.org, and then for everything else use pip and hope for the best.</p>
1
<p dir="auto">If you command-click on a button/element on a site styled with 2.3.1 ( to open in a new tab ), the click is not registered.</p> <p dir="auto">To be sure, I tested this on the repo's own docs/index.html</p> <p dir="auto">Tabbed browsing works on all the 2.x tags -- including 2.3.0 -- but is broken in 2.3.1</p>
<p dir="auto">Issue: middle mouse click on a link in Firefox, nothing happens.<br> Expected behavior: middle mouse click on a link, open in new browser tab.<br> Live example: <a href="http://twitter.github.com/bootstrap/">http://twitter.github.com/bootstrap/</a></p> <p dir="auto">Tested on Win7/Firefox19 Safemode/Non-Safemode failed. IE9/Chrome25 ok.<br> Notice it when I upgrade to bootstrap v2.3.1.<br> Switch back to v2.3 and the middle button works again.</p>
1
<h1 dir="auto">Environment</h1> <p dir="auto">Windows build number: Windows [Version 10.0.18363.900]<br> PowerToys version: 18.2 / all versions affected<br> PowerToy module for which you are reporting the bug (if applicable):<br> General Settings / Run at startup</p> <h1 dir="auto">Description</h1> <p dir="auto">We are running a nonpersistent VDI environment with Citrix Provisioning Server and Microsoft FSLogix Profile management. When a user sets powetoys to automatically startup and then logs off from the machine, powertoys will not startup at next logon.<br> Reason: When a users sets powertoys to automatically startup, a scheduled task is created for that user to run at logon. Unfortunately tasks are specific to the machine it is created on. So when the user logs on to the VDI environment again, there is not such a task and powertoys will not fire up as that scheduled task did not roam.</p> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Set Powertoys to automatically startup and click save on a machine with profile management<br> Logoff from that machine.<br> Logon to another machine with profile management.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Powertoys will automatically startup</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">Powertoys does not automatically startup.</p> <h1 dir="auto">My Suggestion to solve that issue:</h1> <p dir="auto">Instead of creating a scheduled task to automatically run powertoys, use a link in "%AppData%\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"<br> or a reg key:<br> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run</p>
<p dir="auto">I would like the ability to right click on a shortcut or application and send to a zone so it fills the predefined zone, rather than having to Shift + drag it to the screen and zone area.</p>
0
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="baas@SZX1000428520:~/git/js/deno$ deno hello.ts Downloading https://unpkg.com/[email protected]/testing.ts Error: Cannot resolve module &quot;https://unpkg.com/[email protected]/testing.ts&quot; from &quot;/home/baas/git/js/deno/hello.ts&quot;. os.codeFetch message: an error occurred trying to connect: invalid URL, scheme must be http at throwResolutionError (deno/js/compiler.ts:99:9) at DenoCompiler.resolveModule (deno/js/compiler.ts:362:16) at DenoCompiler.resolveModuleName (deno/js/compiler.ts:396:33) at moduleNames.map.name (deno/js/compiler.ts:552:33) at Array.map (&lt;anonymous&gt;) at DenoCompiler.resolveModuleNames (deno/js/compiler.ts:543:24) at Object.compilerHost.resolveModuleNames (deno/third_party/node_modules/typescript/lib/typescript.js:111649:117) at resolveModuleNamesWorker (deno/third_party/node_modules/typescript/lib/typescript.js:82561:106) at resolveModuleNamesReusingOldState (deno/third_party/node_modules/typescript/lib/typescript.js:82768:24) at processImportedModules (deno/third_party/node_modules/typescript/lib/typescript.js:84005:35)"><pre class="notranslate">baas@SZX1000428520:<span class="pl-k">~</span>/git/js/deno$ deno hello.ts Downloading https://unpkg.com/[email protected]/testing.ts Error: Cannot resolve module <span class="pl-s"><span class="pl-pds">"</span>https://unpkg.com/[email protected]/testing.ts<span class="pl-pds">"</span></span> from <span class="pl-s"><span class="pl-pds">"</span>/home/baas/git/js/deno/hello.ts<span class="pl-pds">"</span></span>. os.codeFetch message: an error occurred trying to connect: invalid URL, scheme must be http at throwResolutionError (deno/js/compiler.ts:99:9) at DenoCompiler.resolveModule (deno/js/compiler.ts:362:16) at DenoCompiler.resolveModuleName (deno/js/compiler.ts:396:33) at moduleNames.map.name (deno/js/compiler.ts:552:33) at Array.map (<span class="pl-k">&lt;</span>anonymous<span class="pl-k">&gt;</span>) at DenoCompiler.resolveModuleNames (deno/js/compiler.ts:543:24) at Object.compilerHost.resolveModuleNames (deno/third_party/node_modules/typescript/lib/typescript.js:111649:117) at resolveModuleNamesWorker (deno/third_party/node_modules/typescript/lib/typescript.js:82561:106) at resolveModuleNamesReusingOldState (deno/third_party/node_modules/typescript/lib/typescript.js:82768:24) at processImportedModules (deno/third_party/node_modules/typescript/lib/typescript.js:84005:35)</pre></div>
<p dir="auto">Probably using rustls<br> <a href="https://github.com/denoland/deno/tree/rustls">https://github.com/denoland/deno/tree/rustls</a></p>
1
<h1 dir="auto">Weekly Report of Dubbo</h1> <p dir="auto">This is a weekly report of Dubbo. It summarizes what have changed in the project during the passed week, including pr merged, new contributors, and more things in the future.<br> It is all done by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dubbo-bot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dubbo-bot">@dubbo-bot</a> which is a collaborate robot. See: <a href="https://github.com/AlibabaDR/Collabobot">https://github.com/AlibabaDR/Collabobot</a> .</p> <h2 dir="auto">Repo Overview</h2> <table role="table"> <thead> <tr> <th align="center">Watch</th> <th align="center">Star</th> <th align="center">Fork</th> <th align="center">Contributors</th> </tr> </thead> <tbody> <tr> <td align="center">3196</td> <td align="center">23859 (↑160)</td> <td align="center">13546 (↑103)</td> <td align="center">163 (↑1)</td> </tr> <tr> <td align="center">New Issues</td> <td align="center">Closed Issues</td> <td align="center">New PR</td> <td align="center">Merged PR</td> </tr> <tr> <td align="center">21</td> <td align="center">5</td> <td align="center">24</td> <td align="center">16</td> </tr> </tbody> </table> <h2 dir="auto">PR Overview</h2> <p dir="auto">Thanks to contributions from community, Dubbo team merged <strong>16</strong> pull requests in the repository last week. They are:</p> <ul dir="auto"> <li>Routers zookeeper path (<a href="https://github.com/apache/incubator-dubbo/pull/3173" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3173/hovercard">#3173</a>)</li> <li>add some small optimize (<a href="https://github.com/apache/incubator-dubbo/pull/3171" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3171/hovercard">#3171</a>)</li> <li>code optimization (<a href="https://github.com/apache/incubator-dubbo/pull/3167" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3167/hovercard">#3167</a>)</li> <li>modify metadata node path in zookeeper (<a href="https://github.com/apache/incubator-dubbo/pull/3166" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3166/hovercard">#3166</a>)</li> <li>optimize ReconnectTimerTask's log output (<a href="https://github.com/apache/incubator-dubbo/pull/3162" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3162/hovercard">#3162</a>)</li> <li>avoid duplicated refresh for application (<a href="https://github.com/apache/incubator-dubbo/pull/3157" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3157/hovercard">#3157</a>)</li> <li>correct spelling error (<a href="https://github.com/apache/incubator-dubbo/pull/3146" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3146/hovercard">#3146</a>)</li> <li>fix prefix, use hypher case instead of camel case (<a href="https://github.com/apache/incubator-dubbo/pull/3143" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3143/hovercard">#3143</a>)</li> <li>add javadoc for registry and some code (<a href="https://github.com/apache/incubator-dubbo/pull/3140" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3140/hovercard">#3140</a>)</li> <li>fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="395484770" data-permission-text="Title is private" data-url="https://github.com/apache/dubbo/issues/3123" data-hovercard-type="issue" data-hovercard-url="/apache/dubbo/issues/3123/hovercard" href="https://github.com/apache/dubbo/issues/3123">#3123</a>. support metadata xml config and support dubbo.properties format 'dubbo.metadata-report.address=XXx' (<a href="https://github.com/apache/incubator-dubbo/pull/3138" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3138/hovercard">#3138</a>)</li> <li>avoid dup refresh for registry config (<a href="https://github.com/apache/incubator-dubbo/pull/3135" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3135/hovercard">#3135</a>)</li> <li>Config center optimization (<a href="https://github.com/apache/incubator-dubbo/pull/3128" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3128/hovercard">#3128</a>)</li> <li>code optimization (<a href="https://github.com/apache/incubator-dubbo/pull/3118" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3118/hovercard">#3118</a>)</li> <li>fix telnet trace times is always 1 (<a href="https://github.com/apache/incubator-dubbo/pull/3038" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3038/hovercard">#3038</a>)</li> <li>code rule (<a href="https://github.com/apache/incubator-dubbo/pull/3016" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3016/hovercard">#3016</a>)</li> <li>Add javadoc for dubbo-serialization module(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="391995391" data-permission-text="Title is private" data-url="https://github.com/apache/dubbo/issues/3002" data-hovercard-type="issue" data-hovercard-url="/apache/dubbo/issues/3002/hovercard" href="https://github.com/apache/dubbo/issues/3002">#3002</a>). (<a href="https://github.com/apache/incubator-dubbo/pull/3004" data-hovercard-type="pull_request" data-hovercard-url="/apache/dubbo/pull/3004/hovercard">#3004</a>)</li> </ul> <h2 dir="auto">Code Review Statistics</h2> <p dir="auto">Dubbo encourages everyone to participant in code review, in order to improve software quality. Every week <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dubbo-bot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dubbo-bot">@dubbo-bot</a> would automatically help to count pull request reviews of single github user as the following. So, try to help review code in this project.</p> <table role="table"> <thead> <tr> <th align="center">Contributor ID</th> <th align="center">Pull Request Reviews</th> </tr> </thead> <tbody> <tr> <td align="center"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/khanimteyaz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/khanimteyaz">@khanimteyaz</a></td> <td align="center">38</td> </tr> <tr> <td align="center"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/beiwei30/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/beiwei30">@beiwei30</a></td> <td align="center">12</td> </tr> <tr> <td align="center"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chickenlj/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chickenlj">@chickenlj</a></td> <td align="center">10</td> </tr> <tr> <td align="center"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ralf0131/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ralf0131">@ralf0131</a></td> <td align="center">8</td> </tr> <tr> <td align="center"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/carryxyh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/carryxyh">@carryxyh</a></td> <td align="center">8</td> </tr> <tr> <td align="center"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/CrazyHZM/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/CrazyHZM">@CrazyHZM</a></td> <td align="center">5</td> </tr> <tr> <td align="center"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lixiaojiee/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lixiaojiee">@lixiaojiee</a></td> <td align="center">4</td> </tr> <tr> <td align="center"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kexianjun/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kexianjun">@kexianjun</a></td> <td align="center">3</td> </tr> <tr> <td align="center"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zonghaishang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zonghaishang">@zonghaishang</a></td> <td align="center">3</td> </tr> <tr> <td align="center"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kezhenxu94/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kezhenxu94">@kezhenxu94</a></td> <td align="center">1</td> </tr> <tr> <td align="center"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/htynkn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/htynkn">@htynkn</a></td> <td align="center">1</td> </tr> <tr> <td align="center"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cvictory/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cvictory">@cvictory</a></td> <td align="center">1</td> </tr> <tr> <td align="center"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gudegg/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gudegg">@gudegg</a></td> <td align="center">1</td> </tr> <tr> <td align="center"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/LiZhenNet/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/LiZhenNet">@LiZhenNet</a></td> <td align="center">1</td> </tr> </tbody> </table> <h2 dir="auto">Contributors Overview</h2> <p dir="auto">It is Dubbo team's great honor to have new contributors from community. We really appreciate your contributions. Feel free to tell us if you have any opinion and please share this open source project with more people if you could. If you hope to be a contributor as well, please start from <a href="https://github.com/apache/incubator-dubbo/blob/master/CONTRIBUTING.md">https://github.com/apache/incubator-dubbo/blob/master/CONTRIBUTING.md</a> .<br> Here is the list of new contributors:</p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/majinkai/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/majinkai">@majinkai</a></p> <p dir="auto">Thanks to you all.</p>
<p dir="auto">An <code class="notranslate">UnresolvedAddressException</code> is thrown if the Zookeeper registry is used under the enviroment of Java14.<br> Because the lower version of Zookeeper is not compatible with the Java14 unresolved address format.<br> The problem is fixed in version 3.5.x of Zookeeper, <strong>I suggest upgrade the Zookeeper version of Dubbo to 3.5.x</strong></p> <ul class="contains-task-list"> <li> <p dir="auto">the lower version of <code class="notranslate">getHostString()</code> method for zk<br> <a href="https://github.com/apache/zookeeper/blob/2d71af4dbe22557fda74f9a9b4309b15a7487f03/src/java/main/org/apache/zookeeper/client/StaticHostProvider.java#L135-L138">https://github.com/apache/zookeeper/blob/2d71af4dbe22557fda74f9a9b4309b15a7487f03/src/java/main/org/apache/zookeeper/client/StaticHostProvider.java#L135-L138</a></p> </li> <li> <p dir="auto">jdk rewrite unresolved address format<br> <a href="https://github.com/openjdk/jdk/blob/9a7dcdcdbad34e061a8988287fe691abfd4df305/src/java.base/share/classes/java/net/InetSocketAddress.java#L107-L116">https://github.com/openjdk/jdk/blob/9a7dcdcdbad34e061a8988287fe691abfd4df305/src/java.base/share/classes/java/net/InetSocketAddress.java#L107-L116</a></p> </li> <li class="task-list-item"> <p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</p> </li> <li class="task-list-item"> <p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</p> </li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.8 release</li> <li>Operating System version: macOS 10.13.6</li> <li>Java version: jdk14.0.1</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto"><a href="https://github.com/apache/dubbo/blob/master/dubbo-demo/dubbo-demo-api/dubbo-demo-api-provider/src/main/java/org/apache/dubbo/demo/provider/Application.java">run the demo</a></p> <h3 dir="auto">Expected Result</h3> <p dir="auto">the normal run</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">throw <code class="notranslate">java.nio.channels.UnresolvedAddressException</code></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="[17/09/20 10:30:53:424 CST] main-SendThread(127.0.0.1:2181) WARN zookeeper.ClientCnxn: Session 0x0 for server 127.0.0.1/&lt;unresolved&gt;:2181, unexpected error, closing socket connection and attempting reconnect java.nio.channels.UnresolvedAddressException at java.base/sun.nio.ch.Net.checkAddress(Net.java:139) at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:727) at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:741) at org.apache.zookeeper.ClientCnxnSocketNIO.registerAndConnect(ClientCnxnSocketNIO.java:277) at org.apache.zookeeper.ClientCnxnSocketNIO.connect(ClientCnxnSocketNIO.java:287) at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1021) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1064)"><pre class="notranslate"><code class="notranslate">[17/09/20 10:30:53:424 CST] main-SendThread(127.0.0.1:2181) WARN zookeeper.ClientCnxn: Session 0x0 for server 127.0.0.1/&lt;unresolved&gt;:2181, unexpected error, closing socket connection and attempting reconnect java.nio.channels.UnresolvedAddressException at java.base/sun.nio.ch.Net.checkAddress(Net.java:139) at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:727) at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:741) at org.apache.zookeeper.ClientCnxnSocketNIO.registerAndConnect(ClientCnxnSocketNIO.java:277) at org.apache.zookeeper.ClientCnxnSocketNIO.connect(ClientCnxnSocketNIO.java:287) at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1021) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1064) </code></pre></div>
0
<p dir="auto">use http1.1 keepalive get method not allowed error</p> <p dir="auto">this can be fixed by use<br> <code class="notranslate">WSGIRequestHandler.protocol_version="HTTP/1.0"</code></p> <p dir="auto">and appear when use<br> <code class="notranslate">WSGIRequestHandler.protocol_version="HTTP/1.1"</code></p> <p dir="auto">it seem a http server bug</p> <p dir="auto">Environment:</p> <ul dir="auto"> <li>Python version:3.8</li> <li>Flask version:2.1.1</li> </ul>
<p dir="auto">With the following example:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from flask import Flask app = Flask(__name__) @app.route('/', methods=['POST']) def hello_world(): return 'Hello World!' if __name__ == '__main__': app.run()"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">flask</span> <span class="pl-k">import</span> <span class="pl-v">Flask</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">Flask</span>(<span class="pl-s1">__name__</span>) <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">route</span>(<span class="pl-s">'/'</span>, <span class="pl-s1">methods</span><span class="pl-c1">=</span>[<span class="pl-s">'POST'</span>])</span> <span class="pl-k">def</span> <span class="pl-en">hello_world</span>(): <span class="pl-k">return</span> <span class="pl-s">'Hello World!'</span> <span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">'__main__'</span>: <span class="pl-s1">app</span>.<span class="pl-en">run</span>()</pre></div> <p dir="auto">When you set the request body to <code class="notranslate">{}</code> with Postman or any HTTP clients, the first request will return 200, while the second request will return a 405 error response. The log shows the request method is <code class="notranslate">{}POST</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;{}POST / HTTP/1.1&quot; 405"><pre class="notranslate"><code class="notranslate">"{}POST / HTTP/1.1" 405 </code></pre></div> <p dir="auto">Notice the request body became the part of the request method.</p>
1
<h1 dir="auto">Bug report</h1> <h2 dir="auto">Describe the bug</h2> <p dir="auto">When I'm deploying a nextjs app, I've got the character <code class="notranslate">/</code> appended at the end of the path, which is not appearing during development.</p> <h2 dir="auto">To Reproduce</h2> <ol dir="auto"> <li>in pages folder, create a component (such as <code class="notranslate">home.js</code>)</li> <li>In development, path will be <code class="notranslate">/home</code> if following structure <code class="notranslate">pages/home.js</code></li> <li>Once deployed (e.g. : <code class="notranslate">netlify</code>), path will be <code class="notranslate">/home/</code></li> </ol> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>OS: macOS 10.13</li> <li>Browser: chrome</li> <li>Version of Next.js: 7.0.2</li> </ul>
<p dir="auto">trailing slash in link for legit page works for client side navigation but leads to not found bundle and 404 on hard refresh (ssr)</p> <h1 dir="auto">Bug report</h1> <h2 dir="auto">Describe the bug</h2> <p dir="auto">let me know if title needs further clarification.</p> <p dir="auto"><a href="https://github.com/zeit/next.js/issues?q=is%3Aissue+trailing+slash+is%3Aclosed">all relevant issues</a> has been closed with reasoning that its been fixed in 6-canary (I believe it is not) or by improved serve (which is true only in perhaps production static export).</p> <p dir="auto">I'm rewriting my existing blog to next.js and i previously used trailing slashes. Latest <code class="notranslate">serve</code> can help with it once i build my next.js powered blog. But in order to fix dev env i need either to get rid of trailing slashes and utilize <code class="notranslate">301 Moved Permanently</code> in prod; or live with broken trailing slash support in dev.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Here is minimal reproducible case (link to repro repo is below snippet):</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// pages/index.js import Link from &quot;next/link&quot;; export default () =&gt; ( &lt;Link href=&quot;/about/&quot;&gt; &lt;a&gt;About&lt;/a&gt; &lt;/Link&gt; ); // pages/index.js export default () =&gt; &quot;about&quot;;"><pre class="notranslate"><span class="pl-c">// pages/index.js</span> <span class="pl-k">import</span> <span class="pl-v">Link</span> <span class="pl-k">from</span> <span class="pl-s">"next/link"</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span> <span class="pl-c1">&lt;</span><span class="pl-ent">Link</span> <span class="pl-c1">href</span><span class="pl-c1">=</span><span class="pl-s">"/about/"</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">a</span><span class="pl-c1">&gt;</span>About<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">a</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">Link</span><span class="pl-c1">&gt;</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// pages/index.js</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s">"about"</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Minimal reproducible repo <a href="https://github.com/iamstarkov/next.js-trailing-slash-bug-demo">https://github.com/iamstarkov/next.js-trailing-slash-bug-demo</a></p> <ol dir="auto"> <li>clone repo <code class="notranslate">git clone https://github.com/iamstarkov/next.js-trailing-slash-bug-demo</code></li> <li>change directory <code class="notranslate">cd next.js-trailing-slash-bug-demo</code></li> <li>install deps <code class="notranslate">yarn</code></li> <li>run dev: <code class="notranslate">yarn dev</code></li> <li>open <a href="http://localhost:3000/" rel="nofollow">http://localhost:3000/</a></li> <li>open devtools' network tab</li> <li>observe <code class="notranslate">http://localhost:3000/_next/static/development/pages/about.js</code> being 200ed</li> <li>observe <code class="notranslate">http://localhost:3000/_next/on-demand-entries-ping?page=/about/</code> being 200ed</li> <li>observe <code class="notranslate">http://localhost:3000/about/</code> being 404ed</li> <li>observe persistent attempts to resolve <code class="notranslate">http://localhost:3000/about/</code></li> <li>observe in the terminal <code class="notranslate">Client pings, but there's no entry for page: /about/</code></li> <li>refresh the page</li> <li>observe 404 page.</li> <li>remove trailing slash in the url or click <a href="http://localhost:3000/about" rel="nofollow">http://localhost:3000/about</a></li> <li>observe page being 200ed</li> <li>to ensure error persistence repeat steps 5-15 once.</li> </ol> <h2 dir="auto">Expected behavior</h2> <ol dir="auto"> <li><code class="notranslate">/about/</code> shouldnt be resolved as <code class="notranslate">404 not found</code></li> <li><code class="notranslate">/about/</code> should be resolved as <code class="notranslate">200 ok</code></li> <li>Server should not print <code class="notranslate">Client pings, but there's no entry for page: /about/</code></li> <li>both <code class="notranslate">/about</code> and <code class="notranslate">/about/</code> should work the same way</li> </ol> <h2 dir="auto">Screenshots</h2> <p dir="auto">N/A</p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>OS: macOS High Sierra 10.13.6 (17G65)</li> <li>Browser (should not matter, but can repro'ed in chrome 69.0.3497.100 and safari Version 12.0 (13606.2.11) (was the same for safari 11)</li> <li>Version of Next.js: 7.0.0 (could repro on 5.x and 6.x)</li> </ul> <h2 dir="auto">Additional context</h2> <p dir="auto">Add any other context about the problem here.</p> <p dir="auto">If you change this code in <a href="https://github.com/zeit/next.js/blob/459c1c13d054b37442126889077b7056269eeb35/server/on-demand-entry-handler.js#L242-L249">https://github.com/zeit/next.js/blob/459c1c13d054b37442126889077b7056269eeb35/server/on-demand-entry-handler.js#L242-L249</a></p> <p dir="auto">or <code class="notranslate">node_modules/next/dist/server/on-demand-entry-handler.js</code> locally</p> <div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" const { query } = parse(req.url, true) const page = normalizePage(query.page) + console.log('query.page', query.page); + console.log('page', page); + console.log('Object.keys(entries)', Object.keys(entries)); const entryInfo = entries[page] // If there's no entry. // Then it seems like an weird issue. if (!entryInfo) { const message = `Client pings, but there's no entry for page: ${page}`"><pre class="notranslate"> const { query } = parse(req.url, true) const page = normalizePage(query.page) <span class="pl-mi1"><span class="pl-mi1">+</span> console.log('query.page', query.page);</span> <span class="pl-mi1"><span class="pl-mi1">+</span> console.log('page', page);</span> <span class="pl-mi1"><span class="pl-mi1">+</span> console.log('Object.keys(entries)', Object.keys(entries));</span> const entryInfo = entries[page] // If there's no entry. // Then it seems like an weird issue. if (!entryInfo) { const message = `Client pings, but there's no entry for page: ${page}`</pre></div> <p dir="auto">and restart <code class="notranslate">next dev</code> and open <a href="http://localhost:3000/" rel="nofollow">http://localhost:3000/</a> and click about link then:</p> <ul dir="auto"> <li>for <code class="notranslate">/about</code> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="query.page /about page /about Object.keys(entries) [ '/', '/about' ]"><pre class="notranslate"><code class="notranslate">query.page /about page /about Object.keys(entries) [ '/', '/about' ] </code></pre></div> </li> <li>for <code class="notranslate">/about/</code>: <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="query.page /about/ page /about/ Object.keys(entries) [ '/', '/about' ] Client pings, but there's no entry for page: /about/"><pre class="notranslate"><code class="notranslate">query.page /about/ page /about/ Object.keys(entries) [ '/', '/about' ] Client pings, but there's no entry for page: /about/ </code></pre></div> </li> </ul> <p dir="auto">I think the problem (at least part of it) is in inability of onDemandEntryHandler's middleware to find page in entries if page has trailing slash.</p> <p dir="auto">I hope my 2 hours of investigation and preparation can help with fixing this issue.</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"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.0</li> <li>Operating System version: MacOS</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto">When tag router is deleted by Dubbo Admin</p> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">What do you expected from the above steps?</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">What actually happens?</p> <p dir="auto">If there is an exception, please attach the exception trace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java.lang.NullPointerException: null at java.lang.String.&lt;init&gt;(String.java:515) ~[na:1.8.0_161] at org.apache.dubbo.configcenter.support.zookeeper.CacheListener.childEvent(CacheListener.java:86) ~[dubbo-2.7.0.jar:2.7.0] at org.apache.curator.framework.recipes.cache.TreeCache$2.apply(TreeCache.java:685) [curator-recipes-2.8.0.jar:na] at org.apache.curator.framework.recipes.cache.TreeCache$2.apply(TreeCache.java:679) [curator-recipes-2.8.0.jar:na] at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:92) [curator-framework-2.8.0.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_161] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_161] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_161]"><pre class="notranslate"><code class="notranslate">java.lang.NullPointerException: null at java.lang.String.&lt;init&gt;(String.java:515) ~[na:1.8.0_161] at org.apache.dubbo.configcenter.support.zookeeper.CacheListener.childEvent(CacheListener.java:86) ~[dubbo-2.7.0.jar:2.7.0] at org.apache.curator.framework.recipes.cache.TreeCache$2.apply(TreeCache.java:685) [curator-recipes-2.8.0.jar:na] at org.apache.curator.framework.recipes.cache.TreeCache$2.apply(TreeCache.java:679) [curator-recipes-2.8.0.jar:na] at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:92) [curator-framework-2.8.0.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_161] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_161] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_161] </code></pre></div>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.1</li> <li>Operating System version: centos, windows</li> <li>Java version:<br> centos : openjdk version "1.8.0_212"<br> windows: oracle jdk java version "1.8.0_201"</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto">just run no set generic</p> <ol dir="auto"> <li>register generic service like:</li> </ol> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" ServiceConfig&lt;GenericService&gt; service = new ServiceConfig&lt;GenericService&gt;(); service.setInterface(registerServiceConfInterface.getInterfaceName()); service.setVersion(registerServiceConfInterface.getVersion()); service.setGroup(&quot;test&quot;); service.setGeneric(&quot;true&quot;); service.setRef();//just implement GenericService is ok return null service.export();"><pre class="notranslate"> <span class="pl-smi">ServiceConfig</span>&lt;<span class="pl-smi">GenericService</span>&gt; <span class="pl-s1">service</span> = <span class="pl-k">new</span> <span class="pl-smi">ServiceConfig</span>&lt;<span class="pl-smi">GenericService</span>&gt;(); <span class="pl-s1">service</span>.<span class="pl-en">setInterface</span>(<span class="pl-s1">registerServiceConfInterface</span>.<span class="pl-en">getInterfaceName</span>()); <span class="pl-s1">service</span>.<span class="pl-en">setVersion</span>(<span class="pl-s1">registerServiceConfInterface</span>.<span class="pl-en">getVersion</span>()); <span class="pl-s1">service</span>.<span class="pl-en">setGroup</span>(<span class="pl-s">"test"</span>); <span class="pl-s1">service</span>.<span class="pl-en">setGeneric</span>(<span class="pl-s">"true"</span>); <span class="pl-s1">service</span>.<span class="pl-en">setRef</span>();<span class="pl-c">//just implement GenericService is ok return null</span> <span class="pl-s1">service</span>.<span class="pl-en">export</span>();</pre></div> <ol start="2" dir="auto"> <li>use <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/reference/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/reference">@reference</a> define like follow</li> </ol> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" @Reference(version = &quot;1.0.0&quot;, timeout = 5000, group = &quot;test&quot;, check = false) private DubboVersionFacade dubboVersionFacade;"><pre class="notranslate"> <span class="pl-c1">@</span><span class="pl-c1">Reference</span>(<span class="pl-s1">version</span> = <span class="pl-s">"1.0.0"</span>, <span class="pl-s1">timeout</span> = <span class="pl-c1">5000</span>, <span class="pl-s1">group</span> = <span class="pl-s">"test"</span>, <span class="pl-s1">check</span> = <span class="pl-c1">false</span>) <span class="pl-k">private</span> <span class="pl-smi">DubboVersionFacade</span> <span class="pl-s1">dubboVersionFacade</span>;</pre></div> <ol start="3" dir="auto"> <li>result:<br> (1) start on windows the generic is null<br> (2) start on centos generic is false<br> reason:<br> AbstractReferenceConfig have two function to set generic<br> (1) isgeneric<br> (2) setgeneric<br> get methods sequence isgeneric first it will be null<br> get methods sequence setgeneric first it will be false</li> </ol> <p dir="auto">can i add the Parameter parameter to exclude the isgeneric ?</p>
0
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">Example: I often choose "Mircrosoft Edge" while searching for "edge", so it should be at top of the list, not its application.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/35186478/83958941-cfef7800-a8a1-11ea-85e4-057676dae126.png"><img src="https://user-images.githubusercontent.com/35186478/83958941-cfef7800-a8a1-11ea-85e4-057676dae126.png" alt="image" style="max-width: 100%;"></a></p> <h1 dir="auto">Proposed technical implementation details (optional)</h1>
<h1 dir="auto">Finding duplicate files</h1> <h1 dir="auto">Could be using file hash or something</h1>
0
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/7ca789dbd89b071b4d0b1d8d77e47514a8f8efd5a46bb9c2e12ed68ccf007f5c/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3637313337382f3131393932372f36613130643932362d366362632d313165322d396664322d6530386332376666353265382e706e67"><img src="https://camo.githubusercontent.com/7ca789dbd89b071b4d0b1d8d77e47514a8f8efd5a46bb9c2e12ed68ccf007f5c/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3637313337382f3131393932372f36613130643932362d366362632d313165322d396664322d6530386332376666353265382e706e67" alt="Screen Shot 2013-02-01 at 2 11 51 PM" data-canonical-src="https://f.cloud.github.com/assets/671378/119927/6a10d926-6cbc-11e2-9fd2-e08c27ff52e8.png" style="max-width: 100%;"></a></p>
<p dir="auto">So <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nathansobo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nathansobo">@nathansobo</a> and I talked about something similar the other night, but I wanted to highlight a specific problem I ran into the other day, because it may be something that we need to factor into the app a little more to specifically guard against this type of issue.</p> <p dir="auto">Here is a character that isn’t fixed width:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/88ed1af2cf54ed2b78646c91de003ed3865c0a04f25fb23cb6733cf3a0a62b1e/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3239363433322f37333235342f38323030326663322d363033382d313165322d383666612d6130643638346130343538382e706e67"><img src="https://camo.githubusercontent.com/88ed1af2cf54ed2b78646c91de003ed3865c0a04f25fb23cb6733cf3a0a62b1e/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3239363433322f37333235342f38323030326663322d363033382d313165322d383666612d6130643638346130343538382e706e67" alt="Screen Shot 2013-01-13 at 12 17 54 PM" data-canonical-src="https://f.cloud.github.com/assets/296432/73254/82002fc2-6038-11e2-86fa-a0d684a04588.png" style="max-width: 100%;"></a></p> <p dir="auto">Highlighting it shows it breaking out of the character square:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/3b225c9fe0e23e899333de5eb0aedca0ec06060ebde3bf010e9bc1e6b2024d0b/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3239363433322f37333236302f62626437386439652d363033382d313165322d386530372d3666323037333837653263362e706e67"><img src="https://camo.githubusercontent.com/3b225c9fe0e23e899333de5eb0aedca0ec06060ebde3bf010e9bc1e6b2024d0b/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3239363433322f37333236302f62626437386439652d363033382d313165322d386530372d3666323037333837653263362e706e67" alt="Screen Shot 2013-01-13 at 12 18 03 PM" data-canonical-src="https://f.cloud.github.com/assets/296432/73260/bbd78d9e-6038-11e2-8e07-6f207387e2c6.png" style="max-width: 100%;"></a></p> <p dir="auto">It basically throws out all caret positions to the right of the character in question:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/548c01f3c5403d3448af796c5b1c373893831007eabc25eeee973ac9881196ce/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3239363433322f37333236342f65643261373066302d363033382d313165322d393630382d6364613335323034366237342e706e67"><img src="https://camo.githubusercontent.com/548c01f3c5403d3448af796c5b1c373893831007eabc25eeee973ac9881196ce/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3239363433322f37333236342f65643261373066302d363033382d313165322d393630382d6364613335323034366237342e706e67" alt="Screen Shot 2013-01-13 at 12 18 11 PM" data-canonical-src="https://f.cloud.github.com/assets/296432/73264/ed2a70f0-6038-11e2-9608-cda352046b74.png" style="max-width: 100%;"></a></p> <p dir="auto">Not sure what the best solution is here, but yeah. Happy to brainstorm solutions 😄</p>
1
<p dir="auto">This may be a duplicate, but can't find the original if it exists.</p> <p dir="auto">See <a href="http://doc.rust-lang.org/core/intrinsics/index.html" rel="nofollow">http://doc.rust-lang.org/core/intrinsics/index.html</a> for the problem. Most of the intrinsics are doc'd with stability markers, but none of that shows up. Docs also consequently don't show up in re-exports.</p>
<p dir="auto">There are many situations in which we wind up reporting duplicate errors during trait matching and elsewhere. You can see this in many of the compile-fail tests which wind up with the same error several times. These messages often arise naturally because multiple parts of the code give rise to the same obligation, and because of type inference, which can make it hard to tell whether two trait obligations are in fact the same until it is too late. (In fact, we already silently drop two EXACT DUPLICATE obligations for various other reasons).</p> <p dir="auto">I think the best thing is just to add some sort of hashset and check for duplicates in <code class="notranslate">librustc::middle::traits::error_reporting</code> or maybe <code class="notranslate">librustc_typeck::check::vtable</code>. But we should do this check <em>after</em> doing full type resolution.</p> <p dir="auto">I am not sure whether to consider the spans. On the one hand, getting the same error for every line where it occurs is useful, and it can be confusing if you get an error from line A but not B even though they seem identical. This may lead you to think that B is somehow ok, when in fact the compiler was just helpfully suppressing a duplicate error. On the other hand, we already some amount of suppression like that, so the situation above can already arise, and perhaps being more consistent would wind up being less confusing overall.</p>
0
<h2 dir="auto">System information</h2> <p dir="auto">Have I written custom code (as opposed to using a stock example script provided in TensorFlow): &gt;&gt;&gt; import tensorflow as tf (from example script)<br> OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Windows 7 64bit<br> TensorFlow installed from (source or binary): binary<br> TensorFlow version (use command below): 1.8<br> Python version: 3.6.6<br> Bazel version (if compiling from source): N/A<br> GCC/Compiler version (if compiling from source): N/A<br> CUDA/cuDNN version: N/A<br> GPU model and memory: N/A<br> Exact command to reproduce: import tensorflow as tf</p> <h2 dir="auto">After much fruitless effort to install the java version of Tensorflow on my windows machine, i decide to give the python a trial.<br> System Information<br> OS: Windows 7 64bit,<br> Graphics: Intel HD Graphics</h2> <p dir="auto">First i download Python 3.6.6 and install. After setting the path, i tested and everything works fine:<br> C:\Users\Luke&gt;python<br> Python 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 03:37:03) [MSC v.1900 64 bit (AMD64)] on win32<br> Type "help", "copyright", "credits" or "license" for more information.</p> <blockquote> <blockquote> <blockquote> </blockquote> </blockquote> </blockquote> <h2 dir="auto">Next, run the Tensorflow installation command from the Terminal window:<br> C:\Windows\system32&gt;cd<br> C:&gt;pip3 install --upgrade tensorflow<br> Collecting tensorflow<br> Downloading <a href="https://files.pythonhosted.org/packages/f4/88/980d7032b7408fcca5b0b8d420fcd97919197a9e7acf280ab74fc7db6993/tensorflow-1.8.0-cp36-cp36m-win_amd64.whl" rel="nofollow">https://files.pythonhosted.org/packages/f4/88/980d7032b7408fcca5b0b8d420fcd97919197a9e7acf280ab74fc7db6993/tensorflow-1.8.0-cp36-cp36m-win_amd64.whl</a> (34.4MB)<br> 100% |████████████████████████████████| 34.4MB 23kB/s<br> Collecting termcolor&gt;=1.1.0 (from tensorflow)<br> Downloading <a href="https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz" rel="nofollow">https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz</a><br> Collecting gast&gt;=0.2.0 (from tensorflow)<br> Downloading <a href="https://files.pythonhosted.org/packages/5c/78/ff794fcae2ce8aa6323e789d1f8b3b7765f601e7702726f430e814822b96/gast-0.2.0.tar.gz" rel="nofollow">https://files.pythonhosted.org/packages/5c/78/ff794fcae2ce8aa6323e789d1f8b3b7765f601e7702726f430e814822b96/gast-0.2.0.tar.gz</a><br> Collecting numpy&gt;=1.13.3 (from tensorflow)<br> Downloading <a href="https://files.pythonhosted.org/packages/0d/b7/0c804e0bcba6505f8392d042d5e333a5e06f308e019517111fbc7767a0bc/numpy-1.14.5-cp36-none-win_amd64.whl" rel="nofollow">https://files.pythonhosted.org/packages/0d/b7/0c804e0bcba6505f8392d042d5e333a5e06f308e019517111fbc7767a0bc/numpy-1.14.5-cp36-none-win_amd64.whl</a> (13.4MB)<br> 100% |████████████████████████████████| 13.4MB 82kB/s<br> Collecting absl-py&gt;=0.1.6 (from tensorflow)<br> Downloading <a href="https://files.pythonhosted.org/packages/57/8d/6664518f9b6ced0aa41cf50b989740909261d4c212557400c48e5cda0804/absl-py-0.2.2.tar.gz" rel="nofollow">https://files.pythonhosted.org/packages/57/8d/6664518f9b6ced0aa41cf50b989740909261d4c212557400c48e5cda0804/absl-py-0.2.2.tar.gz</a> (82kB)<br> 100% |████████████████████████████████| 92kB 55kB/s<br> Collecting tensorboard&lt;1.9.0,&gt;=1.8.0 (from tensorflow)<br> Downloading <a href="https://files.pythonhosted.org/packages/59/a6/0ae6092b7542cfedba6b2a1c9b8dceaf278238c39484f3ba03b03f07803c/tensorboard-1.8.0-py3-none-any.whl" rel="nofollow">https://files.pythonhosted.org/packages/59/a6/0ae6092b7542cfedba6b2a1c9b8dceaf278238c39484f3ba03b03f07803c/tensorboard-1.8.0-py3-none-any.whl</a> (3.1MB)<br> 100% |████████████████████████████████| 3.1MB 32kB/s<br> Collecting grpcio&gt;=1.8.6 (from tensorflow)<br> Downloading <a href="https://files.pythonhosted.org/packages/d5/c6/15728549704f9c03db7179b7f99303b91b7703e18a50f5e7b47e59b289ea/grpcio-1.13.0-cp36-cp36m-win_amd64.whl" rel="nofollow">https://files.pythonhosted.org/packages/d5/c6/15728549704f9c03db7179b7f99303b91b7703e18a50f5e7b47e59b289ea/grpcio-1.13.0-cp36-cp36m-win_amd64.whl</a> (1.4MB)<br> 100% |████████████████████████████████| 1.4MB 42kB/s<br> Collecting wheel&gt;=0.26 (from tensorflow)<br> Downloading <a href="https://files.pythonhosted.org/packages/81/30/e935244ca6165187ae8be876b6316ae201b71485538ffac1d718843025a9/wheel-0.31.1-py2.py3-none-any.whl" rel="nofollow">https://files.pythonhosted.org/packages/81/30/e935244ca6165187ae8be876b6316ae201b71485538ffac1d718843025a9/wheel-0.31.1-py2.py3-none-any.whl</a> (41kB)<br> 100% |████████████████████████████████| 51kB 60kB/s<br> Collecting protobuf&gt;=3.4.0 (from tensorflow)<br> Downloading <a href="https://files.pythonhosted.org/packages/75/7a/0dba607e50b97f6a89fa3f96e23bf56922fa59d748238b30507bfe361bbc/protobuf-3.6.0-cp36-cp36m-win_amd64.whl" rel="nofollow">https://files.pythonhosted.org/packages/75/7a/0dba607e50b97f6a89fa3f96e23bf56922fa59d748238b30507bfe361bbc/protobuf-3.6.0-cp36-cp36m-win_amd64.whl</a> (1.1MB)<br> 100% |████████████████████████████████| 1.1MB 45kB/s<br> Collecting six&gt;=1.10.0 (from tensorflow)<br> Downloading <a href="https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl" rel="nofollow">https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl</a><br> Collecting astor&gt;=0.6.0 (from tensorflow)<br> Downloading <a href="https://files.pythonhosted.org/packages/b2/91/cc9805f1ff7b49f620136b3a7ca26f6a1be2ed424606804b0fbcf499f712/astor-0.6.2-py2.py3-none-any.whl" rel="nofollow">https://files.pythonhosted.org/packages/b2/91/cc9805f1ff7b49f620136b3a7ca26f6a1be2ed424606804b0fbcf499f712/astor-0.6.2-py2.py3-none-any.whl</a><br> Collecting markdown&gt;=2.6.8 (from tensorboard&lt;1.9.0,&gt;=1.8.0-&gt;tensorflow)<br> Downloading <a href="https://files.pythonhosted.org/packages/6d/7d/488b90f470b96531a3f5788cf12a93332f543dbab13c423a5e7ce96a0493/Markdown-2.6.11-py2.py3-none-any.whl" rel="nofollow">https://files.pythonhosted.org/packages/6d/7d/488b90f470b96531a3f5788cf12a93332f543dbab13c423a5e7ce96a0493/Markdown-2.6.11-py2.py3-none-any.whl</a> (78kB)<br> 100% |████████████████████████████████| 81kB 37kB/s<br> Collecting html5lib==0.9999999 (from tensorboard&lt;1.9.0,&gt;=1.8.0-&gt;tensorflow)<br> Downloading <a href="https://files.pythonhosted.org/packages/ae/ae/bcb60402c60932b32dfaf19bb53870b29eda2cd17551ba5639219fb5ebf9/html5lib-0.9999999.tar.gz" rel="nofollow">https://files.pythonhosted.org/packages/ae/ae/bcb60402c60932b32dfaf19bb53870b29eda2cd17551ba5639219fb5ebf9/html5lib-0.9999999.tar.gz</a> (889kB)<br> 100% |████████████████████████████████| 890kB 43kB/s<br> Collecting werkzeug&gt;=0.11.10 (from tensorboard&lt;1.9.0,&gt;=1.8.0-&gt;tensorflow)<br> Downloading <a href="https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl" rel="nofollow">https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl</a> (322kB)<br> 100% |████████████████████████████████| 327kB 29kB/s<br> Collecting bleach==1.5.0 (from tensorboard&lt;1.9.0,&gt;=1.8.0-&gt;tensorflow)<br> Downloading <a href="https://files.pythonhosted.org/packages/33/70/86c5fec937ea4964184d4d6c4f0b9551564f821e1c3575907639036d9b90/bleach-1.5.0-py2.py3-none-any.whl" rel="nofollow">https://files.pythonhosted.org/packages/33/70/86c5fec937ea4964184d4d6c4f0b9551564f821e1c3575907639036d9b90/bleach-1.5.0-py2.py3-none-any.whl</a><br> Requirement not upgraded as not directly required: setuptools in c:\users\luke\appdata\local\programs\python\python36\lib\site-packages (from protobuf&gt;=3.4.0-&gt;tensorflow) (39.0.1)<br> Installing collected packages: termcolor, gast, numpy, six, absl-py, markdown, html5lib, werkzeug, bleach, wheel, protobuf, tensorboard, grpcio, astor, tensorflow<br> Running setup.py install for termcolor ... done<br> Running setup.py install for gast ... done<br> Running setup.py install for absl-py ... done<br> The script markdown_py.exe is installed in 'c:\users\luke\appdata\local\programs\python\python36\Scripts' which is not on PATH.<br> Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.<br> Running setup.py install for html5lib ... done<br> The script wheel.exe is installed in 'c:\users\luke\appdata\local\programs\python\python36\Scripts' which is not on PATH.<br> Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.<br> The script tensorboard.exe is installed in 'c:\users\luke\appdata\local\programs\python\python36\Scripts' which is not on PATH.<br> Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.<br> The scripts freeze_graph.exe, saved_model_cli.exe, tensorboard.exe, toco.exe and toco_from_protos.exe are installed in 'c:\users\luke\appdata\local\programs\python\python36\Scrip<br> ts' which is not on PATH.<br> Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.<br> Successfully installed absl-py-0.2.2 astor-0.6.2 bleach-1.5.0 gast-0.2.0 grpcio-1.13.0 html5lib-0.9999999 markdown-2.6.11 numpy-1.14.5 protobuf-3.6.0 six-1.11.0 tensorboard-1.8.0 t<br> ensorflow-1.8.0 termcolor-1.1.0 werkzeug-0.14.1 wheel-0.31.1</h2> <p dir="auto">From what i observed after the installation, i then added C:\users\luke\appdata\local\programs\python\python36\Scripts in my path ENV directly.<br> After that i now open another Terminal and run the sample test.<br> I first import the Tensorflow with this command:<br> C:\Users\Luke&gt;cd\</p> <p dir="auto">C:&gt;python<br> Python 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 03:37:03) [MSC v.1900 64 bit (AMD64)] on win32<br> Type "help", "copyright", "credits" or "license" for more information.</p> <blockquote> <blockquote> <blockquote> <p dir="auto">import tensorflow as tf<br> Traceback (most recent call last):<br> File "C:\Users\Luke\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 14, in swig_import_helper<br> return importlib.import_module(mname)<br> File "C:\Users\Luke\AppData\Local\Programs\Python\Python36\Lib\importlib_<em>init</em>_.py", line 126, in import_module<br> return _bootstrap._gcd_import(name[level:], package, level)<br> File "", line 994, in _gcd_import<br> File "", line 971, in _find_and_load<br> File "", line 955, in _find_and_load_unlocked<br> File "", line 658, in _load_unlocked<br> File "", line 571, in module_from_spec<br> File "", line 922, in create_module<br> File "", line 219, in _call_with_frames_removed<br> ImportError: DLL load failed with error code -1073741795</p> </blockquote> </blockquote> </blockquote> <p dir="auto">During handling of the above exception, another exception occurred:</p> <p dir="auto">Traceback (most recent call last):<br> File "C:\Users\Luke\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <br> from tensorflow.python.pywrap_tensorflow_internal import *<br> File "C:\Users\Luke\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in <br> _pywrap_tensorflow_internal = swig_import_helper()<br> File "C:\Users\Luke\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 16, in swig_import_helper<br> return importlib.import_module('<em>pywrap_tensorflow_internal')<br> File "C:\Users\Luke\AppData\Local\Programs\Python\Python36\Lib\importlib_<em>init</em></em>.py", line 126, in import_module<br> return _bootstrap._gcd_import(name[level:], package, level)<br> ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'</p> <p dir="auto">During handling of the above exception, another exception occurred:</p> <p dir="auto">Traceback (most recent call last):<br> File "", line 1, in <br> File "C:\Users\Luke\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow_<em>init</em>_.py", line 24, in <br> from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import<br> File "C:\Users\Luke\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python_<em>init</em>_.py", line 49, in <br> from tensorflow.python import pywrap_tensorflow<br> File "C:\Users\Luke\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <br> raise ImportError(msg)<br> ImportError: Traceback (most recent call last):<br> File "C:\Users\Luke\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 14, in swig_import_helper<br> return importlib.import_module(mname)<br> File "C:\Users\Luke\AppData\Local\Programs\Python\Python36\Lib\importlib_<em>init</em>_.py", line 126, in import_module<br> return _bootstrap._gcd_import(name[level:], package, level)<br> File "", line 994, in _gcd_import<br> File "", line 971, in _find_and_load<br> File "", line 955, in _find_and_load_unlocked<br> File "", line 658, in _load_unlocked<br> File "", line 571, in module_from_spec<br> File "", line 922, in create_module<br> File "", line 219, in _call_with_frames_removed<br> ImportError: DLL load failed with error code -1073741795</p> <p dir="auto">During handling of the above exception, another exception occurred:</p> <p dir="auto">Traceback (most recent call last):<br> File "C:\Users\Luke\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <br> from tensorflow.python.pywrap_tensorflow_internal import *<br> File "C:\Users\Luke\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in <br> _pywrap_tensorflow_internal = swig_import_helper()<br> File "C:\Users\Luke\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 16, in swig_import_helper<br> return importlib.import_module('<em>pywrap_tensorflow_internal')<br> File "C:\Users\Luke\AppData\Local\Programs\Python\Python36\Lib\importlib_<em>init</em></em>.py", line 126, in import_module<br> return _bootstrap._gcd_import(name[level:], package, level)<br> ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'</p> <p dir="auto">Failed to load the native TensorFlow runtime.</p> <p dir="auto">See <a href="https://www.tensorflow.org/install/install_sources#common_installation_problems" rel="nofollow">https://www.tensorflow.org/install/install_sources#common_installation_problems</a></p> <p dir="auto">for some common reasons and solutions. Include the entire stack trace<br> above this error message when asking for help.</p> <blockquote> <blockquote> <blockquote> </blockquote> </blockquote> </blockquote> <hr> <p dir="auto">The error code i have: -1073741795 does not match with any of those listed in the documentation table.<br> [I followed this official documentation](<a href="https://www.tensorflow.org/install/install_windows#Common" rel="nofollow">https://www.tensorflow.org/install/install_windows#Common</a> installation problems)<br> I need community assistance please.</p>
<p dir="auto">As announced in release notes, TensorFlow release binaries version 1.6 and higher are prebuilt with AVX instruction sets. This means on any CPU that do not have these instruction sets either CPU or GPU version of TF will fail to load with any of the following errors:</p> <ul dir="auto"> <li><code class="notranslate">ImportError: DLL load failed:</code></li> <li>A crash with return code 132</li> </ul> <p dir="auto">Our recommendation is to build TF from sources on these systems.</p> <h3 dir="auto">System information</h3> <ul dir="auto"> <li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: No</li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: ubuntu/windows/macos</li> <li><strong>TensorFlow installed from (source or binary)</strong>: binary</li> <li><strong>TensorFlow version (use command below)</strong>: 1.6 and up</li> <li><strong>Python version</strong>: 2.7, 3.3, 3.4, 3.5, 3.6 and any newer</li> <li><strong>Bazel version (if compiling from source)</strong>: n/a</li> <li><strong>GCC/Compiler version (if compiling from source)</strong>: n/a</li> <li><strong>CUDA/cuDNN version</strong>: any</li> <li><strong>GPU model and memory</strong>: any</li> <li><strong>Exact command to reproduce</strong>: python -c "import tensorflow as tf"</li> </ul>
1
<p dir="auto">It seems there is currently not much happening.</p> <p dir="auto">Is axios still actively maintained and supported? Because the amount of open issues shows a different picture.</p>
<p dir="auto">Is the project dead? Are new maintainers sought?</p> <ul dir="auto"> <li>97 open pull requests</li> <li>411 open issues</li> </ul>
1
<h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br> <a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br> on reporting bugs.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br> for similar or identical bug reports.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br> for existing proposed fixes.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br> to find out if the bug was already fixed in the master branch.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br> in this issue (If there are none, check this box anyway).</li> </ul> <h2 dir="auto">Mandatory Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br> (if you are not able to do this, then at least specify the Celery<br> version affected).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br> to reproduce this bug.</li> </ul> <h2 dir="auto">Optional Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br> and/or implementation.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br> result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br> broker and/or result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one operating system.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one workers pool.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br> ETA/Countdown &amp; rate limits disabled.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue after downgrading<br> and/or upgrading Celery and its dependencies.</li> </ul> <h2 dir="auto">Related Issues and Possible Duplicates</h2> <h4 dir="auto">Related Issues</h4> <ul dir="auto"> <li>None</li> </ul> <h4 dir="auto">Possible Duplicates</h4> <ul dir="auto"> <li>None</li> </ul> <h2 dir="auto">Environment &amp; Settings</h2> <p dir="auto"><strong>Celery version</strong>:<br> 4.4.0 (cliffs)</p> <details> <summary><b><code class="notranslate">celery report</code> Output:</b></summary> <p dir="auto"> ``` software -&gt; celery:4.4.0 (cliffs) kombu:4.6.7 py:3.7.3 billiard:3.6.2.0 py-amqp:2.5.2 platform -&gt; system:Linux arch:64bit, ELF kernel version:4.4.0-43-Microsoft imp:CPython loader -&gt; celery.loaders.app.AppLoader settings -&gt; transport:amqps results:disabled </p><p dir="auto">broker_url: 'amqps://xxxxxxxxxxxxxxxxxx:********@xxx.xxx.xxx.xxx:5671/xxxxxxxxxxxxxx'<br> result_extended: True<br> worker_send_task_events: True</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &lt;/p&gt; &lt;/details&gt; # Steps to Reproduce ## Required Dependencies &lt;!-- Please fill the required dependencies to reproduce this issue --&gt; * **Minimal Python Version**: 3.7.3 * **Minimal Celery Version**: 4.4.0 * **Minimal Kombu Version**: 4.6.7 * **Minimal Broker Version**: N/A or Unknown * **Minimal Result Backend Version**: N/A or Unknown * **Minimal OS and/or Kernel Version**: Linux xxxx 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 GNU/Linux * **Minimal Broker Client Version**: N/A or Unknown * **Minimal Result Backend Client Version**: N/A or Unknown ### Python Packages &lt;!-- Please fill the contents of pip freeze below --&gt; &lt;details&gt; &lt;summary&gt;&lt;b&gt;&lt;code&gt;pip freeze&lt;/code&gt; Output:&lt;/b&gt;&lt;/summary&gt; &lt;p&gt; "><pre class="notranslate"><code class="notranslate"> &lt;/p&gt; &lt;/details&gt; # Steps to Reproduce ## Required Dependencies &lt;!-- Please fill the required dependencies to reproduce this issue --&gt; * **Minimal Python Version**: 3.7.3 * **Minimal Celery Version**: 4.4.0 * **Minimal Kombu Version**: 4.6.7 * **Minimal Broker Version**: N/A or Unknown * **Minimal Result Backend Version**: N/A or Unknown * **Minimal OS and/or Kernel Version**: Linux xxxx 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 GNU/Linux * **Minimal Broker Client Version**: N/A or Unknown * **Minimal Result Backend Client Version**: N/A or Unknown ### Python Packages &lt;!-- Please fill the contents of pip freeze below --&gt; &lt;details&gt; &lt;summary&gt;&lt;b&gt;&lt;code&gt;pip freeze&lt;/code&gt; Output:&lt;/b&gt;&lt;/summary&gt; &lt;p&gt; </code></pre></div> <p dir="auto">amqp==2.5.2<br> aniso8601==8.0.0<br> astroid==2.3.3<br> attrs==19.3.0<br> billiard==3.6.2.0<br> celery==4.4.0<br> Click==7.0<br> cx-Oracle==7.3.0<br> Flask==1.1.1<br> flask-restplus==0.13.0<br> flask-restx==0.1.0<br> Flask-SQLAlchemy==2.4.1<br> importlib-metadata==1.5.0<br> isort==4.3.21<br> itsdangerous==1.1.0<br> Jinja2==2.11.1<br> jsonschema==3.2.0<br> kombu==4.6.7<br> lazy-object-proxy==1.4.3<br> MarkupSafe==1.1.1<br> mccabe==0.6.1<br> pkg-resources==0.0.0<br> pylint==2.4.4<br> pyrsistent==0.15.7<br> pytz==2019.3<br> PyYAML==5.3<br> six==1.14.0<br> SQLAlchemy==1.3.13<br> typed-ast==1.4.1<br> vine==1.3.0<br> waitress==1.4.3<br> Werkzeug==0.16.1<br> wrapt==1.11.2<br> zipp==2.1.0</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &lt;/p&gt; &lt;/details&gt; ### Other Dependencies &lt;!-- Please provide system dependencies, configuration files and other dependency information if applicable --&gt; &lt;details&gt; &lt;p&gt; Distro is Debian GNU/Linux 10 \n \l &lt;/p&gt; &lt;/details&gt; ## Minimally Reproducible Test Case &lt;!-- Please provide a reproducible test case. Refer to the Reporting Bugs section in our contribution guide. We prefer submitting test cases in the form of a PR to our integration test suite. If you can provide one, please mention the PR number below. If not, please attach the most minimal code example required to reproduce the issue below. If the test case is too large, please include a link to a gist or a repository below. --&gt; &lt;details&gt; &lt;p&gt; "><pre class="notranslate"><code class="notranslate"> &lt;/p&gt; &lt;/details&gt; ### Other Dependencies &lt;!-- Please provide system dependencies, configuration files and other dependency information if applicable --&gt; &lt;details&gt; &lt;p&gt; Distro is Debian GNU/Linux 10 \n \l &lt;/p&gt; &lt;/details&gt; ## Minimally Reproducible Test Case &lt;!-- Please provide a reproducible test case. Refer to the Reporting Bugs section in our contribution guide. We prefer submitting test cases in the form of a PR to our integration test suite. If you can provide one, please mention the PR number below. If not, please attach the most minimal code example required to reproduce the issue below. If the test case is too large, please include a link to a gist or a repository below. --&gt; &lt;details&gt; &lt;p&gt; </code></pre></div> <p dir="auto">from celery import Celery, group<br> from time import sleep</p> <p dir="auto">mqconfig = ['rabbitmqhost1', 'rabbitmqhost2', 'rabbitmqhost3']</p> <p dir="auto">app = Celery('acdid', broker=mqconfig)</p> <p dir="auto">app.conf.result_extended = True<br> app.conf.worker_send_task_events = True</p> <p dir="auto">@app.task()<br> def addacd(id):<br> sleep(2)<br> results = 'Sucessfully added: {}'.format(id)<br> print(results)<br> return results</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &lt;/p&gt; &lt;/details&gt; # Expected Behavior &lt;!-- Describe in detail what you expect to happen --&gt; After starting my worker instance using celery worker -A acdworker -l info, I should be able to perform a warm shutdown by doing ctrl-c. ''' celery worker -A acdworker -l info &lt;startup text&gt; ^C worker: Hitting Ctrl+C again will terminate all running tasks! worker: Warm shutdown (MainProcess) ''' # Actual Behavior &lt;!-- Describe in detail what actually happened. Please include a backtrace and surround it with triple backticks (```). In addition, include the Celery daemon logs, the broker logs, the result backend logs and system logs below if they will help us debug the issue. --&gt; I can start up the celery worker normally, after which it will connect to the broker and begin to process tasks normally. When I go to run ctrl-c and perform a warm shutdown, the worker will start shutting down but then output a backtrace. This backtrace only occurs on this particular machine (Debian WSL environment running on windows 10). ''' celery worker -A acdworker -l info &lt;startup text&gt; worker: Hitting Ctrl+C again will terminate all running tasks! worker: Warm shutdown (MainProcess) [2020-02-13 13:20:23,632: WARNING/MainProcess] Traceback (most recent call last): [2020-02-13 13:20:23,633: WARNING/MainProcess] File &quot;/usr/lib/python3.7/multiprocessing/util.py&quot;, line 265, in _run_finalizers finalizer() [2020-02-13 13:20:23,637: WARNING/MainProcess] File &quot;/usr/lib/python3.7/multiprocessing/util.py&quot;, line 189, in __call__ res = self._callback(*self._args, **self._kwargs) [2020-02-13 13:20:23,639: WARNING/MainProcess] File &quot;/home/austin/python_projects/acdid-automation/venv/lib/python3.7/site-packages/billiard/pool.py&quot;, line 1697, in _terminate_pool inqueue.close() [2020-02-13 13:20:23,640: WARNING/MainProcess] AttributeError: 'NoneType' object has no attribute 'close' '''"><pre class="notranslate"><code class="notranslate"> &lt;/p&gt; &lt;/details&gt; # Expected Behavior &lt;!-- Describe in detail what you expect to happen --&gt; After starting my worker instance using celery worker -A acdworker -l info, I should be able to perform a warm shutdown by doing ctrl-c. ''' celery worker -A acdworker -l info &lt;startup text&gt; ^C worker: Hitting Ctrl+C again will terminate all running tasks! worker: Warm shutdown (MainProcess) ''' # Actual Behavior &lt;!-- Describe in detail what actually happened. Please include a backtrace and surround it with triple backticks (```). In addition, include the Celery daemon logs, the broker logs, the result backend logs and system logs below if they will help us debug the issue. --&gt; I can start up the celery worker normally, after which it will connect to the broker and begin to process tasks normally. When I go to run ctrl-c and perform a warm shutdown, the worker will start shutting down but then output a backtrace. This backtrace only occurs on this particular machine (Debian WSL environment running on windows 10). ''' celery worker -A acdworker -l info &lt;startup text&gt; worker: Hitting Ctrl+C again will terminate all running tasks! worker: Warm shutdown (MainProcess) [2020-02-13 13:20:23,632: WARNING/MainProcess] Traceback (most recent call last): [2020-02-13 13:20:23,633: WARNING/MainProcess] File "/usr/lib/python3.7/multiprocessing/util.py", line 265, in _run_finalizers finalizer() [2020-02-13 13:20:23,637: WARNING/MainProcess] File "/usr/lib/python3.7/multiprocessing/util.py", line 189, in __call__ res = self._callback(*self._args, **self._kwargs) [2020-02-13 13:20:23,639: WARNING/MainProcess] File "/home/austin/python_projects/acdid-automation/venv/lib/python3.7/site-packages/billiard/pool.py", line 1697, in _terminate_pool inqueue.close() [2020-02-13 13:20:23,640: WARNING/MainProcess] AttributeError: 'NoneType' object has no attribute 'close' ''' </code></pre></div></details>
<h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br> <a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br> on reporting bugs.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br> for similar or identical bug reports.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br> for existing proposed fixes.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br> to find out if the bug was already fixed in the master branch.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br> in this issue (If there are none, check this box anyway).</li> </ul> <h2 dir="auto">Mandatory Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br> (if you are not able to do this, then at least specify the Celery<br> version affected).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li> <li>[x I have included all the versions of all the external dependencies required<br> to reproduce this bug.</li> </ul> <h2 dir="auto">Optional Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br> and/or implementation.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br> result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br> broker and/or result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br> ETA/Countdown &amp; rate limits disabled.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue after downgrading<br> and/or upgrading Celery and its dependencies.</li> </ul> <h2 dir="auto">Environment &amp; Settings</h2> <p dir="auto"><strong>Celery version</strong>: 4.4.0rc2 (cliffs)</p> <details> <summary><b><code class="notranslate">celery report</code> Output:</b></summary> <p dir="auto"> </p><p dir="auto">software -&gt; celery:4.4.0rc2 (cliffs) kombu:4.6.3 py:3.7.3<br> billiard:3.6.0.0 py-amqp:2.5.0<br> platform -&gt; system:Linux arch:64bit<br> kernel version:4.18.0-21-generic imp:CPython<br> loader -&gt; celery.loaders.app.AppLoader<br> settings -&gt; transport:pyamqp results:redis://redis:6379/0</p> <p dir="auto">broker_url: 'amqp://guest:********<a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/rabbitmq/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rabbitmq">@rabbitmq</a>:5672//'<br> result_backend: 'redis://redis:6379/0'<br> timezone: 'UTC'<br> result_extended: True<br> task_acks_late: True<br> task_routes: {<br> 'celery.<em>': {'queue': 'api_workers'},<br> 'graphape.tasks.api.</em>': {'queue': 'api_workers'},<br> 'graphape.tasks.process.*': {'queue': 'process_workers'}}<br> JOBTASTIC_CACHE: &lt;jobtastic.cache.base.WrappedCache object at 0x7f152c5ddb70&gt;<br> redbeat_redis_url: 'redis://redis:6379/0'<br> beat_schedule: {<br> }</p> <p dir="auto"></p> </details> <h1 dir="auto">Steps to Reproduce</h1> <p dir="auto">Don't think anything other than celery 4.4.0RC and just having beat running and publishing a "celery.backend_cleanup"-task.<br> Task in backend (redis) will have args set to null and this code will later try to enumerate from the null value:<br> <a href="https://github.com/celery/celery/blob/master/celery/beat.py#L387">https://github.com/celery/celery/blob/master/celery/beat.py#L387</a></p> <p dir="auto">I guess these lines should be patched to deal with args = null?<br> Or perhaps args is never allowed to be null and fix should instead be already when task is written to backend?<br> I'm not sure what celery specification says about null args, please advise.</p> <h3 dir="auto">Python Packages</h3> <details> <summary><b><code class="notranslate">pip freeze</code> Output:</b></summary> <p dir="auto"> alabaster==0.7.12 amqp==2.5.0 argcomplete==1.9.3 argh==0.26.2 asteval==0.9.14 Babel==2.7.0 billiard==3.6.0.0 bleach==3.1.0 boto3==1.9.179 botocore==1.12.179 bumpversion==0.5.3 cachelib==0.1 celery==4.4.0rc2 celery-redbeat==0.13.0 Cerberus==1.3.1 certifi==2019.6.16 cfn-flip==1.2.1 chardet==3.0.4 Click==7.0 coverage==4.5.3 decorator==4.4.0 dnspython==1.16.0 docutils==0.14 dumb-init==1.2.2 durationpy==0.5 Eve==0.9.2 eventlet==0.25.0 Events==0.3 Flask==1.0.3 Flask-SocketIO==4.1.0 future==0.16.0 graphape==0.0.1 greenlet==0.4.15 hjson==3.0.1 idna==2.8 imagesize==1.1.0 itsdangerous==1.1.0 Jinja2==2.10.1 jmespath==0.9.3 jobtastic==2.1.1 kappa==0.6.0 kombu==4.6.3 lambda-packages==0.20.0 livereload==2.6.1 MarkupSafe==1.1.1 mock==3.0.5 monotonic==1.5 networkx==2.3 numpy==1.16.4 packaging==19.0 pathtools==0.1.2 pkginfo==1.5.0.1 placebo==0.9.0 pluginbase==1.0.0 port-for==0.3.1 psutil==5.6.3 Pygments==2.4.2 pymongo==3.8.0 pyparsing==2.4.0 python-dateutil==2.6.1 python-engineio==3.8.1 python-slugify==1.2.4 python-socketio==4.1.0 pytz==2019.1 PyYAML==5.1.1 readme-renderer==24.0 redis==3.2.1 requests==2.22.0 requests-toolbelt==0.9.1 s3transfer==0.2.1 simplejson==3.16.0 six==1.12.0 snowballstemmer==1.2.1 Sphinx==2.0.1 sphinx-autobuild==0.7.1 sphinx-rtd-theme==0.4.3 sphinxcontrib-applehelp==1.0.1 sphinxcontrib-devhelp==1.0.1 sphinxcontrib-htmlhelp==1.0.2 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.2 sphinxcontrib-serializinghtml==1.1.3 tenacity==5.0.4 toml==0.10.0 tornado==6.0.2 tqdm==4.32.1 troposphere==2.4.9 twine==1.13.0 Unidecode==1.1.1 urllib3==1.25.3 uWSGI==2.0.18 vine==1.3.0 watchdog==0.9.0 webencodings==0.5.1 Werkzeug==0.15.4 wsgi-request-logger==0.4.6 zappa==0.48.2 </p> </details> <h3 dir="auto">Other Dependencies</h3> <details> <p dir="auto"> - celery-redbeat </p> </details> <h1 dir="auto">Expected Behavior</h1> <p dir="auto">No exception.</p> <h1 dir="auto">Actual Behavior</h1> <p dir="auto">Exception:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2019-07-02 04:00:00,081: ERROR/MainProcess] Message Error: Couldn't apply scheduled task celery.backend_cleanup: 'NoneType' object is not iterable Traceback (most recent call last): File &quot;/usr/local/lib/python3.7/site-packages/celery/beat.py&quot;, line 387, in apply_async entry_args = [v() if isinstance(v, BeatLazyFunc) else v for v in entry.args] TypeError: 'NoneType' object is not iterable During handling of the above exception, another exception occurred: Traceback (most recent call last): File &quot;/usr/local/lib/python3.7/site-packages/redbeat/schedulers.py&quot;, line 427, in maybe_due result = self.apply_async(entry, **kwargs) File &quot;/usr/local/lib/python3.7/site-packages/celery/beat.py&quot;, line 400, in apply_async entry, exc=exc)), sys.exc_info()[2]) File &quot;/usr/local/lib/python3.7/site-packages/vine/five.py&quot;, line 194, in reraise raise value.with_traceback(tb) File &quot;/usr/local/lib/python3.7/site-packages/celery/beat.py&quot;, line 387, in apply_async entry_args = [v() if isinstance(v, BeatLazyFunc) else v for v in entry.args] celery.beat.SchedulingError: Couldn't apply scheduled task celery.backend_cleanup: 'NoneType' object is not iterable"><pre class="notranslate"><code class="notranslate">[2019-07-02 04:00:00,081: ERROR/MainProcess] Message Error: Couldn't apply scheduled task celery.backend_cleanup: 'NoneType' object is not iterable Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/celery/beat.py", line 387, in apply_async entry_args = [v() if isinstance(v, BeatLazyFunc) else v for v in entry.args] TypeError: 'NoneType' object is not iterable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/redbeat/schedulers.py", line 427, in maybe_due result = self.apply_async(entry, **kwargs) File "/usr/local/lib/python3.7/site-packages/celery/beat.py", line 400, in apply_async entry, exc=exc)), sys.exc_info()[2]) File "/usr/local/lib/python3.7/site-packages/vine/five.py", line 194, in reraise raise value.with_traceback(tb) File "/usr/local/lib/python3.7/site-packages/celery/beat.py", line 387, in apply_async entry_args = [v() if isinstance(v, BeatLazyFunc) else v for v in entry.args] celery.beat.SchedulingError: Couldn't apply scheduled task celery.backend_cleanup: 'NoneType' object is not iterable </code></pre></div>
0
<p dir="auto">Speed is much quicker than with any of other applications in my Lenovo and Dell laptops. Scrolling speed should be slower, or there should be a way to adjust the speed in configuration.</p>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18898.1000], Microsoft Windows [Version 10.0.18908.1000] (both) Windows Terminal version (if applicable): commit d24d647 and even before. PC Info: Samsung NT901X5L"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18898.1000], Microsoft Windows [Version 10.0.18908.1000] (both) Windows Terminal version (if applicable): commit d24d647 and even before. PC Info: Samsung NT901X5L </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Just scroll (up and down) by touchpad. (two-hand scrolling)<br> That's all.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Smooth scrolling</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">Terminal scrolls too fast.</p>
1
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import requests import time from requests.packages import urllib3 #Disable https insecure warnings for verify=False urllib3.disable_warnings() with open('1.ts','rb') as fh: file_data = fh.read() def chunk_trans(): for i in range(0, 3): time.sleep(0.1) yield file_data req = requests.Request('POST', 'http://192.168.123.151/1.ts', data=chunk_trans(), headers={'Host':'a.b.c.d'}) prep = req.prepare() s = requests.Session() s.send(prep, timeout=2, verify=False, allow_redirects=False)"><pre class="notranslate"><code class="notranslate">import requests import time from requests.packages import urllib3 #Disable https insecure warnings for verify=False urllib3.disable_warnings() with open('1.ts','rb') as fh: file_data = fh.read() def chunk_trans(): for i in range(0, 3): time.sleep(0.1) yield file_data req = requests.Request('POST', 'http://192.168.123.151/1.ts', data=chunk_trans(), headers={'Host':'a.b.c.d'}) prep = req.prepare() s = requests.Session() s.send(prep, timeout=2, verify=False, allow_redirects=False) </code></pre></div> <p dir="auto">On Server, I am seeing two "Host" headers are being sent. is that expected or I am not doing it correctly?</p>
<h2 dir="auto">Two Host header are being sent when doing chunk transfer with Session</h2> <blockquote> <blockquote> <blockquote> <p dir="auto">import requests<br> requests.<strong>version</strong><br> '2.22.0'</p> </blockquote> </blockquote> </blockquote> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import requests import time from requests.packages import urllib3 #Disable https insecure warnings for verify=False urllib3.disable_warnings() with open('1.ts','rb') as fh: file_data = fh.read() def chunk_trans(): for i in range(0, 3): time.sleep(0.1) yield file_data req = requests.Request('POST', 'http://192.168.123.151/1.ts', data=chunk_trans(), headers={'Host':'a.b.c.d'}) prep = req.prepare() s = requests.Session() s.send(prep, timeout=2, verify=False, allow_redirects=False) "><pre class="notranslate"><code class="notranslate">import requests import time from requests.packages import urllib3 #Disable https insecure warnings for verify=False urllib3.disable_warnings() with open('1.ts','rb') as fh: file_data = fh.read() def chunk_trans(): for i in range(0, 3): time.sleep(0.1) yield file_data req = requests.Request('POST', 'http://192.168.123.151/1.ts', data=chunk_trans(), headers={'Host':'a.b.c.d'}) prep = req.prepare() s = requests.Session() s.send(prep, timeout=2, verify=False, allow_redirects=False) </code></pre></div> <p dir="auto">Actual Output: Two host headers are seen on server side.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Host: 192.168.123.151 Host: a.b.c.d Transfer-Encoding: chunked"><pre class="notranslate"><code class="notranslate">Host: 192.168.123.151 Host: a.b.c.d Transfer-Encoding: chunked </code></pre></div> <hr> <p dir="auto">only "a.b.c.d" host header should come.</p>
1
<p dir="auto">I am only able to dismiss one dismissible at a time, if I try to dismiss in a rapid-fire (swiping fast) fashion it will keep the previous state, because we have to set the state (in onDismissed) the state update will prevent the last fired dismissible to dismiss. It seems like dismissing fast is too fast for the state updates to take place.</p> <p dir="auto">In apps like gmail, it is possible to rapid-fire dismiss items I wonder how it is done there.</p> <p dir="auto">I tried to update state at a later time but I get the key exception (a dismissed widget is still part of the tree)</p>
<p dir="auto">Sometimes I see this exception when scrolling on Android with two fingers in a11y mode:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="E/flutter (10226): [ERROR:lib/tonic/logging/dart_error.cc(16)] Unhandled exception: E/flutter (10226): 'package:flutter/src/gestures/converter.dart': Failed assertion: line 131 pos 18: '!state.down': is not true. E/flutter (10226): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:35) E/flutter (10226): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:31) E/flutter (10226): #2 PointerEventConverter.expand (package:flutter/src/gestures/converter.dart:131:18) E/flutter (10226): #3 _SyncIterator.moveNext (dart:core-patch/core_patch.dart:61) E/flutter (10226): #4 ListQueue.addAll (dart:collection/queue.dart:635) E/flutter (10226): #5 BindingBase&amp;SchedulerBinding&amp;GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:46:27) E/flutter (10226): #6 _invoke1 (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:100) E/flutter (10226): #7 _dispatchPointerDataPacket (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:58)"><pre class="notranslate"><code class="notranslate">E/flutter (10226): [ERROR:lib/tonic/logging/dart_error.cc(16)] Unhandled exception: E/flutter (10226): 'package:flutter/src/gestures/converter.dart': Failed assertion: line 131 pos 18: '!state.down': is not true. E/flutter (10226): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:35) E/flutter (10226): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:31) E/flutter (10226): #2 PointerEventConverter.expand (package:flutter/src/gestures/converter.dart:131:18) E/flutter (10226): #3 _SyncIterator.moveNext (dart:core-patch/core_patch.dart:61) E/flutter (10226): #4 ListQueue.addAll (dart:collection/queue.dart:635) E/flutter (10226): #5 BindingBase&amp;SchedulerBinding&amp;GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:46:27) E/flutter (10226): #6 _invoke1 (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:100) E/flutter (10226): #7 _dispatchPointerDataPacket (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:58) </code></pre></div>
0
<p dir="auto">It may relate to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="37712186" data-permission-text="Title is private" data-url="https://github.com/bumptech/glide/issues/84" data-hovercard-type="issue" data-hovercard-url="/bumptech/glide/issues/84/hovercard" href="https://github.com/bumptech/glide/issues/84">#84</a> but I am looking for a workaround for the <code class="notranslate">SocketTimeOutException</code> like below</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="System.err W java.net.SocketTimeoutException W at java.net.PlainSocketImpl.read(PlainSocketImpl.java:491) W at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46) W at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240) W at java.io.BufferedInputStream.read(BufferedInputStream.java:304) W at libcore.net.http.FixedLengthInputStream.read(FixedLengthInputStream.java:45) W at java.io.InputStream.read(InputStream.java:163) W at com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream.fillbuf(RecyclableBufferedInputStream.java:131) W at com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream.read(RecyclableBufferedInputStream.java:310) W at java.io.InputStream.read(InputStream.java:163) W at com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream.fillbuf(RecyclableBufferedInputStream.java:131) W at com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream.read(RecyclableBufferedInputStream.java:310) W at android.graphics.BitmapFactory.nativeDecodeStream(Native Method) W at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:535) W at com.bumptech.glide.load.resource.bitmap.Downsampler.decodeStream(Downsampler.java:310) W at com.bumptech.glide.load.resource.bitmap.Downsampler.downsampleWithSize(Downsampler.java:210) W at com.bumptech.glide.load.resource.bitmap.Downsampler.decode(Downsampler.java:179) W at com.bumptech.glide.load.resource.bitmap.StreamBitmapDecoder.decode(StreamBitmapDecoder.java:41) W at com.bumptech.glide.load.resource.bitmap.StreamBitmapDecoder.decode(StreamBitmapDecoder.java:18) W at com.bumptech.glide.load.resource.bitmap.ImageVideoBitmapDecoder.decode(ImageVideoBitmapDecoder.java:38) W at com.bumptech.glide.load.resource.bitmap.ImageVideoBitmapDecoder.decode(ImageVideoBitmapDecoder.java:19) W at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:55) W at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:20) W at com.bumptech.glide.load.engine.SourceResourceRunner.decodeFromSource(SourceResourceRunner.java:180) W at com.bumptech.glide.load.engine.SourceResourceRunner.runWrapped(SourceResourceRunner.java:141) W at com.bumptech.glide.load.engine.SourceResourceRunner.run(SourceResourceRunner.java:123) W at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390) W at java.util.concurrent.FutureTask.run(FutureTask.java:234) W at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) W at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) W at java.lang.Thread.run(Thread.java:841) W at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:52) skia D ---- read threw an exception D --- decoder-&gt;decode returned false"><pre class="notranslate"><code class="notranslate">System.err W java.net.SocketTimeoutException W at java.net.PlainSocketImpl.read(PlainSocketImpl.java:491) W at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46) W at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240) W at java.io.BufferedInputStream.read(BufferedInputStream.java:304) W at libcore.net.http.FixedLengthInputStream.read(FixedLengthInputStream.java:45) W at java.io.InputStream.read(InputStream.java:163) W at com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream.fillbuf(RecyclableBufferedInputStream.java:131) W at com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream.read(RecyclableBufferedInputStream.java:310) W at java.io.InputStream.read(InputStream.java:163) W at com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream.fillbuf(RecyclableBufferedInputStream.java:131) W at com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream.read(RecyclableBufferedInputStream.java:310) W at android.graphics.BitmapFactory.nativeDecodeStream(Native Method) W at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:535) W at com.bumptech.glide.load.resource.bitmap.Downsampler.decodeStream(Downsampler.java:310) W at com.bumptech.glide.load.resource.bitmap.Downsampler.downsampleWithSize(Downsampler.java:210) W at com.bumptech.glide.load.resource.bitmap.Downsampler.decode(Downsampler.java:179) W at com.bumptech.glide.load.resource.bitmap.StreamBitmapDecoder.decode(StreamBitmapDecoder.java:41) W at com.bumptech.glide.load.resource.bitmap.StreamBitmapDecoder.decode(StreamBitmapDecoder.java:18) W at com.bumptech.glide.load.resource.bitmap.ImageVideoBitmapDecoder.decode(ImageVideoBitmapDecoder.java:38) W at com.bumptech.glide.load.resource.bitmap.ImageVideoBitmapDecoder.decode(ImageVideoBitmapDecoder.java:19) W at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:55) W at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:20) W at com.bumptech.glide.load.engine.SourceResourceRunner.decodeFromSource(SourceResourceRunner.java:180) W at com.bumptech.glide.load.engine.SourceResourceRunner.runWrapped(SourceResourceRunner.java:141) W at com.bumptech.glide.load.engine.SourceResourceRunner.run(SourceResourceRunner.java:123) W at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390) W at java.util.concurrent.FutureTask.run(FutureTask.java:234) W at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) W at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) W at java.lang.Thread.run(Thread.java:841) W at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:52) skia D ---- read threw an exception D --- decoder-&gt;decode returned false </code></pre></div> <p dir="auto">Is there anywork around for it ?</p>
<p dir="auto">It appears they aren't passed back to the request which leads to verbose logging and means the exception listener isn't called and the error drawable isn't set.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="W/GifResourceDecoder( 1250): Error reading data from stream W/GifResourceDecoder( 1250): java.net.SocketTimeoutException W/GifResourceDecoder( 1250): at java.net.PlainSocketImpl.read(PlainSocketImpl.java:491) W/GifResourceDecoder( 1250): at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46) W/GifResourceDecoder( 1250): at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240) W/GifResourceDecoder( 1250): at java.io.BufferedInputStream.read(BufferedInputStream.java:283) W/GifResourceDecoder( 1250): at com.android.okhttp.internal.http.HttpTransport$FixedLengthInputStream.read(HttpTransport.java:386) W/GifResourceDecoder( 1250): at java.io.InputStream.read(InputStream.java:162) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream.fillbuf(RecyclableBufferedInputStream.java:126) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream.read(RecyclableBufferedInputStream.java:308) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.resource.gif.GifResourceDecoder.inputStreamToBytes(GifResourceDecoder.java:70) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.resource.gif.GifResourceDecoder.decode(GifResourceDecoder.java:39) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.resource.gif.GifResourceDecoder.decode(GifResourceDecoder.java:23) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:46) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:20) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.engine.SourceResourceRunner.decodeFromSource(SourceResourceRunner.java:177) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.engine.SourceResourceRunner.run(SourceResourceRunner.java:126) W/GifResourceDecoder( 1250): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) W/GifResourceDecoder( 1250): at java.util.concurrent.FutureTask.run(FutureTask.java:237) W/GifResourceDecoder( 1250): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) W/GifResourceDecoder( 1250): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) W/GifResourceDecoder( 1250): at java.lang.Thread.run(Thread.java:841) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:46) W/GifHeaderParser( 1250): Error Reading Block W/GifHeaderParser( 1250): java.nio.BufferUnderflowException W/GifHeaderParser( 1250): at java.nio.Buffer.checkGetBounds(Buffer.java:177) W/GifHeaderParser( 1250): at java.nio.ByteArrayBuffer.get(ByteArrayBuffer.java:108) W/GifHeaderParser( 1250): at com.bumptech.glide.gifdecoder.GifHeaderParser.readBlock(GifHeaderParser.java:397) W/GifHeaderParser( 1250): at com.bumptech.glide.gifdecoder.GifHeaderParser.skipBitmapData(GifHeaderParser.java:311) W/GifHeaderParser( 1250): at com.bumptech.glide.gifdecoder.GifHeaderParser.readBitmap(GifHeaderParser.java:172) W/GifHeaderParser( 1250): at com.bumptech.glide.gifdecoder.GifHeaderParser.readContents(GifHeaderParser.java:67) W/GifHeaderParser( 1250): at com.bumptech.glide.gifdecoder.GifHeaderParser.parseHeader(GifHeaderParser.java:47) W/GifHeaderParser( 1250): at com.bumptech.glide.load.resource.gif.GifResourceDecoder.decode(GifResourceDecoder.java:40) W/GifHeaderParser( 1250): at com.bumptech.glide.load.resource.gif.GifResourceDecoder.decode(GifResourceDecoder.java:23) W/GifHeaderParser( 1250): at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:46) W/GifHeaderParser( 1250): at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:20) W/GifHeaderParser( 1250): at com.bumptech.glide.load.engine.SourceResourceRunner.decodeFromSource(SourceResourceRunner.java:177) W/GifHeaderParser( 1250): at com.bumptech.glide.load.engine.SourceResourceRunner.run(SourceResourceRunner.java:126) W/GifHeaderParser( 1250): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) W/GifHeaderParser( 1250): at java.util.concurrent.FutureTask.run(FutureTask.java:237) W/GifHeaderParser( 1250): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) W/GifHeaderParser( 1250): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) W/GifHeaderParser( 1250): at java.lang.Thread.run(Thread.java:841) W/GifHeaderParser( 1250): at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:46)"><pre class="notranslate"><code class="notranslate">W/GifResourceDecoder( 1250): Error reading data from stream W/GifResourceDecoder( 1250): java.net.SocketTimeoutException W/GifResourceDecoder( 1250): at java.net.PlainSocketImpl.read(PlainSocketImpl.java:491) W/GifResourceDecoder( 1250): at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46) W/GifResourceDecoder( 1250): at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240) W/GifResourceDecoder( 1250): at java.io.BufferedInputStream.read(BufferedInputStream.java:283) W/GifResourceDecoder( 1250): at com.android.okhttp.internal.http.HttpTransport$FixedLengthInputStream.read(HttpTransport.java:386) W/GifResourceDecoder( 1250): at java.io.InputStream.read(InputStream.java:162) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream.fillbuf(RecyclableBufferedInputStream.java:126) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream.read(RecyclableBufferedInputStream.java:308) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.resource.gif.GifResourceDecoder.inputStreamToBytes(GifResourceDecoder.java:70) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.resource.gif.GifResourceDecoder.decode(GifResourceDecoder.java:39) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.resource.gif.GifResourceDecoder.decode(GifResourceDecoder.java:23) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:46) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:20) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.engine.SourceResourceRunner.decodeFromSource(SourceResourceRunner.java:177) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.engine.SourceResourceRunner.run(SourceResourceRunner.java:126) W/GifResourceDecoder( 1250): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) W/GifResourceDecoder( 1250): at java.util.concurrent.FutureTask.run(FutureTask.java:237) W/GifResourceDecoder( 1250): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) W/GifResourceDecoder( 1250): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) W/GifResourceDecoder( 1250): at java.lang.Thread.run(Thread.java:841) W/GifResourceDecoder( 1250): at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:46) W/GifHeaderParser( 1250): Error Reading Block W/GifHeaderParser( 1250): java.nio.BufferUnderflowException W/GifHeaderParser( 1250): at java.nio.Buffer.checkGetBounds(Buffer.java:177) W/GifHeaderParser( 1250): at java.nio.ByteArrayBuffer.get(ByteArrayBuffer.java:108) W/GifHeaderParser( 1250): at com.bumptech.glide.gifdecoder.GifHeaderParser.readBlock(GifHeaderParser.java:397) W/GifHeaderParser( 1250): at com.bumptech.glide.gifdecoder.GifHeaderParser.skipBitmapData(GifHeaderParser.java:311) W/GifHeaderParser( 1250): at com.bumptech.glide.gifdecoder.GifHeaderParser.readBitmap(GifHeaderParser.java:172) W/GifHeaderParser( 1250): at com.bumptech.glide.gifdecoder.GifHeaderParser.readContents(GifHeaderParser.java:67) W/GifHeaderParser( 1250): at com.bumptech.glide.gifdecoder.GifHeaderParser.parseHeader(GifHeaderParser.java:47) W/GifHeaderParser( 1250): at com.bumptech.glide.load.resource.gif.GifResourceDecoder.decode(GifResourceDecoder.java:40) W/GifHeaderParser( 1250): at com.bumptech.glide.load.resource.gif.GifResourceDecoder.decode(GifResourceDecoder.java:23) W/GifHeaderParser( 1250): at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:46) W/GifHeaderParser( 1250): at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:20) W/GifHeaderParser( 1250): at com.bumptech.glide.load.engine.SourceResourceRunner.decodeFromSource(SourceResourceRunner.java:177) W/GifHeaderParser( 1250): at com.bumptech.glide.load.engine.SourceResourceRunner.run(SourceResourceRunner.java:126) W/GifHeaderParser( 1250): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) W/GifHeaderParser( 1250): at java.util.concurrent.FutureTask.run(FutureTask.java:237) W/GifHeaderParser( 1250): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) W/GifHeaderParser( 1250): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) W/GifHeaderParser( 1250): at java.lang.Thread.run(Thread.java:841) W/GifHeaderParser( 1250): at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:46) </code></pre></div>
1
<p dir="auto">When a <code class="notranslate">&lt;webview&gt;</code> tag points to a page which tries to load another <code class="notranslate">&lt;webview&gt;</code> tag, the inner webview fails to load. Example below:</p> <p dir="auto">In main.js, we load a page webview_outer:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="mainWindow.loadURL('file://' + __dirname + '/webview_outer.html');"><pre class="notranslate"><span class="pl-s1">mainWindow</span><span class="pl-kos">.</span><span class="pl-en">loadURL</span><span class="pl-kos">(</span><span class="pl-s">'file://'</span> <span class="pl-c1">+</span> <span class="pl-s1">__dirname</span> <span class="pl-c1">+</span> <span class="pl-s">'/webview_outer.html'</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">In webview_outer.html, we load another page webview_inner:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;html&gt; &lt;body onload='onload()'&gt; &lt;webview id=&quot;webview_outer&quot;&gt;&lt;/webview&gt; &lt;script&gt; onload = function() { // This loads a page with a webview inside var webview = document.querySelector('#webview_outer'); webview.src = 'file://' + __dirname + '/webview_inner.html'; webview.addEventListener('dom-ready', function() { webview.openDevTools(); }); } &lt;/script&gt; &lt;/body&gt; &lt;/html&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">html</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">body</span> <span class="pl-c1">onload</span>='<span class="pl-s">onload()</span>'<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">webview</span> <span class="pl-c1">id</span>="<span class="pl-s">webview_outer</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">webview</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-en">onload</span> <span class="pl-c1">=</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// This loads a page with a webview inside</span> <span class="pl-k">var</span> <span class="pl-s1">webview</span> <span class="pl-c1">=</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">querySelector</span><span class="pl-kos">(</span><span class="pl-s">'#webview_outer'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">webview</span><span class="pl-kos">.</span><span class="pl-c1">src</span> <span class="pl-c1">=</span> <span class="pl-s">'file://'</span> <span class="pl-c1">+</span> <span class="pl-s1">__dirname</span> <span class="pl-c1">+</span> <span class="pl-s">'/webview_inner.html'</span><span class="pl-kos">;</span> <span class="pl-s1">webview</span><span class="pl-kos">.</span><span class="pl-en">addEventListener</span><span class="pl-kos">(</span><span class="pl-s">'dom-ready'</span><span class="pl-kos">,</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">webview</span><span class="pl-kos">.</span><span class="pl-en">openDevTools</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">body</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">html</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">In webview_inner.html, we attempt to load a final web page (in this example the electron docs):</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;html&gt; &lt;body onload='onload()'&gt; &lt;webview id=&quot;webview_inner&quot;&gt;&lt;/webview&gt; &lt;script&gt; onload = function() { // This webview never loads var webview = document.querySelector('#webview_inner'); webview.src = 'http://electron.atom.io/docs/v0.36.0/'; webview.addEventListener('dom-ready', function() { webview.openDevTools(); }); } &lt;/script&gt; &lt;/body&gt; &lt;/html&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">html</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">body</span> <span class="pl-c1">onload</span>='<span class="pl-s">onload()</span>'<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">webview</span> <span class="pl-c1">id</span>="<span class="pl-s">webview_inner</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">webview</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-en">onload</span> <span class="pl-c1">=</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// This webview never loads</span> <span class="pl-k">var</span> <span class="pl-s1">webview</span> <span class="pl-c1">=</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">querySelector</span><span class="pl-kos">(</span><span class="pl-s">'#webview_inner'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">webview</span><span class="pl-kos">.</span><span class="pl-c1">src</span> <span class="pl-c1">=</span> <span class="pl-s">'http://electron.atom.io/docs/v0.36.0/'</span><span class="pl-kos">;</span> <span class="pl-s1">webview</span><span class="pl-kos">.</span><span class="pl-en">addEventListener</span><span class="pl-kos">(</span><span class="pl-s">'dom-ready'</span><span class="pl-kos">,</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">webview</span><span class="pl-kos">.</span><span class="pl-en">openDevTools</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">body</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">html</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">The inner webview never loads. Is loading a <code class="notranslate">&lt;webview&gt;</code> inside a <code class="notranslate">&lt;webview&gt;</code> not supported by electron's architecture?</p> <p dir="auto">(OS X El Capitan 10.11.2, Electron 0.36.2 [using electron-prebuilt])</p>
<p dir="auto">index.html</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;webview src=&quot;file:///embedded.html&quot;&gt;&lt;/webview&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">webview</span> <span class="pl-c1">src</span>="<span class="pl-s">file:///embedded.html</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">webview</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">embedded.html</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;h1&gt;github&lt;/h1&gt; &lt;webview src=&quot;http://github.com&quot;&gt;&lt;/webview&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">h1</span><span class="pl-kos">&gt;</span>github<span class="pl-kos">&lt;/</span><span class="pl-ent">h1</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">webview</span> <span class="pl-c1">src</span>="<span class="pl-s">http://github.com</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">webview</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">Would it be possible to have <code class="notranslate">index.html</code> render the header and webview of <code class="notranslate">embedded.html</code>? I don't seem to currently be able to do this.</p>
1
<h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide a description of the new feature</h2> <p dir="auto">I am a big fan of PowerToys, especially Fancy Zones. I love that feature, but sometimes I have to turn off Fancy Zones and go back to resizing my windows using the default Window+Arrow Keys because that way Windows adds a splitter in between the two windows and I can easily resize them.</p> <p dir="auto"><em>What is the expected behavior of the proposed feature? What is the scenario this would be used?</em></p> <p dir="auto">When the window is in the zone and gets resized horizontally or vertically, also resize the adjacent window. I am guessing this should be fairly straightforward to implement since the feature already exists in Windows 10 (or maybe even earlier versions) when we have 2 windows snapped, one on the left and the other on the right.</p> <hr> <p dir="auto">Please, please add this feature.</p>
<p dir="auto">I use PowerToys a lot and one thing that could beautify windows much more would be to increase the transparency of the taskbar or do one better! make it completely transparent, i don't wanna use some third party app for this, a trusted app from Microsoft would be really appreciated.</p> <p dir="auto">anyways great work.</p>
0
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [62]: df = pd.DataFrame([(float(x) for x in range(0, 10)), (float(x) for x in range(10,20))]) In [63]: df Out[63]: 0 1 2 3 4 5 6 7 8 9 0 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 1 10.0 11.0 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0 In [64]: df[0] Out[64]: 0 0.0 1 10.0 Name: 0, dtype: float64 In [65]: df[0].astype(int) Out[65]: 0 0 1 10 Name: 0, dtype: int64 In [66]: df[0] = df[0].astype(int) In [67]: df Out[67]: 0 1 2 3 4 5 6 7 8 9 0 0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 1 10 11.0 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0 In [68]: df.iloc[0] Out[68]: 0 0.0 1 1.0 2 2.0 3 3.0 4 4.0 5 5.0 6 6.0 7 7.0 8 8.0 9 9.0 Name: 0, dtype: float64 "><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">62</span>]: <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>([(<span class="pl-en">float</span>(<span class="pl-s1">x</span>) <span class="pl-k">for</span> <span class="pl-s1">x</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">0</span>, <span class="pl-c1">10</span>)), (<span class="pl-en">float</span>(<span class="pl-s1">x</span>) <span class="pl-k">for</span> <span class="pl-s1">x</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">10</span>,<span class="pl-c1">20</span>))]) <span class="pl-v">In</span> [<span class="pl-c1">63</span>]: <span class="pl-s1">df</span> <span class="pl-v">Out</span>[<span class="pl-c1">63</span>]: <span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">3</span> <span class="pl-c1">4</span> <span class="pl-c1">5</span> <span class="pl-c1">6</span> <span class="pl-c1">7</span> <span class="pl-c1">8</span> <span class="pl-c1">9</span> <span class="pl-c1">0</span> <span class="pl-c1">0.0</span> <span class="pl-c1">1.0</span> <span class="pl-c1">2.0</span> <span class="pl-c1">3.0</span> <span class="pl-c1">4.0</span> <span class="pl-c1">5.0</span> <span class="pl-c1">6.0</span> <span class="pl-c1">7.0</span> <span class="pl-c1">8.0</span> <span class="pl-c1">9.0</span> <span class="pl-c1">1</span> <span class="pl-c1">10.0</span> <span class="pl-c1">11.0</span> <span class="pl-c1">12.0</span> <span class="pl-c1">13.0</span> <span class="pl-c1">14.0</span> <span class="pl-c1">15.0</span> <span class="pl-c1">16.0</span> <span class="pl-c1">17.0</span> <span class="pl-c1">18.0</span> <span class="pl-c1">19.0</span> <span class="pl-v">In</span> [<span class="pl-c1">64</span>]: <span class="pl-s1">df</span>[<span class="pl-c1">0</span>] <span class="pl-v">Out</span>[<span class="pl-c1">64</span>]: <span class="pl-c1">0</span> <span class="pl-c1">0.0</span> <span class="pl-c1">1</span> <span class="pl-c1">10.0</span> <span class="pl-v">Name</span>: <span class="pl-c1">0</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">float64</span> <span class="pl-v">In</span> [<span class="pl-c1">65</span>]: <span class="pl-s1">df</span>[<span class="pl-c1">0</span>].<span class="pl-en">astype</span>(<span class="pl-s1">int</span>) <span class="pl-v">Out</span>[<span class="pl-c1">65</span>]: <span class="pl-c1">0</span> <span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">10</span> <span class="pl-v">Name</span>: <span class="pl-c1">0</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">int64</span> <span class="pl-v">In</span> [<span class="pl-c1">66</span>]: <span class="pl-s1">df</span>[<span class="pl-c1">0</span>] <span class="pl-c1">=</span> <span class="pl-s1">df</span>[<span class="pl-c1">0</span>].<span class="pl-en">astype</span>(<span class="pl-s1">int</span>) <span class="pl-v">In</span> [<span class="pl-c1">67</span>]: <span class="pl-s1">df</span> <span class="pl-v">Out</span>[<span class="pl-c1">67</span>]: <span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">3</span> <span class="pl-c1">4</span> <span class="pl-c1">5</span> <span class="pl-c1">6</span> <span class="pl-c1">7</span> <span class="pl-c1">8</span> <span class="pl-c1">9</span> <span class="pl-c1">0</span> <span class="pl-c1">0</span> <span class="pl-c1">1.0</span> <span class="pl-c1">2.0</span> <span class="pl-c1">3.0</span> <span class="pl-c1">4.0</span> <span class="pl-c1">5.0</span> <span class="pl-c1">6.0</span> <span class="pl-c1">7.0</span> <span class="pl-c1">8.0</span> <span class="pl-c1">9.0</span> <span class="pl-c1">1</span> <span class="pl-c1">10</span> <span class="pl-c1">11.0</span> <span class="pl-c1">12.0</span> <span class="pl-c1">13.0</span> <span class="pl-c1">14.0</span> <span class="pl-c1">15.0</span> <span class="pl-c1">16.0</span> <span class="pl-c1">17.0</span> <span class="pl-c1">18.0</span> <span class="pl-c1">19.0</span> <span class="pl-v">In</span> [<span class="pl-c1">68</span>]: <span class="pl-s1">df</span>.<span class="pl-s1">iloc</span>[<span class="pl-c1">0</span>] <span class="pl-v">Out</span>[<span class="pl-c1">68</span>]: <span class="pl-c1">0</span> <span class="pl-c1">0.0</span> <span class="pl-c1">1</span> <span class="pl-c1">1.0</span> <span class="pl-c1">2</span> <span class="pl-c1">2.0</span> <span class="pl-c1">3</span> <span class="pl-c1">3.0</span> <span class="pl-c1">4</span> <span class="pl-c1">4.0</span> <span class="pl-c1">5</span> <span class="pl-c1">5.0</span> <span class="pl-c1">6</span> <span class="pl-c1">6.0</span> <span class="pl-c1">7</span> <span class="pl-c1">7.0</span> <span class="pl-c1">8</span> <span class="pl-c1">8.0</span> <span class="pl-c1">9</span> <span class="pl-c1">9.0</span> <span class="pl-v">Name</span>: <span class="pl-c1">0</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">float64</span></pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">After I reassign the 0th column as int, I expect it to be int, and it appears to be that way. But when I do a <code class="notranslate">.iloc</code> on the dataframe, it seems to be returning back into being a float somehow!</p> <p dir="auto">This is the narrowed-down version of a more insidious problem where instead of doing an <code class="notranslate">iloc[]</code> I was running a <code class="notranslate">.apply(f)</code> on a dataframe and the dtypes of the resulting dataframe were all messed up even when the function <code class="notranslate">f</code> wasn't doing anything discernible with the types, so I narrowed it down to this.</p> <p dir="auto">Current workaround is to re-cast all the types in <code class="notranslate">f</code>, but that can get frustrating real quick depending on the number of columns.</p> <h4 dir="auto">Expected Output</h4> <p dir="auto">I expect the row to be a mixed dtype object, with the dtype of each cell matching that of the column:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [68]: df.iloc[0] Out[68]: 0 0 1 1.0 2 2.0 3 3.0 4 4.0 5 5.0 6 6.0 7 7.0 8 8.0 9 9.0 Name: 0, dtype: object"><pre class="notranslate"><code class="notranslate">In [68]: df.iloc[0] Out[68]: 0 0 1 1.0 2 2.0 3 3.0 4 4.0 5 5.0 6 6.0 7 7.0 8 8.0 9 9.0 Name: 0, dtype: object </code></pre></div> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> INSTALLED VERSIONS ------------------ commit: None python: 3.6.0.final.0 python-bits: 64 OS: Darwin OS-release: 15.6.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 <p dir="auto">pandas: 0.20.1<br> pytest: 3.0.7<br> pip: 9.0.1<br> setuptools: 35.0.2<br> Cython: 0.25.2<br> numpy: 1.12.1<br> scipy: 0.19.0<br> xarray: None<br> IPython: 6.0.0<br> sphinx: None<br> patsy: 0.4.1<br> dateutil: 2.6.0<br> pytz: 2017.2<br> blosc: 1.5.1<br> bottleneck: 1.2.0<br> tables: 3.3.0<br> numexpr: 2.6.2<br> feather: None<br> matplotlib: 2.0.2<br> openpyxl: None<br> xlrd: 1.0.0<br> xlwt: 1.2.0<br> xlsxwriter: None<br> lxml: None<br> bs4: None<br> html5lib: 0.999999999<br> sqlalchemy: None<br> pymysql: None<br> psycopg2: None<br> jinja2: 2.9.6<br> s3fs: 0.0.9<br> pandas_gbq: None<br> pandas_datareader: None</p> </details>
<p dir="auto">I'm am trying to call the to_dict function on the following DataFrame:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pandas as pd data = {&quot;a&quot;: [1,2,3,4,5], &quot;b&quot;: [90,80,40,60,30]} df = pd.DataFrame(data)"><pre class="notranslate"><code class="notranslate">import pandas as pd data = {"a": [1,2,3,4,5], "b": [90,80,40,60,30]} df = pd.DataFrame(data) </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df a b 0 1 90 1 2 80 2 3 40 3 4 60 4 5 30"><pre class="notranslate"><code class="notranslate">df a b 0 1 90 1 2 80 2 3 40 3 4 60 4 5 30 </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df.reset_index().to_dict(&quot;r&quot;) [{'a': 1, 'b': 90, 'index': 0}, {'a': 2, 'b': 80, 'index': 1}, {'a': 3, 'b': 40, 'index': 2}, {'a': 4, 'b': 60, 'index': 3}, {'a': 5, 'b': 30, 'index': 4}] "><pre class="notranslate"><code class="notranslate">df.reset_index().to_dict("r") [{'a': 1, 'b': 90, 'index': 0}, {'a': 2, 'b': 80, 'index': 1}, {'a': 3, 'b': 40, 'index': 2}, {'a': 4, 'b': 60, 'index': 3}, {'a': 5, 'b': 30, 'index': 4}] </code></pre></div> <p dir="auto">However my problem occurs if I perform a float operation on the dataframe, which mutates the index into a float:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(df*1.0).reset_index().to_dict(&quot;r&quot;) [{'a': 1.0, 'b': 90.0, 'index': 0.0}, {'a': 2.0, 'b': 80.0, 'index': 1.0}, {'a': 3.0, 'b': 40.0, 'index': 2.0}, {'a': 4.0, 'b': 60.0, 'index': 3.0}, {'a': 5.0, 'b': 30.0, 'index': 4.0}]"><pre class="notranslate"><code class="notranslate">(df*1.0).reset_index().to_dict("r") [{'a': 1.0, 'b': 90.0, 'index': 0.0}, {'a': 2.0, 'b': 80.0, 'index': 1.0}, {'a': 3.0, 'b': 40.0, 'index': 2.0}, {'a': 4.0, 'b': 60.0, 'index': 3.0}, {'a': 5.0, 'b': 30.0, 'index': 4.0}] </code></pre></div> <p dir="auto">Can anyone explain the above behaviour or recommend a workaround, or verify whether or not this could be a pandas bug? None of the other outtypes in the to_dict method mutates the index as shown above.</p> <p dir="auto">I've replicated this on both pandas 0.14 and 0.18 (latest)</p> <p dir="auto">Many thanks!</p> <p dir="auto">link to stackoverflow: <a href="http://stackoverflow.com/questions/36548151/pandas-to-dict-changes-index-type-with-outtype-records" rel="nofollow">http://stackoverflow.com/questions/36548151/pandas-to-dict-changes-index-type-with-outtype-records</a></p>
1
<p dir="auto">This method is used in DagFileProcessor.process_file:<br> <a href="https://github.com/apache/airflow/blob/main/airflow/dag_processing/processor.py#L787">https://github.com/apache/airflow/blob/main/airflow/dag_processing/processor.py#L787</a></p> <p dir="auto">it needs to be changed to static</p>
<p dir="auto">airflow 1.10.12, mysql 5.7 metastore, rbac, no serialized dags, intermittent error found twice in the logs:</p> <p dir="auto">[2020-10-15 12:28:14,502] {scheduler_job.py:167} ERROR - Got an exception! Propagating...<br> Traceback (most recent call last):<br> File "/home/ec2-user/venv/lib/python3.7/site-packages/airflow/jobs/scheduler_job.py", line 159, in _run_file_processor<br> pickle_dags)<br> File "/home/ec2-user/venv/lib/python3.7/site-packages/airflow/utils/db.py", line 74, in wrapper<br> return func(*args, **kwargs)<br> File "/home/ec2-user/venv/lib/python3.7/site-packages/airflow/jobs/scheduler_job.py", line 1609, in process_file<br> dag.sync_to_db()<br> File "/home/ec2-user/venv/lib/python3.7/site-packages/airflow/utils/db.py", line 74, in wrapper<br> return func(*args, **kwargs)<br> File "/home/ec2-user/venv/lib/python3.7/site-packages/airflow/models/dag.py", line 1543, in sync_to_db<br> session.commit()<br> File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/session.py", line 1042, in commit<br> self.transaction.commit()<br> File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/session.py", line 504, in commit<br> self._prepare_impl()<br> File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/session.py", line 483, in _prepare_impl<br> self.session.flush()<br> File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/session.py", line 2523, in flush<br> self._flush(objects)<br> File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/session.py", line 2664, in _flush<br> transaction.rollback(<em>capture_exception=True)<br> File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/util/langhelpers.py", line 69, in <strong>exit</strong><br> exc_value, with_traceback=exc_tb,<br> File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/util/compat.py", line 182, in raise</em><br> raise exception<br> File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/session.py", line 2624, in _flush<br> flush_context.execute()<br> File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/unitofwork.py", line 422, in execute<br> rec.execute(self)<br> File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/unitofwork.py", line 589, in execute<br> uow,<br> File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/persistence.py", line 236, in save_obj<br> update,<br> File "/home/ec2-user/venv/lib64/python3.7/site-packages/sqlalchemy/orm/persistence.py", line 1028, in _emit_update_statements<br> % (table.description, len(records), rows)<br> sqlalchemy.orm.exc.StaleDataError: UPDATE statement on table 'dag' expected to update 1 row(s); 0 were matched.</p>
0
<p dir="auto">(Using windows 8)<br> I have a Sony Vaio S, and when I disable my "Num Lk" the home, end, page up and page down keys are not working. I need to use the Fn key and my arrow keys to get the functionality of these keys.</p>
1
<p dir="auto">xref: <a href="https://github.com/pandas-dev/pandas/pull/17206#issuecomment-322584420" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/17206/hovercard">#17206 (comment)</a></p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dhimmel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dhimmel">@dhimmel</a></p>
<p dir="auto">Floating point round errors appear just after you read float figures from a CSV file.<br> How to reproduce:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Date, Close 2013-01-01, 25.56"><pre class="notranslate"><code class="notranslate">Date, Close 2013-01-01, 25.56 </code></pre></div> <p dir="auto">It will read 25.26 as 25.559999999999999</p> <p dir="auto">Possibly duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="7576982" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/2069" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/2069/hovercard" href="https://github.com/pandas-dev/pandas/issues/2069">#2069</a></p>
0
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9283414/43892355-5c48103c-9bd4-11e8-95e5-76717a690708.gif"><img src="https://user-images.githubusercontent.com/9283414/43892355-5c48103c-9bd4-11e8-95e5-76717a690708.gif" alt="text_field_error" data-animated-image="" style="max-width: 100%;"></a><br> I'm using a Stack to cover the main page and require the user to enter a password. But the keyboard doesn't open.</p> <p dir="auto">Here is a mcv example: <a href="https://gist.github.com/long1eu/0cac0f67eeb3115941cb0366929cc946">https://gist.github.com/long1eu/0cac0f67eeb3115941cb0366929cc946</a></p>
<h2 dir="auto">Steps to Reproduce</h2> <p dir="auto">I'm building a bottom navigation where every tab has its own navigation. I need to include a MaterialApp for each tab. I wrap each one inside an Offstage and all the offstages inside a Stack.</p> <p dir="auto">Everything is working except the Textfield, they never show the keyboard. They receive the tap but they won't show any keyboard (the physical keyboard of my mac won't work either).<br> The last child off the stack seems to be the problem.</p> <p dir="auto">This is what happens when i tap on the Textfields:<br> <a href="url">http://www.giphy.com/gifs/69oi3ZjKDYidS2vQmz</a></p> <p dir="auto">I simplified the code to reproduce the problem:</p> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="void main() =&gt; runApp(new MyApp()); class MyApp extends StatelessWidget { // This widget is the root of your application. @override Widget build(BuildContext context) { Stack stack = new Stack( children: &lt;Widget&gt;[ _getStackPage(false), _getStackPage(true), // set offstageFlag to false to show keyboard ], ); MaterialApp mainMaterialApp= new MaterialApp( home: new Scaffold( body: stack, ), ); return mainMaterialApp; } Widget _getStackPage(bool offstageFlag) { Offstage offstage = new Offstage( offstage: offstageFlag, child: new MaterialApp( home: new Scaffold( body: new Center( child: new TextField(), ), ), ), ); return offstage; } }"><pre class="notranslate"><span class="pl-k">void</span> <span class="pl-en">main</span>() <span class="pl-k">=&gt;</span> <span class="pl-en">runApp</span>(<span class="pl-k">new</span> <span class="pl-c1">MyApp</span>()); <span class="pl-k">class</span> <span class="pl-c1">MyApp</span> <span class="pl-k">extends</span> <span class="pl-c1">StatelessWidget</span> { <span class="pl-c">// This widget is the root of your application.</span> <span class="pl-k">@override</span> <span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) { <span class="pl-c1">Stack</span> stack <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">Stack</span>( children<span class="pl-k">:</span> <span class="pl-k">&lt;</span><span class="pl-c1">Widget</span><span class="pl-k">&gt;</span>[ <span class="pl-en">_getStackPage</span>(<span class="pl-c1">false</span>), <span class="pl-en">_getStackPage</span>(<span class="pl-c1">true</span>), <span class="pl-c">// set offstageFlag to false to show keyboard</span> ], ); <span class="pl-c1">MaterialApp</span> mainMaterialApp<span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">MaterialApp</span>( home<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Scaffold</span>( body<span class="pl-k">:</span> stack, ), ); <span class="pl-k">return</span> mainMaterialApp; } <span class="pl-c1">Widget</span> <span class="pl-en">_getStackPage</span>(<span class="pl-c1">bool</span> offstageFlag) { <span class="pl-c1">Offstage</span> offstage <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">Offstage</span>( offstage<span class="pl-k">:</span> offstageFlag, child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">MaterialApp</span>( home<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Scaffold</span>( body<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Center</span>( child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextField</span>(), ), ), ), ); <span class="pl-k">return</span> offstage; } }</pre></div> <h2 dir="auto">Logs</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib/main.dart on iPhone 6 in debug mode... Running Xcode clean... 0.9s Starting Xcode build... ├─Assembling Flutter resources... 3.4s └─Compiling, linking and signing... 2.0s Xcode build done 6.5s CADisplay.name = LCD; CADisplay.deviceName = PurpleMain; CADisplay.seed = 1; tags = 0; currentMode = &lt;FBSDisplayMode: 0x604000099960; 375x667@2x (750x1334/2) 60Hz sRGB SDR&gt;; safeOverscanRatio = {0.89999997615814209, 0.89999997615814209}; nativeCenter = {375, 667}; pixelSize = {750, 1334}; bounds = {{0, 0}, {375, 667}}; CADisplay = &lt;CADisplay:LCD PurpleMain&gt;; } Syncing files to device iPhone 6... 1.9s 🔥 To hot reload your app on the fly, press &quot;r&quot;. To restart the app entirely, press &quot;R&quot;. An Observatory debugger and profiler on iPhone 6 is available at: http://127.0.0.1:8100/ For a more detailed help message, press &quot;h&quot;. To quit, press &quot;q&quot;."><pre class="notranslate"><code class="notranslate">Launching lib/main.dart on iPhone 6 in debug mode... Running Xcode clean... 0.9s Starting Xcode build... ├─Assembling Flutter resources... 3.4s └─Compiling, linking and signing... 2.0s Xcode build done 6.5s CADisplay.name = LCD; CADisplay.deviceName = PurpleMain; CADisplay.seed = 1; tags = 0; currentMode = &lt;FBSDisplayMode: 0x604000099960; 375x667@2x (750x1334/2) 60Hz sRGB SDR&gt;; safeOverscanRatio = {0.89999997615814209, 0.89999997615814209}; nativeCenter = {375, 667}; pixelSize = {750, 1334}; bounds = {{0, 0}, {375, 667}}; CADisplay = &lt;CADisplay:LCD PurpleMain&gt;; } Syncing files to device iPhone 6... 1.9s 🔥 To hot reload your app on the fly, press "r". To restart the app entirely, press "R". An Observatory debugger and profiler on iPhone 6 is available at: http://127.0.0.1:8100/ For a more detailed help message, press "h". To quit, press "q". </code></pre></div> <h2 dir="auto">Flutter Doctor</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel beta, v0.2.8, on Mac OS X 10.13.4 17E199, locale en-IT) • Flutter version 0.2.8 at /Users/enrico/Projects/Frameworks/flutter • Framework revision b397406561 (4 weeks ago), 2018-04-02 13:53:20 -0700 • Engine revision c903c217a1 • Dart version 2.0.0-dev.43.0.flutter-52afcba357 [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at /Users/enrico/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • ANDROID_HOME = /Users/enrico/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.3, Build version 9E145 • ios-deploy 1.9.2 • CocoaPods version 1.4.0 [✓] Android Studio (version 3.1) • Android Studio at /Applications/Android Studio.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) [✓] VS Code (version 1.22.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Dart Code extension version 2.12.0 [✓] Connected devices (1 available) • iPhone 6 • 1CB3B003-E6C2-41AA-BFB9-C6D3BBC565BA • ios • iOS 11.3 (simulator) • No issues found!"><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel beta, v0.2.8, on Mac OS X 10.13.4 17E199, locale en-IT) • Flutter version 0.2.8 at /Users/enrico/Projects/Frameworks/flutter • Framework revision b397406561 (4 weeks ago), 2018-04-02 13:53:20 -0700 • Engine revision c903c217a1 • Dart version 2.0.0-dev.43.0.flutter-52afcba357 [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at /Users/enrico/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • ANDROID_HOME = /Users/enrico/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.3, Build version 9E145 • ios-deploy 1.9.2 • CocoaPods version 1.4.0 [✓] Android Studio (version 3.1) • Android Studio at /Applications/Android Studio.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) [✓] VS Code (version 1.22.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Dart Code extension version 2.12.0 [✓] Connected devices (1 available) • iPhone 6 • 1CB3B003-E6C2-41AA-BFB9-C6D3BBC565BA • ios • iOS 11.3 (simulator) • No issues found! </code></pre></div>
1
<p dir="auto">When I download the babel-core package (npm install --save-dev babel-core), I can't find the browser.js file inside the node_modules/babel-core/ folder.</p>
<p dir="auto">browser.min.js is empty as well.</p>
1
<h3 dir="auto">System information</h3> <ul dir="auto"> <li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: No</li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Linux Ubuntu 17.10</li> <li><strong>TensorFlow installed from (source or binary)</strong>: Source</li> <li><strong>TensorFlow version (use command below)</strong>: master</li> <li><strong>Python version</strong>: 3.6.3</li> <li><strong>Bazel version (if compiling from source)</strong>: bazel release 0.16.0</li> <li><strong>GCC/Compiler version (if compiling from source)</strong>: gcc (Ubuntu 5.5.0-1ubuntu2) 5.4.1 20171010</li> <li><strong>CUDA/cuDNN version</strong>:9.0/7.0</li> <li><strong>GPU model and memory</strong>: Nvidia GTX 970</li> <li><strong>Exact command to reproduce</strong>: bazel build --verbose_failures -c opt //tensorflow/tools/pip_package:build_pip_package</li> </ul> <h3 dir="auto">Describe the problem</h3> <p dir="auto">I tried building TF from source, however my build always fails. During the build, some standard library is not found. So far I have seen cassert, fstream, cstdint and stddef.h. When I compile a simple test program which just loads these and returns 0 with gcc everything goes well. I have tried adding paths to CROSSTOOL, but that didn't help (though I am not sure if the place in the file was correct).</p> <h3 dir="auto">Bazel output</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: /home/kocur/.cache/bazel/_bazel_kocur/fe42bf71aeb545557cf2194b2de024c0/external/protobuf_archive/BUILD:260:1: C++ compilation of rule '@protobuf_archive//:js_embed' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command (cd /home/kocur/.cache/bazel/_bazel_kocur/fe42bf71aeb545557cf2194b2de024c0/execroot/org_tensorflow &amp;&amp; \ exec env - \ LD_LIBRARY_PATH=:/usr/local/cuda-9.0/lib64:/usr/local/cuda-9.0/extras/CUPTI/lib64:/usr/local/cuda-9.0/targets/x86_64-linux/lib/:/usr/local/cuda-9.0/lib64:/usr/local/cuda-9.0/extras/CUPTI/lib64:/usr/local/cuda-9.0/targets/x86_64-linux/lib/ \ PATH=/home/kocur/.local/share/virtualenvs/code-B3GmqseA/bin:/home/kocur/bin:/home/kocur/.local/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/cuda/bin:/usr/local/Matlab/R2012a/bin:/usr/lib/jvm/java-10-oracle/bin:/usr/lib/jvm/java-10-oracle/db/bin \ PWD=/proc/self/cwd \ external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF bazel-out/host/bin/external/protobuf_archive/_objs/js_embed/embed.d '-frandom-seed=bazel-out/host/bin/external/protobuf_archive/_objs/js_embed/embed.o' -iquote external/protobuf_archive -iquote bazel-out/host/genfiles/external/protobuf_archive -iquote bazel-out/host/bin/external/protobuf_archive -iquote external/bazel_tools -iquote bazel-out/host/genfiles/external/bazel_tools -iquote bazel-out/host/bin/external/bazel_tools '-std=c++11' -Wno-builtin-macro-redefined '-D__DATE__=&quot;redacted&quot;' '-D__TIMESTAMP__=&quot;redacted&quot;' '-D__TIME__=&quot;redacted&quot;' -fPIE -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -fno-omit-frame-pointer -no-canonical-prefixes -DNDEBUG -g0 -O2 -ffunction-sections -fdata-sections -g0 -g0 -c external/protobuf_archive/src/google/protobuf/compiler/js/embed.cc -o bazel-out/host/bin/external/protobuf_archive/_objs/js_embed/embed.o) external/protobuf_archive/src/google/protobuf/compiler/js/embed.cc:31:19: fatal error: cassert: No such file or directory compilation terminated. Target //tensorflow/tools/pip_package:build_pip_package failed to build INFO: Elapsed time: 4.996s, Critical Path: 0.19s INFO: 10 processes: 10 local. FAILED: Build did NOT complete successfully"><pre class="notranslate"><code class="notranslate">ERROR: /home/kocur/.cache/bazel/_bazel_kocur/fe42bf71aeb545557cf2194b2de024c0/external/protobuf_archive/BUILD:260:1: C++ compilation of rule '@protobuf_archive//:js_embed' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command (cd /home/kocur/.cache/bazel/_bazel_kocur/fe42bf71aeb545557cf2194b2de024c0/execroot/org_tensorflow &amp;&amp; \ exec env - \ LD_LIBRARY_PATH=:/usr/local/cuda-9.0/lib64:/usr/local/cuda-9.0/extras/CUPTI/lib64:/usr/local/cuda-9.0/targets/x86_64-linux/lib/:/usr/local/cuda-9.0/lib64:/usr/local/cuda-9.0/extras/CUPTI/lib64:/usr/local/cuda-9.0/targets/x86_64-linux/lib/ \ PATH=/home/kocur/.local/share/virtualenvs/code-B3GmqseA/bin:/home/kocur/bin:/home/kocur/.local/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/cuda/bin:/usr/local/Matlab/R2012a/bin:/usr/lib/jvm/java-10-oracle/bin:/usr/lib/jvm/java-10-oracle/db/bin \ PWD=/proc/self/cwd \ external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF bazel-out/host/bin/external/protobuf_archive/_objs/js_embed/embed.d '-frandom-seed=bazel-out/host/bin/external/protobuf_archive/_objs/js_embed/embed.o' -iquote external/protobuf_archive -iquote bazel-out/host/genfiles/external/protobuf_archive -iquote bazel-out/host/bin/external/protobuf_archive -iquote external/bazel_tools -iquote bazel-out/host/genfiles/external/bazel_tools -iquote bazel-out/host/bin/external/bazel_tools '-std=c++11' -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -fPIE -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -fno-omit-frame-pointer -no-canonical-prefixes -DNDEBUG -g0 -O2 -ffunction-sections -fdata-sections -g0 -g0 -c external/protobuf_archive/src/google/protobuf/compiler/js/embed.cc -o bazel-out/host/bin/external/protobuf_archive/_objs/js_embed/embed.o) external/protobuf_archive/src/google/protobuf/compiler/js/embed.cc:31:19: fatal error: cassert: No such file or directory compilation terminated. Target //tensorflow/tools/pip_package:build_pip_package failed to build INFO: Elapsed time: 4.996s, Critical Path: 0.19s INFO: 10 processes: 10 local. FAILED: Build did NOT complete successfully </code></pre></div> <h3 dir="auto">Output of echo | gcc -E -xc++ - -v</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Using built-in specs. COLLECT_GCC=gcc Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.5.0-1ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4.1 20171010 (Ubuntu 5.5.0-1ubuntu2) COLLECT_GCC_OPTIONS='-E' '-v' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/5/cc1plus -E -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE - -mtune=generic -march=x86-64 -fstack-protector-strong -Wformat -Wformat-security ignoring duplicate directory &quot;/usr/include/x86_64-linux-gnu/c++/5&quot; ignoring nonexistent directory &quot;/usr/local/include/x86_64-linux-gnu&quot; ignoring nonexistent directory &quot;/usr/lib/gcc/x86_64-linux-gnu/5/../../../../x86_64-linux-gnu/include&quot; #include &quot;...&quot; search starts here: #include &lt;...&gt; search starts here: /usr/include/c++/5 /usr/include/x86_64-linux-gnu/c++/5 /usr/include/c++/5/backward /usr/lib/gcc/x86_64-linux-gnu/5/include /usr/local/include /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed /usr/include/x86_64-linux-gnu /usr/include End of search list. # 1 &quot;&lt;stdin&gt;&quot; # 1 &quot;&lt;built-in&gt;&quot; # 1 &quot;&lt;command-line&gt;&quot; # 1 &quot;/usr/include/stdc-predef.h&quot; 1 3 4 # 1 &quot;&lt;command-line&gt;&quot; 2 # 1 &quot;&lt;stdin&gt;&quot; COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-E' '-v' '-mtune=generic' '-march=x86-64'"><pre class="notranslate"><code class="notranslate">Using built-in specs. COLLECT_GCC=gcc Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.5.0-1ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4.1 20171010 (Ubuntu 5.5.0-1ubuntu2) COLLECT_GCC_OPTIONS='-E' '-v' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/5/cc1plus -E -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE - -mtune=generic -march=x86-64 -fstack-protector-strong -Wformat -Wformat-security ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/5" ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/5/../../../../x86_64-linux-gnu/include" #include "..." search starts here: #include &lt;...&gt; search starts here: /usr/include/c++/5 /usr/include/x86_64-linux-gnu/c++/5 /usr/include/c++/5/backward /usr/lib/gcc/x86_64-linux-gnu/5/include /usr/local/include /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed /usr/include/x86_64-linux-gnu /usr/include End of search list. # 1 "&lt;stdin&gt;" # 1 "&lt;built-in&gt;" # 1 "&lt;command-line&gt;" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "&lt;command-line&gt;" 2 # 1 "&lt;stdin&gt;" COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-E' '-v' '-mtune=generic' '-march=x86-64' </code></pre></div>
<p dir="auto"><strong>System information</strong></p> <ul dir="auto"> <li>Have I written custom code (as opposed to using a stock example script provided in TensorFlow):<br> Yes</li> <li>OS Platform and Distribution<br> Windows 10 x64</li> <li>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:<br> N/A</li> <li>TensorFlow installed from (source or binary):<br> Source</li> <li>TensorFlow version (use command below):<br> 1.13.1</li> <li>Python version:<br> 3.7.1</li> <li>Bazel version (if compiling from source):<br> N/A</li> <li>GCC/Compiler version (if compiling from source):<br> N/A</li> <li>CUDA/cuDNN version:<br> N/A</li> <li>GPU model and memory:<br> N/A</li> </ul> <p dir="auto"><strong>Describe the current behavior</strong><br> I try to fit a Sequential model with both a training dataset and a validation dataset with fit_generator function. After of running it shows - 'Sequential' object has no attribute 'total_loss'-</p> <p dir="auto"><strong>Describe the expected behavior</strong><br> Training should work fine.</p> <p dir="auto"><strong>Code to reproduce the issue</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import os import random import numpy as np from PIL import Image import multiprocessing import tensorflow as tf from resizeimage import resizeimage def images_list(path): images_list = [] XY = [] with open(path,&quot;r&quot;) as file: images_list = file.read().split('\n') XY = [row.split(&quot; &quot;) for row in images_list if len(row.split(&quot; &quot;)) &gt; 1] return np.asarray(XY) def load_images(X,Y,i): root = 'E:\\images\\rvl-cdip\\rvl-cdip\\images' img_matrixes = [] labels = [] length = len(X) for index in range(len(X)): matrix = Image.open(os.path.join(root, X[index].replace('/',&quot;\\&quot;))) img_matrixes.append(resize_image_500(matrix)) labels.append(Y[index]) img_matrixes = np.asarray(img_matrixes) labels = np.asarray(labels) assert len(img_matrixes) == len(labels) #print(&quot;{}: Loaded {} images&quot;.format(i,length)) return np.reshape(img_matrixes,(img_matrixes.shape[0],500,500,1)),labels def resize_image(img): np_img = np.asarray(img) if(np_img.shape[1] &lt; 3235): missing_width = 3235 - np_img.shape[1] white_matrix = np.empty((1000,missing_width),dtype=float) white_matrix.fill(255) np_img = np.hstack((np_img, white_matrix)) assert np_img.shape[0] == 1000 assert np_img.shape[1] == 3235 return np_img def resize_image_500(img): resized = resizeimage.resize_cover(img, [500, 500]) np_img = np.asarray(resized) assert np_img.shape[0] == 500 assert np_img.shape[1] == 500 return np_img def iterate_minibatches(inputs, targets, batchsize): assert len(inputs) == len(targets) indices = np.arange(len(inputs)) np.random.shuffle(indices) i = 0 for start_idx in np.arange(0, len(inputs) - batchsize + 1, batchsize): excerpt = indices[start_idx:start_idx + batchsize] i+=1 yield load_images(inputs[excerpt], targets[excerpt],i) from tensorflow.keras import layers model = tf.keras.models.Sequential() #H1 model.add(layers.Conv2D(8, kernel_size=(5, 5), strides=(1, 1), activation='relu')) model.add(layers.MaxPooling2D(pool_size=(2, 2), strides=(2, 2))) #H2 model.add(layers.Conv2D(16, kernel_size=(5, 5), strides=(1, 1), activation='relu')) model.add(layers.MaxPooling2D(pool_size=(2, 2), strides=(2, 2))) #H3 model.add(layers.Conv2D(32, kernel_size=(5, 5), strides=(1, 1), activation='relu')) model.add(layers.MaxPooling2D(pool_size=(3, 3), strides=(2, 2))) #H4 model.add(layers.Conv2D(64, kernel_size=(5, 5), strides=(1, 1), activation='relu')) model.add(layers.MaxPooling2D(pool_size=(3, 3), strides=(2, 2))) #H5 model.add(layers.Flatten()) #Dense model.add(layers.Dense(1024, activation='relu')) model.add(layers.Dense(1024, activation='relu')) model.compile(loss=tf.keras.losses.CategoricalCrossentropy(), optimizer='adam', metrics=[tf.keras.metrics.Accuracy()]) #Training data XY_train = images_list(train_path) X_train = XY_train[:,0] Y_train = XY_train[:,1].astype(int) #Testing data XY_test = images_list(test_path) X_test = XY_test[:,0] Y_test = XY_test[:,1].astype(int) #Validation data XY_val = images_list(valid_path) X_val = XY_val[:,0] Y_val = XY_val[:,1].astype(int) batch_size = 750 history = model.fit_generator(generator=iterate_minibatches(X_train, Y_train,batch_size), validation_data=iterate_minibatches(X_test, Y_test, batch_size), # validation_data=None, steps_per_epoch=len(X_train)//batch_size, validation_steps=len(X_test)//batch_size, verbose=1, epochs=100, use_multiprocessing=True, workers=multiprocessing.cpu_count() )"><pre class="notranslate"><code class="notranslate">import os import random import numpy as np from PIL import Image import multiprocessing import tensorflow as tf from resizeimage import resizeimage def images_list(path): images_list = [] XY = [] with open(path,"r") as file: images_list = file.read().split('\n') XY = [row.split(" ") for row in images_list if len(row.split(" ")) &gt; 1] return np.asarray(XY) def load_images(X,Y,i): root = 'E:\\images\\rvl-cdip\\rvl-cdip\\images' img_matrixes = [] labels = [] length = len(X) for index in range(len(X)): matrix = Image.open(os.path.join(root, X[index].replace('/',"\\"))) img_matrixes.append(resize_image_500(matrix)) labels.append(Y[index]) img_matrixes = np.asarray(img_matrixes) labels = np.asarray(labels) assert len(img_matrixes) == len(labels) #print("{}: Loaded {} images".format(i,length)) return np.reshape(img_matrixes,(img_matrixes.shape[0],500,500,1)),labels def resize_image(img): np_img = np.asarray(img) if(np_img.shape[1] &lt; 3235): missing_width = 3235 - np_img.shape[1] white_matrix = np.empty((1000,missing_width),dtype=float) white_matrix.fill(255) np_img = np.hstack((np_img, white_matrix)) assert np_img.shape[0] == 1000 assert np_img.shape[1] == 3235 return np_img def resize_image_500(img): resized = resizeimage.resize_cover(img, [500, 500]) np_img = np.asarray(resized) assert np_img.shape[0] == 500 assert np_img.shape[1] == 500 return np_img def iterate_minibatches(inputs, targets, batchsize): assert len(inputs) == len(targets) indices = np.arange(len(inputs)) np.random.shuffle(indices) i = 0 for start_idx in np.arange(0, len(inputs) - batchsize + 1, batchsize): excerpt = indices[start_idx:start_idx + batchsize] i+=1 yield load_images(inputs[excerpt], targets[excerpt],i) from tensorflow.keras import layers model = tf.keras.models.Sequential() #H1 model.add(layers.Conv2D(8, kernel_size=(5, 5), strides=(1, 1), activation='relu')) model.add(layers.MaxPooling2D(pool_size=(2, 2), strides=(2, 2))) #H2 model.add(layers.Conv2D(16, kernel_size=(5, 5), strides=(1, 1), activation='relu')) model.add(layers.MaxPooling2D(pool_size=(2, 2), strides=(2, 2))) #H3 model.add(layers.Conv2D(32, kernel_size=(5, 5), strides=(1, 1), activation='relu')) model.add(layers.MaxPooling2D(pool_size=(3, 3), strides=(2, 2))) #H4 model.add(layers.Conv2D(64, kernel_size=(5, 5), strides=(1, 1), activation='relu')) model.add(layers.MaxPooling2D(pool_size=(3, 3), strides=(2, 2))) #H5 model.add(layers.Flatten()) #Dense model.add(layers.Dense(1024, activation='relu')) model.add(layers.Dense(1024, activation='relu')) model.compile(loss=tf.keras.losses.CategoricalCrossentropy(), optimizer='adam', metrics=[tf.keras.metrics.Accuracy()]) #Training data XY_train = images_list(train_path) X_train = XY_train[:,0] Y_train = XY_train[:,1].astype(int) #Testing data XY_test = images_list(test_path) X_test = XY_test[:,0] Y_test = XY_test[:,1].astype(int) #Validation data XY_val = images_list(valid_path) X_val = XY_val[:,0] Y_val = XY_val[:,1].astype(int) batch_size = 750 history = model.fit_generator(generator=iterate_minibatches(X_train, Y_train,batch_size), validation_data=iterate_minibatches(X_test, Y_test, batch_size), # validation_data=None, steps_per_epoch=len(X_train)//batch_size, validation_steps=len(X_test)//batch_size, verbose=1, epochs=100, use_multiprocessing=True, workers=multiprocessing.cpu_count() ) </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="batch_size = 750 history = model.fit_generator(generator=iterate_minibatches(X_train, Y_train,batch_size), validation_data=iterate_minibatches(X_test, Y_test, batch_size), # validation_data=None, steps_per_epoch=len(X_train)//batch_size, validation_steps=len(X_test)//batch_size, verbose=1, epochs=100, use_multiprocessing=True, workers=multiprocessing.cpu_count() ) WARNING:tensorflow:Using a generator with `use_multiprocessing=True` and multiple workers may duplicate your data. Please consider using the `keras.utils.Sequence` class. --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) &lt;ipython-input-10-367767e34155&gt; in &lt;module&gt; 8 epochs=100, 9 use_multiprocessing=True, ---&gt; 10 workers=multiprocessing.cpu_count() 11 ) ~\Anaconda3\lib\site-packages\tensorflow\python\keras\engine\training.py in fit_generator(self, generator, steps_per_epoch, epochs, verbose, callbacks, validation_data, validation_steps, class_weight, max_queue_size, workers, use_multiprocessing, shuffle, initial_epoch) 1424 use_multiprocessing=use_multiprocessing, 1425 shuffle=shuffle, -&gt; 1426 initial_epoch=initial_epoch) 1427 1428 def evaluate_generator(self, ~\Anaconda3\lib\site-packages\tensorflow\python\keras\engine\training_generator.py in model_iteration(model, data, steps_per_epoch, epochs, verbose, callbacks, validation_data, validation_steps, class_weight, max_queue_size, workers, use_multiprocessing, shuffle, initial_epoch, mode, batch_size, **kwargs) 123 124 batch_function = _make_execution_function( --&gt; 125 model, mode, class_weight=class_weight) 126 127 # Create the queue for the generator. ~\Anaconda3\lib\site-packages\tensorflow\python\keras\engine\training_generator.py in _make_execution_function(model, mode, class_weight) 425 if mode == 'train': 426 if not context.executing_eagerly(): --&gt; 427 model._make_fit_function() 428 f = functools.partial(model.train_on_batch, class_weight=class_weight) 429 elif mode == 'test': ~\Anaconda3\lib\site-packages\tensorflow\python\keras\engine\training.py in _make_fit_function(self) 1924 ] 1925 self._make_train_function_helper( -&gt; 1926 '_fit_function', [self.total_loss] + metrics_tensors) 1927 1928 def _make_test_function_helper(self, fn_name, outputs, metric_updates=None): AttributeError: 'Sequential' object has no attribute 'total_loss'"><pre class="notranslate"><code class="notranslate">batch_size = 750 history = model.fit_generator(generator=iterate_minibatches(X_train, Y_train,batch_size), validation_data=iterate_minibatches(X_test, Y_test, batch_size), # validation_data=None, steps_per_epoch=len(X_train)//batch_size, validation_steps=len(X_test)//batch_size, verbose=1, epochs=100, use_multiprocessing=True, workers=multiprocessing.cpu_count() ) WARNING:tensorflow:Using a generator with `use_multiprocessing=True` and multiple workers may duplicate your data. Please consider using the `keras.utils.Sequence` class. --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) &lt;ipython-input-10-367767e34155&gt; in &lt;module&gt; 8 epochs=100, 9 use_multiprocessing=True, ---&gt; 10 workers=multiprocessing.cpu_count() 11 ) ~\Anaconda3\lib\site-packages\tensorflow\python\keras\engine\training.py in fit_generator(self, generator, steps_per_epoch, epochs, verbose, callbacks, validation_data, validation_steps, class_weight, max_queue_size, workers, use_multiprocessing, shuffle, initial_epoch) 1424 use_multiprocessing=use_multiprocessing, 1425 shuffle=shuffle, -&gt; 1426 initial_epoch=initial_epoch) 1427 1428 def evaluate_generator(self, ~\Anaconda3\lib\site-packages\tensorflow\python\keras\engine\training_generator.py in model_iteration(model, data, steps_per_epoch, epochs, verbose, callbacks, validation_data, validation_steps, class_weight, max_queue_size, workers, use_multiprocessing, shuffle, initial_epoch, mode, batch_size, **kwargs) 123 124 batch_function = _make_execution_function( --&gt; 125 model, mode, class_weight=class_weight) 126 127 # Create the queue for the generator. ~\Anaconda3\lib\site-packages\tensorflow\python\keras\engine\training_generator.py in _make_execution_function(model, mode, class_weight) 425 if mode == 'train': 426 if not context.executing_eagerly(): --&gt; 427 model._make_fit_function() 428 f = functools.partial(model.train_on_batch, class_weight=class_weight) 429 elif mode == 'test': ~\Anaconda3\lib\site-packages\tensorflow\python\keras\engine\training.py in _make_fit_function(self) 1924 ] 1925 self._make_train_function_helper( -&gt; 1926 '_fit_function', [self.total_loss] + metrics_tensors) 1927 1928 def _make_test_function_helper(self, fn_name, outputs, metric_updates=None): AttributeError: 'Sequential' object has no attribute 'total_loss' </code></pre></div>
0
<ul dir="auto"> <li>Electron version: 1.4.6</li> <li>Operating system: Windows 10 (Version 1607)</li> </ul> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function handleWindowBeforeunload(event) { const confirmed = (dialog.showMessageBox(remote.getCurrentWindow(), options) === 1); if (confirmed) { remote.getCurrentWindow().close(); } else { event.returnValue = false; } } window.addEventListener(&quot;beforeunload&quot;, handleWindowBeforeunload);"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">handleWindowBeforeunload</span><span class="pl-kos">(</span><span class="pl-s1">event</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-s1">confirmed</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">dialog</span><span class="pl-kos">.</span><span class="pl-en">showMessageBox</span><span class="pl-kos">(</span><span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-en">getCurrentWindow</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">options</span><span class="pl-kos">)</span> <span class="pl-c1">===</span> <span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">confirmed</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-en">getCurrentWindow</span><span class="pl-kos">(</span><span class="pl-kos">)</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">else</span> <span class="pl-kos">{</span> <span class="pl-s1">event</span><span class="pl-kos">.</span><span class="pl-c1">returnValue</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-en">addEventListener</span><span class="pl-kos">(</span><span class="pl-s">"beforeunload"</span><span class="pl-kos">,</span> <span class="pl-s1">handleWindowBeforeunload</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <h3 dir="auto">Expected behavior</h3> <p dir="auto">The window should stay open except when button 1 is pressed in the message box.</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">Sometimes (~1 out of 10 times) the window will close, regardless of the button pressed in the message box.<br> It happens more often when the developer tools are closed, and never happens when using the debugger to step over the code.</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto">Use the code snipped above with any message box with &gt;= 2 buttons, with closed developer tools.</p> <p dir="auto">The code above is loosely modeled in the way atom does their beforeunload handling.<br> (<a href="https://github.com/atom/atom/blob/master/src/window-event-handler.coffee#L150">https://github.com/atom/atom/blob/master/src/window-event-handler.coffee#L150</a>)</p>
<ul dir="auto"> <li>Electron version: 1.6.11</li> <li>Operating system: MacOS Sierra 10.12.5</li> </ul> <h3 dir="auto">Expected behavior</h3> <p dir="auto">To prevent page transition, I wrote the code like this:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="window.addEventListener('beforeunload', function(e) { if (!confirm('Page closing, OK?')) { e.returnValue = 'false'; return false; } });"><pre class="notranslate"><span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-en">addEventListener</span><span class="pl-kos">(</span><span class="pl-s">'beforeunload'</span><span class="pl-kos">,</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-en">confirm</span><span class="pl-kos">(</span><span class="pl-s">'Page closing, OK?'</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">returnValue</span> <span class="pl-c1">=</span> <span class="pl-s">'false'</span><span class="pl-kos">;</span> <span class="pl-k">return</span> <span class="pl-c1">false</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">By this coding, I expect to prevent page transition if user choose "Cancel" ondialog.</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">This code works if I show DevTools window for debugging.<br> But once I close DevTools window, this code not works and page transition occurs.</p> <h3 dir="auto">How to reproduce</h3> <ol dir="auto"> <li>Create project with 2 pages (page A, page B).</li> <li>Add above code on page A.</li> <li>Add the link to page B on page A.</li> <li>Run electron</li> <li>Show DevTools Window and click the link. Then dialog shows, press cancel. Page transition is canceled.</li> <li>Close DevTools and click the link. Transition occurs even if cancel is selected.</li> </ol>
1
<p dir="auto">While the <code class="notranslate">hist</code> method allows to plot empirical cumulative distribution functions (ECDFs) with the <code class="notranslate">cumulative</code> and <code class="notranslate">density</code> keywords, this is far from perfect:</p> <ul dir="auto"> <li>It uses a binning, which is unnecessary for ECDFs and either leads to inaccuracies (low binning) or a waste of time and spurious plot points for small datasets (high binning).</li> <li>The default plot style is bars which are not the typical way to visualise ECDFs.</li> <li>It is not easy to find. I bet that this very issue will soon be the first thing people wanting to plot the ECDF with Matplotlib will find.</li> </ul> <p dir="auto">Please implement a “proper” ECDF.</p> <h3 dir="auto">Half a pull request</h3> <p dir="auto">The following should contain all the major components necessary to implement this. If I had the the time and patience to work through Matplotlib’s code structure, testing, replicating everything for the legacy interface and so on, I would make a pull request.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from warnings import warn import numpy as np from matplotlib import pyplot as plt def ecdf_points(data,remove_redundant,absolute=False): assert data.ndim==1 assert np.all(np.isfinite(data)) abscissae = np.append(data,np.inf) abscissae.sort() if absolute: ordinates = np.arange(len(abscissae),dtype=int) else: ordinates = np.linspace(0,1,len(abscissae)) if remove_redundant: needed = np.ediff1d(abscissae,to_begin=True).astype(bool) abscissae = abscissae[needed] ordinates = ordinates[needed] return abscissae, ordinates test_data = np.array([4,2,3,2,4,3,1,2,1,4]) np.testing.assert_allclose( ecdf_points(test_data,remove_redundant=True), [ [1,2,3,4,np.inf], [0,0.2,0.5,0.7,1.0] ], ) np.testing.assert_equal( ecdf_points(test_data,remove_redundant=True,absolute=True), [ [1,2,3,4,np.inf], [0,2,5,7,10] ], ) def ecdf(axes,x,*args,remove_redundant=False,absolute=False,**kwargs): &quot;&quot;&quot; Plot the empirical cumulative distribution function, i.e., the fraction of data points less than or equal than some value. Returns the supporting points of the underlying step plot. Parameters ---------- x : one-dimensional array Input values remove_redundant : bool, optional Whether spurious points arising from identical data points shall be removed. This is mainly useful for large datasets containing many identical data points, where you get an unnecessarily large or inefficient figure otherwise. If your data does not contain any duplicate points, this has no effect and just uses some time and memory. absolute : bool, optional Whether to plot the absolute number (instead of the fraction) of data points less than or equal than some value. Returns ------- abscissae : array The positions of steps in the ECDF. ordinates : array The lower values of the steps. lines : Lines object The lines object produced by the underlying plot call. &quot;&quot;&quot; if &quot;drawstyle&quot; in kwargs and kwargs[&quot;drawstyle&quot;]!=&quot;steps-pre&quot;: warn(&quot;Overwriting 'drawstyle' argument with 'steps-pre' to achieve a correct ECDF.&quot;) kwargs[&quot;drawstyle&quot;] = &quot;steps-pre&quot; points = ecdf_points(x,remove_redundant,absolute) lines = axes.plot(*points,*args,**kwargs) return (*points,lines) fig,axes = plt.subplots() ecdf(axes,test_data,remove_redundant=True,absolute=True) axes.hist(test_data,bins=1000,cumulative=True); fig,axes = plt.subplots() ecdf(axes,test_data,remove_redundant=True) axes.hist(test_data,bins=1000,cumulative=True,density=True);"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">warnings</span> <span class="pl-k">import</span> <span class="pl-s1">warn</span> <span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-k">from</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">import</span> <span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-k">def</span> <span class="pl-en">ecdf_points</span>(<span class="pl-s1">data</span>,<span class="pl-s1">remove_redundant</span>,<span class="pl-s1">absolute</span><span class="pl-c1">=</span><span class="pl-c1">False</span>): <span class="pl-k">assert</span> <span class="pl-s1">data</span>.<span class="pl-s1">ndim</span><span class="pl-c1">==</span><span class="pl-c1">1</span> <span class="pl-k">assert</span> <span class="pl-s1">np</span>.<span class="pl-en">all</span>(<span class="pl-s1">np</span>.<span class="pl-en">isfinite</span>(<span class="pl-s1">data</span>)) <span class="pl-s1">abscissae</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">append</span>(<span class="pl-s1">data</span>,<span class="pl-s1">np</span>.<span class="pl-s1">inf</span>) <span class="pl-s1">abscissae</span>.<span class="pl-en">sort</span>() <span class="pl-k">if</span> <span class="pl-s1">absolute</span>: <span class="pl-s1">ordinates</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-en">len</span>(<span class="pl-s1">abscissae</span>),<span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">int</span>) <span class="pl-k">else</span>: <span class="pl-s1">ordinates</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">linspace</span>(<span class="pl-c1">0</span>,<span class="pl-c1">1</span>,<span class="pl-en">len</span>(<span class="pl-s1">abscissae</span>)) <span class="pl-k">if</span> <span class="pl-s1">remove_redundant</span>: <span class="pl-s1">needed</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">ediff1d</span>(<span class="pl-s1">abscissae</span>,<span class="pl-s1">to_begin</span><span class="pl-c1">=</span><span class="pl-c1">True</span>).<span class="pl-en">astype</span>(<span class="pl-s1">bool</span>) <span class="pl-s1">abscissae</span> <span class="pl-c1">=</span> <span class="pl-s1">abscissae</span>[<span class="pl-s1">needed</span>] <span class="pl-s1">ordinates</span> <span class="pl-c1">=</span> <span class="pl-s1">ordinates</span>[<span class="pl-s1">needed</span>] <span class="pl-k">return</span> <span class="pl-s1">abscissae</span>, <span class="pl-s1">ordinates</span> <span class="pl-s1">test_data</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">4</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>,<span class="pl-c1">2</span>,<span class="pl-c1">4</span>,<span class="pl-c1">3</span>,<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">1</span>,<span class="pl-c1">4</span>]) <span class="pl-s1">np</span>.<span class="pl-s1">testing</span>.<span class="pl-en">assert_allclose</span>( <span class="pl-en">ecdf_points</span>(<span class="pl-s1">test_data</span>,<span class="pl-s1">remove_redundant</span><span class="pl-c1">=</span><span class="pl-c1">True</span>), [ [<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>,<span class="pl-c1">4</span>,<span class="pl-s1">np</span>.<span class="pl-s1">inf</span>], [<span class="pl-c1">0</span>,<span class="pl-c1">0.2</span>,<span class="pl-c1">0.5</span>,<span class="pl-c1">0.7</span>,<span class="pl-c1">1.0</span>] ], ) <span class="pl-s1">np</span>.<span class="pl-s1">testing</span>.<span class="pl-en">assert_equal</span>( <span class="pl-en">ecdf_points</span>(<span class="pl-s1">test_data</span>,<span class="pl-s1">remove_redundant</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,<span class="pl-s1">absolute</span><span class="pl-c1">=</span><span class="pl-c1">True</span>), [ [<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>,<span class="pl-c1">4</span>,<span class="pl-s1">np</span>.<span class="pl-s1">inf</span>], [<span class="pl-c1">0</span>,<span class="pl-c1">2</span>,<span class="pl-c1">5</span>,<span class="pl-c1">7</span>,<span class="pl-c1">10</span>] ], ) <span class="pl-k">def</span> <span class="pl-en">ecdf</span>(<span class="pl-s1">axes</span>,<span class="pl-s1">x</span>,<span class="pl-c1">*</span><span class="pl-s1">args</span>,<span class="pl-s1">remove_redundant</span><span class="pl-c1">=</span><span class="pl-c1">False</span>,<span class="pl-s1">absolute</span><span class="pl-c1">=</span><span class="pl-c1">False</span>,<span class="pl-c1">**</span><span class="pl-s1">kwargs</span>): <span class="pl-s">"""</span> <span class="pl-s"> Plot the empirical cumulative distribution function, i.e., the fraction of data points less than or equal than some value. Returns the supporting points of the underlying step plot.</span> <span class="pl-s"></span> <span class="pl-s"> Parameters</span> <span class="pl-s"> ----------</span> <span class="pl-s"> x : one-dimensional array</span> <span class="pl-s"> Input values</span> <span class="pl-s"> </span> <span class="pl-s"> remove_redundant : bool, optional</span> <span class="pl-s"> Whether spurious points arising from identical data points shall be removed. This is mainly useful for large datasets containing many identical data points, where you get an unnecessarily large or inefficient figure otherwise. If your data does not contain any duplicate points, this has no effect and just uses some time and memory.</span> <span class="pl-s"> </span> <span class="pl-s"> absolute : bool, optional</span> <span class="pl-s"> Whether to plot the absolute number (instead of the fraction) of data points less than or equal than some value.</span> <span class="pl-s"> </span> <span class="pl-s"> Returns</span> <span class="pl-s"> -------</span> <span class="pl-s"> abscissae : array</span> <span class="pl-s"> The positions of steps in the ECDF.</span> <span class="pl-s"></span> <span class="pl-s"> ordinates : array</span> <span class="pl-s"> The lower values of the steps.</span> <span class="pl-s"> </span> <span class="pl-s"> lines : Lines object</span> <span class="pl-s"> The lines object produced by the underlying plot call.</span> <span class="pl-s"> """</span> <span class="pl-k">if</span> <span class="pl-s">"drawstyle"</span> <span class="pl-c1">in</span> <span class="pl-s1">kwargs</span> <span class="pl-c1">and</span> <span class="pl-s1">kwargs</span>[<span class="pl-s">"drawstyle"</span>]<span class="pl-c1">!=</span><span class="pl-s">"steps-pre"</span>: <span class="pl-en">warn</span>(<span class="pl-s">"Overwriting 'drawstyle' argument with 'steps-pre' to achieve a correct ECDF."</span>) <span class="pl-s1">kwargs</span>[<span class="pl-s">"drawstyle"</span>] <span class="pl-c1">=</span> <span class="pl-s">"steps-pre"</span> <span class="pl-s1">points</span> <span class="pl-c1">=</span> <span class="pl-en">ecdf_points</span>(<span class="pl-s1">x</span>,<span class="pl-s1">remove_redundant</span>,<span class="pl-s1">absolute</span>) <span class="pl-s1">lines</span> <span class="pl-c1">=</span> <span class="pl-s1">axes</span>.<span class="pl-en">plot</span>(<span class="pl-c1">*</span><span class="pl-s1">points</span>,<span class="pl-c1">*</span><span class="pl-s1">args</span>,<span class="pl-c1">**</span><span class="pl-s1">kwargs</span>) <span class="pl-k">return</span> (<span class="pl-c1">*</span><span class="pl-s1">points</span>,<span class="pl-s1">lines</span>) <span class="pl-s1">fig</span>,<span class="pl-s1">axes</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>() <span class="pl-en">ecdf</span>(<span class="pl-s1">axes</span>,<span class="pl-s1">test_data</span>,<span class="pl-s1">remove_redundant</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,<span class="pl-s1">absolute</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">axes</span>.<span class="pl-en">hist</span>(<span class="pl-s1">test_data</span>,<span class="pl-s1">bins</span><span class="pl-c1">=</span><span class="pl-c1">1000</span>,<span class="pl-s1">cumulative</span><span class="pl-c1">=</span><span class="pl-c1">True</span>); <span class="pl-s1">fig</span>,<span class="pl-s1">axes</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>() <span class="pl-en">ecdf</span>(<span class="pl-s1">axes</span>,<span class="pl-s1">test_data</span>,<span class="pl-s1">remove_redundant</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">axes</span>.<span class="pl-en">hist</span>(<span class="pl-s1">test_data</span>,<span class="pl-s1">bins</span><span class="pl-c1">=</span><span class="pl-c1">1000</span>,<span class="pl-s1">cumulative</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,<span class="pl-s1">density</span><span class="pl-c1">=</span><span class="pl-c1">True</span>);</pre></div>
<p dir="auto">Sometimes, you want to display some text and only one piece of text, but you don't want to precompute where it should be. So it would be nice if matplotlib could figure this out for you, just as it does with <code class="notranslate">legend(loc='best')</code>. This question came up on SO a while ago:</p> <p dir="auto"><a href="http://stackoverflow.com/questions/7045729/automatically-position-text-box-in-matplotlib" rel="nofollow">http://stackoverflow.com/questions/7045729/automatically-position-text-box-in-matplotlib</a></p> <p dir="auto">There's also an old ticket (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1087914" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/176" data-hovercard-type="issue" data-hovercard-url="/matplotlib/matplotlib/issues/176/hovercard" href="https://github.com/matplotlib/matplotlib/issues/176">#176</a>) that was looking to hack <code class="notranslate">legend(numpoints=0, loc='best')</code> in order to achieve the same effect.</p>
0
<p dir="auto">This is on a Macbook (OS X version 10.9.5):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python -c &quot;import scipy.stats as m; m.test('full')&quot; Running unit tests for scipy.stats NumPy version 1.10.0b1 NumPy relaxed strides checking option: True NumPy is installed in /Users/warren/local_scipy/lib/python2.7/site-packages/numpy SciPy version 0.17.0.dev0+5c8b9ab SciPy is installed in /Users/warren/local_scipy/lib/python2.7/site-packages/scipy Python version 2.7.10 |Anaconda 1.8.0 (x86_64)| (default, May 28 2015, 17:04:42) [GCC 4.2.1 (Apple Inc. build 5577)] nose version 1.3.6 .........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K............K..........................................................................................................................................................S...........S.............................................................................................................................................................................................................................................................................................................................................................................................................................................KKKKK.......................................................................................KKKK.....................................................................................................................................................KKKKK....................................................................................................................................................................................................................................................................................................................K.................................................K............................S.................................................................S...................................................................................................................................S.........................................................................................................................................................................................................K..K...............KK.KK..................K....K......K.K.K..K.K.........K..K.K....K.................................................................................................................................................................S..S........................................................................................................................................................................................................................................................F............................................................................................................................................................................................................................................... ====================================================================== FAIL: test_weighting (test_stats.TestHistogram) ---------------------------------------------------------------------- Traceback (most recent call last): File &quot;/Users/warren/local_scipy/lib/python2.7/site-packages/scipy/stats/tests/test_stats.py&quot;, line 923, in test_weighting decimal=2) File &quot;/Users/warren/local_scipy/lib/python2.7/site-packages/numpy/testing/utils.py&quot;, line 886, in assert_array_almost_equal precision=decimal) File &quot;/Users/warren/local_scipy/lib/python2.7/site-packages/numpy/testing/utils.py&quot;, line 708, in assert_array_compare raise AssertionError(msg) AssertionError: Arrays are not almost equal to 2 decimals (mismatch 40.0%) x: array([ 4. , 0. , 4.5, -0.9, 0. , 0.3, 110.2, 0. , 0. , 42. ]) y: array([ 4. , 0. , 4.5, -0.9, 0.3, 0. , 7. , 103.2, 0. , 42. ]) ---------------------------------------------------------------------- Ran 3305 tests in 78.886s FAILED (KNOWNFAIL=35, SKIP=7, failures=1)"><pre class="notranslate"><code class="notranslate">$ python -c "import scipy.stats as m; m.test('full')" Running unit tests for scipy.stats NumPy version 1.10.0b1 NumPy relaxed strides checking option: True NumPy is installed in /Users/warren/local_scipy/lib/python2.7/site-packages/numpy SciPy version 0.17.0.dev0+5c8b9ab SciPy is installed in /Users/warren/local_scipy/lib/python2.7/site-packages/scipy Python version 2.7.10 |Anaconda 1.8.0 (x86_64)| (default, May 28 2015, 17:04:42) [GCC 4.2.1 (Apple Inc. build 5577)] nose version 1.3.6 .........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K............K..........................................................................................................................................................S...........S.............................................................................................................................................................................................................................................................................................................................................................................................................................................KKKKK.......................................................................................KKKK.....................................................................................................................................................KKKKK....................................................................................................................................................................................................................................................................................................................K.................................................K............................S.................................................................S...................................................................................................................................S.........................................................................................................................................................................................................K..K...............KK.KK..................K....K......K.K.K..K.K.........K..K.K....K.................................................................................................................................................................S..S........................................................................................................................................................................................................................................................F............................................................................................................................................................................................................................................... ====================================================================== FAIL: test_weighting (test_stats.TestHistogram) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/warren/local_scipy/lib/python2.7/site-packages/scipy/stats/tests/test_stats.py", line 923, in test_weighting decimal=2) File "/Users/warren/local_scipy/lib/python2.7/site-packages/numpy/testing/utils.py", line 886, in assert_array_almost_equal precision=decimal) File "/Users/warren/local_scipy/lib/python2.7/site-packages/numpy/testing/utils.py", line 708, in assert_array_compare raise AssertionError(msg) AssertionError: Arrays are not almost equal to 2 decimals (mismatch 40.0%) x: array([ 4. , 0. , 4.5, -0.9, 0. , 0.3, 110.2, 0. , 0. , 42. ]) y: array([ 4. , 0. , 4.5, -0.9, 0.3, 0. , 7. , 103.2, 0. , 42. ]) ---------------------------------------------------------------------- Ran 3305 tests in 78.886s FAILED (KNOWNFAIL=35, SKIP=7, failures=1) </code></pre></div>
<p dir="auto">The failing test seems to be incorrect and needs fixing, see details at <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="97340149" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/6120" data-hovercard-type="issue" data-hovercard-url="/numpy/numpy/issues/6120/hovercard" href="https://github.com/numpy/numpy/issues/6120">numpy/numpy#6120</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FAIL: test_weighting (test_stats.TestHistogram) ---------------------------------------------------------------------- Traceback (most recent call last): File &quot;/home/charris/Workspace/scipy.git/build/testenv/lib64/python2.7/site-packages/scipy/stats/tests/test_stats.py&quot;, line 892, in test_weighting decimal=2) File &quot;/home/charris/.local/lib/python2.7/site-packages/numpy/testing/utils.py&quot;, line 886, in assert_array_almost_equal precision=decimal) File &quot;/home/charris/.local/lib/python2.7/site-packages/numpy/testing/utils.py&quot;, line 708, in assert_array_compare raise AssertionError(msg) AssertionError: Arrays are not almost equal to 2 decimals (mismatch 40.0%) x: array([ 4. , 0. , 4.5, -0.9, 0. , 0.3, 110.2, 0. , 0. , 42. ]) y: array([ 4. , 0. , 4.5, -0.9, 0.3, 0. , 7. , 103.2, 0. , 42. ])"><pre class="notranslate"><code class="notranslate">FAIL: test_weighting (test_stats.TestHistogram) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/charris/Workspace/scipy.git/build/testenv/lib64/python2.7/site-packages/scipy/stats/tests/test_stats.py", line 892, in test_weighting decimal=2) File "/home/charris/.local/lib/python2.7/site-packages/numpy/testing/utils.py", line 886, in assert_array_almost_equal precision=decimal) File "/home/charris/.local/lib/python2.7/site-packages/numpy/testing/utils.py", line 708, in assert_array_compare raise AssertionError(msg) AssertionError: Arrays are not almost equal to 2 decimals (mismatch 40.0%) x: array([ 4. , 0. , 4.5, -0.9, 0. , 0.3, 110.2, 0. , 0. , 42. ]) y: array([ 4. , 0. , 4.5, -0.9, 0.3, 0. , 7. , 103.2, 0. , 42. ]) </code></pre></div>
1
<h1 dir="auto">Bug report</h1> <h2 dir="auto">Describe the bug</h2> <p dir="auto">When i create default layout component for my nextjs pages and import it with next/dynamic i see duplicate commons link(in head) and script(in body).</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">I created the repository for reproduction.<br> <a href="https://github.com/narek1993x/duplicate_commonjs_script">https://github.com/narek1993x/duplicate_commonjs_script</a></p> <ol dir="auto"> <li>Go to localhost:3000.</li> <li>Open inspect element on the page.</li> <li>You can see commons script is duplicated.</li> </ol> <h2 dir="auto">Expected behavior</h2> <p dir="auto">See only one commons script.</p> <h2 dir="auto">Screenshot</h2> <p dir="auto"><a href="https://ibb.co/X4d3KvK" rel="nofollow">https://ibb.co/X4d3KvK</a></p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>OS: Linux</li> <li>Browser Chrome</li> <li>Version of Next.js: 9.0.0</li> </ul>
<h1 dir="auto">Bug report</h1> <h2 dir="auto">Describe the bug</h2> <p dir="auto">The final generated HTML contains multiple references of the same script when using <code class="notranslate">dynamic(() =&gt; import("XXX"))</code> feature.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;script async=&quot;&quot; data-next-page=&quot;/_rendr&quot; src=&quot;/_next/static/-QRY2dlf37nt2x4YyPE4t/pages/_rendr.js&quot;&gt;&lt;/script&gt; &lt;script async=&quot;&quot; data-next-page=&quot;/_app&quot; src=&quot;/_next/static/-QRY2dlf37nt2x4YyPE4t/pages/_app.js&quot;&gt;&lt;/script&gt; &lt;script async=&quot;&quot; src=&quot;/_next/static/chunks/commons.2e47dd92dd81134f73ae.js&quot;&gt;&lt;/script&gt; &lt;script async=&quot;&quot; src=&quot;/_next/static/chunks/7.08bfb698f640f0ab437a.js&quot;&gt;&lt;/script&gt; &lt;script async=&quot;&quot; src=&quot;/_next/static/chunks/11.b15a7a54832e0f86eb5f.js&quot;&gt;&lt;/script&gt; &lt;script async=&quot;&quot; src=&quot;/_next/static/chunks/12.300ea2b94b09addb1f7a.js&quot;&gt;&lt;/script&gt; &lt;script async=&quot;&quot; src=&quot;/_next/static/chunks/9.9fad9003200f003586d9.js&quot;&gt;&lt;/script&gt; &lt;script async=&quot;&quot; src=&quot;/_next/static/chunks/8.d50c138bb6c1512ea7a0.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;/_next/static/runtime/webpack-0f37fb1d4bd42a96e0fc.js&quot; async=&quot;&quot;&gt;&lt;/script&gt; &lt;script src=&quot;/_next/static/chunks/commons.2e47dd92dd81134f73ae.js&quot; async=&quot;&quot;&gt;&lt;/script&gt; &lt;script src=&quot;/_next/static/runtime/main-dbac27a7acba993626ba.js&quot; async=&quot;&quot;&gt;"><pre class="notranslate"><code class="notranslate">&lt;script async="" data-next-page="/_rendr" src="/_next/static/-QRY2dlf37nt2x4YyPE4t/pages/_rendr.js"&gt;&lt;/script&gt; &lt;script async="" data-next-page="/_app" src="/_next/static/-QRY2dlf37nt2x4YyPE4t/pages/_app.js"&gt;&lt;/script&gt; &lt;script async="" src="/_next/static/chunks/commons.2e47dd92dd81134f73ae.js"&gt;&lt;/script&gt; &lt;script async="" src="/_next/static/chunks/7.08bfb698f640f0ab437a.js"&gt;&lt;/script&gt; &lt;script async="" src="/_next/static/chunks/11.b15a7a54832e0f86eb5f.js"&gt;&lt;/script&gt; &lt;script async="" src="/_next/static/chunks/12.300ea2b94b09addb1f7a.js"&gt;&lt;/script&gt; &lt;script async="" src="/_next/static/chunks/9.9fad9003200f003586d9.js"&gt;&lt;/script&gt; &lt;script async="" src="/_next/static/chunks/8.d50c138bb6c1512ea7a0.js"&gt;&lt;/script&gt; &lt;script src="/_next/static/runtime/webpack-0f37fb1d4bd42a96e0fc.js" async=""&gt;&lt;/script&gt; &lt;script src="/_next/static/chunks/commons.2e47dd92dd81134f73ae.js" async=""&gt;&lt;/script&gt; &lt;script src="/_next/static/runtime/main-dbac27a7acba993626ba.js" async=""&gt; </code></pre></div> <p dir="auto">Firefox downloads twice <code class="notranslate">commons.2e47dd92dd81134f73ae.js</code>, I guess the <code class="notranslate">async</code> flag presents in the first reference, and not present in the second reference make a difference. Chrome does not behave the same.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">You can download the example here <a href="https://github.com/ekino/rendr/blob/master/examples/nextjs-with-remoteapi/">https://github.com/ekino/rendr/blob/master/examples/nextjs-with-remoteapi/</a>.</p> <p dir="auto">The dynamic declarations are there: <a href="https://github.com/ekino/rendr/blob/master/examples/nextjs-with-remoteapi/pages/_rendr.js#L12-L18">https://github.com/ekino/rendr/blob/master/examples/nextjs-with-remoteapi/pages/_rendr.js#L12-L18</a></p> <p dir="auto">There is also a live demo here: <a href="https://nextjs-with-remoteapi.rande.now.sh/" rel="nofollow">https://nextjs-with-remoteapi.rande.now.sh/</a></p> <h2 dir="auto">Expected behavior</h2> <p dir="auto">No duplicate references.</p> <h2 dir="auto">Screenshots</h2> <p dir="auto">If applicable, add screenshots to help explain your problem.</p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>OS: linux or now.sh env.</li> <li>Browser: Firefox and Chrome</li> <li>Version of Next.js: <code class="notranslate">9.0.5</code></li> </ul> <h2 dir="auto">Additional context</h2> <p dir="auto">Add any other context about the problem here.</p>
1
<h3 dir="auto">What problem does this feature solve?</h3> <p dir="auto">Trying to build an SSR application w/ vue-ssr while using the somewhat newly introduced module federation plugin in webpack 5 (<a href="https://webpack.js.org/concepts/module-federation/" rel="nofollow">https://webpack.js.org/concepts/module-federation/</a>) won't work currently. It does when focusing only on the client build but is not when trying to prerender. The webpack plugin is not working out of the box while building for node. In order to make this work, one can use a package from telenko (<a href="https://github.com/telenko/node-mf">https://github.com/telenko/node-mf</a>), which will hook into the process and allow for module federation to work in node. Nevertheless, due to the adjustments, namely relying on URL, vue-server-renderer will fail to build.</p> <h3 dir="auto">What does the proposed API look like?</h3> <p dir="auto">To make this work it basically only requires to add nodes URL to the sandboxed node environment.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function createSandbox (context) { var sandbox = { Buffer: Buffer, URL: URL, // add URL console: console, process: process, setTimeout: setTimeout, setInterval: setInterval, setImmediate: setImmediate, clearTimeout: clearTimeout, clearInterval: clearInterval, clearImmediate: clearImmediate, __VUE_SSR_CONTEXT__: context }; sandbox.global = sandbox; return sandbox }"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">createSandbox</span> <span class="pl-kos">(</span><span class="pl-s1">context</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">sandbox</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">Buffer</span>: <span class="pl-v">Buffer</span><span class="pl-kos">,</span> <span class="pl-c1">URL</span>: <span class="pl-c1">URL</span><span class="pl-kos">,</span> <span class="pl-c">// add URL</span> <span class="pl-c1">console</span>: <span class="pl-smi">console</span><span class="pl-kos">,</span> <span class="pl-c1">process</span>: <span class="pl-s1">process</span><span class="pl-kos">,</span> <span class="pl-c1">setTimeout</span>: <span class="pl-s1">setTimeout</span><span class="pl-kos">,</span> <span class="pl-c1">setInterval</span>: <span class="pl-s1">setInterval</span><span class="pl-kos">,</span> <span class="pl-c1">setImmediate</span>: <span class="pl-s1">setImmediate</span><span class="pl-kos">,</span> <span class="pl-c1">clearTimeout</span>: <span class="pl-s1">clearTimeout</span><span class="pl-kos">,</span> <span class="pl-c1">clearInterval</span>: <span class="pl-s1">clearInterval</span><span class="pl-kos">,</span> <span class="pl-c1">clearImmediate</span>: <span class="pl-s1">clearImmediate</span><span class="pl-kos">,</span> <span class="pl-c1">__VUE_SSR_CONTEXT__</span>: <span class="pl-s1">context</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">sandbox</span><span class="pl-kos">.</span><span class="pl-c1">global</span> <span class="pl-c1">=</span> <span class="pl-s1">sandbox</span><span class="pl-kos">;</span> <span class="pl-k">return</span> <span class="pl-s1">sandbox</span> <span class="pl-kos">}</span></pre></div>
<h3 dir="auto">What problem does this feature solve?</h3> <p dir="auto">This feature removes boilerplate-ish code to forward events, making the coding experience feel more vue-ish.</p> <p dir="auto">In a parent-child-grandchild scenario where the grandchild needs to pass information to the parent, it currently has to emit an event which is then captured by the child who forwards it to the parent.</p> <p dir="auto">This feature would remove the need to write the function in the child that forwards the event from the grandchild to the parent.</p> <p dir="auto">FYI: This has been implemented in Svelte:<br> <a href="https://svelte.dev/tutorial/event-forwarding" rel="nofollow">https://svelte.dev/tutorial/event-forwarding</a></p> <blockquote> <p dir="auto">But that's a lot of code to write, so Svelte gives us an equivalent shorthand — an on:message event directive without a value means &gt;'forward all message events'.</p> </blockquote> <h3 dir="auto">What does the proposed API look like?</h3> <p dir="auto">For Instance:</p> <ul dir="auto"> <li>"[at]click.forward"</li> <li>simply "[at]click"</li> </ul>
0
<p dir="auto">I am the author of <a href="https://github.com/s-panferov/awesome-typescript-loader">https://github.com/s-panferov/awesome-typescript-loader</a> and I have a problem with my async loader:</p> <p dir="auto">Pseudo-code:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="let callback = this.async(); /* inside promise handler */ try { callback(null, result.text, sourceMap); } catch(e) { console.error('Caught', e) // I'm here! What I need to do in that case? }"><pre class="notranslate"><code class="notranslate">let callback = this.async(); /* inside promise handler */ try { callback(null, result.text, sourceMap); } catch(e) { console.error('Caught', e) // I'm here! What I need to do in that case? } </code></pre></div> <p dir="auto">Console output:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Caught { [ModuleParseError: Module parse failed: /Users/panferov-s/Workspace/arui/node_modules/react-hot-loader/index.js!/Users/panferov-s/Workspace/awesome-typescript-loader/dist/index.js?compiler=ntypescript&amp;rewriteImports=arui&amp;module=commonjs!/Users/panferov-s/Workspace/arui/src/popup/common/popup.ts Line 112: Unexpected token , You may need an appropriate loader to handle this file type. | || nextAttachment !== attachment) { | this.setState({ | attachment: , | targetAttachment: , ] }); /** stripped */"><pre class="notranslate"><code class="notranslate">Caught { [ModuleParseError: Module parse failed: /Users/panferov-s/Workspace/arui/node_modules/react-hot-loader/index.js!/Users/panferov-s/Workspace/awesome-typescript-loader/dist/index.js?compiler=ntypescript&amp;rewriteImports=arui&amp;module=commonjs!/Users/panferov-s/Workspace/arui/src/popup/common/popup.ts Line 112: Unexpected token , You may need an appropriate loader to handle this file type. | || nextAttachment !== attachment) { | this.setState({ | attachment: , | targetAttachment: , ] }); /** stripped */ </code></pre></div> <p dir="auto">Versions:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &quot;webpack&quot;: &quot;^1.10.1&quot;, &quot;webpack-dev-server&quot;: &quot;^1.10.1&quot;"><pre class="notranslate"><code class="notranslate"> "webpack": "^1.10.1", "webpack-dev-server": "^1.10.1" </code></pre></div> <p dir="auto">The big problem here is that compilation freezes in webpack-dev-server</p>
<h1 dir="auto">Bug report</h1> <p dir="auto"><strong>What is the current behavior?</strong><br> When the definitions by <code class="notranslate">webpack.definePlugin</code> are being used in any module, It's not accessing the definitions from the reference but importing and duplicating them for each module. Also, increasing garbage collection load cumulatively according to definition size. (Assume that, a big json file used for global definition)</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong><br> I created a minimum reproducible repo. You can check the output -<code class="notranslate">main.js</code>- and it's content. Clearly visible that, the settings object is duplicated.</p> <p dir="auto"><a href="https://github.com/tugayilik/webpack-defineplugin">https://github.com/tugayilik/webpack-defineplugin</a></p> <p dir="auto"><strong>What is the expected behavior?</strong><br> Not to duplicate values for each module and decreasing the garbage collection load.</p> <p dir="auto"><strong>Other relevant information:</strong><br> webpack version: 5.31.2<br> Node.js version: 15.13.0<br> Operating System: macOS<br> Additional tools: -</p>
0
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-examples/16634/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-examples/16634/</a></p> <p dir="auto">Failed: Up {e2e.go}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error running up: exit status 2"><pre class="notranslate"><code class="notranslate">error running up: exit status 2 </code></pre></div> <p dir="auto">Previous issues for this test: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="178786165" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33357" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33357/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33357">#33357</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="178925015" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33377" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33377/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33377">#33377</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180814107" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33993" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33993/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33993">#33993</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180962358" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34033" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34033/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34033">#34033</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="182969158" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34796" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34796/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34796">#34796</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="184531256" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/35306" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35306/hovercard" href="https://github.com/kubernetes/kubernetes/issues/35306">#35306</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="184549008" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/35315" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35315/hovercard" href="https://github.com/kubernetes/kubernetes/issues/35315">#35315</a></p>
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-federation/4526/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-federation/4526/</a></p> <p dir="auto">Failed: Up {e2e.go}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error running up: exit status 1"><pre class="notranslate"><code class="notranslate">error running up: exit status 1 </code></pre></div> <p dir="auto">Previous issues for this test: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="178786165" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33357" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33357/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33357">#33357</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="178925015" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33377" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33377/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33377">#33377</a></p>
1
<p dir="auto">Many old rooms such as /helpBonfires are now deprecated, but campers still join them. We need a contributor who's earned write access to this repo to go through and update the topic of these rooms by running:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/topic This room is inactive, and only exists for archival purposes. Join some active rooms - here's the full list: https://www.freecodecamp.com/wiki/en/official-free-code-camp-chat-rooms/"><pre class="notranslate"><code class="notranslate">/topic This room is inactive, and only exists for archival purposes. Join some active rooms - here's the full list: https://www.freecodecamp.com/wiki/en/official-free-code-camp-chat-rooms/ </code></pre></div>
<h4 dir="auto">Challenge Name</h4> <h4 dir="auto">Issue Description</h4> <h4 dir="auto">Browser Information</h4> <ul dir="auto"> <li>Browser Name, Version:</li> <li>Operating System:</li> <li>Mobile, Desktop, or Tablet:</li> </ul> <h4 dir="auto">Your Code</h4> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;style&gt; .red-text {   color: red; } &lt;/style&gt; &lt;h2 class=&quot;red-text&quot;&gt; CatPhotoApp&lt;/h2&gt; &lt;p&gt;Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.&lt;/p&gt; "><pre class="notranslate"><span class="pl-c1">&lt;</span><span class="pl-ent">style</span><span class="pl-c1">&gt;</span> .red-text <span class="pl-kos">{</span>   <span class="pl-s1">color</span>: <span class="pl-s1">red</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">style</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-s1">h2</span> <span class="pl-s1">class</span><span class="pl-c1">=</span><span class="pl-s">"red-text"</span><span class="pl-c1">&gt;</span> <span class="pl-v">CatPhotoApp</span><span class="pl-c1">&lt;</span><span class="pl-c1">/</span>h2&gt; <span class="pl-c1">&lt;</span><span class="pl-ent">p</span><span class="pl-c1">&gt;</span>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">p</span><span class="pl-c1">&gt;</span> </pre></div> <h4 dir="auto">Screenshot</h4>
0
<p dir="auto">by <strong>Ostsol</strong>:</p> <pre class="notranslate">What steps will reproduce the problem? Given the following files, compile and link with the following steps. // p.go package p type T int // main.go package main import "fmt" import "./p" func main () { i := p.T (1); fmt.Printf ("%v\n", i) } 6g p.go 6g main.go 6l main.6 What is the expected output? What do you see instead? Based on the discussion on the golang-nuts group: <a href="http://groups.google.com/group/golang-nuts/tree/browse_frm/" rel="nofollow">http://groups.google.com/group/golang-nuts/tree/browse_frm/</a> thread/66466cc48d4a3ce1/51028e84ef8e345f?rnum=1&amp;_done=%2Fgroup%2Fgolang- nuts%2Fbrowse_frm%2Fthread%2F66466cc48d4a3ce1%2Fe1e40ca5389faf1a %3F#doc_797953fae50b1017 . . . this should compile and link successfully. Compilation does in fact occur without error, however, linking results in many 'MHeapMap_Preallocate: multiple initialization' errors. What is your $GOOS? $GOARCH? linux amd64 Which revision are you using? (hg identify) bdfc3faa253a tip Please provide any additional information below. One might decide to use gopack to produce p.a given main.6 and p.6 from the previous steps. gopack grc p.a p.6 6l main.6 This produces similar errors to the above. It appears that without p.a already produces, 6g had compiled main.go in a manner incompatible with p.a. Recompiling main.go will allow successful linking.</pre>
<p dir="auto">by <strong>beoran</strong>:</p> <pre class="notranslate">This bug report is due to the discussion at: <a href="http://groups.google.com/group/golang-nuts/browse_thread/thread/34d6a5b928242d25" rel="nofollow">http://groups.google.com/group/golang-nuts/browse_thread/thread/34d6a5b928242d25</a> What steps will reproduce the problem? 1. Write a .go file for cgo with a syntax error in some line 2. Compile using the standard makefile What is the expected output? The error message refers to the right line number. What do you see instead? The error message may refer to the wrong line number. What is your $GOOS? $GOARCH? Linux 386 Which revision are you using? (hg identify) f776656df34c+ release.2010-06-09/release Please provide any additional information below. This is kind of annoying since it makes it hard to find back the syntax error. In the discussion it was stated that this should be solved using a //line comment that corrects the line number. It would be nice if this could be fixed. :)</pre>
0
<h3 dir="auto">Apache Airflow Provider(s)</h3> <p dir="auto">amazon</p> <h3 dir="auto">Versions of Apache Airflow Providers</h3> <p dir="auto">6.2.0</p> <h3 dir="auto">Apache Airflow version</h3> <p dir="auto">2.5.0</p> <h3 dir="auto">Operating System</h3> <p dir="auto">CentOS 7</p> <h3 dir="auto">Deployment</h3> <p dir="auto">Other Docker-based deployment</p> <h3 dir="auto">Deployment details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">What happened</h3> <p dir="auto">Upon upgrading to airflow 2.5.0, EMR Add Steps Operator now:</p> <ol dir="auto"> <li>Succeeds at adding a step to our emr job.</li> <li>tries to wait for the job to complete</li> <li>times out, retries, and duplicates the steps on our emr cluster.</li> <li>times out, and fails.</li> </ol> <p dir="auto">The cause seems to be an error in the operator:<br> <a href="https://github.com/apache/airflow/pull/27286/files#diff-94612f7f88a5f95ca9e3f23051f39f1e0b6a4cadac1f533615db5480b379ed34R115">https://github.com/apache/airflow/pull/27286/files#diff-94612f7f88a5f95ca9e3f23051f39f1e0b6a4cadac1f533615db5480b379ed34R115</a></p> <p dir="auto">Instead of passing <code class="notranslate">wait_for_completion=True</code> to the emr hook method <code class="notranslate">add_job_flow_steps</code>, it should probably pass <code class="notranslate">self.wait_for_completion</code>. Also, currently <code class="notranslate">self.wait_for_completion</code> seem to not be used anywhere in the project.</p> <h3 dir="auto">What you think should happen instead</h3> <p dir="auto">The task should succeed once the EMR steps are added and move on to the next task in the dag.</p> <h3 dir="auto">How to reproduce</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>
<p dir="auto">Hello,</p> <h1 dir="auto">Overview</h1> <p dir="auto">Currently, Helm Chart for Airflow has two types of tests: (<a href="https://blog.gruntwork.io/automated-testing-for-kubernetes-and-helm-charts-using-terratest-a4ddc4e67344" rel="nofollow">Learn the best practices of Helm Chart testing</a>)</p> <ul dir="auto"> <li><strong>Template testing (unit testing)</strong>: these tests render the templates against various input values. These types of tests let us verify that the template rendered the expected resources in the manner you intended. These tests are fast to execute and can catch syntactic errors of your template</li> <li><strong>Integration testing</strong>: these tests take the rendered templates and deploy them to a real Kubernetes cluster. We can then verify the deployed infrastructure works as intended by hitting the endpoints or querying Kubernetes for the resources. These tests closely resemble an actual deployment and give us a close approximation of how it might behave when ready to push the chart to production.</li> </ul> <p dir="auto">In each case, we use a different framework:</p> <ul dir="auto"> <li>For template testing, we use <a href="https://github.com/lrills/helm-unittest">Helm-unittest</a></li> <li>For integration testing, we use bash scripts and Pytest + kind cluster</li> </ul> <h1 dir="auto">Start reading here</h1> <p dir="auto">Today I would like to talk about template testing. In my opinion, using helm-unittest is not a very good solution.</p> <ul dir="auto"> <li>This framework is not very popular, so any contributor who wants to change must read the documentation first to add new tests. (People are lazy by nature, so they don't add these tests).</li> <li>Another problem is the form - the YAML file. The YAML file is not very flexible and makes it very difficult to write more unusual tests. It would be more flexible to express the tests in a more normal programming language.</li> </ul> <p dir="auto">During the discussion with <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dimberman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dimberman">@dimberman</a>, I prepared a small POC that shows how we can test the Helm Chart with Pytest + Python.<br> Here is link: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="721739710" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/11533" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/11533/hovercard?comment_id=504998933&amp;comment_type=review_comment" href="https://github.com/apache/airflow/pull/11533#discussion_r504998933">#11533 (comment)</a></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import subprocess import unittest from tempfile import NamedTemporaryFile import yaml from typing import Dict, Optional OBJECT_COUNT_IN_BASIC_DEPLOYMENT = 22 class TestBaseChartTest(unittest.TestCase): def render_chart(self, name, values: Optional[Dict] = None): values = values or {} with NamedTemporaryFile() as tmp_file: content = yaml.dump(values) tmp_file.write(content.encode()) tmp_file.flush() templates = subprocess.check_output([&quot;helm&quot;, &quot;template&quot;, name, &quot;..&quot;, '--values', tmp_file.name]) k8s_objects = yaml.load_all(templates) k8s_objects = [k8s_object for k8s_object in k8s_objects if k8s_object] return k8s_objects def test_basic_deployments(self): k8s_objects = self.render_chart(&quot;TEST-BASIC&quot;, {&quot;chart&quot;: {'metadata': 'AA'}}) list_of_kind_names_tuples = [ (k8s_object['kind'], k8s_object['metadata']['name']) for k8s_object in k8s_objects ] self.assertEqual( list_of_kind_names_tuples, [ ('ServiceAccount', 'TEST-BASIC-scheduler'), ('ServiceAccount', 'TEST-BASIC-webserver'), ('ServiceAccount', 'TEST-BASIC-worker'), ('Secret', 'TEST-BASIC-postgresql'), ('Secret', 'TEST-BASIC-airflow-metadata'), ('Secret', 'TEST-BASIC-airflow-result-backend'), ('ConfigMap', 'TEST-BASIC-airflow-config'), ('ClusterRole', 'TEST-BASIC-pod-launcher-role'), ('ClusterRoleBinding', 'TEST-BASIC-pod-launcher-rolebinding'), ('Service', 'TEST-BASIC-postgresql-headless'), ('Service', 'TEST-BASIC-postgresql'), ('Service', 'TEST-BASIC-statsd'), ('Service', 'TEST-BASIC-webserver'), ('Deployment', 'TEST-BASIC-scheduler'), ('Deployment', 'TEST-BASIC-statsd'), ('Deployment', 'TEST-BASIC-webserver'), ('StatefulSet', 'TEST-BASIC-postgresql'), ('Secret', 'TEST-BASIC-fernet-key'), ('Secret', 'TEST-BASIC-redis-password'), ('Secret', 'TEST-BASIC-broker-url'), ('Job', 'TEST-BASIC-create-user'), ('Job', 'TEST-BASIC-run-airflow-migrations') ] ) self.assertEqual(OBJECT_COUNT_IN_BASIC_DEPLOYMENT, len(k8s_objects)) def test_basic_deployment_without_default_users(self): k8s_objects = self.render_chart(&quot;TEST-BASIC&quot;, {&quot;webserver&quot;: {'defaultUser': {'enabled': False}}}) list_of_kind_names_tuples = [ (k8s_object['kind'], k8s_object['metadata']['name']) for k8s_object in k8s_objects ] self.assertNotIn(('Job', 'TEST-BASIC-create-user'), list_of_kind_names_tuples) self.assertEqual(OBJECT_COUNT_IN_BASIC_DEPLOYMENT - 1, len(k8s_objects)) "><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">subprocess</span> <span class="pl-k">import</span> <span class="pl-s1">unittest</span> <span class="pl-k">from</span> <span class="pl-s1">tempfile</span> <span class="pl-k">import</span> <span class="pl-v">NamedTemporaryFile</span> <span class="pl-k">import</span> <span class="pl-s1">yaml</span> <span class="pl-k">from</span> <span class="pl-s1">typing</span> <span class="pl-k">import</span> <span class="pl-v">Dict</span>, <span class="pl-v">Optional</span> <span class="pl-v">OBJECT_COUNT_IN_BASIC_DEPLOYMENT</span> <span class="pl-c1">=</span> <span class="pl-c1">22</span> <span class="pl-k">class</span> <span class="pl-v">TestBaseChartTest</span>(<span class="pl-s1">unittest</span>.<span class="pl-v">TestCase</span>): <span class="pl-k">def</span> <span class="pl-en">render_chart</span>(<span class="pl-s1">self</span>, <span class="pl-s1">name</span>, <span class="pl-s1">values</span>: <span class="pl-v">Optional</span>[<span class="pl-v">Dict</span>] <span class="pl-c1">=</span> <span class="pl-c1">None</span>): <span class="pl-s1">values</span> <span class="pl-c1">=</span> <span class="pl-s1">values</span> <span class="pl-c1">or</span> {} <span class="pl-k">with</span> <span class="pl-v">NamedTemporaryFile</span>() <span class="pl-k">as</span> <span class="pl-s1">tmp_file</span>: <span class="pl-s1">content</span> <span class="pl-c1">=</span> <span class="pl-s1">yaml</span>.<span class="pl-en">dump</span>(<span class="pl-s1">values</span>) <span class="pl-s1">tmp_file</span>.<span class="pl-en">write</span>(<span class="pl-s1">content</span>.<span class="pl-en">encode</span>()) <span class="pl-s1">tmp_file</span>.<span class="pl-en">flush</span>() <span class="pl-s1">templates</span> <span class="pl-c1">=</span> <span class="pl-s1">subprocess</span>.<span class="pl-en">check_output</span>([<span class="pl-s">"helm"</span>, <span class="pl-s">"template"</span>, <span class="pl-s1">name</span>, <span class="pl-s">".."</span>, <span class="pl-s">'--values'</span>, <span class="pl-s1">tmp_file</span>.<span class="pl-s1">name</span>]) <span class="pl-s1">k8s_objects</span> <span class="pl-c1">=</span> <span class="pl-s1">yaml</span>.<span class="pl-en">load_all</span>(<span class="pl-s1">templates</span>) <span class="pl-s1">k8s_objects</span> <span class="pl-c1">=</span> [<span class="pl-s1">k8s_object</span> <span class="pl-k">for</span> <span class="pl-s1">k8s_object</span> <span class="pl-c1">in</span> <span class="pl-s1">k8s_objects</span> <span class="pl-k">if</span> <span class="pl-s1">k8s_object</span>] <span class="pl-k">return</span> <span class="pl-s1">k8s_objects</span> <span class="pl-k">def</span> <span class="pl-en">test_basic_deployments</span>(<span class="pl-s1">self</span>): <span class="pl-s1">k8s_objects</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">render_chart</span>(<span class="pl-s">"TEST-BASIC"</span>, {<span class="pl-s">"chart"</span>: {<span class="pl-s">'metadata'</span>: <span class="pl-s">'AA'</span>}}) <span class="pl-s1">list_of_kind_names_tuples</span> <span class="pl-c1">=</span> [ (<span class="pl-s1">k8s_object</span>[<span class="pl-s">'kind'</span>], <span class="pl-s1">k8s_object</span>[<span class="pl-s">'metadata'</span>][<span class="pl-s">'name'</span>]) <span class="pl-k">for</span> <span class="pl-s1">k8s_object</span> <span class="pl-c1">in</span> <span class="pl-s1">k8s_objects</span> ] <span class="pl-s1">self</span>.<span class="pl-en">assertEqual</span>( <span class="pl-s1">list_of_kind_names_tuples</span>, [ (<span class="pl-s">'ServiceAccount'</span>, <span class="pl-s">'TEST-BASIC-scheduler'</span>), (<span class="pl-s">'ServiceAccount'</span>, <span class="pl-s">'TEST-BASIC-webserver'</span>), (<span class="pl-s">'ServiceAccount'</span>, <span class="pl-s">'TEST-BASIC-worker'</span>), (<span class="pl-s">'Secret'</span>, <span class="pl-s">'TEST-BASIC-postgresql'</span>), (<span class="pl-s">'Secret'</span>, <span class="pl-s">'TEST-BASIC-airflow-metadata'</span>), (<span class="pl-s">'Secret'</span>, <span class="pl-s">'TEST-BASIC-airflow-result-backend'</span>), (<span class="pl-s">'ConfigMap'</span>, <span class="pl-s">'TEST-BASIC-airflow-config'</span>), (<span class="pl-s">'ClusterRole'</span>, <span class="pl-s">'TEST-BASIC-pod-launcher-role'</span>), (<span class="pl-s">'ClusterRoleBinding'</span>, <span class="pl-s">'TEST-BASIC-pod-launcher-rolebinding'</span>), (<span class="pl-s">'Service'</span>, <span class="pl-s">'TEST-BASIC-postgresql-headless'</span>), (<span class="pl-s">'Service'</span>, <span class="pl-s">'TEST-BASIC-postgresql'</span>), (<span class="pl-s">'Service'</span>, <span class="pl-s">'TEST-BASIC-statsd'</span>), (<span class="pl-s">'Service'</span>, <span class="pl-s">'TEST-BASIC-webserver'</span>), (<span class="pl-s">'Deployment'</span>, <span class="pl-s">'TEST-BASIC-scheduler'</span>), (<span class="pl-s">'Deployment'</span>, <span class="pl-s">'TEST-BASIC-statsd'</span>), (<span class="pl-s">'Deployment'</span>, <span class="pl-s">'TEST-BASIC-webserver'</span>), (<span class="pl-s">'StatefulSet'</span>, <span class="pl-s">'TEST-BASIC-postgresql'</span>), (<span class="pl-s">'Secret'</span>, <span class="pl-s">'TEST-BASIC-fernet-key'</span>), (<span class="pl-s">'Secret'</span>, <span class="pl-s">'TEST-BASIC-redis-password'</span>), (<span class="pl-s">'Secret'</span>, <span class="pl-s">'TEST-BASIC-broker-url'</span>), (<span class="pl-s">'Job'</span>, <span class="pl-s">'TEST-BASIC-create-user'</span>), (<span class="pl-s">'Job'</span>, <span class="pl-s">'TEST-BASIC-run-airflow-migrations'</span>) ] ) <span class="pl-s1">self</span>.<span class="pl-en">assertEqual</span>(<span class="pl-v">OBJECT_COUNT_IN_BASIC_DEPLOYMENT</span>, <span class="pl-en">len</span>(<span class="pl-s1">k8s_objects</span>)) <span class="pl-k">def</span> <span class="pl-en">test_basic_deployment_without_default_users</span>(<span class="pl-s1">self</span>): <span class="pl-s1">k8s_objects</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">render_chart</span>(<span class="pl-s">"TEST-BASIC"</span>, {<span class="pl-s">"webserver"</span>: {<span class="pl-s">'defaultUser'</span>: {<span class="pl-s">'enabled'</span>: <span class="pl-c1">False</span>}}}) <span class="pl-s1">list_of_kind_names_tuples</span> <span class="pl-c1">=</span> [ (<span class="pl-s1">k8s_object</span>[<span class="pl-s">'kind'</span>], <span class="pl-s1">k8s_object</span>[<span class="pl-s">'metadata'</span>][<span class="pl-s">'name'</span>]) <span class="pl-k">for</span> <span class="pl-s1">k8s_object</span> <span class="pl-c1">in</span> <span class="pl-s1">k8s_objects</span> ] <span class="pl-s1">self</span>.<span class="pl-en">assertNotIn</span>((<span class="pl-s">'Job'</span>, <span class="pl-s">'TEST-BASIC-create-user'</span>), <span class="pl-s1">list_of_kind_names_tuples</span>) <span class="pl-s1">self</span>.<span class="pl-en">assertEqual</span>(<span class="pl-v">OBJECT_COUNT_IN_BASIC_DEPLOYMENT</span> <span class="pl-c1">-</span> <span class="pl-c1">1</span>, <span class="pl-en">len</span>(<span class="pl-s1">k8s_objects</span>))</pre></div> <p dir="auto">Alternatively, we can also <a href="https://blog.gruntwork.io/automated-testing-for-kubernetes-and-helm-charts-using-terratest-a4ddc4e67344#d009" rel="nofollow">migrate to terratest</a>, which has native Helm Chart integration but uses Go-lang.</p> <p dir="auto">Now there is a question for the community. What do you think about it? Should we migrate all tests to Pytestt? Is this the only reason contributors don't add unit tests? What else can we do to encourage contributors to write tests?</p> <p dir="auto">Best regards,<br> Kamil Breguła</p>
0
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">ANSIBLE VERSION</h5> <p dir="auto">2.0.2.0</p> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">N/A</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">N/A</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Syntax that worked without a problem in 2.0.1.0 is causing an<br> templating failure in 2.0.2.0. Specifically, given this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="until: &quot;result.rc in [1, 2]&quot;"><pre class="notranslate"><code class="notranslate">until: "result.rc in [1, 2]" </code></pre></div> <p dir="auto">Ansible says:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal: [localhost]: FAILED! =&gt; {&quot;failed&quot;: true, &quot;msg&quot;: &quot;The conditional check 'result.rc in [1' failed. The error was: template error while templating string: unexpected '}', expected ']'. String: {% if result.rc in [1 %} True {% else %} False {% endif %}&quot;}"><pre class="notranslate"><code class="notranslate">fatal: [localhost]: FAILED! =&gt; {"failed": true, "msg": "The conditional check 'result.rc in [1' failed. The error was: template error while templating string: unexpected '}', expected ']'. String: {% if result.rc in [1 %} True {% else %} False {% endif %}"} </code></pre></div> <p dir="auto">It appears to be erroneously truncating the condition. This seems to<br> be unique to the <code class="notranslate">until:</code> keyword; the same syntax works just fine in,<br> e.g., a <code class="notranslate">when:</code> statement.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Run the following playbook:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- hosts: localhost gather_facts: false tasks: - shell: exit $(( RANDOM % 10 )) register: result until: &quot;result.rc in [1, 2]&quot; retries: 10 delay: 1 ignore_errors: true"><pre class="notranslate"><code class="notranslate">- hosts: localhost gather_facts: false tasks: - shell: exit $(( RANDOM % 10 )) register: result until: "result.rc in [1, 2]" retries: 10 delay: 1 ignore_errors: true </code></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY *************************************************************************** TASK [command] ***************************************************************** FAILED - RETRYING: TASK: command (9 retries left). Result was: {u'changed': True, u'end': u'2016-04-27 11:14:21.288652', u'stdout': u'', u'cmd': u'exit $(( RANDOM % 10 ))', u'rc': 0, u'start': u'2016-04-27 11:14:21.285226', u'stderr': u'', u'delta': u'0:00:00.003426', 'invocation': {'module_name': u'command', u'module_args': {u'creates': None, u'executable': None, u'chdir': None, u'_raw_params': u'exit $(( RANDOM % 10 ))', u'removes': None, u'warn': True, u'_uses_shell': True}}, 'stdout_lines': [], u'warnings': []} fatal: [localhost]: FAILED! =&gt; {&quot;changed&quot;: true, &quot;cmd&quot;: &quot;exit $(( RANDOM % 10 ))&quot;, &quot;delta&quot;: &quot;0:00:00.003918&quot;, &quot;end&quot;: &quot;2016-04-27 11:14:26.891044&quot;, &quot;failed&quot;: true, &quot;rc&quot;: 1, &quot;start&quot;: &quot;2016-04-27 11:14:26.887126&quot;, &quot;stderr&quot;: &quot;&quot;, &quot;stdout&quot;: &quot;&quot;, &quot;stdout_lines&quot;: [], &quot;warnings&quot;: []} ...ignoring PLAY RECAP ********************************************************************* localhost : ok=1 changed=0 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">PLAY *************************************************************************** TASK [command] ***************************************************************** FAILED - RETRYING: TASK: command (9 retries left). Result was: {u'changed': True, u'end': u'2016-04-27 11:14:21.288652', u'stdout': u'', u'cmd': u'exit $(( RANDOM % 10 ))', u'rc': 0, u'start': u'2016-04-27 11:14:21.285226', u'stderr': u'', u'delta': u'0:00:00.003426', 'invocation': {'module_name': u'command', u'module_args': {u'creates': None, u'executable': None, u'chdir': None, u'_raw_params': u'exit $(( RANDOM % 10 ))', u'removes': None, u'warn': True, u'_uses_shell': True}}, 'stdout_lines': [], u'warnings': []} fatal: [localhost]: FAILED! =&gt; {"changed": true, "cmd": "exit $(( RANDOM % 10 ))", "delta": "0:00:00.003918", "end": "2016-04-27 11:14:26.891044", "failed": true, "rc": 1, "start": "2016-04-27 11:14:26.887126", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []} ...ignoring PLAY RECAP ********************************************************************* localhost : ok=1 changed=0 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="PLAY [localhost] *************************************************************** TASK [command] ***************************************************************** fatal: [localhost]: FAILED! =&gt; {&quot;failed&quot;: true, &quot;msg&quot;: &quot;The conditional check 'result.rc in [1' failed. The error was: template error while templating string: unexpected '}', expected ']'. String: {% if result.rc in [1 %} True {% else %} False {% endif %}&quot;} ...ignoring PLAY RECAP ********************************************************************* localhost : ok=1 changed=0 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">PLAY [localhost] *************************************************************** TASK [command] ***************************************************************** fatal: [localhost]: FAILED! =&gt; {"failed": true, "msg": "The conditional check 'result.rc in [1' failed. The error was: template error while templating string: unexpected '}', expected ']'. String: {% if result.rc in [1 %} True {% else %} False {% endif %}"} ...ignoring PLAY RECAP ********************************************************************* localhost : ok=1 changed=0 unreachable=0 failed=0 </code></pre></div>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">interfaces_file</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.4.0.0 config file = /Users/bwatson/Projects/[removed]/ansible.cfg configured module search path = [u'/Users/bwatson/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /Users/bwatson/Projects/[removed]/venv/lib/python2.7/site-packages/ansible executable location = /Users/bwatson/Projects/[removed]/venv/bin/ansible python version = 2.7.12 (default, Jun 29 2016, 14:05:02) [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)]"><pre class="notranslate"><code class="notranslate">ansible 2.4.0.0 config file = /Users/bwatson/Projects/[removed]/ansible.cfg configured module search path = [u'/Users/bwatson/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /Users/bwatson/Projects/[removed]/venv/lib/python2.7/site-packages/ansible executable location = /Users/bwatson/Projects/[removed]/venv/bin/ansible python version = 2.7.12 (default, Jun 29 2016, 14:05:02) [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Host: OS X Python 2.7.12<br> Target: Cumulus Linux 3.1.1</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Using the interfaces_file task causes an error: ValueError: need more than 1 value to unpack</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Install ansible 2.4.0, run the example task shown in interfaces_file documentation.</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="--- - hosts: all become: true gather_facts: true tasks: - interfaces_file: dest: /etc/network/interfaces iface: eth1 option: mtu value: 8000 backup: yes state: present register: eth1_cfg"><pre class="notranslate">--- - <span class="pl-ent">hosts</span>: <span class="pl-s">all</span> <span class="pl-ent">become</span>: <span class="pl-c1">true</span> <span class="pl-ent">gather_facts</span>: <span class="pl-c1">true</span> <span class="pl-ent">tasks</span>: - <span class="pl-ent">interfaces_file</span>: <span class="pl-ent">dest</span>: <span class="pl-s">/etc/network/interfaces</span> <span class="pl-ent">iface</span>: <span class="pl-s">eth1</span> <span class="pl-ent">option</span>: <span class="pl-s">mtu</span> <span class="pl-ent">value</span>: <span class="pl-c1">8000</span> <span class="pl-ent">backup</span>: <span class="pl-s">yes</span> <span class="pl-ent">state</span>: <span class="pl-s">present</span> <span class="pl-ent">register</span>: <span class="pl-s">eth1_cfg</span></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">I would expect the mtu for eth1 to be changed to 8000.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">An error is raised and the task fails. (This happens for any option. I tested multiple)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-playbook interfaces_test.yml -i 172.20.116.11, -u admin -vv ansible-playbook 2.4.0.0 config file = /Users/bwatson/Projects/[removed]/ansible.cfg configured module search path = [u'/Users/bwatson/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /Users/bwatson/Projects/[removed]/venv/lib/python2.7/site-packages/ansible executable location = /Users/bwatson/Projects/[removed]/venv/bin/ansible-playbook python version = 2.7.12 (default, Jun 29 2016, 14:05:02) [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] Using /Users/bwatson/Projects/[removed]/ansible.cfg as config file PLAYBOOK: interfaces_test.yml *************************************************************************************************** 1 plays in interfaces_test.yml PLAY [all] ********************************************************************************************************************** TASK [Gathering Facts] ********************************************************************************************************** ok: [172.20.116.11] META: ran handlers TASK [interfaces_file] ********************************************************************************************************** task path: /Users/bwatson/Projects/[removed]/interfaces_test.yml:17 fatal: [172.20.116.11]: FAILED! =&gt; {&quot;changed&quot;: false, &quot;failed&quot;: true, &quot;module_stderr&quot;: &quot;Shared connection to 172.20.116.11 closed.\r\n&quot;, &quot;module_stdout&quot;: &quot;Traceback (most recent call last):\r\n File \&quot;/tmp/ansible_GxJ8k1/ansible_module_interfaces_file.py\&quot;, line 385, in &lt;module&gt;\r\n main()\r\n File \&quot;/tmp/ansible_GxJ8k1/ansible_module_interfaces_file.py\&quot;, line 366, in main\r\n lines, ifaces = read_interfaces_file(module, dest)\r\n File \&quot;/tmp/ansible_GxJ8k1/ansible_module_interfaces_file.py\&quot;, line 177, in read_interfaces_file\r\n return read_interfaces_lines(module, f)\r\n File \&quot;/tmp/ansible_GxJ8k1/ansible_module_interfaces_file.py\&quot;, line 211, in read_interfaces_lines\r\n iface_name, address_family_name, method_name = words[1:4]\r\nValueError: need more than 1 value to unpack\r\n&quot;, &quot;msg&quot;: &quot;MODULE FAILURE&quot;, &quot;rc&quot;: 0} PLAY RECAP ********************************************************************************************************************** 172.20.116.11 : ok=1 changed=0 unreachable=0 failed=1"><pre class="notranslate"><code class="notranslate">$ ansible-playbook interfaces_test.yml -i 172.20.116.11, -u admin -vv ansible-playbook 2.4.0.0 config file = /Users/bwatson/Projects/[removed]/ansible.cfg configured module search path = [u'/Users/bwatson/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /Users/bwatson/Projects/[removed]/venv/lib/python2.7/site-packages/ansible executable location = /Users/bwatson/Projects/[removed]/venv/bin/ansible-playbook python version = 2.7.12 (default, Jun 29 2016, 14:05:02) [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] Using /Users/bwatson/Projects/[removed]/ansible.cfg as config file PLAYBOOK: interfaces_test.yml *************************************************************************************************** 1 plays in interfaces_test.yml PLAY [all] ********************************************************************************************************************** TASK [Gathering Facts] ********************************************************************************************************** ok: [172.20.116.11] META: ran handlers TASK [interfaces_file] ********************************************************************************************************** task path: /Users/bwatson/Projects/[removed]/interfaces_test.yml:17 fatal: [172.20.116.11]: FAILED! =&gt; {"changed": false, "failed": true, "module_stderr": "Shared connection to 172.20.116.11 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_GxJ8k1/ansible_module_interfaces_file.py\", line 385, in &lt;module&gt;\r\n main()\r\n File \"/tmp/ansible_GxJ8k1/ansible_module_interfaces_file.py\", line 366, in main\r\n lines, ifaces = read_interfaces_file(module, dest)\r\n File \"/tmp/ansible_GxJ8k1/ansible_module_interfaces_file.py\", line 177, in read_interfaces_file\r\n return read_interfaces_lines(module, f)\r\n File \"/tmp/ansible_GxJ8k1/ansible_module_interfaces_file.py\", line 211, in read_interfaces_lines\r\n iface_name, address_family_name, method_name = words[1:4]\r\nValueError: need more than 1 value to unpack\r\n", "msg": "MODULE FAILURE", "rc": 0} PLAY RECAP ********************************************************************************************************************** 172.20.116.11 : ok=1 changed=0 unreachable=0 failed=1 </code></pre></div>
0
<p dir="auto">Describe what you were doing when the bug occurred:<br> 1.<br> 2.<br> 3.</p> <hr> <h2 dir="auto">Please do not remove the text below this line</h2> <p dir="auto">DevTools version: 4.3.0-3e0967783</p> <p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159833<br> at Map.forEach ()<br> at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159779)<br> at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:160302)<br> at Sl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:322998)<br> at ii (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:59363)<br> at qi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:67999)<br> at Sl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:108660)<br> at Ic (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:99973)<br> at Tc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:99898)</p> <p dir="auto">Component stack: in Sl<br> in div<br> in div<br> in div<br> in vo<br> in Unknown<br> in n<br> in Unknown<br> in div<br> in div<br> in Qi<br> in Ve<br> in nn<br> in Da<br> in Yc</p>
<p dir="auto">PLEASE INCLUDE REPRO INSTRUCTIONS AND EXAMPLE CODE</p> <p dir="auto">I got this error when I click 'Ranked'.</p> <hr> <h2 dir="auto">Please do not remove the text below this line</h2> <p dir="auto">DevTools version: 4.0.4-3c6a219</p> <p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11441<br> at Map.forEach ()<br> at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11387)<br> at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11920)<br> at _i (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:277123)<br> at Ha (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:55890)<br> at Xl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:98280)<br> at Hl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:84255)<br> at Fl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:81285)<br> at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:25363</p> <p dir="auto">Component stack: in _i<br> in div<br> in div<br> in div<br> in Or<br> in Unknown<br> in n<br> in Unknown<br> in div<br> in div<br> in Ha<br> in le<br> in ve<br> in ko<br> in Ul</p>
1
<p dir="auto">The present update API has option to upsert document when it does not exist. The result is something like:<br> {"ok":true,"_index":"metadata","_type":"load","_id":"ind1","_version":1}</p> <p dir="auto">It does not tell us whether the document existed, or was upserted or fields were updated. If in the result we can have the following tunable via the update api:</p> <ul dir="auto"> <li>Difference between old and new values</li> <li>Whether document was upserted or updated</li> <li>List of fields that were updated, or that existed before</li> </ul> <p dir="auto">I'm not sure if this feature could be implemented as a plugin or by some other way.</p>
<p dir="auto">Hi,</p> <p dir="auto">I'm testing my cluster and cycling in new nodes and cycling out old ones however after waiting a couple of hours shards and replicas haven't sorted themselves out. When listing the status of all shards via GET /cat/_shards I receive...</p> <p dir="auto">{<br> "error": {<br> "root_cause": [<br> {<br> "type": "illegal_argument_exception",<br> "reason": "Multiple entries with same key: [cloudtrail-2015.10.16][0], node[2yaILlgNTX24_lrlf77gIg], [P], v[25], s[STARTED], a[id=wtXiTTw9T4C9KHucOIQKGA]=org.elasticsearch.action.admin.indices.stats.CommonStats@7968034a and [cloudtrail-2015.10.16][0], node[2yaILlgNTX24_lrlf77gIg], [P], v[25], s[STARTED], a[id=wtXiTTw9T4C9KHucOIQKGA]=org.elasticsearch.action.admin.indices.stats.CommonStats@49422abd"<br> }<br> ],<br> "type": "illegal_argument_exception",<br> "reason": "Multiple entries with same key: [cloudtrail-2015.10.16][0], node[2yaILlgNTX24_lrlf77gIg], [P], v[25], s[STARTED], a[id=wtXiTTw9T4C9KHucOIQKGA]=org.elasticsearch.action.admin.indices.stats.CommonStats@7968034a and [cloudtrail-2015.10.16][0], node[2yaILlgNTX24_lrlf77gIg], [P], v[25], s[STARTED], a[id=wtXiTTw9T4C9KHucOIQKGA]=org.elasticsearch.action.admin.indices.stats.CommonStats@49422abd"<br> },<br> "status": 400<br> }</p> <p dir="auto">Any ideas?</p>
0
<p dir="auto"><a id="user-content-orga923661"></a></p> <h1 dir="auto">System information (version)</h1> <ul dir="auto"> <li>OpenCV =&gt; master</li> <li>Operating System / Platform =&gt; Manjaro Linux (testing)</li> <li>Compiler =&gt; gcc 11.2.0</li> </ul> <h1 dir="auto">Detailed description</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ 25%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/halide_scheduler.cpp.o In file included from opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg.cpp:50: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:542:5: error: ‘AVBSFContext’ does not name a type; did you mean ‘AVIOContext’? 542 | AVBSFContext* bsfc; | ^~~~~~~~~~~~ | AVIOContext opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘void CvCapture_FFMPEG::init()’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:589:5: error: ‘bsfc’ was not declared in this scope 589 | bsfc = NULL; | ^~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘void CvCapture_FFMPEG::close()’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:620:34: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 620 | avcodec_close( video_st-&gt;codec ); | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:655:9: error: ‘bsfc’ was not declared in this scope 655 | if (bsfc) | ^~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:658:9: error: ‘av_bsf_free’ was not declared in this scope; did you mean ‘av_opt_free’? 658 | av_bsf_free(&amp;bsfc); | ^~~~~~~~~~~ | av_opt_free opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: At global scope: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:803:39: error: ‘AVLockOp’ has not been declared 803 | static int LockCallBack(void **mutex, AVLockOp op) | ^~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In function ‘int LockCallBack(void**, int)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:808:14: error: ‘AV_LOCK_CREATE’ was not declared in this scope; did you mean ‘AV_LOG_TRACE’? 808 | case AV_LOCK_CREATE: | ^~~~~~~~~~~~~~ | AV_LOG_TRACE opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:817:14: error: ‘AV_LOCK_OBTAIN’ was not declared in this scope 817 | case AV_LOCK_OBTAIN: | ^~~~~~~~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:821:14: error: ‘AV_LOCK_RELEASE’ was not declared in this scope 821 | case AV_LOCK_RELEASE: | ^~~~~~~~~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:825:14: error: ‘AV_LOCK_DESTROY’ was not declared in this scope 825 | case AV_LOCK_DESTROY: | ^~~~~~~~~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In constructor ‘InternalFFMpegRegister::InternalFFMpegRegister()’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:885:9: error: ‘av_register_all’ was not declared in this scope 885 | av_register_all(); | ^~~~~~~~~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:888:9: error: ‘av_lockmgr_register’ was not declared in this scope 888 | av_lockmgr_register(&amp;LockCallBack); | ^~~~~~~~~~~~~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In destructor ‘InternalFFMpegRegister::~InternalFFMpegRegister()’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:892:9: error: ‘av_lockmgr_register’ was not declared in this scope 892 | av_lockmgr_register(NULL); | ^~~~~~~~~~~~~~~~~~~ In file included from opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg.cpp:50: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::open(const char*, const cv::VideoCaptureParameters&amp;)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1004:42: error: invalid conversion from ‘const AVInputFormat*’ to ‘AVInputFormat*’ [-fpermissive] 1004 | input_format = av_find_input_format(entry-&gt;value); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | | | const AVInputFormat* opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1023:47: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1023 | AVCodecContext* enc = ic-&gt;streams[i]-&gt;codec; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1109:53: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive] 1109 | codec = avcodec_find_decoder(enc-&gt;codec_id); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ | | | const AVCodec* opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1118:61: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive] 1118 | codec = avcodec_find_decoder_by_name(video_codec_param-&gt;value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const AVCodec* opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::processRawPacket()’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1238:19: error: ‘AVBitStreamFilter’ does not name a type 1238 | const AVBitStreamFilter * bsf = av_bsf_get_by_name(filterName); | ^~~~~~~~~~~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1239:18: error: ‘bsf’ was not declared in this scope 1239 | if (!bsf) | ^~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1244:36: error: ‘bsf’ was not declared in this scope 1244 | int err = av_bsf_alloc(bsf, &amp;bsfc); | ^~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1244:42: error: ‘bsfc’ was not declared in this scope 1244 | int err = av_bsf_alloc(bsf, &amp;bsfc); | ^~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1244:23: error: ‘av_bsf_alloc’ was not declared in this scope; did you mean ‘av_max_alloc’? 1244 | int err = av_bsf_alloc(bsf, &amp;bsfc); | ^~~~~~~~~~~~ | av_max_alloc opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1251:19: error: ‘av_bsf_init’ was not declared in this scope; did you mean ‘av_uninit’? 1251 | err = av_bsf_init(bsfc); | ^~~~~~~~~~~ | av_uninit opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1267:9: error: ‘bsfc’ was not declared in this scope 1267 | if (bsfc) | ^~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1275:19: error: ‘av_bsf_send_packet’ was not declared in this scope; did you mean ‘avcodec_send_packet’? 1275 | int err = av_bsf_send_packet(bsfc, &amp;packet); | ^~~~~~~~~~~~~~~~~~ | avcodec_send_packet [ 25%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/inpainting.cpp.o opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1281:15: error: ‘av_bsf_receive_packet’ was not declared in this scope; did you mean ‘avcodec_receive_packet’? 1281 | err = av_bsf_receive_packet(bsfc, &amp;packet_filtered); | ^~~~~~~~~~~~~~~~~~~~~ | avcodec_receive_packet opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::grabFrame()’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1325:45: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1325 | valid = avcodec_receive_frame(video_st-&gt;codec, picture) &gt;= 0; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1375:43: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1375 | if (avcodec_send_packet(video_st-&gt;codec, &amp;packet) &lt; 0) { | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1378:47: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1378 | ret = avcodec_receive_frame(video_st-&gt;codec, picture); | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1387:40: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘pkt_pts’; did you mean ‘pkt_dts’? 1387 | picture_pts = picture-&gt;pkt_pts != AV_NOPTS_VALUE_ &amp;&amp; picture-&gt;pkt_pts != 0 ? picture-&gt;pkt_pts : picture-&gt;pkt_dts; | ^~~~~~~ | pkt_dts opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1387:79: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘pkt_pts’; did you mean ‘pkt_dts’? 1387 | picture_pts = picture-&gt;pkt_pts != AV_NOPTS_VALUE_ &amp;&amp; picture-&gt;pkt_pts != 0 ? picture-&gt;pkt_pts : picture-&gt;pkt_dts; | ^~~~~~~ | pkt_dts opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1387:103: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘pkt_pts’; did you mean ‘pkt_dts’? 1387 | picture_pts = picture-&gt;pkt_pts != AV_NOPTS_VALUE_ &amp;&amp; picture-&gt;pkt_pts != 0 ? picture-&gt;pkt_pts : picture-&gt;pkt_dts; | ^~~~~~~ | pkt_dts opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::retrieveFrame(int, unsigned char**, int*, int*, int*, int*)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1425:27: error: ‘bsfc’ was not declared in this scope 1425 | AVPacket&amp; p = bsfc ? packet_filtered : packet; | ^~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1431:48: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1431 | *data = ic-&gt;streams[video_stream]-&gt;codec-&gt;extradata; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1432:48: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1432 | *step = ic-&gt;streams[video_stream]-&gt;codec-&gt;extradata_size; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1457:34: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1457 | frame.width != video_st-&gt;codec-&gt;width || | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1458:35: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1458 | frame.height != video_st-&gt;codec-&gt;height || | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1463:38: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1463 | int buffer_width = video_st-&gt;codec-&gt;coded_width, buffer_height = video_st-&gt;codec-&gt;coded_height; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1467:31: error: ‘buffer_height’ was not declared in this scope; did you mean ‘buffer_width’? 1467 | buffer_width, buffer_height, | ^~~~~~~~~~~~~ | buffer_width opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1497:33: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1497 | frame.width = video_st-&gt;codec-&gt;width; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1498:34: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1498 | frame.height = video_st-&gt;codec-&gt;height; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1508:26: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1508 | 0, video_st-&gt;codec-&gt;coded_height, | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::retrieveHWFrame(cv::OutputArray)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1537:44: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1537 | return hw_copy_frame_to_umat(video_st-&gt;codec-&gt;hw_device_ctx, picture, output); | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘double CvCapture_FFMPEG::getProperty(int) const’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1573:30: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1573 | codec_id = video_st-&gt;codec-&gt;codec_id; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1574:40: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1574 | codec_tag = (double) video_st-&gt;codec-&gt;codec_tag; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1594:43: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1594 | AVPixelFormat pix_fmt = video_st-&gt;codec-&gt;pix_fmt; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1603:29: error: ‘bsfc’ was not declared in this scope 1603 | const AVPacket&amp; p = bsfc ? packet_filtered : packet; | ^~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘double CvCapture_FFMPEG::get_fps() const’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1674:52: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1674 | fps = 1.0 / r2d(ic-&gt;streams[video_stream]-&gt;codec-&gt;time_base); | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘void CvCapture_FFMPEG::seek(int64_t)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1731:58: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1731 | avcodec_flush_buffers(ic-&gt;streams[video_stream]-&gt;codec); | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In function ‘bool icv_configure_video_stream_FFMPEG(AVFormatContext*, AVStream*, const AVCodec*, int, int, int, double, AVPixelFormat)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1966:29: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1966 | AVCodecContext *c = st-&gt;codec; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1974:5: error: ‘avcodec_get_context_defaults3’ was not declared in this scope 1974 | avcodec_get_context_defaults3(c, codec); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In function ‘int icv_av_write_frame_FFMPEG(AVFormatContext*, AVStream*, uint8_t*, uint32_t, AVFrame*, int)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2081:35: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2081 | AVCodecContext* c = video_st-&gt;codec; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvVideoWriter_FFMPEG::writeFrame(const unsigned char*, int, int, int, int, int)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2180:35: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2180 | AVCodecContext* c = video_st-&gt;codec; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2258:19: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2258 | if (video_st-&gt;codec-&gt;hw_device_ctx) { | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2265:45: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2265 | if (av_hwframe_get_buffer(video_st-&gt;codec-&gt;hw_frames_ctx, hw_frame, 0) &lt; 0) { | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvVideoWriter_FFMPEG::writeHWFrame(cv::InputArray)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2294:20: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2294 | if (!video_st-&gt;codec-&gt;hw_frames_ctx) | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2302:41: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2302 | if (av_hwframe_get_buffer(video_st-&gt;codec-&gt;hw_frames_ctx, hw_frame, 0) &lt; 0) { | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2308:42: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2308 | if (!hw_copy_umat_to_frame(video_st-&gt;codec-&gt;hw_device_ctx, input, hw_frame)) { | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘void CvVideoWriter_FFMPEG::close()’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2383:19: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2383 | if( video_st-&gt;codec-&gt;pix_fmt != input_pix_fmt) | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2395:29: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2395 | avcodec_close(video_st-&gt;codec); | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvVideoWriter_FFMPEG::open(const char*, int, double, int, int, const cv::VideoWriterParameters&amp;)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2522:26: error: invalid conversion from ‘const AVOutputFormat*’ to ‘AVOutputFormat*’ [-fpermissive] 2522 | fmt = av_guess_format(NULL, filename, NULL); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ | | | const AVOutputFormat* opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2602:18: error: ‘AVFormatContext’ {aka ‘struct AVFormatContext’} has no member named ‘filename’ 2602 | snprintf(oc-&gt;filename, sizeof(oc-&gt;filename), &quot;%s&quot;, filename); | ^~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2602:39: error: ‘AVFormatContext’ {aka ‘struct AVFormatContext’} has no member named ‘filename’ 2602 | snprintf(oc-&gt;filename, sizeof(oc-&gt;filename), &quot;%s&quot;, filename); | ^~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2718:58: error: ‘AVFormatContext’ {aka ‘struct AVFormatContext’} has no member named ‘filename’ 2718 | codec_id = av_guess_codec(oc-&gt;oformat, NULL, oc-&gt;filename, NULL, AVMEDIA_TYPE_VIDEO); | ^~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2736:35: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2736 | AVCodecContext *c = video_st-&gt;codec; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2769:41: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive] 2769 | codec = avcodec_find_encoder(codec_id); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const AVCodec*"><pre class="notranslate"><code class="notranslate">[ 25%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/halide_scheduler.cpp.o In file included from opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg.cpp:50: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:542:5: error: ‘AVBSFContext’ does not name a type; did you mean ‘AVIOContext’? 542 | AVBSFContext* bsfc; | ^~~~~~~~~~~~ | AVIOContext opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘void CvCapture_FFMPEG::init()’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:589:5: error: ‘bsfc’ was not declared in this scope 589 | bsfc = NULL; | ^~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘void CvCapture_FFMPEG::close()’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:620:34: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 620 | avcodec_close( video_st-&gt;codec ); | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:655:9: error: ‘bsfc’ was not declared in this scope 655 | if (bsfc) | ^~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:658:9: error: ‘av_bsf_free’ was not declared in this scope; did you mean ‘av_opt_free’? 658 | av_bsf_free(&amp;bsfc); | ^~~~~~~~~~~ | av_opt_free opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: At global scope: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:803:39: error: ‘AVLockOp’ has not been declared 803 | static int LockCallBack(void **mutex, AVLockOp op) | ^~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In function ‘int LockCallBack(void**, int)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:808:14: error: ‘AV_LOCK_CREATE’ was not declared in this scope; did you mean ‘AV_LOG_TRACE’? 808 | case AV_LOCK_CREATE: | ^~~~~~~~~~~~~~ | AV_LOG_TRACE opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:817:14: error: ‘AV_LOCK_OBTAIN’ was not declared in this scope 817 | case AV_LOCK_OBTAIN: | ^~~~~~~~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:821:14: error: ‘AV_LOCK_RELEASE’ was not declared in this scope 821 | case AV_LOCK_RELEASE: | ^~~~~~~~~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:825:14: error: ‘AV_LOCK_DESTROY’ was not declared in this scope 825 | case AV_LOCK_DESTROY: | ^~~~~~~~~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In constructor ‘InternalFFMpegRegister::InternalFFMpegRegister()’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:885:9: error: ‘av_register_all’ was not declared in this scope 885 | av_register_all(); | ^~~~~~~~~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:888:9: error: ‘av_lockmgr_register’ was not declared in this scope 888 | av_lockmgr_register(&amp;LockCallBack); | ^~~~~~~~~~~~~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In destructor ‘InternalFFMpegRegister::~InternalFFMpegRegister()’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:892:9: error: ‘av_lockmgr_register’ was not declared in this scope 892 | av_lockmgr_register(NULL); | ^~~~~~~~~~~~~~~~~~~ In file included from opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg.cpp:50: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::open(const char*, const cv::VideoCaptureParameters&amp;)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1004:42: error: invalid conversion from ‘const AVInputFormat*’ to ‘AVInputFormat*’ [-fpermissive] 1004 | input_format = av_find_input_format(entry-&gt;value); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | | | const AVInputFormat* opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1023:47: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1023 | AVCodecContext* enc = ic-&gt;streams[i]-&gt;codec; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1109:53: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive] 1109 | codec = avcodec_find_decoder(enc-&gt;codec_id); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ | | | const AVCodec* opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1118:61: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive] 1118 | codec = avcodec_find_decoder_by_name(video_codec_param-&gt;value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const AVCodec* opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::processRawPacket()’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1238:19: error: ‘AVBitStreamFilter’ does not name a type 1238 | const AVBitStreamFilter * bsf = av_bsf_get_by_name(filterName); | ^~~~~~~~~~~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1239:18: error: ‘bsf’ was not declared in this scope 1239 | if (!bsf) | ^~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1244:36: error: ‘bsf’ was not declared in this scope 1244 | int err = av_bsf_alloc(bsf, &amp;bsfc); | ^~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1244:42: error: ‘bsfc’ was not declared in this scope 1244 | int err = av_bsf_alloc(bsf, &amp;bsfc); | ^~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1244:23: error: ‘av_bsf_alloc’ was not declared in this scope; did you mean ‘av_max_alloc’? 1244 | int err = av_bsf_alloc(bsf, &amp;bsfc); | ^~~~~~~~~~~~ | av_max_alloc opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1251:19: error: ‘av_bsf_init’ was not declared in this scope; did you mean ‘av_uninit’? 1251 | err = av_bsf_init(bsfc); | ^~~~~~~~~~~ | av_uninit opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1267:9: error: ‘bsfc’ was not declared in this scope 1267 | if (bsfc) | ^~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1275:19: error: ‘av_bsf_send_packet’ was not declared in this scope; did you mean ‘avcodec_send_packet’? 1275 | int err = av_bsf_send_packet(bsfc, &amp;packet); | ^~~~~~~~~~~~~~~~~~ | avcodec_send_packet [ 25%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/inpainting.cpp.o opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1281:15: error: ‘av_bsf_receive_packet’ was not declared in this scope; did you mean ‘avcodec_receive_packet’? 1281 | err = av_bsf_receive_packet(bsfc, &amp;packet_filtered); | ^~~~~~~~~~~~~~~~~~~~~ | avcodec_receive_packet opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::grabFrame()’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1325:45: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1325 | valid = avcodec_receive_frame(video_st-&gt;codec, picture) &gt;= 0; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1375:43: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1375 | if (avcodec_send_packet(video_st-&gt;codec, &amp;packet) &lt; 0) { | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1378:47: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1378 | ret = avcodec_receive_frame(video_st-&gt;codec, picture); | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1387:40: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘pkt_pts’; did you mean ‘pkt_dts’? 1387 | picture_pts = picture-&gt;pkt_pts != AV_NOPTS_VALUE_ &amp;&amp; picture-&gt;pkt_pts != 0 ? picture-&gt;pkt_pts : picture-&gt;pkt_dts; | ^~~~~~~ | pkt_dts opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1387:79: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘pkt_pts’; did you mean ‘pkt_dts’? 1387 | picture_pts = picture-&gt;pkt_pts != AV_NOPTS_VALUE_ &amp;&amp; picture-&gt;pkt_pts != 0 ? picture-&gt;pkt_pts : picture-&gt;pkt_dts; | ^~~~~~~ | pkt_dts opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1387:103: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘pkt_pts’; did you mean ‘pkt_dts’? 1387 | picture_pts = picture-&gt;pkt_pts != AV_NOPTS_VALUE_ &amp;&amp; picture-&gt;pkt_pts != 0 ? picture-&gt;pkt_pts : picture-&gt;pkt_dts; | ^~~~~~~ | pkt_dts opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::retrieveFrame(int, unsigned char**, int*, int*, int*, int*)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1425:27: error: ‘bsfc’ was not declared in this scope 1425 | AVPacket&amp; p = bsfc ? packet_filtered : packet; | ^~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1431:48: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1431 | *data = ic-&gt;streams[video_stream]-&gt;codec-&gt;extradata; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1432:48: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1432 | *step = ic-&gt;streams[video_stream]-&gt;codec-&gt;extradata_size; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1457:34: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1457 | frame.width != video_st-&gt;codec-&gt;width || | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1458:35: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1458 | frame.height != video_st-&gt;codec-&gt;height || | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1463:38: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1463 | int buffer_width = video_st-&gt;codec-&gt;coded_width, buffer_height = video_st-&gt;codec-&gt;coded_height; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1467:31: error: ‘buffer_height’ was not declared in this scope; did you mean ‘buffer_width’? 1467 | buffer_width, buffer_height, | ^~~~~~~~~~~~~ | buffer_width opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1497:33: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1497 | frame.width = video_st-&gt;codec-&gt;width; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1498:34: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1498 | frame.height = video_st-&gt;codec-&gt;height; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1508:26: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1508 | 0, video_st-&gt;codec-&gt;coded_height, | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::retrieveHWFrame(cv::OutputArray)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1537:44: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1537 | return hw_copy_frame_to_umat(video_st-&gt;codec-&gt;hw_device_ctx, picture, output); | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘double CvCapture_FFMPEG::getProperty(int) const’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1573:30: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1573 | codec_id = video_st-&gt;codec-&gt;codec_id; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1574:40: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1574 | codec_tag = (double) video_st-&gt;codec-&gt;codec_tag; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1594:43: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1594 | AVPixelFormat pix_fmt = video_st-&gt;codec-&gt;pix_fmt; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1603:29: error: ‘bsfc’ was not declared in this scope 1603 | const AVPacket&amp; p = bsfc ? packet_filtered : packet; | ^~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘double CvCapture_FFMPEG::get_fps() const’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1674:52: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1674 | fps = 1.0 / r2d(ic-&gt;streams[video_stream]-&gt;codec-&gt;time_base); | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘void CvCapture_FFMPEG::seek(int64_t)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1731:58: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1731 | avcodec_flush_buffers(ic-&gt;streams[video_stream]-&gt;codec); | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In function ‘bool icv_configure_video_stream_FFMPEG(AVFormatContext*, AVStream*, const AVCodec*, int, int, int, double, AVPixelFormat)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1966:29: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 1966 | AVCodecContext *c = st-&gt;codec; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1974:5: error: ‘avcodec_get_context_defaults3’ was not declared in this scope 1974 | avcodec_get_context_defaults3(c, codec); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In function ‘int icv_av_write_frame_FFMPEG(AVFormatContext*, AVStream*, uint8_t*, uint32_t, AVFrame*, int)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2081:35: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2081 | AVCodecContext* c = video_st-&gt;codec; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvVideoWriter_FFMPEG::writeFrame(const unsigned char*, int, int, int, int, int)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2180:35: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2180 | AVCodecContext* c = video_st-&gt;codec; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2258:19: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2258 | if (video_st-&gt;codec-&gt;hw_device_ctx) { | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2265:45: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2265 | if (av_hwframe_get_buffer(video_st-&gt;codec-&gt;hw_frames_ctx, hw_frame, 0) &lt; 0) { | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvVideoWriter_FFMPEG::writeHWFrame(cv::InputArray)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2294:20: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2294 | if (!video_st-&gt;codec-&gt;hw_frames_ctx) | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2302:41: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2302 | if (av_hwframe_get_buffer(video_st-&gt;codec-&gt;hw_frames_ctx, hw_frame, 0) &lt; 0) { | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2308:42: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2308 | if (!hw_copy_umat_to_frame(video_st-&gt;codec-&gt;hw_device_ctx, input, hw_frame)) { | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘void CvVideoWriter_FFMPEG::close()’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2383:19: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2383 | if( video_st-&gt;codec-&gt;pix_fmt != input_pix_fmt) | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2395:29: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2395 | avcodec_close(video_st-&gt;codec); | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvVideoWriter_FFMPEG::open(const char*, int, double, int, int, const cv::VideoWriterParameters&amp;)’: opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2522:26: error: invalid conversion from ‘const AVOutputFormat*’ to ‘AVOutputFormat*’ [-fpermissive] 2522 | fmt = av_guess_format(NULL, filename, NULL); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ | | | const AVOutputFormat* opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2602:18: error: ‘AVFormatContext’ {aka ‘struct AVFormatContext’} has no member named ‘filename’ 2602 | snprintf(oc-&gt;filename, sizeof(oc-&gt;filename), "%s", filename); | ^~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2602:39: error: ‘AVFormatContext’ {aka ‘struct AVFormatContext’} has no member named ‘filename’ 2602 | snprintf(oc-&gt;filename, sizeof(oc-&gt;filename), "%s", filename); | ^~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2718:58: error: ‘AVFormatContext’ {aka ‘struct AVFormatContext’} has no member named ‘filename’ 2718 | codec_id = av_guess_codec(oc-&gt;oformat, NULL, oc-&gt;filename, NULL, AVMEDIA_TYPE_VIDEO); | ^~~~~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2736:35: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 2736 | AVCodecContext *c = video_st-&gt;codec; | ^~~~~ opencv-git/src/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2769:41: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive] 2769 | codec = avcodec_find_encoder(codec_id); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const AVCodec* </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cd opencv-git/build cmake -DWITH_OPENCL=ON \ -DWITH_OPENGL=ON \ -DWITH_TBB=ON \ -DOpenGL_GL_PREFERENCE=GLVND \ -DBUILD_WITH_DEBUG_INFO=OFF \ -DBUILD_TESTS=OFF \ -DBUILD_PERF_TESTS=OFF \ -DBUILD_EXAMPLES=ON \ -DINSTALL_C_EXAMPLES=ON \ -DINSTALL_PYTHON_EXAMPLES=ON \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCUDA_NVCC_FLAGS=&quot;--expt-relaxed-constexpr&quot; \ -DOPENCV_SKIP_PYTHON_LOADER=ON \ -DOPENCV_EXTRA_MODULES_PATH=&quot;$srcdir&quot;/opencv_contrib/modules \ -DLAPACK_LIBRARIES=&quot;/usr/lib/liblapack.so;/usr/lib/libblas.so;/usr/lib/libcblas.so&quot; \ -DLAPACK_CBLAS_H=&quot;/usr/include/cblas.h&quot; \ -DLAPACK_LAPACKE_H=&quot;/usr/include/lapacke.h&quot; \ -DOPENCV_GENERATE_PKGCONFIG=ON \ -DOPENCV_ENABLE_NOFREE=ON \ -DOPENCV_JNI_INSTALL_PATH=lib \ -DOPENCV_GENERATE_SETUPVARS=OFF \ .. make -j $(expr $(nproc) - 2)"><pre class="notranslate"><code class="notranslate">cd opencv-git/build cmake -DWITH_OPENCL=ON \ -DWITH_OPENGL=ON \ -DWITH_TBB=ON \ -DOpenGL_GL_PREFERENCE=GLVND \ -DBUILD_WITH_DEBUG_INFO=OFF \ -DBUILD_TESTS=OFF \ -DBUILD_PERF_TESTS=OFF \ -DBUILD_EXAMPLES=ON \ -DINSTALL_C_EXAMPLES=ON \ -DINSTALL_PYTHON_EXAMPLES=ON \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCUDA_NVCC_FLAGS="--expt-relaxed-constexpr" \ -DOPENCV_SKIP_PYTHON_LOADER=ON \ -DOPENCV_EXTRA_MODULES_PATH="$srcdir"/opencv_contrib/modules \ -DLAPACK_LIBRARIES="/usr/lib/liblapack.so;/usr/lib/libblas.so;/usr/lib/libcblas.so" \ -DLAPACK_CBLAS_H="/usr/include/cblas.h" \ -DLAPACK_LAPACKE_H="/usr/include/lapacke.h" \ -DOPENCV_GENERATE_PKGCONFIG=ON \ -DOPENCV_ENABLE_NOFREE=ON \ -DOPENCV_JNI_INSTALL_PATH=lib \ -DOPENCV_GENERATE_SETUPVARS=OFF \ .. make -j $(expr $(nproc) - 2) </code></pre></div>
<p dir="auto">OpenCV uses some ffmpeg APIs that have been removed in the just released ffmpeg 5.0 and makes some assumptions about ffmpeg structs that are no longer true (primarily trying to access the "codec" member in an AVStream).<br> This causes the build to fail.</p>
1
<blockquote> <p dir="auto">Python 3.9.13<br> Flask 2.2.2<br> Werkzeug 2.2.2</p> </blockquote> <p dir="auto">The docs, in more than one place:</p> <ul dir="auto"> <li><a href="https://flask.palletsprojects.com/en/2.2.x/quickstart/#debug-mode" rel="nofollow">https://flask.palletsprojects.com/en/2.2.x/quickstart/#debug-mode</a></li> <li><a href="https://flask.palletsprojects.com/en/2.2.x/server/#command-line" rel="nofollow">https://flask.palletsprojects.com/en/2.2.x/server/#command-line</a></li> </ul> <p dir="auto">say to run <code class="notranslate">flask run --debug</code> but that doesn't actually work:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Usage: flask run [OPTIONS] Try 'flask run --help' for help. Error: No such option: --debug (Possible options: --debugger, --no-debugger)"><pre class="notranslate"><code class="notranslate">Usage: flask run [OPTIONS] Try 'flask run --help' for help. Error: No such option: --debug (Possible options: --debugger, --no-debugger) </code></pre></div> <p dir="auto">You need to run <code class="notranslate">flask --debug run </code></p>
<p dir="auto">In most other web frameworks static file caching would be disabled when the app is running in development mode. Since <code class="notranslate">FLASK_ENV</code> is something we have available to then maybe we can set <code class="notranslate">SEND_FILE_MAX_AGE_DEFAULT = 0</code> when we're in development mode. If <code class="notranslate">FLASK_ENV</code> isn't the correct variable to hook into maybe it could be set when <code class="notranslate">DEBUG</code> is set to true instead.</p> <p dir="auto">I've seen this question pop up on IRC about 50 times in the last few years where someone wonders why after changing their CSS or JS in development they don't see the changes in their browser. The "fix" is to do a hard reload in your browser (CTRL+F5 on Windows / Linux) which forces browsers to serve an un-cached copy of the file.</p> <p dir="auto">I know in my Flask course, this question has come up dozens of times as well until I mentioned setting this config value to 0.</p> <p dir="auto">I can't think of a use case where you would want static file caching enabled in development and if you did you could always explicitly set the max age to whatever value you want.</p> <p dir="auto">What do you think?</p>
0
<p dir="auto">If you use one single or double quote without closing it, syntax highlighting breaks (even with ES6 enabled as the target). Heres' an example:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6439050/11258829/bc70aaf6-8e2a-11e5-9a85-14a30811eb61.png"><img src="https://cloud.githubusercontent.com/assets/6439050/11258829/bc70aaf6-8e2a-11e5-9a85-14a30811eb61.png" alt="screen shot 2015-11-18 at 7 29 37 pm" style="max-width: 100%;"></a></p> <p dir="auto">My <code class="notranslate">jsconfig.json</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;compilerOptions&quot;: { &quot;target&quot;: &quot;ES6&quot; } }"><pre class="notranslate"><code class="notranslate">{ "compilerOptions": { "target": "ES6" } } </code></pre></div> <p dir="auto"><strong>Edit</strong>: In retrospect this may simply be that template strings <em>aren't</em> highlighted, which causes this weird behavior.</p>
<p dir="auto">Right now, those keywords like <code class="notranslate">import</code> <code class="notranslate">class</code> <code class="notranslate">from</code> are all plain white.</p>
1
<h3 dir="auto">Problem description</h3> <p dir="auto">I was updating my app to React 15.3.0 and got a lot of warnings.</p> <p dir="auto">See below for the logs.</p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">Just update to React 15.3.0</p> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: 0.15.2</li> <li>React: 15.3.0</li> <li>Browser: Brave 0.11.1</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ReactDOM.js:75Download the React DevTools for a better development experience: https://fb.me/react-devtools ReactDOM.js:66Download the React DevTools for a better development experience: https://fb.me/react-devtools warning.js:44Warning: You are manually calling a React.PropTypes validation function for the `onEnterKeyDown` prop on `TextField`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187Login.render @ Login.tsx:40allowStateChanges @ mobx.js:600(anonymous function) @ index.js:124trackDerivedFunction @ mobx.js:836Reaction.track @ mobx.js:1040reactiveRender @ index.js:121initialRender @ index.js:115_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126perform @ Transaction.js:138batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371render @ ReactMount.js:392(anonymous function) @ Index.tsx:87__webpack_require__ @ bootstrap a2cac05…:555fn @ bootstrap a2cac05…:86(anonymous function) @ bootstrap a2cac05…:578__webpack_require__ @ bootstrap a2cac05…:555(anonymous function) @ bootstrap a2cac05…:578(anonymous function) @ bootstrap a2cac05…:578 warning.js:44Warning: You are manually calling a React.PropTypes validation function for the `linkButton` prop on `EnhancedButton`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ RaisedButton.js:318_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126perform @ Transaction.js:138batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371render @ ReactMount.js:392(anonymous function) @ Index.tsx:87__webpack_require__ @ bootstrap a2cac05…:555fn @ bootstrap a2cac05…:86(anonymous function) @ bootstrap a2cac05…:578__webpack_require__ @ bootstrap a2cac05…:555(anonymous function) @ bootstrap a2cac05…:578(anonymous function) @ bootstrap a2cac05…:578 client.js:55[HMR] connected warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `animated` prop on `Menu`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ IconMenu.js:202_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47_updateRenderedComponent @ ReactCompositeComponent.js:800_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670receiveComponent @ ReactCompositeComponent.js:564receiveComponent @ ReactReconciler.js:129_updateRenderedComponent @ ReactCompositeComponent.js:784_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670performUpdateIfNecessary @ ReactCompositeComponent.js:578performUpdateIfNecessary @ ReactReconciler.js:163runBatchedUpdates @ ReactUpdates.js:151perform @ Transaction.js:138perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63enqueueUpdate @ ReactUpdates.js:201enqueueUpdate @ ReactUpdateQueue.js:25enqueueSetState @ ReactUpdateQueue.js:210ReactComponent.setState @ ReactComponent.js:64(anonymous function) @ Router.js:129(anonymous function) @ createTransitionManager.js:289(anonymous function) @ createTransitionManager.js:118done @ AsyncUtils.js:79(anonymous function) @ AsyncUtils.js:85getComponentsForRoute @ getComponents.js:15(anonymous function) @ getComponents.js:41(anonymous function) @ AsyncUtils.js:84mapAsync @ AsyncUtils.js:83getComponents @ getComponents.js:40finishEnterHooks @ createTransitionManager.js:112next @ AsyncUtils.js:52loopAsync @ AsyncUtils.js:56runTransitionHooks @ TransitionUtils.js:70runEnterHooks @ TransitionUtils.js:93(anonymous function) @ createTransitionManager.js:105runTransitionHooks @ TransitionUtils.js:50runChangeHooks @ TransitionUtils.js:110finishMatch @ createTransitionManager.js:102(anonymous function) @ createTransitionManager.js:78next @ AsyncUtils.js:46loopAsync @ AsyncUtils.js:56matchRoutes @ matchRoutes.js:241match @ createTransitionManager.js:74(anonymous function) @ createTransitionManager.js:283(anonymous function) @ useQueries.js:109(anonymous function) @ useBasename.js:99(anonymous function) @ createHistory.js:96updateLocation @ createHistory.js:95(anonymous function) @ createHistory.js:157(anonymous function) @ createHistory.js:133next @ AsyncUtils.js:53loopAsync @ AsyncUtils.js:57confirmTransitionTo @ createHistory.js:119transitionTo @ createHistory.js:145push @ createHistory.js:168push @ useBasename.js:105push @ useQueries.js:115Cmd_1.Cmd.to @ pushHistory.ts:5Cmd.baseFunc @ Cmd.ts:14Cmd.exec @ Cmd.ts:31(anonymous function) @ api.ts:63 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `openDirection` prop on `Menu`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ IconMenu.js:202_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47_updateRenderedComponent @ ReactCompositeComponent.js:800_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670receiveComponent @ ReactCompositeComponent.js:564receiveComponent @ ReactReconciler.js:129_updateRenderedComponent @ ReactCompositeComponent.js:784_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670performUpdateIfNecessary @ ReactCompositeComponent.js:578performUpdateIfNecessary @ ReactReconciler.js:163runBatchedUpdates @ ReactUpdates.js:151perform @ Transaction.js:138perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63enqueueUpdate @ ReactUpdates.js:201enqueueUpdate @ ReactUpdateQueue.js:25enqueueSetState @ ReactUpdateQueue.js:210ReactComponent.setState @ ReactComponent.js:64(anonymous function) @ Router.js:129(anonymous function) @ createTransitionManager.js:289(anonymous function) @ createTransitionManager.js:118done @ AsyncUtils.js:79(anonymous function) @ AsyncUtils.js:85getComponentsForRoute @ getComponents.js:15(anonymous function) @ getComponents.js:41(anonymous function) @ AsyncUtils.js:84mapAsync @ AsyncUtils.js:83getComponents @ getComponents.js:40finishEnterHooks @ createTransitionManager.js:112next @ AsyncUtils.js:52loopAsync @ AsyncUtils.js:56runTransitionHooks @ TransitionUtils.js:70runEnterHooks @ TransitionUtils.js:93(anonymous function) @ createTransitionManager.js:105runTransitionHooks @ TransitionUtils.js:50runChangeHooks @ TransitionUtils.js:110finishMatch @ createTransitionManager.js:102(anonymous function) @ createTransitionManager.js:78next @ AsyncUtils.js:46loopAsync @ AsyncUtils.js:56matchRoutes @ matchRoutes.js:241match @ createTransitionManager.js:74(anonymous function) @ createTransitionManager.js:283(anonymous function) @ useQueries.js:109(anonymous function) @ useBasename.js:99(anonymous function) @ createHistory.js:96updateLocation @ createHistory.js:95(anonymous function) @ createHistory.js:157(anonymous function) @ createHistory.js:133next @ AsyncUtils.js:53loopAsync @ AsyncUtils.js:57confirmTransitionTo @ createHistory.js:119transitionTo @ createHistory.js:145push @ createHistory.js:168push @ useBasename.js:105push @ useQueries.js:115Cmd_1.Cmd.to @ pushHistory.ts:5Cmd.baseFunc @ Cmd.ts:14Cmd.exec @ Cmd.ts:31(anonymous function) @ api.ts:63 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `insetSubheader` prop on `List`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ Menu.js:531_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126batchedUpdates @ ReactDefaultBatchingStrategy.js:61batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371renderSubtreeIntoContainer @ ReactMount.js:313renderLayer @ RenderToLayer.js:156componentDidUpdate @ RenderToLayer.js:75invokeComponentDidUpdateWithTimer @ ReactCompositeComponent.js:71notifyAll @ CallbackQueue.js:67close @ ReactReconcileTransaction.js:81closeAll @ Transaction.js:204perform @ Transaction.js:151perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98dispatchEvent @ ReactEventListener.js:150 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `subheader` prop on `List`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ Menu.js:531_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126batchedUpdates @ ReactDefaultBatchingStrategy.js:61batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371renderSubtreeIntoContainer @ ReactMount.js:313renderLayer @ RenderToLayer.js:156componentDidUpdate @ RenderToLayer.js:75invokeComponentDidUpdateWithTimer @ ReactCompositeComponent.js:71notifyAll @ CallbackQueue.js:67close @ ReactReconcileTransaction.js:81closeAll @ Transaction.js:204perform @ Transaction.js:151perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98dispatchEvent @ ReactEventListener.js:150 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `subheaderStyle` prop on `List`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ Menu.js:531_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126batchedUpdates @ ReactDefaultBatchingStrategy.js:61batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371renderSubtreeIntoContainer @ ReactMount.js:313renderLayer @ RenderToLayer.js:156componentDidUpdate @ RenderToLayer.js:75invokeComponentDidUpdateWithTimer @ ReactCompositeComponent.js:71notifyAll @ CallbackQueue.js:67close @ ReactReconcileTransaction.js:81closeAll @ Transaction.js:204perform @ Transaction.js:151perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98dispatchEvent @ ReactEventListener.js:150"><pre class="notranslate"><code class="notranslate">ReactDOM.js:75Download the React DevTools for a better development experience: https://fb.me/react-devtools ReactDOM.js:66Download the React DevTools for a better development experience: https://fb.me/react-devtools warning.js:44Warning: You are manually calling a React.PropTypes validation function for the `onEnterKeyDown` prop on `TextField`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187Login.render @ Login.tsx:40allowStateChanges @ mobx.js:600(anonymous function) @ index.js:124trackDerivedFunction @ mobx.js:836Reaction.track @ mobx.js:1040reactiveRender @ index.js:121initialRender @ index.js:115_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126perform @ Transaction.js:138batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371render @ ReactMount.js:392(anonymous function) @ Index.tsx:87__webpack_require__ @ bootstrap a2cac05…:555fn @ bootstrap a2cac05…:86(anonymous function) @ bootstrap a2cac05…:578__webpack_require__ @ bootstrap a2cac05…:555(anonymous function) @ bootstrap a2cac05…:578(anonymous function) @ bootstrap a2cac05…:578 warning.js:44Warning: You are manually calling a React.PropTypes validation function for the `linkButton` prop on `EnhancedButton`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ RaisedButton.js:318_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126perform @ Transaction.js:138batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371render @ ReactMount.js:392(anonymous function) @ Index.tsx:87__webpack_require__ @ bootstrap a2cac05…:555fn @ bootstrap a2cac05…:86(anonymous function) @ bootstrap a2cac05…:578__webpack_require__ @ bootstrap a2cac05…:555(anonymous function) @ bootstrap a2cac05…:578(anonymous function) @ bootstrap a2cac05…:578 client.js:55[HMR] connected warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `animated` prop on `Menu`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ IconMenu.js:202_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47_updateRenderedComponent @ ReactCompositeComponent.js:800_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670receiveComponent @ ReactCompositeComponent.js:564receiveComponent @ ReactReconciler.js:129_updateRenderedComponent @ ReactCompositeComponent.js:784_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670performUpdateIfNecessary @ ReactCompositeComponent.js:578performUpdateIfNecessary @ ReactReconciler.js:163runBatchedUpdates @ ReactUpdates.js:151perform @ Transaction.js:138perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63enqueueUpdate @ ReactUpdates.js:201enqueueUpdate @ ReactUpdateQueue.js:25enqueueSetState @ ReactUpdateQueue.js:210ReactComponent.setState @ ReactComponent.js:64(anonymous function) @ Router.js:129(anonymous function) @ createTransitionManager.js:289(anonymous function) @ createTransitionManager.js:118done @ AsyncUtils.js:79(anonymous function) @ AsyncUtils.js:85getComponentsForRoute @ getComponents.js:15(anonymous function) @ getComponents.js:41(anonymous function) @ AsyncUtils.js:84mapAsync @ AsyncUtils.js:83getComponents @ getComponents.js:40finishEnterHooks @ createTransitionManager.js:112next @ AsyncUtils.js:52loopAsync @ AsyncUtils.js:56runTransitionHooks @ TransitionUtils.js:70runEnterHooks @ TransitionUtils.js:93(anonymous function) @ createTransitionManager.js:105runTransitionHooks @ TransitionUtils.js:50runChangeHooks @ TransitionUtils.js:110finishMatch @ createTransitionManager.js:102(anonymous function) @ createTransitionManager.js:78next @ AsyncUtils.js:46loopAsync @ AsyncUtils.js:56matchRoutes @ matchRoutes.js:241match @ createTransitionManager.js:74(anonymous function) @ createTransitionManager.js:283(anonymous function) @ useQueries.js:109(anonymous function) @ useBasename.js:99(anonymous function) @ createHistory.js:96updateLocation @ createHistory.js:95(anonymous function) @ createHistory.js:157(anonymous function) @ createHistory.js:133next @ AsyncUtils.js:53loopAsync @ AsyncUtils.js:57confirmTransitionTo @ createHistory.js:119transitionTo @ createHistory.js:145push @ createHistory.js:168push @ useBasename.js:105push @ useQueries.js:115Cmd_1.Cmd.to @ pushHistory.ts:5Cmd.baseFunc @ Cmd.ts:14Cmd.exec @ Cmd.ts:31(anonymous function) @ api.ts:63 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `openDirection` prop on `Menu`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ IconMenu.js:202_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47_updateRenderedComponent @ ReactCompositeComponent.js:800_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670receiveComponent @ ReactCompositeComponent.js:564receiveComponent @ ReactReconciler.js:129_updateRenderedComponent @ ReactCompositeComponent.js:784_performComponentUpdate @ ReactCompositeComponent.js:753updateComponent @ ReactCompositeComponent.js:670performUpdateIfNecessary @ ReactCompositeComponent.js:578performUpdateIfNecessary @ ReactReconciler.js:163runBatchedUpdates @ ReactUpdates.js:151perform @ Transaction.js:138perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63enqueueUpdate @ ReactUpdates.js:201enqueueUpdate @ ReactUpdateQueue.js:25enqueueSetState @ ReactUpdateQueue.js:210ReactComponent.setState @ ReactComponent.js:64(anonymous function) @ Router.js:129(anonymous function) @ createTransitionManager.js:289(anonymous function) @ createTransitionManager.js:118done @ AsyncUtils.js:79(anonymous function) @ AsyncUtils.js:85getComponentsForRoute @ getComponents.js:15(anonymous function) @ getComponents.js:41(anonymous function) @ AsyncUtils.js:84mapAsync @ AsyncUtils.js:83getComponents @ getComponents.js:40finishEnterHooks @ createTransitionManager.js:112next @ AsyncUtils.js:52loopAsync @ AsyncUtils.js:56runTransitionHooks @ TransitionUtils.js:70runEnterHooks @ TransitionUtils.js:93(anonymous function) @ createTransitionManager.js:105runTransitionHooks @ TransitionUtils.js:50runChangeHooks @ TransitionUtils.js:110finishMatch @ createTransitionManager.js:102(anonymous function) @ createTransitionManager.js:78next @ AsyncUtils.js:46loopAsync @ AsyncUtils.js:56matchRoutes @ matchRoutes.js:241match @ createTransitionManager.js:74(anonymous function) @ createTransitionManager.js:283(anonymous function) @ useQueries.js:109(anonymous function) @ useBasename.js:99(anonymous function) @ createHistory.js:96updateLocation @ createHistory.js:95(anonymous function) @ createHistory.js:157(anonymous function) @ createHistory.js:133next @ AsyncUtils.js:53loopAsync @ AsyncUtils.js:57confirmTransitionTo @ createHistory.js:119transitionTo @ createHistory.js:145push @ createHistory.js:168push @ useBasename.js:105push @ useQueries.js:115Cmd_1.Cmd.to @ pushHistory.ts:5Cmd.baseFunc @ Cmd.ts:14Cmd.exec @ Cmd.ts:31(anonymous function) @ api.ts:63 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `insetSubheader` prop on `List`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ Menu.js:531_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126batchedUpdates @ ReactDefaultBatchingStrategy.js:61batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371renderSubtreeIntoContainer @ ReactMount.js:313renderLayer @ RenderToLayer.js:156componentDidUpdate @ RenderToLayer.js:75invokeComponentDidUpdateWithTimer @ ReactCompositeComponent.js:71notifyAll @ CallbackQueue.js:67close @ ReactReconcileTransaction.js:81closeAll @ Transaction.js:204perform @ Transaction.js:151perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98dispatchEvent @ ReactEventListener.js:150 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `subheader` prop on `List`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ Menu.js:531_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126batchedUpdates @ ReactDefaultBatchingStrategy.js:61batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371renderSubtreeIntoContainer @ ReactMount.js:313renderLayer @ RenderToLayer.js:156componentDidUpdate @ RenderToLayer.js:75invokeComponentDidUpdateWithTimer @ ReactCompositeComponent.js:71notifyAll @ CallbackQueue.js:67close @ ReactReconcileTransaction.js:81closeAll @ Transaction.js:204perform @ Transaction.js:151perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98dispatchEvent @ ReactEventListener.js:150 warning.js:44 Warning: You are manually calling a React.PropTypes validation function for the `subheaderStyle` prop on `List`. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.warning @ warning.js:44checkType @ ReactPropTypes.js:120validate @ deprecatedPropType.js:20checkReactTypeSpec @ checkReactTypeSpec.js:58validatePropTypes @ ReactElementValidator.js:153createElement @ ReactElementValidator.js:187render @ Menu.js:531_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:832_renderValidatedComponent @ ReactCompositeComponent.js:859performInitialMount @ ReactCompositeComponent.js:383mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47mountChildren @ ReactMultiChild.js:242_createInitialChildren @ ReactDOMComponent.js:715mountComponent @ ReactDOMComponent.js:531mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47performInitialMount @ ReactCompositeComponent.js:397mountComponent @ ReactCompositeComponent.js:262mountComponent @ ReactReconciler.js:47mountComponentIntoNode @ ReactMount.js:105perform @ Transaction.js:138batchedMountComponentIntoNode @ ReactMount.js:126batchedUpdates @ ReactDefaultBatchingStrategy.js:61batchedUpdates @ ReactUpdates.js:98_renderNewRootComponent @ ReactMount.js:285_renderSubtreeIntoContainer @ ReactMount.js:371renderSubtreeIntoContainer @ ReactMount.js:313renderLayer @ RenderToLayer.js:156componentDidUpdate @ RenderToLayer.js:75invokeComponentDidUpdateWithTimer @ ReactCompositeComponent.js:71notifyAll @ CallbackQueue.js:67close @ ReactReconcileTransaction.js:81closeAll @ Transaction.js:204perform @ Transaction.js:151perform @ Transaction.js:138perform @ ReactUpdates.js:90flushBatchedUpdates @ ReactUpdates.js:173closeAll @ Transaction.js:204perform @ Transaction.js:151batchedUpdates @ ReactDefaultBatchingStrategy.js:63batchedUpdates @ ReactUpdates.js:98dispatchEvent @ ReactEventListener.js:150 </code></pre></div>
<p dir="auto">[x] I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</p> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">The multiline textarea cursor should be aligned with the text.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">The cursor is not properly aligned when it is displayed in Safari.<br> Strangely, I am only able to reproduce the problem on a iPhone 6 in Portrait Mode.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto"><code class="notranslate">&lt;TextField id="REASON_NOTE" multiLine={true} maxLength={255} onChange={this.onReasonNoteChange} underlineShow={false}/&gt;</code></p> <p dir="auto">Note: the "TextField" is being used into a Dialog.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/34777072/34311490-e78d625e-e72b-11e7-8e58-7c375c8e9a66.png"><img src="https://user-images.githubusercontent.com/34777072/34311490-e78d625e-e72b-11e7-8e58-7c375c8e9a66.png" alt="textarea cursor2" style="max-width: 100%;"></a></p> <h2 dir="auto">Context</h2> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>0.18.7</td> </tr> <tr> <td>React</td> <td>15.5.4</td> </tr> <tr> <td>browser</td> <td>Safari</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
0
<h3 dir="auto">Describe the issue:</h3> <p dir="auto">I have an array of float numbers. Numpy fails to calculate the standard deviation while the manual calculation is okay. There is no <code class="notranslate">nan</code> or <code class="notranslate">inf</code> in the array.</p> <p dir="auto">If default parameters (<code class="notranslate">ddof=0</code>) are used, no warning is shown, but the warning appears if <code class="notranslate">ddof=1</code> is used.</p> <p dir="auto">The array can be downloaded from <a href="https://mega.nz/file/2tRjnDjS#KbNGeau3uG1vBRWiW6SyVYzT9gXwVQpDycYzSfgagsk" rel="nofollow">here</a>.</p> <h3 dir="auto">Reproduce the code example:</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="np.std(arr, ddof=1)"><pre class="notranslate"><span class="pl-s1">np</span>.<span class="pl-en">std</span>(<span class="pl-s1">arr</span>, <span class="pl-s1">ddof</span><span class="pl-c1">=</span><span class="pl-c1">1</span>)</pre></div> <h3 dir="auto">Error message:</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Actually, it is a warning: C:\Users\***\miniconda3\envs\py38\lib\site-packages\numpy\core\_methods.py:212: RuntimeWarning: overflow encountered in reduce arrmean = umr_sum(arr, axis, dtype, keepdims=True, where=where)"><pre class="notranslate">Actually, it is a warning: C:<span class="pl-cce">\U</span>sers<span class="pl-cce">\*</span><span class="pl-k">**</span><span class="pl-cce">\m</span>iniconda3<span class="pl-cce">\e</span>nvs<span class="pl-cce">\p</span>y38<span class="pl-cce">\l</span>ib<span class="pl-cce">\s</span>ite-packages<span class="pl-cce">\n</span>umpy<span class="pl-cce">\c</span>ore<span class="pl-cce">\_</span>methods.py:212: RuntimeWarning: overflow encountered <span class="pl-k">in</span> reduce arrmean = umr_sum(arr, axis, dtype, keepdims=True, where=where)</pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" ### NumPy/Python version information: numpy&gt;=1.22.4 Python==3.8.13 ### Context for the issue: _No response_"><pre class="notranslate"><code class="notranslate"> ### NumPy/Python version information: numpy&gt;=1.22.4 Python==3.8.13 ### Context for the issue: _No response_ </code></pre></div>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="186048633" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/8222" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/8222/hovercard" href="https://github.com/numpy/numpy/pull/8222">#8222</a> raised the numerical precision in float16 of numpy.mean.</p> <p dir="auto">As per comment <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="186048633" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/8222" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/8222/hovercard?comment_id=257406456&amp;comment_type=issue_comment" href="https://github.com/numpy/numpy/pull/8222#issuecomment-257406456">#8222 (comment)</a>, this can also be done for numpy.std and numpy.var</p> <hr> Summary 2019-04-26 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/stefanv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/stefanv">@stefanv</a>: <ul dir="auto"> <li>Float16 operations are implemented in software; as such intermediate computations can be done in float32 without loss of speed</li> <li>For <code class="notranslate">numpy.mean</code>, the intermediary type is modified <a href="https://github.com/numpy/numpy/blob/maintenance/1.16.x/numpy/core/_methods.py#L71">here</a>.</li> <li>A similar change can be made in the same file for <code class="notranslate">_var</code> and <code class="notranslate">_std</code></li> </ul>
1
<p dir="auto">I am using TypeScript in an Electron app and trying to use the <code class="notranslate">Chip</code> component in <code class="notranslate">material-ui-next</code> and it does not recognize the <code class="notranslate">onDelete</code> prop, but the <a href="https://material-ui-next.com/api/chip/" rel="nofollow">API</a> indicates it should.</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">I should not receive error</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Receiving error: <code class="notranslate">TS2339: Property 'onDelete' does not exist on type 'IntrinsicAttributes &amp; ChipProps &amp; { children?: ReactNode; }'.</code></p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li></li> <li></li> <li></li> <li></li> </ol> <h2 dir="auto">Context</h2> <p dir="auto">Tying to use Chip component in <code class="notranslate">material-ui-next</code></p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>1.0.0</td> </tr> <tr> <td>React</td> <td>16.2.0</td> </tr> <tr> <td>browser</td> <td>Chromium (Electron)</td> </tr> <tr> <td>TypeScript</td> <td>2.6.2</td> </tr> </tbody> </table>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Sometimes the value for the 'title' could be calculated and may be set to null. In this instance the tooltip should not be shown.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Tooltip is shown regardless of whether there is a value for 'title' or not</p> <h2 dir="auto">Steps to Reproduce</h2> <p dir="auto"><a href="https://codesandbox.io/s/z65pow4773" rel="nofollow">https://codesandbox.io/s/z65pow4773</a></p> <p dir="auto">I believe putting the following code <a href="https://github.com/mui-org/material-ui/blob/ddde3c93235f170d2781749a8907005fc12372eb/src/Tooltip/Tooltip.js#L151">here</a> would resolve the issue:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if(this.props.title === null || this.props.title === undefined || this.props.title === &quot;&quot;) return;"><pre class="notranslate"><code class="notranslate">if(this.props.title === null || this.props.title === undefined || this.props.title === "") return; </code></pre></div>
0
<p dir="auto">To reproduce:</p> <ol dir="auto"> <li>Clone the current (<code class="notranslate">804d12ebe3801f7faf8cea234ffe6ec2452443c8</code>) Julia repo.</li> <li>Build with <code class="notranslate">make</code></li> <li>Run <code class="notranslate">./julia</code></li> <li>Type <code class="notranslate">import Pkg</code> and then <code class="notranslate">Pkg.update()</code>.</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/julia _ _ _ _(_)_ | Documentation: https://docs.julialang.org (_) | (_) (_) | _ _ _| |_ __ _ | Type &quot;?&quot; for help, &quot;]?&quot; for Pkg help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 1.1.0-DEV.unknown (2018-08-31) _/ |\__'_|_|_|\__'_| | Commit 804d12e (0 days old master) |__/ | julia&gt; import Pkg julia&gt; Pkg.update() Cloning default registries into /home/openpower.student18/.julia/registries Cloning registry General from &quot;https://github.com/JuliaRegistries/General.git&quot; signal (11): Segmentation fault in expression starting at no file:0 set_ssl_cert_locations at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/error.jl:0 initialize at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/LibGit2.jl:990 ensure_initialized at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/LibGit2.jl:967 [inlined] Type at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/config.jl:50 Type at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/config.jl:50 [inlined] Type at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/types.jl:1340 [inlined] #CredentialPayload#32 at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/types.jl:1350 [inlined] Type at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/types.jl:1350 [inlined] #clone#131 at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/LibGit2.jl:559 unknown function (ip: 0x7fff60538347) jl_fptr_trampoline at /home/openpower.student18/tmp/julia/src/gf.c:1841 jl_apply_generic at /home/openpower.student18/tmp/julia/src/gf.c:2196 jl_apply at /home/openpower.student18/tmp/julia/src/julia.h:1558 [inlined] jl_invoke at /home/openpower.student18/tmp/julia/src/gf.c:56 #clone at ./none:0 [inlined] #clone#2 at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/GitTools.jl:94 jl_fptr_args at /home/openpower.student18/tmp/julia/src/gf.c:1851 jl_fptr_trampoline at /home/openpower.student18/tmp/julia/src/gf.c:1841 jl_apply_generic at /home/openpower.student18/tmp/julia/src/gf.c:2196 jl_apply at /home/openpower.student18/tmp/julia/src/julia.h:1558 [inlined] jl_invoke at /home/openpower.student18/tmp/julia/src/gf.c:56 #50 at ./none:0 shred! at ./secretbuffer.jl:184 #registries#49 at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:923 jfptr_#registries#49_9962 at /home/openpower.student18/tmp/julia/usr/lib/julia/sys.so (unknown line) jl_invoke at /home/openpower.student18/tmp/julia/src/gf.c:42 registries at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:907 [inlined] macro expansion at ./logging.jl:307 [inlined] update_registry at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:96 #up#31 at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:166 unknown function (ip: 0x7fff605319f3) jl_fptr_trampoline at /home/openpower.student18/tmp/julia/src/gf.c:1841 jl_apply_generic at /home/openpower.student18/tmp/julia/src/gf.c:2196 jl_apply at /home/openpower.student18/tmp/julia/src/julia.h:1558 [inlined] jl_invoke at /home/openpower.student18/tmp/julia/src/gf.c:56 up at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:158 [inlined] #up#30 at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:154 [inlined] up at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:154 [inlined] #up#27 at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:151 [inlined] up at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:151 jl_fptr_args at /home/openpower.student18/tmp/julia/src/gf.c:1851 jl_fptr_trampoline at /home/openpower.student18/tmp/julia/src/gf.c:1841 jl_apply_generic at /home/openpower.student18/tmp/julia/src/gf.c:2196 do_call at /home/openpower.student18/tmp/julia/src/interpreter.c:324 eval_value at /home/openpower.student18/tmp/julia/src/interpreter.c:430 eval_stmt_value at /home/openpower.student18/tmp/julia/src/interpreter.c:363 [inlined] eval_body at /home/openpower.student18/tmp/julia/src/interpreter.c:684 jl_interpret_toplevel_thunk_callback at /home/openpower.student18/tmp/julia/src/interpreter.c:803 unknown function (ip: 0xfffffffffffffffe) unknown function (ip: 0x7fff887a635f) unknown function (ip: (nil)) jl_interpret_toplevel_thunk at /home/openpower.student18/tmp/julia/src/interpreter.c:812 jl_toplevel_eval at /home/openpower.student18/tmp/julia/src/toplevel.c:792 jl_toplevel_eval_in at /home/openpower.student18/tmp/julia/src/builtins.c:622 eval at ./boot.jl:319 jl_fptr_args at /home/openpower.student18/tmp/julia/src/gf.c:1851 jl_apply_generic at /home/openpower.student18/tmp/julia/src/gf.c:2196 eval_user_input at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:85 macro expansion at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:117 [inlined] #28 at ./task.jl:259 jl_fptr_args at /home/openpower.student18/tmp/julia/src/gf.c:1851 jl_apply_generic at /home/openpower.student18/tmp/julia/src/gf.c:2196 jl_apply at /home/openpower.student18/tmp/julia/src/julia.h:1558 [inlined] start_task at /home/openpower.student18/tmp/julia/src/task.c:271 jl_set_base_ctx at /home/openpower.student18/tmp/julia/src/task.c:291 Allocations: 858046 (Pool: 857638; Big: 408); GC: 0 Segmentation fault"><pre class="notranslate"><code class="notranslate">/julia _ _ _ _(_)_ | Documentation: https://docs.julialang.org (_) | (_) (_) | _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 1.1.0-DEV.unknown (2018-08-31) _/ |\__'_|_|_|\__'_| | Commit 804d12e (0 days old master) |__/ | julia&gt; import Pkg julia&gt; Pkg.update() Cloning default registries into /home/openpower.student18/.julia/registries Cloning registry General from "https://github.com/JuliaRegistries/General.git" signal (11): Segmentation fault in expression starting at no file:0 set_ssl_cert_locations at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/error.jl:0 initialize at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/LibGit2.jl:990 ensure_initialized at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/LibGit2.jl:967 [inlined] Type at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/config.jl:50 Type at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/config.jl:50 [inlined] Type at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/types.jl:1340 [inlined] #CredentialPayload#32 at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/types.jl:1350 [inlined] Type at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/types.jl:1350 [inlined] #clone#131 at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/LibGit2/src/LibGit2.jl:559 unknown function (ip: 0x7fff60538347) jl_fptr_trampoline at /home/openpower.student18/tmp/julia/src/gf.c:1841 jl_apply_generic at /home/openpower.student18/tmp/julia/src/gf.c:2196 jl_apply at /home/openpower.student18/tmp/julia/src/julia.h:1558 [inlined] jl_invoke at /home/openpower.student18/tmp/julia/src/gf.c:56 #clone at ./none:0 [inlined] #clone#2 at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/GitTools.jl:94 jl_fptr_args at /home/openpower.student18/tmp/julia/src/gf.c:1851 jl_fptr_trampoline at /home/openpower.student18/tmp/julia/src/gf.c:1841 jl_apply_generic at /home/openpower.student18/tmp/julia/src/gf.c:2196 jl_apply at /home/openpower.student18/tmp/julia/src/julia.h:1558 [inlined] jl_invoke at /home/openpower.student18/tmp/julia/src/gf.c:56 #50 at ./none:0 shred! at ./secretbuffer.jl:184 #registries#49 at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:923 jfptr_#registries#49_9962 at /home/openpower.student18/tmp/julia/usr/lib/julia/sys.so (unknown line) jl_invoke at /home/openpower.student18/tmp/julia/src/gf.c:42 registries at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:907 [inlined] macro expansion at ./logging.jl:307 [inlined] update_registry at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:96 #up#31 at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:166 unknown function (ip: 0x7fff605319f3) jl_fptr_trampoline at /home/openpower.student18/tmp/julia/src/gf.c:1841 jl_apply_generic at /home/openpower.student18/tmp/julia/src/gf.c:2196 jl_apply at /home/openpower.student18/tmp/julia/src/julia.h:1558 [inlined] jl_invoke at /home/openpower.student18/tmp/julia/src/gf.c:56 up at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:158 [inlined] #up#30 at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:154 [inlined] up at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:154 [inlined] #up#27 at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:151 [inlined] up at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:151 jl_fptr_args at /home/openpower.student18/tmp/julia/src/gf.c:1851 jl_fptr_trampoline at /home/openpower.student18/tmp/julia/src/gf.c:1841 jl_apply_generic at /home/openpower.student18/tmp/julia/src/gf.c:2196 do_call at /home/openpower.student18/tmp/julia/src/interpreter.c:324 eval_value at /home/openpower.student18/tmp/julia/src/interpreter.c:430 eval_stmt_value at /home/openpower.student18/tmp/julia/src/interpreter.c:363 [inlined] eval_body at /home/openpower.student18/tmp/julia/src/interpreter.c:684 jl_interpret_toplevel_thunk_callback at /home/openpower.student18/tmp/julia/src/interpreter.c:803 unknown function (ip: 0xfffffffffffffffe) unknown function (ip: 0x7fff887a635f) unknown function (ip: (nil)) jl_interpret_toplevel_thunk at /home/openpower.student18/tmp/julia/src/interpreter.c:812 jl_toplevel_eval at /home/openpower.student18/tmp/julia/src/toplevel.c:792 jl_toplevel_eval_in at /home/openpower.student18/tmp/julia/src/builtins.c:622 eval at ./boot.jl:319 jl_fptr_args at /home/openpower.student18/tmp/julia/src/gf.c:1851 jl_apply_generic at /home/openpower.student18/tmp/julia/src/gf.c:2196 eval_user_input at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:85 macro expansion at /home/openpower.student18/tmp/julia/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:117 [inlined] #28 at ./task.jl:259 jl_fptr_args at /home/openpower.student18/tmp/julia/src/gf.c:1851 jl_apply_generic at /home/openpower.student18/tmp/julia/src/gf.c:2196 jl_apply at /home/openpower.student18/tmp/julia/src/julia.h:1558 [inlined] start_task at /home/openpower.student18/tmp/julia/src/task.c:271 jl_set_base_ctx at /home/openpower.student18/tmp/julia/src/task.c:291 Allocations: 858046 (Pool: 857638; Big: 408); GC: 0 Segmentation fault </code></pre></div> <p dir="auto">I will have access to this architecture (PPC64 little-endian) only until monday.</p>
<p dir="auto">From my investigations this is a null-pointer dereference, but not a usercode one.<br> I also observed other weird compilations that all included a <code class="notranslate">ccall</code>.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="signal (11): Segmentation fault in expression starting at no file:0 set_ssl_cert_locations at /buildworker/worker/package_linuxppc64le/build/usr/share/julia/stdlib/v0.7/LibGit2/src/error.jl:0 __init__ at /buildworker/worker/package_linuxppc64le/build/usr/share/julia/stdlib/v0.7/LibGit2/src/LibGit2.jl:990 jfptr___init___18949 at /buildworker/worker/package_linuxppc64le/build/usr/lib/julia/sys.so (unknown line) jl_apply_generic at /buildworker/worker/package_linuxppc64le/build/src/gf.c:2167 jl_apply at /buildworker/worker/package_linuxppc64le/build/src/julia.h:1540 [inlined] jl_module_run_initializer at /buildworker/worker/package_linuxppc64le/build/src/toplevel.c:90 _julia_init at /buildworker/worker/package_linuxppc64le/build/src/init.c:810 julia_init__threading at /buildworker/worker/package_linuxppc64le/build/src/task.c:302 main at /buildworker/worker/package_linuxppc64le/build/ui/repl.c:234 generic_start_main.isra.0 at /lib64/libc.so.6 (unknown line) __libc_start_main at /lib64/libc.so.6 (unknown line) Allocations: 5387 (Pool: 5378; Big: 9); GC: 0 make: *** [julia-base-cache] Segmentation fault (core dumped)"><pre class="notranslate"><code class="notranslate">signal (11): Segmentation fault in expression starting at no file:0 set_ssl_cert_locations at /buildworker/worker/package_linuxppc64le/build/usr/share/julia/stdlib/v0.7/LibGit2/src/error.jl:0 __init__ at /buildworker/worker/package_linuxppc64le/build/usr/share/julia/stdlib/v0.7/LibGit2/src/LibGit2.jl:990 jfptr___init___18949 at /buildworker/worker/package_linuxppc64le/build/usr/lib/julia/sys.so (unknown line) jl_apply_generic at /buildworker/worker/package_linuxppc64le/build/src/gf.c:2167 jl_apply at /buildworker/worker/package_linuxppc64le/build/src/julia.h:1540 [inlined] jl_module_run_initializer at /buildworker/worker/package_linuxppc64le/build/src/toplevel.c:90 _julia_init at /buildworker/worker/package_linuxppc64le/build/src/init.c:810 julia_init__threading at /buildworker/worker/package_linuxppc64le/build/src/task.c:302 main at /buildworker/worker/package_linuxppc64le/build/ui/repl.c:234 generic_start_main.isra.0 at /lib64/libc.so.6 (unknown line) __libc_start_main at /lib64/libc.so.6 (unknown line) Allocations: 5387 (Pool: 5378; Big: 9); GC: 0 make: *** [julia-base-cache] Segmentation fault (core dumped) </code></pre></div>
1
<p dir="auto">Failed: <a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-verify-master/4646/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-verify-master/4646/</a></p> <p dir="auto">Run so broken it didn't make JUnit output!</p>
<p dir="auto">Failed: <a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-verify-master/3998/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-verify-master/3998/</a></p> <p dir="auto">Run so broken it didn't make JUnit output!</p>
1
<h1 dir="auto">What / Why</h1> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/38701964/76397373-a0ed6700-6383-11ea-9d1e-3a805e6d12b2.png"><img src="https://user-images.githubusercontent.com/38701964/76397373-a0ed6700-6383-11ea-9d1e-3a805e6d12b2.png" alt="2020-03-11_10h32_31" style="max-width: 100%;"></a></p> <h2 dir="auto">When</h2> <p dir="auto">Happens all the time</p> <ul dir="auto"> <li>n/a</li> </ul> <h2 dir="auto">Where</h2> <p dir="auto">I am behind a corporate firewall</p> <h2 dir="auto">How</h2> <h3 dir="auto">Current Behavior</h3> <ul dir="auto"> <li>n/a</li> </ul> <h3 dir="auto">Steps to Reproduce</h3> <p dir="auto">Try importing packages from npm</p> <h3 dir="auto">Expected Behavior</h3> <ul dir="auto"> <li>n/a</li> </ul> <h2 dir="auto">Who</h2> <ul dir="auto"> <li>n/a</li> </ul> <h2 dir="auto">References</h2> <ul dir="auto"> <li>n/a</li> </ul>
<h1 dir="auto">What / Why</h1> <p dir="auto">I get error cb() never called! error when trying to install typescript of angular</p> <blockquote> <p dir="auto">n/a</p> </blockquote> <h2 dir="auto">When</h2> <p dir="auto">npm install -g typescript</p> <h2 dir="auto">Where</h2> <p dir="auto">Windows cmd</p> <h2 dir="auto">How</h2> <h3 dir="auto">Current Behavior</h3> <p dir="auto">npm install -g @angular/cli<br> npm ERR! cb() never called!</p> <p dir="auto">npm ERR! This is an error with npm itself. Please report this error at:</p> <h3 dir="auto">Steps to Reproduce</h3> <p dir="auto">run npm install -g @angular/cli</p> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">should install angular/typescript</p> <h2 dir="auto">Who</h2> <p dir="auto"><a href="https://github.com/npm/cli/files/4298928/2020-03-06T14_50_38_986Z-debug.log">2020-03-06T14_50_38_986Z-debug.log</a><br> <a href="https://github.com/npm/cli/files/4298929/2020-03-06T14_53_22_051Z-debug.log">2020-03-06T14_53_22_051Z-debug.log</a></p> <ul dir="auto"> <li>n/a</li> </ul> <h2 dir="auto">References</h2> <ul dir="auto"> <li>n/a</li> </ul>
0
<p dir="auto">Hey there!</p> <p dir="auto">I just came across WebPack while being in the need to get rid of many requests just to gather together some resources (various scripts, etc). For now, I have been doing this using PHP. A Yii extension allows me to add together all my scripts into a single file. However, minification and things alike don't work. There also is no support for some advanced parsing and pre-processing.</p> <p dir="auto">So I have a few questions:</p> <ul dir="auto"> <li>Within webpack-app (the example app) you used the <code class="notranslate">jamjs</code> system for some dependencies. Would you recommend this to work nicely alongside webpack?</li> <li>I currently have quite a few dependencies that I am currently managing via - you are going to scream... - <code class="notranslate">git submodule</code>. As you can tell, this is <strong>not</strong> very elegant! My main dependencies include Bootstrap and jQuery, but also smaller jQuery plugins. How can I add these smaller plugins, that are oftenly just a single file, to webpack? Is there a recommended way to do so? As an example for this question, consider <code class="notranslate">jQuery.stickyFooter</code> and <code class="notranslate">jQuery.rangyInputs</code>.</li> <li>Am I right to assume that loaders are chained by separating them by exclamation points ("!")? I.e.: <code class="notranslate">style-loader!css-loader!scss-loader</code></li> <li>I want to build a loader for <a href="http://npmjs.org/ojc" rel="nofollow">OJ</a>. It has a runtime that needs to be included for the browser to work. This runtime currently only supports the browser and needs to run in global space. Imagine I had done the loader, how would I go about loading <code class="notranslate">.oj</code> files?</li> <li>Within my app, I have a slightly changing demand for scripts. When I am at <code class="notranslate">/site/main</code> I only want jQuery, Bootstrap and some fancy stuff. But when I am within <code class="notranslate">/chat</code>, I would like to be able to load a lot more JS files. What is a good way to handle this? I know there is the async way of require-ing files. But how exactly does it work? Do I specify the path directly to the file? Say I have <code class="notranslate">main.js</code> and a subfolder called <code class="notranslate">chat/</code> containing a few various scripts specially for the chat. How do I load them all?</li> <li>Does webpack understand symlinks? I currently have the Socket.IO client library symlinked into my main folder. What is the best way to get this to the browser?</li> </ul> <p dir="auto">Sorry for the load of questions - but I decided that it was better to put it all here instead of spawning one issue per question - I hope you don't mind :)</p> <p dir="auto">Webpack looks very promising and I can't wait to use it. I am just currently considering how to. The CLI seems a bit sparse and I am unsure on how exactly I have to create my webpack.</p> <p dir="auto">Kind regards, Ingwie!</p>
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br> Bug</p> <p dir="auto"><strong>What is the current behavior?</strong><br> ProfilingPlugin crashes build when using <code class="notranslate">source-map</code> devtool</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const webpack = require('webpack'); module.exports = { devtool: 'source-maps', plugins: [ new webpack.debug.ProfilingPlugin() ] }"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">webpack</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'webpack'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">devtool</span>: <span class="pl-s">'source-maps'</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">debug</span><span class="pl-kos">.</span><span class="pl-c1">ProfilingPlugin</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">webpack --mode=production</code> fails with the following stack trace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Unhandled rejection TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined at compilation.hooks.afterOptimizeChunkAssets.tap (~/webpack-issue/node_modules/webpack/lib/SourceMapDevToolPlugin.js:108:26) at args (~/webpack-issue/node_modules/webpack/lib/debug/ProfilingPlugin.js:383:10) at SyncHook.eval [as call] (eval at create (~/webpack-issue/node_modules/tapable/lib/HookCodeFactory.js:17:12), &lt;anonymous&gt;:9:1) at SyncHook.lazyCompileHook [as _call] (~/webpack-issue/node_modules/tapable/lib/Hook.js:35:21) at hooks.optimizeChunkAssets.callAsync.err (~/webpack-issue/node_modules/webpack/lib/Compilation.js:947:42) ..."><pre class="notranslate"><code class="notranslate">Unhandled rejection TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined at compilation.hooks.afterOptimizeChunkAssets.tap (~/webpack-issue/node_modules/webpack/lib/SourceMapDevToolPlugin.js:108:26) at args (~/webpack-issue/node_modules/webpack/lib/debug/ProfilingPlugin.js:383:10) at SyncHook.eval [as call] (eval at create (~/webpack-issue/node_modules/tapable/lib/HookCodeFactory.js:17:12), &lt;anonymous&gt;:9:1) at SyncHook.lazyCompileHook [as _call] (~/webpack-issue/node_modules/tapable/lib/Hook.js:35:21) at hooks.optimizeChunkAssets.callAsync.err (~/webpack-issue/node_modules/webpack/lib/Compilation.js:947:42) ... </code></pre></div> <p dir="auto">Removing <code class="notranslate">devtool</code> fixes the build.</p> <p dir="auto"><strong>What is the expected behavior?</strong><br> It should work</p> <p dir="auto"><strong>Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.</strong></p> <p dir="auto">webpack 4.1.1<br> macOS High Siera 10.13.3<br> node v8.4.0</p>
0
<h3 dir="auto">Preflight Checklist</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Issue Details</h3> <ul dir="auto"> <li><strong>Electron Version:</strong><br> "electron": "^4.1.4",</li> <li><strong>Operating System:</strong><br> Ubuntu 18.04 x64</li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">[ LOG ] , "hora"<br> [ LOG ] , 9<br> [ LOG ] , "campo hora do horaro"<br> [ LOG ] , 9</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/33994116/69075453-31d4b700-0a10-11ea-87e6-c74a945a9df1.png"><img src="https://user-images.githubusercontent.com/33994116/69075453-31d4b700-0a10-11ea-87e6-c74a945a9df1.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">To Reproduce</h3> <p dir="auto"><code class="notranslate">const timeStamp={"seconds":1574079167,"nanoseconds":901462000} const valueInDate = timeStamp.toDate() const brTime= new Date(valueInDate) //2019-11-18T12:12:47.901Z const hour = brTime.getHours() // 10 EXPECTED TO BE 9 PROBLEM HERE</code></p> <h3 dir="auto">Screenshots</h3> <h3 dir="auto">Additional Information</h3> <p dir="auto">This year Brasil lost his summerTimezone, from octuber to feburary brasil was -2UTC(from te last 7 years) but this year its -3UTC.</p> <p dir="auto">This problem occurs only when i running in Electron, if i open in the browser works fine</p>
<h3 dir="auto">Preflight Checklist</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Electron Version</h3> <p dir="auto">12.0.9</p> <h3 dir="auto">What operating system are you using?</h3> <p dir="auto">Windows</p> <h3 dir="auto">Operating System Version</h3> <p dir="auto">Windows 10 19042.985</p> <h3 dir="auto">What arch are you using?</h3> <p dir="auto">x64</p> <h3 dir="auto">Last Known Working Electron version</h3> <p dir="auto">11.0.0</p> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">We should be able to get the number of copies printed which have been passed via options<br> Header and Footer Strings passed to be added to each pages printed along with the page number<br> Specifying a page range should only print that range of pages not the entire document</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">Only one copy is generated<br> Header and Footer not added to the printed page.<br> Entrire document is printed instead of the range specified.<br> I am not sure if this is the same case with Collate and other properties, those needes to be checked.</p> <h3 dir="auto">Testcase Gist URL</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Additional Information</h3> <p dir="auto">In version 11 as well, only the footer is customisable, even though if we pass the header it is not reflecting. It shows the date and title.</p>
0
<p dir="auto">When creating variable inside tasks(using set_fact), even using "|int" filter, result passed to jinja is still string.<br> I've created full Proof Of Concept bug in github repo : <a href="https://github.com/rafaltrojniak/ansible-jinja-casting">https://github.com/rafaltrojniak/ansible-jinja-casting</a></p> <h5 dir="auto">Issue Type:</h5> <p dir="auto">��Bug Report</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">ansible 1.4.5</p> <h5 dir="auto">Environment:</h5> <p dir="auto">Debian 6.0.8</p> <h5 dir="auto">Summary:</h5> <p dir="auto">When creating variable inside tasks(using set_fact), even using "|int" filter, result passed to jinja is still string.</p> <h5 dir="auto">Steps To Reproduce:</h5> <p dir="auto">I've created full Proof Of Concept bug in github repo : <a href="https://github.com/rafaltrojniak/ansible-jinja-casting">https://github.com/rafaltrojniak/ansible-jinja-casting</a>. To reproduce :</p> <ul dir="auto"> <li>Clone the repo and "cd" into it</li> <li>Set ssh access to localhost, so ansible could run</li> <li>Run ansible-playbook site.yml -i hosts</li> </ul> <h5 dir="auto">Expected Results:</h5> <p dir="auto">I expect all templates to be generated sucessfully.<br> All multiplication results in templates should equal 10<br> All additions results in templates should equal 11</p> <h5 dir="auto">Actual Results:</h5> <ul dir="auto"> <li>Variables in jinja seams to be string objects</li> <li>Multiplication of strings result in repetitions of string, not mathematical multiplication</li> <li>Addition to string result in fatal error</li> </ul>
<p dir="auto">Here's the playbook with the problem:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Setup some config template: src=some.j2 dest=/vagrant/some register: some - name: Setup boolean fact set_fact: it_is_so={{some.changed}} - name: Setup other config template: src=other.j2 dest=/vagrant/other"><pre class="notranslate"><code class="notranslate">- name: Setup some config template: src=some.j2 dest=/vagrant/some register: some - name: Setup boolean fact set_fact: it_is_so={{some.changed}} - name: Setup other config template: src=other.j2 dest=/vagrant/other </code></pre></div> <p dir="auto">Here's the <code class="notranslate">other.j2</code> template:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Say... {% if it_is_so %} it is so {% else %} it isn't so {% endif %}"><pre class="notranslate"><code class="notranslate">Say... {% if it_is_so %} it is so {% else %} it isn't so {% endif %} </code></pre></div> <p dir="auto">The issue I'm having is that the <code class="notranslate">other.j2</code> template has a check which assumed that the <code class="notranslate">it_is_so</code> variable is a boolean. As it turns out, that's not the case, instead, it's a string. So even if <code class="notranslate">it_is_so</code> was set to "False" it would still be considered true when parsing the template.</p> <p dir="auto">I do want to note that it is treated as a boolean if I changed it up to:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Setup boolean fact set_fact: it_is_so: ${some.changed}"><pre class="notranslate"><code class="notranslate">- name: Setup boolean fact set_fact: it_is_so: ${some.changed} </code></pre></div> <p dir="auto">I couldn't get away with <code class="notranslate">{{some.changed}}</code>, because it's a YAML syntax error. This works, which is nice, but the syntax is deprecated.</p> <p dir="auto">EDIT:</p> <p dir="auto">Also, the <code class="notranslate">when</code> statement is able to treat the "False" string as a <code class="notranslate">false</code> boolean value.</p>
1
<p dir="auto">On the commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/sqlalchemy/sqlalchemy/commit/4376c2e5b016e8dfec7bc1b0d2ebbebae737c063/hovercard" href="https://github.com/sqlalchemy/sqlalchemy/commit/4376c2e5b016e8dfec7bc1b0d2ebbebae737c063"><tt>4376c2e</tt></a>, Adding a backref into a <code class="notranslate">viewonly</code> relationship was deprecated to avoid the issue where a backref one2many collection is modified, but the respective many2one relationship cannot be assigned.</p> <p dir="auto">However, if the <code class="notranslate">backref</code> is <code class="notranslate">lazy="dynamic"</code>, there is no risk of the collection in the one2many side of the relationship being modified in this case, so forgive me if I misunderstood the deprecation, but I think it is unwarranted in this specific case.</p> <p dir="auto">Conversely, if the <code class="notranslate">backref</code> is <code class="notranslate">lazy="select"</code> but both sides of the relationship are <code class="notranslate">viewonly</code>, then there should also be no harm, hence no warning, but you might consider this a separate issue.</p> <p dir="auto">Here is a simple example file showing the warning that I think is unwarranted (<code class="notranslate">.txt</code> added so it can be attached to a github issue):<br> <a href="https://github.com/sqlalchemy/sqlalchemy/files/4429905/test_backref.py.txt">test_backref.py.txt</a></p>
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p> <p dir="auto">The information_schema view and all its columns are assumed to be in lower case. However, if the database is set up to be case sensitive, then none of these will be accessible to the user and so nothing works.</p>
0
<p dir="auto">React version:<br> 17.0.2, previous versions too</p> <h2 dir="auto">Steps To Reproduce</h2> <ol dir="auto"> <li>Set an elements opacity to a value like 50%</li> <li>Deploy to production and it's changed to 1%</li> </ol> <h2 dir="auto">The current behaviour</h2> <p dir="auto">The opacity of an element gets set to 1% in production if the value in its CSS rulesets is in percentage, Like 70%</p> <h2 dir="auto">The expected behaviour</h2> <p dir="auto">The opacity value should be 70% (for example)</p> <p dir="auto">Way to bypass this is to use decimals while setting opacity in CSS.</p> <p dir="auto">Like opacity: 0.7;<br> Instead of opacity: 70%;</p>
<p dir="auto">React version: 16.13.1</p> <h2 dir="auto">Steps To Reproduce</h2> <ol dir="auto"> <li>Set a css property <code class="notranslate">background-image: url(...)</code></li> <li>Deploy the project (BUG ONLY VISIBLE ON PRODUCTION BUILD)</li> </ol> <p dir="auto">Link to code example: <a href="https://github.com/Jackmt9/portfolio_site/tree/9f6b1f53f33f22386cf473bdc956774027059035">https://github.com/Jackmt9/portfolio_site/tree/9f6b1f53f33f22386cf473bdc956774027059035</a><br> (See about and home page - there should be an image there.)</p> <h2 dir="auto">The current behavior</h2> <p dir="auto">Opacity of the image reduces to 1%</p> <h2 dir="auto">The expected behavior</h2> <p dir="auto">Opacity should be as defined, not 1%</p> <p dir="auto">##Workaround<br> Set the opacity value as a decimal instead of a percentage (90% =&gt; 0.9)</p>
1
<h1 dir="auto">Description of the new feature/enhancement</h1> <p dir="auto">It would be nice to have the ctrl + tab and ctrl + shift + tab to cycle through most recently used (MRU) order. This option is available in almost all tabbed based products (except Chrome :( ). At the very least it is an option that can be enabled if not already the default behavior.</p> <p dir="auto">If I have three tabs open and focus tab 2 then tab 0, pressing ctrl + tab should take me to tab 2. Pressing it again should take me back to tab 0. Holding ctrl and pressing tab twice should focus tab 1. (This is all assuming zero-based indexing of tabs as documented in the profiles.json file) Using the ctrl + shift + tab should focus the last (oldest) focused tab currently open.</p> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <p dir="auto">I would imagine a circularly linked list may be appropriate.</p>
<h1 dir="auto">Environment</h1> <p dir="auto">windows 10 version: 18362.295<br> windows terminal version: 0.4.2382.0</p> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">my terminal crashed whenever I copy this code from it:</p> <blockquote> <p dir="auto">(LinkedNode *)mallock(sizeof(LinkedNode))</p> </blockquote>
0
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; df = pd.DataFrame(data=np.random.randint(0, 5, (5,3)), columns=['a', 'b', 'c']) &gt;&gt;&gt; df a b c 0 4 0 0 1 2 0 1 2 2 2 2 3 1 2 2 4 3 0 0 &gt;&gt;&gt; df.apply(lambda x: list(range(2)), axis=1) # returns a Series 0 [0, 1] 1 [0, 1] 2 [0, 1] 3 [0, 1] 4 [0, 1] dtype: object &gt;&gt;&gt; df.apply(lambda x: list(range(3)), axis=1) # returns a DataFrame a b c 0 0 1 2 1 0 1 2 2 0 1 2 3 0 1 2 4 0 1 2 &gt;&gt;&gt; i = 0 &gt;&gt;&gt; def f(x): global i if i == 0: i += 1 return list(range(3)) return list(range(4)) &gt;&gt;&gt; df.apply(f, axis=1) ValueError: Shape of passed values is (5, 4), indices imply (5, 3)"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">data</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randint</span>(<span class="pl-c1">0</span>, <span class="pl-c1">5</span>, (<span class="pl-c1">5</span>,<span class="pl-c1">3</span>)), <span class="pl-s1">columns</span><span class="pl-c1">=</span>[<span class="pl-s">'a'</span>, <span class="pl-s">'b'</span>, <span class="pl-s">'c'</span>]) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span> <span class="pl-s1">a</span> <span class="pl-s1">b</span> <span class="pl-s1">c</span> <span class="pl-c1">0</span> <span class="pl-c1">4</span> <span class="pl-c1">0</span> <span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">2</span> <span class="pl-c1">2</span> <span class="pl-c1">2</span> <span class="pl-c1">3</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">2</span> <span class="pl-c1">4</span> <span class="pl-c1">3</span> <span class="pl-c1">0</span> <span class="pl-c1">0</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span>.<span class="pl-en">apply</span>(<span class="pl-k">lambda</span> <span class="pl-s1">x</span>: <span class="pl-en">list</span>(<span class="pl-en">range</span>(<span class="pl-c1">2</span>)), <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-c"># returns a Series</span> <span class="pl-c1">0</span> [<span class="pl-c1">0</span>, <span class="pl-c1">1</span>] <span class="pl-c1">1</span> [<span class="pl-c1">0</span>, <span class="pl-c1">1</span>] <span class="pl-c1">2</span> [<span class="pl-c1">0</span>, <span class="pl-c1">1</span>] <span class="pl-c1">3</span> [<span class="pl-c1">0</span>, <span class="pl-c1">1</span>] <span class="pl-c1">4</span> [<span class="pl-c1">0</span>, <span class="pl-c1">1</span>] <span class="pl-s1">dtype</span>: <span class="pl-s1">object</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span>.<span class="pl-en">apply</span>(<span class="pl-k">lambda</span> <span class="pl-s1">x</span>: <span class="pl-en">list</span>(<span class="pl-en">range</span>(<span class="pl-c1">3</span>)), <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-c"># returns a DataFrame</span> <span class="pl-s1">a</span> <span class="pl-s1">b</span> <span class="pl-s1">c</span> <span class="pl-c1">0</span> <span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">1</span> <span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">2</span> <span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">3</span> <span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">4</span> <span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-k">def</span> <span class="pl-en">f</span>(<span class="pl-s1">x</span>): <span class="pl-k">global</span> <span class="pl-s1">i</span> <span class="pl-k">if</span> <span class="pl-s1">i</span> <span class="pl-c1">==</span> <span class="pl-c1">0</span>: <span class="pl-s1">i</span> <span class="pl-c1">+=</span> <span class="pl-c1">1</span> <span class="pl-k">return</span> <span class="pl-en">list</span>(<span class="pl-en">range</span>(<span class="pl-c1">3</span>)) <span class="pl-k">return</span> <span class="pl-en">list</span>(<span class="pl-en">range</span>(<span class="pl-c1">4</span>)) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span>.<span class="pl-en">apply</span>(<span class="pl-s1">f</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-v">ValueError</span>: <span class="pl-v">Shape</span> <span class="pl-s1">of</span> <span class="pl-s1">passed</span> <span class="pl-s1">values</span> <span class="pl-c1">is</span> (<span class="pl-c1">5</span>, <span class="pl-c1">4</span>), <span class="pl-s1">indices</span> <span class="pl-en">imply</span> (<span class="pl-c1">5</span>, <span class="pl-c1">3</span>)</pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">There are three possible outcomes. When the length of the returned list is equal to the number of columns then a DataFrame is returned and each column gets the corresponding value in the list.</p> <p dir="auto">If the length of the returned list is not equal to the number of columns, then a Series of lists is returned.</p> <p dir="auto">If the length of the returned list equals the number of columns for the first row but has at least one row where the list has a different number of elements than number of columns a ValueError is raised.</p> <h4 dir="auto">Expected Output</h4> <p dir="auto">Need consistency. Probably should default to a Series of lists for all examples.</p> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> <h2 dir="auto">INSTALLED VERSIONS</h2> <p dir="auto">commit: None<br> python: 3.6.1.final.0<br> python-bits: 64<br> OS: Darwin<br> OS-release: 15.6.0<br> machine: x86_64<br> processor: i386<br> byteorder: little<br> LC_ALL: None<br> LANG: en_US.UTF-8<br> LOCALE: en_US.UTF-8</p> <p dir="auto">pandas: 0.21.0rc1<br> pytest: 3.0.7<br> pip: 9.0.1<br> setuptools: 35.0.2<br> Cython: 0.25.2<br> numpy: 1.13.3<br> scipy: 0.19.0<br> pyarrow: None<br> xarray: None<br> IPython: 6.0.0<br> sphinx: 1.5.5<br> patsy: 0.4.1<br> dateutil: 2.6.1<br> pytz: 2017.2<br> blosc: None<br> bottleneck: 1.2.0<br> tables: 3.4.2<br> numexpr: 2.6.2<br> feather: None<br> matplotlib: 2.1.0<br> openpyxl: 2.4.7<br> xlrd: 1.0.0<br> xlwt: 1.2.0<br> xlsxwriter: 0.9.6<br> lxml: 3.7.3<br> bs4: 4.6.0<br> html5lib: 0.9999999<br> sqlalchemy: 1.1.9<br> pymysql: None<br> psycopg2: None<br> jinja2: 2.9.6<br> s3fs: None<br> fastparquet: None<br> pandas_gbq: None<br> pandas_datareader: 0.5.0</p> </details>
<h4 dir="auto">MWE</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np import pandas as pd df = pd.DataFrame(np.random.rand(10, 2)) # dummy array df1 = df.apply(np.fft.fft, axis=0) # works print(df1.shape) # for testing df2 = df.apply(np.fft.rfft, axis=0) # breaks print(df2.shape) # for testing"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">rand</span>(<span class="pl-c1">10</span>, <span class="pl-c1">2</span>)) <span class="pl-c"># dummy array</span> <span class="pl-s1">df1</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-en">apply</span>(<span class="pl-s1">np</span>.<span class="pl-s1">fft</span>.<span class="pl-s1">fft</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">0</span>) <span class="pl-c"># works</span> <span class="pl-en">print</span>(<span class="pl-s1">df1</span>.<span class="pl-s1">shape</span>) <span class="pl-c"># for testing</span> <span class="pl-s1">df2</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-en">apply</span>(<span class="pl-s1">np</span>.<span class="pl-s1">fft</span>.<span class="pl-s1">rfft</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">0</span>) <span class="pl-c"># breaks</span> <span class="pl-en">print</span>(<span class="pl-s1">df2</span>.<span class="pl-s1">shape</span>) <span class="pl-c"># for testing</span></pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">I would like to take a DataFrame of time series and apply the real-fft along the columns, but it seems that DataFrame.apply only works if the function to be applied returns output that is the same size as the input.</p> <h4 dir="auto">Expected Output</h4> <p dir="auto">I expect the code block above to run without error and produce the following output:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(10, 2) (6, 2)"><pre class="notranslate">(<span class="pl-c1">10</span>, <span class="pl-c1">2</span>) (<span class="pl-c1">6</span>, <span class="pl-c1">2</span>)</pre></div> <p dir="auto">Alternatively, raising an error that tells the user "output array size must match input array size" would be fine, if we want to restrict apply to working only for functions that return the same-size arrays as the inputs.</p> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> <h2 dir="auto">INSTALLED VERSIONS</h2> <p dir="auto">commit: None<br> python: 3.6.1.final.0<br> python-bits: 64<br> OS: Windows<br> OS-release: 7<br> machine: AMD64<br> processor: Intel64 Family 6 Model 78 Stepping 3, GenuineIntel<br> byteorder: little<br> LC_ALL: None<br> LANG: en<br> LOCALE: None.None</p> <p dir="auto">pandas: 0.20.2<br> pytest: 3.2.1<br> pip: 9.0.1<br> setuptools: 27.2.0<br> Cython: 0.25.2<br> numpy: 1.13.1<br> scipy: 0.19.0<br> xarray: 0.9.6<br> IPython: 6.1.0<br> sphinx: 1.6.2<br> patsy: None<br> dateutil: 2.6.0<br> pytz: 2017.2<br> blosc: None<br> bottleneck: None<br> tables: 3.2.2<br> numexpr: 2.6.2<br> feather: None<br> matplotlib: 2.0.2<br> openpyxl: None<br> xlrd: 1.0.0<br> xlwt: None<br> xlsxwriter: None<br> lxml: None<br> bs4: None<br> html5lib: 0.999<br> sqlalchemy: None<br> pymysql: None<br> psycopg2: None<br> jinja2: 2.9.6<br> s3fs: None<br> pandas_gbq: None<br> pandas_datareader: None</p> </details>
1
<p dir="auto">After successfully install OpenCV 4.5.5 from sources, the Python3 bindings is broken:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ pkg-config --modversion opencv4 4.5.5 $ python3 -c &quot;import cv2; print(cv2.__version__)&quot; Traceback (most recent call last): File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt; ModuleNotFoundError: No module named 'cv2'"><pre class="notranslate">$ pkg-config --modversion opencv4 4.5.5 $ python3 -c <span class="pl-s"><span class="pl-pds">"</span>import cv2; print(cv2.__version__)<span class="pl-pds">"</span></span> Traceback (most recent call last): File <span class="pl-s"><span class="pl-pds">"</span>&lt;string&gt;<span class="pl-pds">"</span></span>, line 1, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> ModuleNotFoundError: No module named <span class="pl-s"><span class="pl-pds">'</span>cv2<span class="pl-pds">'</span></span></pre></div> <p dir="auto">If I use version 4.5.4, python bindings are available as expected:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ git checkout 4.5.4"><pre class="notranslate">$ git checkout 4.5.4</pre></div> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ python3 -c &quot;import cv2; print(cv2.__version__)&quot; 4.5.4"><pre class="notranslate">$ python3 -c <span class="pl-s"><span class="pl-pds">"</span>import cv2; print(cv2.__version__)<span class="pl-pds">"</span></span> 4.5.4</pre></div> <h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.5.5 Nighty build</li> <li>Operating System / Platform =&gt; Ubuntu 20.04.3 LTS</li> <li>Compiler =&gt; gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0</li> </ul> <h5 dir="auto">Detailed description</h5> <h5 dir="auto">Steps to reproduce</h5> <ol start="0" dir="auto"> <li>update the system</li> </ol> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ sudo apt update $ sudo apt upgrade"><pre class="notranslate">$ sudo apt update $ sudo apt upgrade</pre></div> <ol dir="auto"> <li>install dependencies:</li> </ol> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ sudo apt install build-essential cmake git pkg-config libgtk-3-dev \ libavcodec-dev libavformat-dev libswscale-dev libv4l-dev \ libxvidcore-dev libx264-dev libjpeg-dev libpng-dev libtiff-dev \ gfortran openexr libatlas-base-dev python3-dev python3-numpy \ libtbb2 libtbb-dev libdc1394-22-dev v4l-utils"><pre class="notranslate">$ sudo apt install build-essential cmake git pkg-config libgtk-3-dev \ libavcodec-dev libavformat-dev libswscale-dev libv4l-dev \ libxvidcore-dev libx264-dev libjpeg-dev libpng-dev libtiff-dev \ gfortran openexr libatlas-base-dev python3-dev python3-numpy \ libtbb2 libtbb-dev libdc1394-22-dev v4l-utils</pre></div> <ol start="2" dir="auto"> <li>clone repos</li> </ol> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ mkdir ~/opencv_build &amp;&amp; cd ~/opencv_build $ git clone https://github.com/opencv/opencv_contrib.git $ cd opencv_contrib $ cd .. $ git clone https://github.com/opencv/opencv.git $ cd opencv"><pre class="notranslate">$ mkdir <span class="pl-k">~</span>/opencv_build <span class="pl-k">&amp;&amp;</span> <span class="pl-c1">cd</span> <span class="pl-k">~</span>/opencv_build $ git clone https://github.com/opencv/opencv_contrib.git $ <span class="pl-c1">cd</span> opencv_contrib $ <span class="pl-c1">cd</span> .. $ git clone https://github.com/opencv/opencv.git $ <span class="pl-c1">cd</span> opencv</pre></div> <ol start="3" dir="auto"> <li>Checking last commit:</li> </ol> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ git log -1 commit 7f6dcc27458757f36491842b2e3cc5770d526b25 (HEAD -&gt; 4.x, origin/master, origin/HEAD, origin/4.x) Merge: f2d5d6d24e 5ba9a089e1 Author: Alexander Alekhin &lt;[email protected]&gt; Date: Tue Jan 18 09:55:13 2022 +0000 Merge pull request #21467 from alalek:issue_21448"><pre class="notranslate">$ git log -1 commit 7f6dcc27458757f36491842b2e3cc5770d526b25 (HEAD -<span class="pl-k">&gt;</span> 4.x, origin/master, origin/HEAD, origin/4.x) Merge: f2d5d6d24e 5ba9a089e1 Author: Alexander Alekhin <span class="pl-k">&lt;</span>[email protected]<span class="pl-k">&gt;</span> Date: Tue Jan 18 09:55:13 2022 +0000 Merge pull request <span class="pl-c"><span class="pl-c">#</span>21467 from alalek:issue_21448</span></pre></div> <ol start="4" dir="auto"> <li>build</li> </ol> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ mkdir build &amp;&amp; cd build $ cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D CMAKE_INSTALL_PREFIX=/usr/local \ -D INSTALL_C_EXAMPLES=OFF \ -D INSTALL_PYTHON_EXAMPLES=OFF \ -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF \ -D OPENCV_GENERATE_PKGCONFIG=ON \ -D OPENCV_EXTRA_MODULES_PATH=~/opencv_build/opencv_contrib/modules \ -D BUILD_EXAMPLES=OFF .. $ make -j4 $ sudo make install "><pre class="notranslate">$ mkdir build <span class="pl-k">&amp;&amp;</span> <span class="pl-c1">cd</span> build $ cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D CMAKE_INSTALL_PREFIX=/usr/local \ -D INSTALL_C_EXAMPLES=OFF \ -D INSTALL_PYTHON_EXAMPLES=OFF \ -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF \ -D OPENCV_GENERATE_PKGCONFIG=ON \ -D OPENCV_EXTRA_MODULES_PATH=<span class="pl-k">~</span>/opencv_build/opencv_contrib/modules \ -D BUILD_EXAMPLES=OFF .. $ make -j4 $ sudo make install </pre></div> <ol start="5" dir="auto"> <li>Check install</li> </ol> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ pkg-config --modversion opencv4 4.5.5 $ python3 -c &quot;import cv2; print(cv2.__version__)&quot; Traceback (most recent call last): File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt; ModuleNotFoundError: No module named 'cv2' $"><pre class="notranslate">$ pkg-config --modversion opencv4 4.5.5 $ python3 -c <span class="pl-s"><span class="pl-pds">"</span>import cv2; print(cv2.__version__)<span class="pl-pds">"</span></span> Traceback (most recent call last): File <span class="pl-s"><span class="pl-pds">"</span>&lt;string&gt;<span class="pl-pds">"</span></span>, line 1, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> ModuleNotFoundError: No module named <span class="pl-s"><span class="pl-pds">'</span>cv2<span class="pl-pds">'</span></span> $</pre></div> <p dir="auto">PS.: output of cmake is:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ cmake -D CMAKE_BUILD_TYPE=RELEASE \ &gt; -D CMAKE_INSTALL_PREFIX=/usr/local \ &gt; -D INSTALL_C_EXAMPLES=OFF \ &gt; -D INSTALL_PYTHON_EXAMPLES=OFF \ &gt; -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF \ &gt; -D OPENCV_GENERATE_PKGCONFIG=ON \ &gt; -D OPENCV_EXTRA_MODULES_PATH=~/opencv_build/opencv_contrib/modules \ &gt; -D BUILD_EXAMPLES=OFF .. -- Detected processor: x86_64 -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version &quot;2.7&quot;) -- Looking for ccache - not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version &quot;1.2.11&quot;, minimum required is &quot;1.2.3&quot;) Cleaning INTERNAL cached variable: WEBP_LIBRARY Cleaning INTERNAL cached variable: WEBP_INCLUDE_DIR -- Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version &gt;= 2.3.1). OpenJPEG will be built from sources -- OpenJPEG: VERSION = 2.4.0, BUILD = opencv-4.5.5-dev-openjp2-2.4.0 -- OpenJPEG libraries will be built from sources: libopenjp2 (version &quot;2.4.0&quot;) -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version &quot;1.2.11&quot;) -- libva: missing va.h header (VA_INCLUDE_DIR) -- found Intel IPP (ICV version): 2020.0.0 [2020.0.0 Gold] -- at: /home/debugger/opencv_build/opencv/build/3rdparty/ippicv/ippicv_lnx/icv -- found Intel IPP Integration Wrappers sources: 2020.0.0 -- at: /home/debugger/opencv_build/opencv/build/3rdparty/ippicv/ippicv_lnx/iw -- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off -- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off -- Could NOT find Atlas (missing: Atlas_CLAPACK_INCLUDE_DIR) -- A library with LAPACK API found. -- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file -- Checking for module 'gtk+-2.0' -- No package 'gtk+-2.0' found -- Checking for module 'libavresample' -- No package 'libavresample' found -- Checking for module 'gstreamer-base-1.0' -- No package 'gstreamer-base-1.0' found -- Checking for module 'gstreamer-app-1.0' -- No package 'gstreamer-app-1.0' found -- Checking for module 'gstreamer-riff-1.0' -- No package 'gstreamer-riff-1.0' found -- Checking for module 'gstreamer-pbutils-1.0' -- No package 'gstreamer-pbutils-1.0' found -- Checking for module 'gstreamer-video-1.0' -- No package 'gstreamer-video-1.0' found -- Checking for module 'gstreamer-audio-1.0' -- No package 'gstreamer-audio-1.0' found -- Module opencv_alphamat disabled because the following dependencies are not found: Eigen -- freetype2: YES (ver 23.1.17) -- harfbuzz: YES (ver 2.6.4) -- Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS) (found version &quot;&quot;) -- Julia not found. Not compiling Julia Bindings. -- Module opencv_ovis disabled because OGRE3D was not found -- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available. -- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake. -- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components. -- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h -- Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h -- Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags -- Checking for module 'tesseract' -- No package 'tesseract' found -- Tesseract: NO -- Allocator metrics storage type: 'long long' -- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': /home/debugger/opencv_build/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake -- opencv_dnn: filter out cuda4dnn source code -- Excluding from source files list: &lt;BUILD&gt;/modules/dnn/layers/layers_common.rvv.cpp -- imgcodecs: OpenEXR codec is disabled in runtime. Details: https://github.com/opencv/opencv/issues/21326 -- highgui: using builtin backend: GTK3 -- rgbd: Eigen support is disabled. Eigen is Required for Posegraph optimization -- Found 'misc' Python modules from /home/debugger/opencv_build/opencv/modules/python/package/extra_modules -- Found 'mat_wrapper;utils' Python modules from /home/debugger/opencv_build/opencv/modules/core/misc/python/package -- Found 'gapi' Python modules from /home/debugger/opencv_build/opencv/modules/gapi/misc/python/package -- Found 'misc' Python modules from /home/debugger/opencv_build/opencv/modules/python/package/extra_modules -- Found 'mat_wrapper;utils' Python modules from /home/debugger/opencv_build/opencv/modules/core/misc/python/package -- Found 'gapi' Python modules from /home/debugger/opencv_build/opencv/modules/gapi/misc/python/package -- -- General configuration for OpenCV 4.5.5-dev ===================================== -- Version control: 4.5.5-57-g7f6dcc2745 -- -- Extra modules: -- Location (extra): /home/debugger/opencv_build/opencv_contrib/modules -- Version control (extra): 4.5.5-5-gbb3048d5 -- -- Platform: -- Timestamp: 2022-01-18T13:18:57Z -- Host: Linux 5.13.0-25-generic x86_64 -- CMake: 3.16.3 -- CMake generator: Unix Makefiles -- CMake build tool: /usr/bin/make -- Configuration: RELEASE -- -- CPU/HW features: -- Baseline: SSE SSE2 SSE3 -- requested: SSE3 -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX -- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX -- SSE4_1 (16 files): + SSSE3 SSE4_1 -- SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 -- FP16 (0 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX -- AVX (4 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX -- AVX2 (31 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 -- AVX512_SKX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX -- -- C/C++: -- Built as dynamic libs?: YES -- C++ standard: 11 -- C++ Compiler: /usr/bin/c++ (ver 9.3.0) -- C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG -- C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG -- C Compiler: /usr/bin/cc -- C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG -- C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG -- Linker flags (Release): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed -- Linker flags (Debug): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed -- ccache: NO -- Precompiled headers: NO -- Extra dependencies: dl m pthread rt -- 3rdparty dependencies: -- -- OpenCV modules: -- To be built: aruco barcode bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy gapi hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot python3 quality rapid reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto -- Disabled: world -- Disabled by dependency: - -- Unavailable: alphamat cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv hdf java julia matlab ovis python2 sfm ts viz -- Applications: apps -- Documentation: NO -- Non-free algorithms: NO -- -- GUI: GTK3 -- GTK+: YES (ver 3.24.20) -- GThread : YES (ver 2.64.6) -- GtkGlExt: NO -- VTK support: NO -- -- Media I/O: -- ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.11) -- JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver 80) -- WEBP: build (ver encoder: 0x020f) -- PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.6.37) -- TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 / 4.1.0) -- JPEG 2000: build (ver 2.4.0) -- OpenEXR: build (ver 2.3.0) -- HDR: YES -- SUNRASTER: YES -- PXM: YES -- PFM: YES -- -- Video I/O: -- DC1394: YES (2.2.5) -- FFMPEG: YES -- avcodec: YES (58.54.100) -- avformat: YES (58.29.100) -- avutil: YES (56.31.100) -- swscale: YES (5.5.100) -- avresample: NO -- GStreamer: NO -- v4l/v4l2: YES (linux/videodev2.h) -- -- Parallel framework: pthreads -- -- Trace: YES (with Intel ITT) -- -- Other third-party libraries: -- Intel IPP: 2020.0.0 Gold [2020.0.0] -- at: /home/debugger/opencv_build/opencv/build/3rdparty/ippicv/ippicv_lnx/icv -- Intel IPP IW: sources (2020.0.0) -- at: /home/debugger/opencv_build/opencv/build/3rdparty/ippicv/ippicv_lnx/iw -- VA: NO -- Lapack: NO -- Eigen: NO -- Custom HAL: NO -- Protobuf: build (3.19.1) -- -- OpenCL: YES (no extra features) -- Include path: /home/debugger/opencv_build/opencv/3rdparty/include/opencl/1.2 -- Link libraries: Dynamic load -- -- Python 3: -- Interpreter: /usr/bin/python3 (ver 3.8.10) -- Libraries: /usr/lib/x86_64-linux-gnu/libpython3.8.so (ver 3.8.10) -- numpy: /usr/lib/python3/dist-packages/numpy/core/include (ver 1.17.4) -- install path: lib/python3.8/site-packages/cv2/python-3.8 -- -- Python (for build): /usr/bin/python3 -- -- Java: -- ant: NO -- JNI: NO -- Java wrappers: NO -- Java tests: NO -- -- Install to: /usr/local -- ----------------------------------------------------------------- -- -- Configuring done -- Generating done -- Build files have been written to: /home/debugger/opencv_build/opencv/build"><pre class="notranslate">$ cmake -D CMAKE_BUILD_TYPE=RELEASE \ <span class="pl-k">&gt;</span> -D CMAKE_INSTALL_PREFIX=/usr/local \ <span class="pl-k">&gt;</span> -D INSTALL_C_EXAMPLES=OFF \ <span class="pl-k">&gt;</span> -D INSTALL_PYTHON_EXAMPLES=OFF \ <span class="pl-k">&gt;</span> -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF \ <span class="pl-k">&gt;</span> -D OPENCV_GENERATE_PKGCONFIG=ON \ <span class="pl-k">&gt;</span> -D OPENCV_EXTRA_MODULES_PATH=<span class="pl-k">~</span>/opencv_build/opencv_contrib/modules \ <span class="pl-k">&gt;</span> -D BUILD_EXAMPLES=OFF .. -- Detected processor: x86_64 -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version <span class="pl-s"><span class="pl-pds">"</span>2.7<span class="pl-pds">"</span></span>) -- Looking <span class="pl-k">for</span> ccache - not found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version <span class="pl-s"><span class="pl-pds">"</span>1.2.11<span class="pl-pds">"</span></span>, minimum required is <span class="pl-s"><span class="pl-pds">"</span>1.2.3<span class="pl-pds">"</span></span>) Cleaning INTERNAL cached variable: WEBP_LIBRARY Cleaning INTERNAL cached variable: WEBP_INCLUDE_DIR -- Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version <span class="pl-k">&gt;</span>= 2.3.1). OpenJPEG will be built from sources -- OpenJPEG: VERSION = 2.4.0, BUILD = opencv-4.5.5-dev-openjp2-2.4.0 -- OpenJPEG libraries will be built from sources: libopenjp2 (version <span class="pl-s"><span class="pl-pds">"</span>2.4.0<span class="pl-pds">"</span></span>) -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version <span class="pl-s"><span class="pl-pds">"</span>1.2.11<span class="pl-pds">"</span></span>) -- libva: missing va.h header (VA_INCLUDE_DIR) -- found Intel IPP (ICV version): 2020.0.0 [2020.0.0 Gold] -- at: /home/debugger/opencv_build/opencv/build/3rdparty/ippicv/ippicv_lnx/icv -- found Intel IPP Integration Wrappers sources: 2020.0.0 -- at: /home/debugger/opencv_build/opencv/build/3rdparty/ippicv/ippicv_lnx/iw -- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off -- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off -- Could NOT find Atlas (missing: Atlas_CLAPACK_INCLUDE_DIR) -- A library with LAPACK API found. -- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) -- VTK is not found. Please <span class="pl-c1">set</span> -DVTK_DIR <span class="pl-k">in</span> CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file -- Checking <span class="pl-k">for</span> module <span class="pl-s"><span class="pl-pds">'</span>gtk+-2.0<span class="pl-pds">'</span></span> -- No package <span class="pl-s"><span class="pl-pds">'</span>gtk+-2.0<span class="pl-pds">'</span></span> found -- Checking <span class="pl-k">for</span> module <span class="pl-s"><span class="pl-pds">'</span>libavresample<span class="pl-pds">'</span></span> -- No package <span class="pl-s"><span class="pl-pds">'</span>libavresample<span class="pl-pds">'</span></span> found -- Checking <span class="pl-k">for</span> module <span class="pl-s"><span class="pl-pds">'</span>gstreamer-base-1.0<span class="pl-pds">'</span></span> -- No package <span class="pl-s"><span class="pl-pds">'</span>gstreamer-base-1.0<span class="pl-pds">'</span></span> found -- Checking <span class="pl-k">for</span> module <span class="pl-s"><span class="pl-pds">'</span>gstreamer-app-1.0<span class="pl-pds">'</span></span> -- No package <span class="pl-s"><span class="pl-pds">'</span>gstreamer-app-1.0<span class="pl-pds">'</span></span> found -- Checking <span class="pl-k">for</span> module <span class="pl-s"><span class="pl-pds">'</span>gstreamer-riff-1.0<span class="pl-pds">'</span></span> -- No package <span class="pl-s"><span class="pl-pds">'</span>gstreamer-riff-1.0<span class="pl-pds">'</span></span> found -- Checking <span class="pl-k">for</span> module <span class="pl-s"><span class="pl-pds">'</span>gstreamer-pbutils-1.0<span class="pl-pds">'</span></span> -- No package <span class="pl-s"><span class="pl-pds">'</span>gstreamer-pbutils-1.0<span class="pl-pds">'</span></span> found -- Checking <span class="pl-k">for</span> module <span class="pl-s"><span class="pl-pds">'</span>gstreamer-video-1.0<span class="pl-pds">'</span></span> -- No package <span class="pl-s"><span class="pl-pds">'</span>gstreamer-video-1.0<span class="pl-pds">'</span></span> found -- Checking <span class="pl-k">for</span> module <span class="pl-s"><span class="pl-pds">'</span>gstreamer-audio-1.0<span class="pl-pds">'</span></span> -- No package <span class="pl-s"><span class="pl-pds">'</span>gstreamer-audio-1.0<span class="pl-pds">'</span></span> found -- Module opencv_alphamat disabled because the following dependencies are not found: Eigen -- freetype2: YES (ver 23.1.17) -- harfbuzz: YES (ver 2.6.4) -- Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS) (found version <span class="pl-s"><span class="pl-pds">"</span><span class="pl-pds">"</span></span>) -- Julia not found. Not compiling Julia Bindings. -- Module opencv_ovis disabled because OGRE3D was not found -- No preference <span class="pl-k">for</span> use of exported gflags CMake configuration set, and no hints <span class="pl-k">for</span> include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration <span class="pl-k">if</span> available. -- Failed to find installed gflags CMake configuration, searching <span class="pl-k">for</span> gflags build directories exported with CMake. -- Failed to find gflags - Failed to find an installed/exported CMake configuration <span class="pl-k">for</span> gflags, will perform search <span class="pl-k">for</span> installed gflags components. -- Failed to find gflags - Could not find gflags include directory, <span class="pl-c1">set</span> GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h -- Failed to find glog - Could not find glog include directory, <span class="pl-c1">set</span> GLOG_INCLUDE_DIR to directory containing glog/logging.h -- Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags -- Checking <span class="pl-k">for</span> module <span class="pl-s"><span class="pl-pds">'</span>tesseract<span class="pl-pds">'</span></span> -- No package <span class="pl-s"><span class="pl-pds">'</span>tesseract<span class="pl-pds">'</span></span> found -- Tesseract: NO -- Allocator metrics storage type: <span class="pl-s"><span class="pl-pds">'</span>long long<span class="pl-pds">'</span></span> -- Registering hook <span class="pl-s"><span class="pl-pds">'</span>INIT_MODULE_SOURCES_opencv_dnn<span class="pl-pds">'</span></span>: /home/debugger/opencv_build/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake -- opencv_dnn: filter out cuda4dnn <span class="pl-c1">source</span> code -- Excluding from <span class="pl-c1">source</span> files list: <span class="pl-k">&lt;</span>BUILD<span class="pl-k">&gt;</span>/modules/dnn/layers/layers_common.rvv.cpp -- imgcodecs: OpenEXR codec is disabled <span class="pl-k">in</span> runtime. Details: https://github.com/opencv/opencv/issues/21326 -- highgui: using <span class="pl-c1">builtin</span> backend: GTK3 -- rgbd: Eigen support is disabled. Eigen is Required <span class="pl-k">for</span> Posegraph optimization -- Found <span class="pl-s"><span class="pl-pds">'</span>misc<span class="pl-pds">'</span></span> Python modules from /home/debugger/opencv_build/opencv/modules/python/package/extra_modules -- Found <span class="pl-s"><span class="pl-pds">'</span>mat_wrapper;utils<span class="pl-pds">'</span></span> Python modules from /home/debugger/opencv_build/opencv/modules/core/misc/python/package -- Found <span class="pl-s"><span class="pl-pds">'</span>gapi<span class="pl-pds">'</span></span> Python modules from /home/debugger/opencv_build/opencv/modules/gapi/misc/python/package -- Found <span class="pl-s"><span class="pl-pds">'</span>misc<span class="pl-pds">'</span></span> Python modules from /home/debugger/opencv_build/opencv/modules/python/package/extra_modules -- Found <span class="pl-s"><span class="pl-pds">'</span>mat_wrapper;utils<span class="pl-pds">'</span></span> Python modules from /home/debugger/opencv_build/opencv/modules/core/misc/python/package -- Found <span class="pl-s"><span class="pl-pds">'</span>gapi<span class="pl-pds">'</span></span> Python modules from /home/debugger/opencv_build/opencv/modules/gapi/misc/python/package -- -- General configuration <span class="pl-k">for</span> OpenCV 4.5.5-dev ===================================== -- Version control: 4.5.5-57-g7f6dcc2745 -- -- Extra modules: -- Location (extra): /home/debugger/opencv_build/opencv_contrib/modules -- Version control (extra): 4.5.5-5-gbb3048d5 -- -- Platform: -- Timestamp: 2022-01-18T13:18:57Z -- Host: Linux 5.13.0-25-generic x86_64 -- CMake: 3.16.3 -- CMake generator: Unix Makefiles -- CMake build tool: /usr/bin/make -- Configuration: RELEASE -- -- CPU/HW features: -- Baseline: SSE SSE2 SSE3 -- requested: SSE3 -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX -- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX -- SSE4_1 (16 files): + SSSE3 SSE4_1 -- SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 -- FP16 (0 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX -- AVX (4 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX -- AVX2 (31 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 -- AVX512_SKX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX -- -- C/C++: -- Built as dynamic libs<span class="pl-k">?</span>: YES -- C++ standard: 11 -- C++ Compiler: /usr/bin/c++ (ver 9.3.0) -- C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG -- C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG -- C Compiler: /usr/bin/cc -- C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG -- C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG -- Linker flags (Release): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed -- Linker flags (Debug): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed -- ccache: NO -- Precompiled headers: NO -- Extra dependencies: dl m pthread rt -- 3rdparty dependencies: -- -- OpenCV modules: -- To be built: aruco barcode bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy gapi hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot python3 quality rapid reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto -- Disabled: world -- Disabled by dependency: - -- Unavailable: alphamat cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv hdf java julia matlab ovis python2 sfm ts viz -- Applications: apps -- Documentation: NO -- Non-free algorithms: NO -- -- GUI: GTK3 -- GTK+: YES (ver 3.24.20) -- GThread <span class="pl-c1">:</span> YES (ver 2.64.6) -- GtkGlExt: NO -- VTK support: NO -- -- Media I/O: -- ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.11) -- JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver 80) -- WEBP: build (ver encoder: 0x020f) -- PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.6.37) -- TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 / 4.1.0) -- JPEG 2000: build (ver 2.4.0) -- OpenEXR: build (ver 2.3.0) -- HDR: YES -- SUNRASTER: YES -- PXM: YES -- PFM: YES -- -- Video I/O: -- DC1394: YES (2.2.5) -- FFMPEG: YES -- avcodec: YES (58.54.100) -- avformat: YES (58.29.100) -- avutil: YES (56.31.100) -- swscale: YES (5.5.100) -- avresample: NO -- GStreamer: NO -- v4l/v4l2: YES (linux/videodev2.h) -- -- Parallel framework: pthreads -- -- Trace: YES (with Intel ITT) -- -- Other third-party libraries: -- Intel IPP: 2020.0.0 Gold [2020.0.0] -- at: /home/debugger/opencv_build/opencv/build/3rdparty/ippicv/ippicv_lnx/icv -- Intel IPP IW: sources (2020.0.0) -- at: /home/debugger/opencv_build/opencv/build/3rdparty/ippicv/ippicv_lnx/iw -- VA: NO -- Lapack: NO -- Eigen: NO -- Custom HAL: NO -- Protobuf: build (3.19.1) -- -- OpenCL: YES (no extra features) -- Include path: /home/debugger/opencv_build/opencv/3rdparty/include/opencl/1.2 -- Link libraries: Dynamic load -- -- Python 3: -- Interpreter: /usr/bin/python3 (ver 3.8.10) -- Libraries: /usr/lib/x86_64-linux-gnu/libpython3.8.so (ver 3.8.10) -- numpy: /usr/lib/python3/dist-packages/numpy/core/include (ver 1.17.4) -- install path: lib/python3.8/site-packages/cv2/python-3.8 -- -- Python (for build): /usr/bin/python3 -- -- Java: -- ant: NO -- JNI: NO -- Java wrappers: NO -- Java tests: NO -- -- Install to: /usr/local -- ----------------------------------------------------------------- -- -- Configuring <span class="pl-k">done</span> -- Generating <span class="pl-k">done</span> -- Build files have been written to: /home/debugger/opencv_build/opencv/build</pre></div> <h5 dir="auto">Issue submission checklist</h5> <ul dir="auto"> <li>[X ] I report the issue, it's not a question </li> <li>[X ] I checked the problem with documentation, FAQ, open issues,<br> forum.opencv.org, Stack Overflow, etc and have not found solution </li> <li>[X ] I updated to latest OpenCV version and the issue is still there </li> <li>[X ] There is reproducer code and related data files: videos, images, onnx, etc </li> </ul>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.5.5</li> <li>Operating System / Platform =&gt; Raspberry Pi OS Bullseye (32-bit)</li> <li>Compiler =&gt; gcc 10.2.1</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">On Raspberry Pi OS Bullseye (32-bit), OpenCV 4.5.5 Python 3 packages are installed to <code class="notranslate">lib/python3.9/site-packages/cv2/python-3.9</code> instead of <code class="notranslate">lib/python3.9/dist-packages/cv2/python-3.9</code>. Issue happened since OpenCV 4.5.5. OpenCV 4.5.4 Python 3 packages was found successfully because installation directory is <code class="notranslate">lib/python3.9/dist-packages/cv2/python-3.9</code>.</p> <p dir="auto">I think issue related with <a class="commit-link" href="https://github.com/opencv/opencv/commit/d6891c705e269465222049510ef0920a47507ca9#diff-d55511776794dc61d4962ae7a9025c0fa54a10b3db01de0079c6ad031f259851R180"><tt>d6891c7</tt>#diff-d55511776794dc61d4962ae7a9025c0fa54a10b3db01de0079c6ad031f259851R180</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1074280122" data-permission-text="Title is private" data-url="https://github.com/opencv/opencv/issues/21219" data-hovercard-type="pull_request" data-hovercard-url="/opencv/opencv/pull/21219/hovercard" href="https://github.com/opencv/opencv/pull/21219">#21219</a>)</p> <p dir="auto">Other Debian-based Linux distributions might be affected as well.</p> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto"><code class="notranslate">python3 -c "from sysconfig import *; print(get_path('purelib'))"</code></p> <p dir="auto">Output: <code class="notranslate">/usr/lib/python3.8/site-packages</code></p>
1
<p dir="auto">I hope this is an easy one, my problem started when I was trying <a href="https://logaretm.github.io/vee-validate/" rel="nofollow">vee validate</a> examples for <a href="https://vuejs.org/" rel="nofollow">vue</a> on a project, everything worked fine but I was getiting a lot of warnings caused by two vue references, the one in my vendor file and one imported by vee validate on a single file vue component.</p> <p dir="auto">Searching for a fix the one that always popped up its doing an alias to certain vue distribution, this didn’t do anything for me.</p> <p dir="auto">As I said previously, I have a vendor file where I import vue, lodash and buefy, then an “admin.js” file where I do my vue component registration and my vue node. Out of nothing I tried to mix everything on a single file and everything was ok, no duplicate references, no warnings, etc.</p> <p dir="auto">Apparently when everything is mixed in the same file this component ignored that vee validate vue import , so this is my question, there’s a way to mix my admin file “ignoring” the vue import from vee validate? I’m sorry if this is something to obvious on webpack but I cant get it done and I really want to understand what's happening.</p> <p dir="auto">Im using <code class="notranslate">[email protected]</code> and <code class="notranslate">[email protected]</code>.</p> <p dir="auto">This is my laravel mix file with the alias, this is laravel project.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// webpack.mix.js const mix = require('laravel-mix'); let webpackConfig = { resolve: { alias: { 'vue$': path.resolve(__dirname ,'node_modules/vue/dist/vue.esm'), } } }; mix.webpackConfig(webpackConfig) .js('resources/js/vendor.js', 'public/js') .js('resources/js/admin.js', 'public/js') .sass('resources/sass/vendor.scss', 'public/css') .sass('resources/sass/admin/admin.scss', 'public/css') .version();"><pre class="notranslate"><span class="pl-c">// webpack.mix.js</span> <span class="pl-k">const</span> <span class="pl-s1">mix</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'laravel-mix'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">webpackConfig</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">resolve</span>: <span class="pl-kos">{</span> <span class="pl-c1">alias</span>: <span class="pl-kos">{</span> <span class="pl-s">'vue$'</span>: <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s1">__dirname</span> <span class="pl-kos">,</span><span class="pl-s">'node_modules/vue/dist/vue.esm'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">mix</span><span class="pl-kos">.</span><span class="pl-en">webpackConfig</span><span class="pl-kos">(</span><span class="pl-s1">webpackConfig</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-s">'resources/js/vendor.js'</span><span class="pl-kos">,</span> <span class="pl-s">'public/js'</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-s">'resources/js/admin.js'</span><span class="pl-kos">,</span> <span class="pl-s">'public/js'</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">sass</span><span class="pl-kos">(</span><span class="pl-s">'resources/sass/vendor.scss'</span><span class="pl-kos">,</span> <span class="pl-s">'public/css'</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">sass</span><span class="pl-kos">(</span><span class="pl-s">'resources/sass/admin/admin.scss'</span><span class="pl-kos">,</span> <span class="pl-s">'public/css'</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">version</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">This is my vendor file where I import vue, lodash and buefy.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// vendor.js require('./bootstrap'); import Vue from 'vue'; window.Vue = Vue; import _ from 'lodash'; Object.defineProperty(Vue.prototype, '_', { value: _ }); import Buefy from 'buefy'; Vue.use(Buefy,{ defaultIconPack: 'fa', defaultDayNames: [&quot;D&quot;, &quot;L&quot;, &quot;M&quot;, &quot;M&quot;, &quot;J&quot;, &quot;V&quot;, &quot;S&quot;], });"><pre class="notranslate"><span class="pl-c">// vendor.js</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'./bootstrap'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-v">Vue</span> <span class="pl-k">from</span> <span class="pl-s">'vue'</span><span class="pl-kos">;</span> <span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-c1">Vue</span> <span class="pl-c1">=</span> <span class="pl-v">Vue</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s1">_</span> <span class="pl-k">from</span> <span class="pl-s">'lodash'</span><span class="pl-kos">;</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">defineProperty</span><span class="pl-kos">(</span><span class="pl-v">Vue</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span> <span class="pl-s">'_'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">value</span>: <span class="pl-s1">_</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-v">Buefy</span> <span class="pl-k">from</span> <span class="pl-s">'buefy'</span><span class="pl-kos">;</span> <span class="pl-v">Vue</span><span class="pl-kos">.</span><span class="pl-en">use</span><span class="pl-kos">(</span><span class="pl-v">Buefy</span><span class="pl-kos">,</span><span class="pl-kos">{</span> <span class="pl-c1">defaultIconPack</span>: <span class="pl-s">'fa'</span><span class="pl-kos">,</span> <span class="pl-c1">defaultDayNames</span>: <span class="pl-kos">[</span><span class="pl-s">"D"</span><span class="pl-kos">,</span> <span class="pl-s">"L"</span><span class="pl-kos">,</span> <span class="pl-s">"M"</span><span class="pl-kos">,</span> <span class="pl-s">"M"</span><span class="pl-kos">,</span> <span class="pl-s">"J"</span><span class="pl-kos">,</span> <span class="pl-s">"V"</span><span class="pl-kos">,</span> <span class="pl-s">"S"</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">And this is my admin file where I do my component registration and my vue node.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// admin.js Vue.component('create-event-form', require('./components/admin/event/CreateEventForm.vue').default); Vue.component('show-event', require('./components/admin/event/ShowEvent.vue').default); Vue.component('edit-event-form', require('./components/admin/event/EditEventForm.vue').default); ... var root = new Vue({ el: '#admin-root', });"><pre class="notranslate"><span class="pl-c">// admin.js</span> <span class="pl-v">Vue</span><span class="pl-kos">.</span><span class="pl-en">component</span><span class="pl-kos">(</span><span class="pl-s">'create-event-form'</span><span class="pl-kos">,</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'./components/admin/event/CreateEventForm.vue'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">default</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-v">Vue</span><span class="pl-kos">.</span><span class="pl-en">component</span><span class="pl-kos">(</span><span class="pl-s">'show-event'</span><span class="pl-kos">,</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'./components/admin/event/ShowEvent.vue'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">default</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-v">Vue</span><span class="pl-kos">.</span><span class="pl-en">component</span><span class="pl-kos">(</span><span class="pl-s">'edit-event-form'</span><span class="pl-kos">,</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'./components/admin/event/EditEventForm.vue'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">default</span><span class="pl-kos">)</span><span class="pl-kos">;</span> ... <span class="pl-k">var</span> <span class="pl-s1">root</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Vue</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">el</span>: <span class="pl-s">'#admin-root'</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">小程序打包多个pages入口文件,提取公共引入的文件</p> <p dir="auto">module.exports = {<br> entry,<br> output: {<br> filename: '[name].js',<br> publicPath: '/',<br> path: resolve('dist'),<br> },<br> resolve: {<br> modules: [resolve(__dirname, 'src'), 'node_modules'],<br> alias: {<br> 'src': resolve(__dirname, './src'),<br> }<br> },<br> mode:"production",<br> target:"node-webkit",<br> module: {<br> rules:[<br> {<br> test:/.(png|jpe?g|gif|svg)(?.*)?$/,<br> use:['url-loader',<br> {<br> loader: 'image-webpack-loader',// 压缩图片<br> options: {<br> bypassOnDebug: true,<br> }<br> }<br> ]<br> }<br> ]<br> },<br> plugins: [<br> new webpack.DefinePlugin({<br> 'process.env': "development"<br> }),</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="//清除dist文件下的打包文件 官方有误 new CleanWebpackPlugin(), new UglifyJsPlugin({ include:/src/, sourceMap: true }), /* copy静态文件 */ new CopyWebpackPlugin([ { from: __dirname + '/src/images', to: __dirname + '/dist/images' }, { from: __dirname + '/src/components', to: __dirname + '/dist/components', ignore: ['*/*.xml'] }, { from: '**/*.wxml', to: 'pages', context: path.join(__dirname, 'src/pages') }, ], { ignore: [ '**/*.wxss', '**/*.js' ] }), new CopyWebpackPlugin([ { from: '**/*.min.js', to: 'utils', context: path.join(__dirname, 'src/utils') }, ]),"><pre class="notranslate"><code class="notranslate">//清除dist文件下的打包文件 官方有误 new CleanWebpackPlugin(), new UglifyJsPlugin({ include:/src/, sourceMap: true }), /* copy静态文件 */ new CopyWebpackPlugin([ { from: __dirname + '/src/images', to: __dirname + '/dist/images' }, { from: __dirname + '/src/components', to: __dirname + '/dist/components', ignore: ['*/*.xml'] }, { from: '**/*.wxml', to: 'pages', context: path.join(__dirname, 'src/pages') }, ], { ignore: [ '**/*.wxss', '**/*.js' ] }), new CopyWebpackPlugin([ { from: '**/*.min.js', to: 'utils', context: path.join(__dirname, 'src/utils') }, ]), </code></pre></div> <p dir="auto">],<br> // 将公共的依赖模块提取到已有的入口 chunk 中,或者提取到一个新生成的 chunk 官方有误<br> optimization: {<br> splitChunks: {<br> cacheGroups: {<br> commons: {<br> name: "commons",<br> chunks: "initial",<br> minChunks: 2<br> }<br> }<br> }<br> },<br> };<br> node v12.6.2<br> macOS v10.14.5<br> webpack v4.43.0</p>
0
<p dir="auto">While cargo was compiling <a href="https://github.com/reem/rust-traverse">traverse</a>, I encountered the error <code class="notranslate">thread 'rustc' panicked at 'index out of bounds: the len is 0 but the index is 0'</code>.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ uname -rsm Linux 3.13.0-24-generic x86_64 $ rustc --version --verbose rustc 1.0.0-dev binary: rustc commit-hash: unknown commit-date: unknown host: x86_64-unknown-linux-gnu release: 1.0.0-dev"><pre class="notranslate"><code class="notranslate">$ uname -rsm Linux 3.13.0-24-generic x86_64 $ rustc --version --verbose rustc 1.0.0-dev binary: rustc commit-hash: unknown commit-date: unknown host: x86_64-unknown-linux-gnu release: 1.0.0-dev </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Compiling traverse v0.0.6 error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'index out of bounds: the len is 0 but the index is 0', /build/buildd/rust-nightly-201501310408~1d00c54~trusty/src/librustc/middle/infer/region_inference/mod.rs:1015"><pre class="notranslate"><code class="notranslate">Compiling traverse v0.0.6 error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'index out of bounds: the len is 0 but the index is 0', /build/buildd/rust-nightly-201501310408~1d00c54~trusty/src/librustc/middle/infer/region_inference/mod.rs:1015 </code></pre></div> <p dir="auto">Backtrace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="stack backtrace: 1: 0x7f52fa93e4d0 - sys::backtrace::write::hab6dd99acb511764H8t 2: 0x7f52fa961840 - &lt;unknown&gt; 3: 0x7f52fa8cde50 - rt::unwind::begin_unwind_inner::h3266fe1d96f60e3fAZA 4: 0x7f52fa8ce970 - rt::unwind::begin_unwind_fmt::he5da4c6aaeb74bfa6XA 5: 0x7f52fa9616a0 - rust_begin_unwind 6: 0x7f52fa9a9a50 - panicking::panic_fmt::h18479da70a65102cARv 7: 0x7f52fa9b2120 - panicking::panic_bounds_check::h3eb82e89c0e73253BQv 8: 0x7f52f8ab4000 - &lt;unknown&gt; 9: 0x7f52f8ab3c90 - middle::infer::region_inference::RegionVarBindings&lt;'a, 'tcx&gt;::resolve_regions::hf123a4c5108ce144Yyv 10: 0x7f52f8ad3400 - middle::infer::InferCtxt&lt;'a, 'tcx&gt;::resolve_regions_and_report_errors::h70d3d0c25f8018a9d8z 11: 0x7f52fa0a61a0 - &lt;unknown&gt; 12: 0x7f52fa0ae7d0 - &lt;unknown&gt; 13: 0x7f52fa0b4e20 - &lt;unknown&gt; 14: 0x7f52fa0b4e20 - &lt;unknown&gt; 15: 0x7f52fa17e550 - &lt;unknown&gt; 16: 0x7f52fa179030 - check_crate::hcad51444396ed313IEz 17: 0x7f52faec7b70 - driver::phase_3_run_analysis_passes::h7f0251bcf43e0862NFa 18: 0x7f52faeaef50 - driver::compile_input::h10073932bcf4c3a9Bba 19: 0x7f52faf74f50 - &lt;unknown&gt; 20: 0x7f52faf735e0 - &lt;unknown&gt; 21: 0x7f52faf72510 - &lt;unknown&gt; 22: 0x7f52fa9cbe80 - &lt;unknown&gt; 23: 0x7f52fa9cbe70 - rust_try 24: 0x7f52faf727c0 - &lt;unknown&gt; 25: 0x7f52fa94e010 - &lt;unknown&gt; 26: 0x7f52f4cb20c0 - start_thread 27: 0x7f52fa54dec9 - __clone 28: 0x0 - &lt;unknown&gt;"><pre class="notranslate"><code class="notranslate">stack backtrace: 1: 0x7f52fa93e4d0 - sys::backtrace::write::hab6dd99acb511764H8t 2: 0x7f52fa961840 - &lt;unknown&gt; 3: 0x7f52fa8cde50 - rt::unwind::begin_unwind_inner::h3266fe1d96f60e3fAZA 4: 0x7f52fa8ce970 - rt::unwind::begin_unwind_fmt::he5da4c6aaeb74bfa6XA 5: 0x7f52fa9616a0 - rust_begin_unwind 6: 0x7f52fa9a9a50 - panicking::panic_fmt::h18479da70a65102cARv 7: 0x7f52fa9b2120 - panicking::panic_bounds_check::h3eb82e89c0e73253BQv 8: 0x7f52f8ab4000 - &lt;unknown&gt; 9: 0x7f52f8ab3c90 - middle::infer::region_inference::RegionVarBindings&lt;'a, 'tcx&gt;::resolve_regions::hf123a4c5108ce144Yyv 10: 0x7f52f8ad3400 - middle::infer::InferCtxt&lt;'a, 'tcx&gt;::resolve_regions_and_report_errors::h70d3d0c25f8018a9d8z 11: 0x7f52fa0a61a0 - &lt;unknown&gt; 12: 0x7f52fa0ae7d0 - &lt;unknown&gt; 13: 0x7f52fa0b4e20 - &lt;unknown&gt; 14: 0x7f52fa0b4e20 - &lt;unknown&gt; 15: 0x7f52fa17e550 - &lt;unknown&gt; 16: 0x7f52fa179030 - check_crate::hcad51444396ed313IEz 17: 0x7f52faec7b70 - driver::phase_3_run_analysis_passes::h7f0251bcf43e0862NFa 18: 0x7f52faeaef50 - driver::compile_input::h10073932bcf4c3a9Bba 19: 0x7f52faf74f50 - &lt;unknown&gt; 20: 0x7f52faf735e0 - &lt;unknown&gt; 21: 0x7f52faf72510 - &lt;unknown&gt; 22: 0x7f52fa9cbe80 - &lt;unknown&gt; 23: 0x7f52fa9cbe70 - rust_try 24: 0x7f52faf727c0 - &lt;unknown&gt; 25: 0x7f52fa94e010 - &lt;unknown&gt; 26: 0x7f52f4cb20c0 - start_thread 27: 0x7f52fa54dec9 - __clone 28: 0x0 - &lt;unknown&gt; </code></pre></div>
<p dir="auto">Attempting to compile <a href="https://github.com/reem/rust-traverse">https://github.com/reem/rust-traverse</a> with <code class="notranslate">cargo 0.0.1-pre-nightly (453ae9f 2015-01-29 00:56:56 +0000)</code> and <code class="notranslate">rustc 1.0.0-nightly (c5961ad06 2015-01-28 21:49:38 +0000)</code> yields the following ICE:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="thread 'rustc' panicked at 'index out of bounds: the len is 0 but the index is 0', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc/middle/infer/region_inference/mod.rs:1015 stack backtrace: 1: 0x7f8da355a880 - sys::backtrace::write::h471f2f26c91df096Q8t 2: 0x7f8da357df80 - failure::on_fail::h389257f46ebc50afikB 3: 0x7f8da34ea220 - rt::unwind::begin_unwind_inner::haa1ac937607e9179jZA 4: 0x7f8da34ead50 - rt::unwind::begin_unwind_fmt::ha84452bff441c4ffPXA 5: 0x7f8da357dde0 - rust_begin_unwind 6: 0x7f8da35c6ef0 - panicking::panic_fmt::ha791a233597f33dbBRv 7: 0x7f8da35cf5c0 - panicking::panic_bounds_check::h7964adf489703576CQv 8: 0x7f8da16d6ce0 - middle::infer::region_inference::RegionVarBindings&lt;'a, 'tcx&gt;::infer_variable_values::hdb795f883c676391mJw 9: 0x7f8da16d6970 - middle::infer::region_inference::RegionVarBindings&lt;'a, 'tcx&gt;::resolve_regions::h2570f98c1810a795Ymw 10: 0x7f8da16fc020 - middle::infer::InferCtxt&lt;'a, 'tcx&gt;::resolve_regions_and_report_errors::ha6a986062307cc873YA 11: 0x7f8da2cc9b70 - check::compare_method::compare_impl_method::h33ae495a649fd66cIgk 12: 0x7f8da2cd21a0 - check::check_item::hf11061a9881d4ad88ll 13: 0x7f8da2cd87f0 - visit::walk_item::h17525548578187088888 14: 0x7f8da2cd87f0 - visit::walk_item::h17525548578187088888 15: 0x7f8da2da1ee0 - check_crate::closure.32081 16: 0x7f8da2d9c9c0 - check_crate::he229bdeb8fdc745cDNy 17: 0x7f8da3ae5d80 - driver::phase_3_run_analysis_passes::h2272be7454e1eb80NFa 18: 0x7f8da3acd130 - driver::compile_input::hb694f278d4428f99Bba 19: 0x7f8da3b91940 - run_compiler::hc3e25a8f6c4a1b50n9b 20: 0x7f8da3b90050 - thunk::F.Invoke&lt;A, R&gt;::invoke::h8035325489603501466 21: 0x7f8da3b8efb0 - rt::unwind::try::try_fn::h9312387582241745294 22: 0x7f8da35e9320 - rust_try_inner 23: 0x7f8da35e9310 - rust_try 24: 0x7f8da3b8f260 - thunk::F.Invoke&lt;A, R&gt;::invoke::h8464768559817507673 25: 0x7f8da356a770 - sys::thread::thread_start::he52b8673a3629881W3w 26: 0x7f8d9d767fe0 - start_thread 27: 0x7f8da316c859 - __clone 28: 0x0 - &lt;unknown&gt;"><pre class="notranslate"><code class="notranslate">thread 'rustc' panicked at 'index out of bounds: the len is 0 but the index is 0', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc/middle/infer/region_inference/mod.rs:1015 stack backtrace: 1: 0x7f8da355a880 - sys::backtrace::write::h471f2f26c91df096Q8t 2: 0x7f8da357df80 - failure::on_fail::h389257f46ebc50afikB 3: 0x7f8da34ea220 - rt::unwind::begin_unwind_inner::haa1ac937607e9179jZA 4: 0x7f8da34ead50 - rt::unwind::begin_unwind_fmt::ha84452bff441c4ffPXA 5: 0x7f8da357dde0 - rust_begin_unwind 6: 0x7f8da35c6ef0 - panicking::panic_fmt::ha791a233597f33dbBRv 7: 0x7f8da35cf5c0 - panicking::panic_bounds_check::h7964adf489703576CQv 8: 0x7f8da16d6ce0 - middle::infer::region_inference::RegionVarBindings&lt;'a, 'tcx&gt;::infer_variable_values::hdb795f883c676391mJw 9: 0x7f8da16d6970 - middle::infer::region_inference::RegionVarBindings&lt;'a, 'tcx&gt;::resolve_regions::h2570f98c1810a795Ymw 10: 0x7f8da16fc020 - middle::infer::InferCtxt&lt;'a, 'tcx&gt;::resolve_regions_and_report_errors::ha6a986062307cc873YA 11: 0x7f8da2cc9b70 - check::compare_method::compare_impl_method::h33ae495a649fd66cIgk 12: 0x7f8da2cd21a0 - check::check_item::hf11061a9881d4ad88ll 13: 0x7f8da2cd87f0 - visit::walk_item::h17525548578187088888 14: 0x7f8da2cd87f0 - visit::walk_item::h17525548578187088888 15: 0x7f8da2da1ee0 - check_crate::closure.32081 16: 0x7f8da2d9c9c0 - check_crate::he229bdeb8fdc745cDNy 17: 0x7f8da3ae5d80 - driver::phase_3_run_analysis_passes::h2272be7454e1eb80NFa 18: 0x7f8da3acd130 - driver::compile_input::hb694f278d4428f99Bba 19: 0x7f8da3b91940 - run_compiler::hc3e25a8f6c4a1b50n9b 20: 0x7f8da3b90050 - thunk::F.Invoke&lt;A, R&gt;::invoke::h8035325489603501466 21: 0x7f8da3b8efb0 - rt::unwind::try::try_fn::h9312387582241745294 22: 0x7f8da35e9320 - rust_try_inner 23: 0x7f8da35e9310 - rust_try 24: 0x7f8da3b8f260 - thunk::F.Invoke&lt;A, R&gt;::invoke::h8464768559817507673 25: 0x7f8da356a770 - sys::thread::thread_start::he52b8673a3629881W3w 26: 0x7f8d9d767fe0 - start_thread 27: 0x7f8da316c859 - __clone 28: 0x0 - &lt;unknown&gt; </code></pre></div>
1
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-say-hello-to-html-elements" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-say-hello-to-html-elements</a> has an issue. Please describe how to reproduce it, and include links to screen shots if possible.</p> <p dir="auto">I noticed that when I scroll the instructions on the left pane, the code editor scrolls too, making me scroll back to the top when I want to type code.</p> <p dir="auto">It wouldn't have been an issue if I had only a few Waypoints but with over 1000 hours of coding, it should be fixed please.</p> <p dir="auto">Here is a screenshot of the editor when the instruction is scrolled down: <a href="https://www.dropbox.com/s/lvcxjdpnmbtuu42/editor-scrolls.png?dl=0" rel="nofollow">https://www.dropbox.com/s/lvcxjdpnmbtuu42/editor-scrolls.png?dl=0</a></p>
<p dir="auto">It might be more convenient if the instruction and coding area scrolled independently of each other so you can refer to each section without having to continuously scroll up and down.</p>
1
<p dir="auto"><strong>Describe the bug</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="db.session.query(***) \ .outerjoin(***, and_(***.model_type_id == ***.id)).filter( ***.model_type_id == model_type_id).order_by( ***.create_time.desc()).limit(size).offset((page-1)*size).all() # Same with paginate() "><pre class="notranslate"><span class="pl-s1">db</span>.<span class="pl-s1">session</span>.<span class="pl-en">query</span>(<span class="pl-c1">**</span><span class="pl-c1">*</span>) \ .<span class="pl-en">outerjoin</span>(<span class="pl-c1">**</span><span class="pl-c1">*</span>, <span class="pl-en">and_</span>(<span class="pl-c1">**</span><span class="pl-c1">*</span>.<span class="pl-s1">model_type_id</span> <span class="pl-c1">==</span> <span class="pl-c1">**</span><span class="pl-c1">*</span>.<span class="pl-s1">id</span>)).<span class="pl-en">filter</span>( <span class="pl-c1">**</span><span class="pl-c1">*</span>.<span class="pl-s1">model_type_id</span> <span class="pl-c1">==</span> <span class="pl-s1">model_type_id</span>).<span class="pl-en">order_by</span>( <span class="pl-c1">**</span><span class="pl-c1">*</span>.<span class="pl-s1">create_time</span>.<span class="pl-en">desc</span>()).<span class="pl-en">limit</span>(<span class="pl-s1">size</span>).<span class="pl-en">offset</span>((<span class="pl-s1">page</span><span class="pl-c1">-</span><span class="pl-c1">1</span>)<span class="pl-c1">*</span><span class="pl-s1">size</span>).<span class="pl-en">all</span>() <span class="pl-c"># Same with paginate() </span></pre></div> <p dir="auto">The parameters of the first run are limit=20, offset=0, no matter what value is passed in limit and offset later, it will not take effect.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/14817376/114850569-7fc33980-9e13-11eb-8468-1a63e7ed8ab3.png"><img src="https://user-images.githubusercontent.com/14817376/114850569-7fc33980-9e13-11eb-8468-1a63e7ed8ab3.png" alt="image" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/14817376/114853180-1f81c700-9e16-11eb-9567-8368954974f9.png"><img src="https://user-images.githubusercontent.com/14817376/114853180-1f81c700-9e16-11eb-9567-8368954974f9.png" alt="image" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/14817376/114853279-345e5a80-9e16-11eb-9019-e5c24db947c9.png"><img src="https://user-images.githubusercontent.com/14817376/114853279-345e5a80-9e16-11eb-9019-e5c24db947c9.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><em>But as long as the first offset is not 0, it can take effect</em></p> <p dir="auto"><strong>Expected behavior</strong></p> <p dir="auto">Expect limit and offset to take effect no matter what value is passed<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/14817376/114850452-5acec680-9e13-11eb-8033-f06a93dd2110.png"><img src="https://user-images.githubusercontent.com/14817376/114850452-5acec680-9e13-11eb-8033-f06a93dd2110.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Versions.</strong></p> <ul dir="auto"> <li>OS: ubuntu18.04</li> <li>Python: python3.8.5</li> <li>SQLAlchemy: Flask-SQLAlchemy 2.4.4</li> <li>Database: sql server(Microsoft SQL Azure (RTM) - 12.0.2000.8 Feb 20 2021 17:51:58 Copyright (C) 2019 Microsoft Corporation)</li> <li>DBAPI: {ODBC Driver 17 for SQL Server}</li> </ul> <p dir="auto"><strong>Additional context</strong></p> <p dir="auto"><strong>Have a nice day!</strong></p>
<p dir="auto"><strong>Describe the bug</strong><br> When using <strong>Microsoft SQL (12.0.2000.8)</strong> <code class="notranslate">OFFSET ? ROWS FETCH FIRST ? ROWS ONLY</code> is wrongly cached.</p> <ul dir="auto"> <li>If I make query without OFFSET first, and then make query with OFFSET -&gt; i continue to receive results without applying OFFSET.</li> <li>If I make query with OFFSET first, and then make query without OFFSET -&gt; i receive correct results with correct OFFSET.</li> </ul> <p dir="auto"><strong>Expected behavior</strong><br> No matter in which order I perform queries - queries with and without OFFSET should respect OFFSET.</p> <p dir="auto"><strong>To Reproduce</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="session.query(Model).offset(0).limit(25).all() # will return [0;24] items session.query(Model).offset(25).limit(25).all() # will return [0;24] items again"><pre class="notranslate"><code class="notranslate">session.query(Model).offset(0).limit(25).all() # will return [0;24] items session.query(Model).offset(25).limit(25).all() # will return [0;24] items again </code></pre></div> <p dir="auto">but this will work fine after restart</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="session.query(Model).offset(25).limit(25).all() # will return [25;49] items session.query(Model).offset(0).limit(25).all() # will return [0;24] items"><pre class="notranslate"><code class="notranslate">session.query(Model).offset(25).limit(25).all() # will return [25;49] items session.query(Model).offset(0).limit(25).all() # will return [0;24] items </code></pre></div> <p dir="auto"><strong>Workaround</strong></p> <p dir="auto">Disabling sql cache fixes the issue</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1628232/114757934-18e74700-9d65-11eb-81f2-14369474f61f.png"><img src="https://user-images.githubusercontent.com/1628232/114757934-18e74700-9d65-11eb-81f2-14369474f61f.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Versions.</strong></p> <ul dir="auto"> <li>OS: MacOS</li> <li>Python: 3.7</li> <li>SQLAlchemy: 1.4.7</li> <li>Database: MicrosoftSQL</li> </ul>
1
<p dir="auto">Use glide to load a local image with a brief white screen。</p>
<p dir="auto">I have one ImageView and a button which, when pressed, loads new image (from disk, not from network) into the same ImageView. Unfortunately it causes the first image to disappear for a second (showing white background) and then it loads the new image. How can I avoid that?<br> I tried:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Glide.with(this).load(photoToLoad.getPath()).dontAnimate().dontTransform().into(imageView);"><pre class="notranslate"><code class="notranslate">Glide.with(this).load(photoToLoad.getPath()).dontAnimate().dontTransform().into(imageView); </code></pre></div> <p dir="auto">But the "blinking" still exists.<br> The only solution I can think of is using two ImageViews with load listeners and showing/hiding them once the new image is loaded.</p> <p dir="auto">Is there any better way to do this?</p>
1
<h1 dir="auto">Bug report</h1> <p dir="auto">page performing component.getInitialProps fails to load from link.</p> <h2 dir="auto">Describe the bug</h2> <p dir="auto">I have a menu consisting of links link to pages e.g.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;Link href=&quot;/link&quot;&gt; &lt;a&gt;&lt;h2&gt;page&lt;/h2&gt;&lt;/a&gt; &lt;/Link&gt;"><pre class="notranslate"><code class="notranslate">&lt;Link href="/link"&gt; &lt;a&gt;&lt;h2&gt;page&lt;/h2&gt;&lt;/a&gt; &lt;/Link&gt; </code></pre></div> <p dir="auto">The link to the only page containing component.getInitialProps doesnt load. details below</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">url: <a href="https://next.syntapse.co.uk/drupal" rel="nofollow">https://next.syntapse.co.uk/drupal</a></p> <p dir="auto">Click any link other than drupal at the top to load a different page and then return to URL above<br> the address bar changes but the page doesnt load.</p> <h2 dir="auto">Expected behavior</h2> <p dir="auto">the other pages dont try to fetch data and load fine using so im assuming at this stage the fetch is the cause of the issue</p> <h2 dir="auto">Screenshots</h2> <p dir="auto"><a href="https://next.syntapse.co.uk/drupal" rel="nofollow">https://next.syntapse.co.uk/drupal</a></p> <p dir="auto">If applicable, add screenshots to help explain your problem.</p> <h2 dir="auto">System information</h2> <p dir="auto">chrome and firefox</p> <h2 dir="auto">Additional context</h2> <p dir="auto">Add any other context about the problem here.</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"><a href="http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce-autoscaling/1766/" rel="nofollow">http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce-autoscaling/1766/</a></p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/davidopp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/davidopp">@davidopp</a> please find an owner.</p>
<p dir="auto">Instead of consuming 250 milli-cores, recourse consumer consumes nearly 400 milli-cores. This causes flakiness of autoscaling e2e tests:<br> <a href="http://kubekins.dls.corp.google.com/job/kubernetes-e2e-gce-autoscaling/1521/" rel="nofollow">http://kubekins.dls.corp.google.com/job/kubernetes-e2e-gce-autoscaling/1521/</a></p> <p dir="auto"><strong>Horizontal pod autoscaling [Skipped][Autoscaling Suite] should scale from 1 pod to 3 pods and from 3 to 5 (scale resource: CPU)</strong><br> /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/horizontal_pod_autoscaling.go:47<br> Oct 28 03:27:29.523: Number of replicas has changed: expected 3, got 4</p> <p dir="auto">Logs from controller-manager:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="I1028 10:27:25.876466 6 metrics_client.go:135] Sum of cpu requested: {1.500 DecimalSI} I1028 10:27:25.878913 6 metrics_client.go:172] Metrics available: { &quot;items&quot;: [ { &quot;metrics&quot;: [ { &quot;timestamp&quot;: &quot;2015-10-28T10:25:00Z&quot;, &quot;value&quot;: 0 }, { &quot;timestamp&quot;: &quot;2015-10-28T10:24:00Z&quot;, &quot;value&quot;: 180 } ], &quot;latestTimestamp&quot;: &quot;2015-10-28T10:25:00Z&quot; }, { &quot;metrics&quot;: [ { &quot;timestamp&quot;: &quot;2015-10-28T10:25:00Z&quot;, &quot;value&quot;: 227 } ], &quot;latestTimestamp&quot;: &quot;2015-10-28T10:25:00Z&quot; }, { &quot;metrics&quot;: [ { &quot;timestamp&quot;: &quot;2015-10-28T10:25:00Z&quot;, &quot;value&quot;: 122 }, { &quot;timestamp&quot;: &quot;2015-10-28T10:24:00Z&quot;, &quot;value&quot;: 80 } ], &quot;latestTimestamp&quot;: &quot;2015-10-28T10:25:00Z&quot; } ] } I1028 10:27:25.884889 6 horizontal.go:154] Successfull rescale of rc, old size: 3, new size: 4"><pre class="notranslate"><code class="notranslate">I1028 10:27:25.876466 6 metrics_client.go:135] Sum of cpu requested: {1.500 DecimalSI} I1028 10:27:25.878913 6 metrics_client.go:172] Metrics available: { "items": [ { "metrics": [ { "timestamp": "2015-10-28T10:25:00Z", "value": 0 }, { "timestamp": "2015-10-28T10:24:00Z", "value": 180 } ], "latestTimestamp": "2015-10-28T10:25:00Z" }, { "metrics": [ { "timestamp": "2015-10-28T10:25:00Z", "value": 227 } ], "latestTimestamp": "2015-10-28T10:25:00Z" }, { "metrics": [ { "timestamp": "2015-10-28T10:25:00Z", "value": 122 }, { "timestamp": "2015-10-28T10:24:00Z", "value": 80 } ], "latestTimestamp": "2015-10-28T10:25:00Z" } ] } I1028 10:27:25.884889 6 horizontal.go:154] Successfull rescale of rc, old size: 3, new size: 4 </code></pre></div>
1
<h3 dir="auto">Which version of ShardingSphere did you use?</h3> <p dir="auto">we find java version: java8, full_version=1.8.0_342, full_path=/home/peilq_sharding/bisheng-jdk1.8.0_342//bin/java<br> ShardingSphere-5.2.2-SNAPSHOT<br> Commit ID: dirty-753c0cee8ee6fd3db00536da55b64bc5198a3758<br> Commit Message: Optimize sqlFederationExecutor init logic when sqlFederationType modify dynamically (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1451253225" data-permission-text="Title is private" data-url="https://github.com/apache/shardingsphere/issues/22209" data-hovercard-type="pull_request" data-hovercard-url="/apache/shardingsphere/pull/22209/hovercard" href="https://github.com/apache/shardingsphere/pull/22209">#22209</a>)<br> Branch: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/apache/shardingsphere/commit/753c0cee8ee6fd3db00536da55b64bc5198a3758/hovercard" href="https://github.com/apache/shardingsphere/commit/753c0cee8ee6fd3db00536da55b64bc5198a3758"><tt>753c0ce</tt></a><br> Build time: 2022-11-19T10:18:41+0800</p> <h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3> <p dir="auto">ShardingSphere-Proxy</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">In the federation scenario,the priority of ‘UNION/EXCEPT/INTERSECT ’ is correct.</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">In the federation scenario,the priority of ‘UNION/EXCEPT/INTERSECT ’ is incorrect.</p> <h3 dir="auto">Reason analyze (If you can)</h3> <h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 )INTERSECT select * from t_order where status ='finish' order by order_id; select * from t_order where order_id = 1500 union (select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id); --incorrect select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id; --incorrect "><pre class="notranslate"><code class="notranslate">(select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 )INTERSECT select * from t_order where status ='finish' order by order_id; select * from t_order where order_id = 1500 union (select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id); --incorrect select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id; --incorrect </code></pre></div> <p dir="auto"><strong>the result of ss</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="test_db=&gt; (select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 )INTERSECT select * from t_order where status ='finish' order by order_id; order_id | user_id | status | merchant_id | remark | creation_date ----------+---------+--------+-------------+--------+----------------------- 1800 | 18 | finish | 13 | test | 2017-08-18 00:00:00.0 (1 row) test_db=&gt; select * from t_order where order_id = 1500 union (select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id); order_id | user_id | status | merchant_id | remark | creation_date ----------+---------+--------+-------------+--------+----------------------- 1800 | 18 | finish | 13 | test | 2017-08-18 00:00:00.0 (1 row) test_db=&gt; select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id; order_id | user_id | status | merchant_id | remark | creation_date ----------+---------+--------+-------------+--------+----------------------- 1800 | 18 | finish | 13 | test | 2017-08-18 00:00:00.0 (1 row) "><pre class="notranslate"><code class="notranslate">test_db=&gt; (select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 )INTERSECT select * from t_order where status ='finish' order by order_id; order_id | user_id | status | merchant_id | remark | creation_date ----------+---------+--------+-------------+--------+----------------------- 1800 | 18 | finish | 13 | test | 2017-08-18 00:00:00.0 (1 row) test_db=&gt; select * from t_order where order_id = 1500 union (select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id); order_id | user_id | status | merchant_id | remark | creation_date ----------+---------+--------+-------------+--------+----------------------- 1800 | 18 | finish | 13 | test | 2017-08-18 00:00:00.0 (1 row) test_db=&gt; select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id; order_id | user_id | status | merchant_id | remark | creation_date ----------+---------+--------+-------------+--------+----------------------- 1800 | 18 | finish | 13 | test | 2017-08-18 00:00:00.0 (1 row) </code></pre></div> <p dir="auto"><strong>the result of og</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tpccdb=# (select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 )INTERSECT select * from t_order where status ='finish' order by order_id; order_id | user_id | status | merchant_id | remark | creation_date ----------+---------+--------+-------------+--------+--------------------- 1800 | 18 | finish | 13 | test | 2017-08-18 00:00:00 (1 row) tpccdb=# select * from t_order where order_id = 1500 union (select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id); order_id | user_id | status | merchant_id | remark | creation_date ----------+---------+--------+-------------+--------+--------------------- 1500 | 15 | init | 1 | | 2017-08-28 00:00:00 1800 | 18 | finish | 13 | test | 2017-08-18 00:00:00 (2 rows) tpccdb=# select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id; order_id | user_id | status | merchant_id | remark | creation_date ----------+---------+--------+-------------+--------+--------------------- 1500 | 15 | init | 1 | | 2017-08-28 00:00:00 1800 | 18 | finish | 13 | test | 2017-08-18 00:00:00 (2 rows)"><pre class="notranslate"><code class="notranslate">tpccdb=# (select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 )INTERSECT select * from t_order where status ='finish' order by order_id; order_id | user_id | status | merchant_id | remark | creation_date ----------+---------+--------+-------------+--------+--------------------- 1800 | 18 | finish | 13 | test | 2017-08-18 00:00:00 (1 row) tpccdb=# select * from t_order where order_id = 1500 union (select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id); order_id | user_id | status | merchant_id | remark | creation_date ----------+---------+--------+-------------+--------+--------------------- 1500 | 15 | init | 1 | | 2017-08-28 00:00:00 1800 | 18 | finish | 13 | test | 2017-08-18 00:00:00 (2 rows) tpccdb=# select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id; order_id | user_id | status | merchant_id | remark | creation_date ----------+---------+--------+-------------+--------+--------------------- 1500 | 15 | init | 1 | | 2017-08-28 00:00:00 1800 | 18 | finish | 13 | test | 2017-08-18 00:00:00 (2 rows) </code></pre></div> <h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="drop table if exists t_order; create table t_order (order_id int primary key, user_id int not null, status varchar(50) not null, merchant_id int not null, remark varchar(50), creation_date date); insert into t_order values(1000, 10, 'init', 1, 'test', '2017-07-08'); insert into t_order values(1001, 10, 'init', 2, 'test', '2017-07-08'); insert into t_order values(2000, 20, 'init', 3, 'test', '2017-08-08'); insert into t_order values(2001, 20, 'init', 4, 'test', '2017-08-08'); insert into t_order values(1100, 11, 'init', 5, 'test', '2017-08-08'); insert into t_order values(1101, 11, 'init', 6, 'test', '2017-08-08'); insert into t_order values(2100, 21, 'finish', 7, 'test', '2017-08-08'); insert into t_order values(2101, 21, 'finish', 8, 'test', '2017-08-08'); insert into t_order values(1200, 12, 'finish', 9, 'finish', '2017-08-08'); insert into t_order values(1201, 12, 'finish', 10, 'test22', '2017-08-18'); insert into t_order values(2200, 22, 'finish', 11, 'test', '2017-08-18'); insert into t_order values(2201, 22, 'finish', 12, 'test', '2017-08-18'); insert into t_order values(1300, 13, 'finish', 13, '', '2017-08-18'); insert into t_order values(1301, 13, 'finish', 14, 'test', '2017-08-18'); insert into t_order values(2300, 23, 'finish ', 15, 'test', '2017-08-18'); insert into t_order values(2301, 23, 'finish', 16, 'test', '2017-08-18'); insert into t_order values(1400, 14, 'init', 17, '', '2017-08-18'); insert into t_order values(1401, 14, 'init', 18, 'test', '2017-08-18'); insert into t_order values(2400, 24, 'init', 19, 'test', '2017-08-18'); insert into t_order values(2401, 24, 'init', 20, 'test', '2017-08-18'); insert into t_order values(1500, 15, 'init', 1, '', '2017-08-28'); insert into t_order values(1501, 15, 'init', 2, 'test', '2017-08-28'); insert into t_order values(2500, 25, 'init', 3, 'test', '2017-08-28'); insert into t_order values(2501, 25, 'init', 4, 'test', '2017-08-28'); insert into t_order values(1600, 16, 'init', 5, 'test', '2017-08-28'); insert into t_order values(1601, 16, 'init', 6, '', '2017-08-28'); insert into t_order values(2600, 26, 'init', 7, 'test', '2017-08-28'); insert into t_order values(2601, 26, 'init', 8); insert into t_order values(1700, 17, 'init', 9, 'test', '2017-08-28'); insert into t_order values(1701, 17, 'finish', 10, 'test', '2017-08-18'); insert into t_order values(2700, 27, 'finish', 11, 'test', '2017-08-18'); insert into t_order values(2701, 27, 'finish', 12, 'test', '2017-08-18'); insert into t_order values(1800, 18, 'finish', 13, 'test', '2017-08-18'); insert into t_order values(1801, 18, 'finish', 14); insert into t_order values(2800, 28, 'finish', 15, 'test', '2017-08-18'); insert into t_order values(2801, 28, 'finish', 16, 'test', '2017-08-18'); insert into t_order values(1900, 19, 'init', 17, 'test', '2017-08-18'); insert into t_order values(1901, 19, 'init', 18, 'test', '2017-08-18'); insert into t_order values(2900, 29, 'init', 19, 'test', '2017-08-18'); insert into t_order values(2901, 29, 'init', 20, 'test', '2017-08-18'); insert into t_order values(1902, 19, 'init', 17, 'test11', '2017-08-18'); insert into t_order values(1903, 19, 'init', 18, 'test12', '2017-08-18'); insert into t_order values(2902, 29, 'init', 19, 'test', '2017-08-18'); insert into t_order values(2903, 29, 'init', 20, 'test', '2017-08-18');"><pre class="notranslate"><code class="notranslate">drop table if exists t_order; create table t_order (order_id int primary key, user_id int not null, status varchar(50) not null, merchant_id int not null, remark varchar(50), creation_date date); insert into t_order values(1000, 10, 'init', 1, 'test', '2017-07-08'); insert into t_order values(1001, 10, 'init', 2, 'test', '2017-07-08'); insert into t_order values(2000, 20, 'init', 3, 'test', '2017-08-08'); insert into t_order values(2001, 20, 'init', 4, 'test', '2017-08-08'); insert into t_order values(1100, 11, 'init', 5, 'test', '2017-08-08'); insert into t_order values(1101, 11, 'init', 6, 'test', '2017-08-08'); insert into t_order values(2100, 21, 'finish', 7, 'test', '2017-08-08'); insert into t_order values(2101, 21, 'finish', 8, 'test', '2017-08-08'); insert into t_order values(1200, 12, 'finish', 9, 'finish', '2017-08-08'); insert into t_order values(1201, 12, 'finish', 10, 'test22', '2017-08-18'); insert into t_order values(2200, 22, 'finish', 11, 'test', '2017-08-18'); insert into t_order values(2201, 22, 'finish', 12, 'test', '2017-08-18'); insert into t_order values(1300, 13, 'finish', 13, '', '2017-08-18'); insert into t_order values(1301, 13, 'finish', 14, 'test', '2017-08-18'); insert into t_order values(2300, 23, 'finish ', 15, 'test', '2017-08-18'); insert into t_order values(2301, 23, 'finish', 16, 'test', '2017-08-18'); insert into t_order values(1400, 14, 'init', 17, '', '2017-08-18'); insert into t_order values(1401, 14, 'init', 18, 'test', '2017-08-18'); insert into t_order values(2400, 24, 'init', 19, 'test', '2017-08-18'); insert into t_order values(2401, 24, 'init', 20, 'test', '2017-08-18'); insert into t_order values(1500, 15, 'init', 1, '', '2017-08-28'); insert into t_order values(1501, 15, 'init', 2, 'test', '2017-08-28'); insert into t_order values(2500, 25, 'init', 3, 'test', '2017-08-28'); insert into t_order values(2501, 25, 'init', 4, 'test', '2017-08-28'); insert into t_order values(1600, 16, 'init', 5, 'test', '2017-08-28'); insert into t_order values(1601, 16, 'init', 6, '', '2017-08-28'); insert into t_order values(2600, 26, 'init', 7, 'test', '2017-08-28'); insert into t_order values(2601, 26, 'init', 8); insert into t_order values(1700, 17, 'init', 9, 'test', '2017-08-28'); insert into t_order values(1701, 17, 'finish', 10, 'test', '2017-08-18'); insert into t_order values(2700, 27, 'finish', 11, 'test', '2017-08-18'); insert into t_order values(2701, 27, 'finish', 12, 'test', '2017-08-18'); insert into t_order values(1800, 18, 'finish', 13, 'test', '2017-08-18'); insert into t_order values(1801, 18, 'finish', 14); insert into t_order values(2800, 28, 'finish', 15, 'test', '2017-08-18'); insert into t_order values(2801, 28, 'finish', 16, 'test', '2017-08-18'); insert into t_order values(1900, 19, 'init', 17, 'test', '2017-08-18'); insert into t_order values(1901, 19, 'init', 18, 'test', '2017-08-18'); insert into t_order values(2900, 29, 'init', 19, 'test', '2017-08-18'); insert into t_order values(2901, 29, 'init', 20, 'test', '2017-08-18'); insert into t_order values(1902, 19, 'init', 17, 'test11', '2017-08-18'); insert into t_order values(1903, 19, 'init', 18, 'test12', '2017-08-18'); insert into t_order values(2902, 29, 'init', 19, 'test', '2017-08-18'); insert into t_order values(2903, 29, 'init', 20, 'test', '2017-08-18'); </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="schemaName: test_db dataSources: ds_0: connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 260 minPoolSize: 10 password: Test@123 url: jdbc:opengauss://90.90.44.171:14000/test_db?batchMode=on username: tpccuser ds_1: connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 260 minPoolSize: 10 password: Test@123 url: jdbc:opengauss://90.90.44.171:15000/test_db?batchMode=on username: tpccuser rules: - !SHARDING tables: t_user: actualDataNodes: ds_0.t_user t_product: actualDataNodes: ds_0.t_product t_merchant: actualDataNodes: ds_1.t_merchant t_product_detail: actualDataNodes: ds_1.t_product_detail t_order: actualDataNodes: ds_${0..1}.t_order databaseStrategy: standard: shardingColumn: user_id shardingAlgorithmName: database_inline t_order_item: actualDataNodes: ds_${0..1}.t_order_item databaseStrategy: standard: shardingColumn: user_id shardingAlgorithmName: database_inline t_order_item1: actualDataNodes: ds_${0..1}.t_order_item1 databaseStrategy: standard: shardingColumn: user_id shardingAlgorithmName: database_inline t_new_order: actualDataNodes: ds_${0..1}.t_new_order_${0..1} databaseStrategy: standard: shardingAlgorithmName: database_inline shardingColumn: user_id tableStrategy: standard: shardingColumn: order_id shardingAlgorithmName: table_inline bindingTables: - t_order,t_order_item broadcastTables: - t_product_category - t_country shardingAlgorithms: database_inline: type: INLINE props: algorithm-expression: ds_${user_id % 2} allow-range-query-with-inline-sharding: true table_inline: type: INLINE props: algorithm-expression: t_new_order_${order_id % 2} allow-range-query-with-inline-sharding: true mode: type: Cluster repository: type: ZooKeeper props: namespace: governance_ds server-lists: 7.212.123.28:2181 retryIntervalMilliseconds: 500 timeToLiveSeconds: 60 maxRetries: 3 operationTimeoutMilliseconds: 500 authority: users: - user: root@% password: root - user: sharding password: sharding privilege: type: ALL_PERMITTED rules: - !TRANSACTION defaultType: XA providerType: Atomikos props: sql-show: true"><pre class="notranslate"><code class="notranslate">schemaName: test_db dataSources: ds_0: connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 260 minPoolSize: 10 password: Test@123 url: jdbc:opengauss://90.90.44.171:14000/test_db?batchMode=on username: tpccuser ds_1: connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 260 minPoolSize: 10 password: Test@123 url: jdbc:opengauss://90.90.44.171:15000/test_db?batchMode=on username: tpccuser rules: - !SHARDING tables: t_user: actualDataNodes: ds_0.t_user t_product: actualDataNodes: ds_0.t_product t_merchant: actualDataNodes: ds_1.t_merchant t_product_detail: actualDataNodes: ds_1.t_product_detail t_order: actualDataNodes: ds_${0..1}.t_order databaseStrategy: standard: shardingColumn: user_id shardingAlgorithmName: database_inline t_order_item: actualDataNodes: ds_${0..1}.t_order_item databaseStrategy: standard: shardingColumn: user_id shardingAlgorithmName: database_inline t_order_item1: actualDataNodes: ds_${0..1}.t_order_item1 databaseStrategy: standard: shardingColumn: user_id shardingAlgorithmName: database_inline t_new_order: actualDataNodes: ds_${0..1}.t_new_order_${0..1} databaseStrategy: standard: shardingAlgorithmName: database_inline shardingColumn: user_id tableStrategy: standard: shardingColumn: order_id shardingAlgorithmName: table_inline bindingTables: - t_order,t_order_item broadcastTables: - t_product_category - t_country shardingAlgorithms: database_inline: type: INLINE props: algorithm-expression: ds_${user_id % 2} allow-range-query-with-inline-sharding: true table_inline: type: INLINE props: algorithm-expression: t_new_order_${order_id % 2} allow-range-query-with-inline-sharding: true mode: type: Cluster repository: type: ZooKeeper props: namespace: governance_ds server-lists: 7.212.123.28:2181 retryIntervalMilliseconds: 500 timeToLiveSeconds: 60 maxRetries: 3 operationTimeoutMilliseconds: 500 authority: users: - user: root@% password: root - user: sharding password: sharding privilege: type: ALL_PERMITTED rules: - !TRANSACTION defaultType: XA providerType: Atomikos props: sql-show: true </code></pre></div>
<h3 dir="auto">Which version of ShardingSphere did you use?</h3> <p dir="auto">4.0.0</p> <h3 dir="auto">Which project did you use? Sharding-JDBC or Sharding-Proxy?</h3> <p dir="auto">Sharding-JDBC</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">select SQL execute successfully.</p> <h3 dir="auto">Actual behavior</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java.lang.StringIndexOutOfBoundsException: String index out of range: -3 at java.lang.String.substring(String.java:1955) at org.apache.shardingsphere.underlying.rewrite.sql.impl.AbstractSQLBuilder.getConjunctionText(AbstractSQLBuilder.java:58) at org.apache.shardingsphere.underlying.rewrite.sql.impl.AbstractSQLBuilder.toSQL(AbstractSQLBuilder.java:50) at org.apache.shardingsphere.underlying.rewrite.engine.impl.DefaultSQLRewriteEngine.rewrite(DefaultSQLRewriteEngine.java:34) at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.EncryptPreparedStatement.getSQLUnit(EncryptPreparedStatement.java:181) at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.EncryptPreparedStatement.executeQuery(EncryptPreparedStatement.java:120)"><pre class="notranslate"><code class="notranslate">java.lang.StringIndexOutOfBoundsException: String index out of range: -3 at java.lang.String.substring(String.java:1955) at org.apache.shardingsphere.underlying.rewrite.sql.impl.AbstractSQLBuilder.getConjunctionText(AbstractSQLBuilder.java:58) at org.apache.shardingsphere.underlying.rewrite.sql.impl.AbstractSQLBuilder.toSQL(AbstractSQLBuilder.java:50) at org.apache.shardingsphere.underlying.rewrite.engine.impl.DefaultSQLRewriteEngine.rewrite(DefaultSQLRewriteEngine.java:34) at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.EncryptPreparedStatement.getSQLUnit(EncryptPreparedStatement.java:181) at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.EncryptPreparedStatement.executeQuery(EncryptPreparedStatement.java:120) </code></pre></div> <h3 dir="auto">Reason analyze (If you can)</h3> <p dir="auto">The SQL parse result like this :<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8772975/73934497-899d0300-4919-11ea-839b-e076ed32c321.png"><img src="https://user-images.githubusercontent.com/8772975/73934497-899d0300-4919-11ea-839b-e076ed32c321.png" alt="image" style="max-width: 100%;"></a><br> It cause the rewrited SQL tokens are repeated, and the rewrite indexs are error.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8772975/73934533-9c173c80-4919-11ea-962e-6590a318d097.png"><img src="https://user-images.githubusercontent.com/8772975/73934533-9c173c80-4919-11ea-962e-6590a318d097.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.</h3> <p dir="auto"><code class="notranslate">SELECT * FROM t_query_encrypt WHERE pwd = ? and (id = ? or id =?)</code></p> <h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3>
0
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [v1.32]</li> <li>Operating System: [Windows 11, macOS 13.2]</li> <li>Browser: [All]</li> </ul> <p dir="auto"><strong>Config file</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts import { PlaywrightTestConfig, devices } from '@playwright/test'; import { join } from 'path'; import { isCI } from './utils'; const CI = isCI(); // Use process.env.PORT by default and fallback to port 3000 const PORT = process.env.PORT || 3000; // Set webServer.url and use.baseURL with the location of the WebServer respecting the correct set port const baseURL = `http://localhost:${PORT}`; // Reference: https://playwright.dev/docs/test-configuration const config: PlaywrightTestConfig = { globalSetup: require.resolve('./global-setup'), timeout: 30 * 1000, testDir: join(__dirname, 'tests'), forbidOnly: CI, retries: 1, workers: 1, outputDir: 'e2e-results/', reporter: [['list'], ['junit', { outputFile: './e2e-results/results.xml' }]], use: { baseURL, trace: 'retain-on-failure', screenshot: 'only-on-failure' }, projects: [ { name: 'API', testDir: 'tests/api', }, { name: 'Desktop Chrome', testDir: 'tests/ui', use: { ...devices['Desktop Chrome'], }, }, { name: 'Desktop Safari', testDir: 'tests/ui', use: { ...devices['Desktop Safari'], }, }, // Test against mobile viewports. { name: 'Mobile Chrome', testDir: 'tests/ui', use: { ...devices['Pixel 5'], }, }, { name: 'Mobile Safari iPad', testDir: 'tests/ui', use: devices['iPad (gen 6)'], }, { name: 'Mobile Safari iPhone', testDir: 'tests/ui', use: devices['iPhone 13'], }, ], }; export default config; "><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">PlaywrightTestConfig</span><span class="pl-kos">,</span> <span class="pl-s1">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">join</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'path'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">isCI</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./utils'</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-c1">CI</span> <span class="pl-c1">=</span> <span class="pl-en">isCI</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Use process.env.PORT by default and fallback to port 3000</span> <span class="pl-k">const</span> <span class="pl-c1">PORT</span> <span class="pl-c1">=</span> <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">PORT</span> <span class="pl-c1">||</span> <span class="pl-c1">3000</span><span class="pl-kos">;</span> <span class="pl-c">// Set webServer.url and use.baseURL with the location of the WebServer respecting the correct set port</span> <span class="pl-k">const</span> <span class="pl-s1">baseURL</span> <span class="pl-c1">=</span> <span class="pl-s">`http://localhost:<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-c1">PORT</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">;</span> <span class="pl-c">// Reference: https://playwright.dev/docs/test-configuration</span> <span class="pl-k">const</span> <span class="pl-s1">config</span>: <span class="pl-v">PlaywrightTestConfig</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">globalSetup</span>: <span class="pl-en">require</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s">'./global-setup'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c1">timeout</span>: <span class="pl-c1">30</span> <span class="pl-c1">*</span> <span class="pl-c1">1000</span><span class="pl-kos">,</span> <span class="pl-c1">testDir</span>: <span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">__dirname</span><span class="pl-kos">,</span> <span class="pl-s">'tests'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c1">forbidOnly</span>: <span class="pl-c1">CI</span><span class="pl-kos">,</span> <span class="pl-c1">retries</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">workers</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">outputDir</span>: <span class="pl-s">'e2e-results/'</span><span class="pl-kos">,</span> <span class="pl-c1">reporter</span>: <span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-s">'list'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">'junit'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">outputFile</span>: <span class="pl-s">'./e2e-results/results.xml'</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">use</span>: <span class="pl-kos">{</span> baseURL<span class="pl-kos">,</span> <span class="pl-c1">trace</span>: <span class="pl-s">'retain-on-failure'</span><span class="pl-kos">,</span> <span class="pl-c1">screenshot</span>: <span class="pl-s">'only-on-failure'</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">projects</span>: <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'API'</span><span class="pl-kos">,</span> <span class="pl-c1">testDir</span>: <span class="pl-s">'tests/api'</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">,</span> <span class="pl-c1">testDir</span>: <span class="pl-s">'tests/ui'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'Desktop Safari'</span><span class="pl-kos">,</span> <span class="pl-c1">testDir</span>: <span class="pl-s">'tests/ui'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Safari'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c">// Test against mobile viewports.</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'Mobile Chrome'</span><span class="pl-kos">,</span> <span class="pl-c1">testDir</span>: <span class="pl-s">'tests/ui'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Pixel 5'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'Mobile Safari iPad'</span><span class="pl-kos">,</span> <span class="pl-c1">testDir</span>: <span class="pl-s">'tests/ui'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'iPad (gen 6)'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'Mobile Safari iPhone'</span><span class="pl-kos">,</span> <span class="pl-c1">testDir</span>: <span class="pl-s">'tests/ui'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'iPhone 13'</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-s1">config</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Test file (self-contained)</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>Run any test on the page with &gt;&gt; attributes</li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">The HTML elements with any form of &gt;&gt; should works fine with Playwright including:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&amp;gt;&amp;#x200B;&amp;gt; &amp;gt;&amp;gt; "><pre class="notranslate"><span class="pl-c1">&amp;</span><span class="pl-s1">gt</span><span class="pl-kos">;</span><span class="pl-c1">&amp;</span>#<span class="pl-s1">x200B</span><span class="pl-kos">;</span><span class="pl-c1">&amp;</span><span class="pl-s1">gt</span><span class="pl-kos">;</span> <span class="pl-c1">&amp;</span><span class="pl-s1">gt</span><span class="pl-kos">;</span><span class="pl-c1">&amp;</span><span class="pl-s1">gt</span><span class="pl-kos">;</span> </pre></div> <p dir="auto"><strong>Actual</strong></p> <p dir="auto">Any HTML elements with &gt;&gt; break the Playwright parser and make many elements on the page not accessible (not only the ones with &gt;&gt; attributes) Pick locator also does not recognize those elements.<br> Does not work:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&amp;gt;&amp;#x200B;&amp;gt; &amp;gt;&amp;gt; "><pre class="notranslate"><span class="pl-c1">&amp;</span><span class="pl-s1">gt</span><span class="pl-kos">;</span><span class="pl-c1">&amp;</span>#<span class="pl-s1">x200B</span><span class="pl-kos">;</span><span class="pl-c1">&amp;</span><span class="pl-s1">gt</span><span class="pl-kos">;</span> <span class="pl-c1">&amp;</span><span class="pl-s1">gt</span><span class="pl-kos">;</span><span class="pl-c1">&amp;</span><span class="pl-s1">gt</span><span class="pl-kos">;</span> </pre></div> <p dir="auto">Works fine:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&amp;gt; &amp;gt; (space between) &amp;gt;&amp;nbsp;&amp;gt; "><pre class="notranslate"><span class="pl-c1">&amp;</span><span class="pl-s1">gt</span><span class="pl-kos">;</span> <span class="pl-c1">&amp;</span><span class="pl-s1">gt</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-s1">space</span> <span class="pl-s1">between</span><span class="pl-kos">)</span> <span class="pl-c1">&amp;</span><span class="pl-s1">gt</span><span class="pl-kos">;</span><span class="pl-c1">&amp;</span><span class="pl-s1">nbsp</span><span class="pl-kos">;</span><span class="pl-c1">&amp;</span><span class="pl-s1">gt</span><span class="pl-kos">;</span> </pre></div>
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [v1.31.2]</li> <li>Operating System: Windows 10</li> <li>Browser: Chromium</li> <li>Other info:</li> </ul> <h3 dir="auto">Source code</h3> <p dir="auto"><strong>Config file</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts import { defineConfig, devices } from '@playwright/test'; export default defineConfig({ projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'], }, }, });"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">defineConfig</span><span class="pl-kos">,</span> <span class="pl-s1">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">projects</span>: <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'chromium'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span><span class="pl-kos"></span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Test file (self-contained)</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="test('lighthouse', async ({ envConfig }) =&gt; { const browserForLighthouse = await chromium.launch({ args: ['--remote-debugging-port=5097'] }); // less than second const browserForLighthouse2 = await chromium.launch({ args: ['--remote-debugging-port=5098'] }); // browserType.launch: Timeout 180000ms exceeded const contextForLighthouse = await browserForLighthouse.newContext({ storageState: 'states/ImLoggedIn.json' }); const pageForLighthouse = await contextForLighthouse.newPage(); // perform some lighthouse checks });"><pre class="notranslate"><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'lighthouse'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> envConfig <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-s1">browserForLighthouse</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">chromium</span><span class="pl-kos">.</span><span class="pl-en">launch</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">args</span>: <span class="pl-kos">[</span><span class="pl-s">'--remote-debugging-port=5097'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// less than second</span> <span class="pl-k">const</span> <span class="pl-s1">browserForLighthouse2</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">chromium</span><span class="pl-kos">.</span><span class="pl-en">launch</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">args</span>: <span class="pl-kos">[</span><span class="pl-s">'--remote-debugging-port=5098'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// browserType.launch: Timeout 180000ms exceeded</span> <span class="pl-k">const</span> <span class="pl-s1">contextForLighthouse</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">browserForLighthouse</span><span class="pl-kos">.</span><span class="pl-en">newContext</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">storageState</span>: <span class="pl-s">'states/ImLoggedIn.json'</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">pageForLighthouse</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">contextForLighthouse</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-c">// perform some lighthouse checks</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>[Run the test]</li> </ul> <p dir="auto"><strong>Expected</strong><br> Both browser instances are created with different ports<br> <strong>Actual</strong><br> If one instance of browser is already created (it can be created via fixtures or in explicit way, no matter), the second instance doesn't start</p>
0
<p dir="auto">I use a program called <code class="notranslate">scoop</code> to install software which modifies the PATH.</p> <h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PS C:\Users\trajano&gt; [Environment]::OSVersion Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.18947.0 Microsoft Windows NT 10.0.18947.0 Terminal Version: 0.3.2171.0 "><pre lang="none" class="notranslate"><code class="notranslate">PS C:\Users\trajano&gt; [Environment]::OSVersion Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.18947.0 Microsoft Windows NT 10.0.18947.0 Terminal Version: 0.3.2171.0 </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <ol dir="auto"> <li><code class="notranslate">scoop install maven</code></li> <li>start up a new tab</li> <li>run <code class="notranslate">mvn</code></li> </ol> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Maven should run</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">Maven does not run because it is not found in path<br> Close Terminal (all tabs and windows)<br> Start up Terminal again<br> run <code class="notranslate">mvn</code> works again.</p>
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">When I install an app that updates the path or I update the path manually, it isn't enough to kill an individual tab in the Terminal and start a new one. The new tab still inherits the old, unchanged environment variable values. This means I have to kill/restart the Terminal and lose all my tabs.</p> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <p dir="auto">Add a Windows message handler for <code class="notranslate">WM_SETTINGCHANGE</code> and update the Terminal process's environment block so that any new tabs get the updated environment variables.</p>
1