text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<p dir="auto">Please go to Stack Overflow for help and support:</p>
<p dir="auto"><a href="https://stackoverflow.com/questions/tagged/tensorflow" rel="nofollow">https://stackoverflow.com/questions/tagged/tensorflow</a></p>
<p dir="auto">If you open a GitHub issue, here is our policy:</p>
<ol dir="auto">
<li>It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).</li>
<li>The form below must be filled out.</li>
<li>It shouldn't be a TensorBoard issue. Those go <a href="https://github.com/tensorflow/tensorboard/issues">here</a>.</li>
</ol>
<p dir="auto"><strong>Here's why we have that policy</strong>: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.</p>
<hr>
<h3 dir="auto">System information</h3>
<ul dir="auto">
<li>
<p dir="auto"><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>:<br>
NO.</p>
</li>
<li>
<p dir="auto"><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>:<br>
Slackware Linux 14.2 64 bit</p>
</li>
<li>
<p dir="auto"><strong>TensorFlow installed from (source or binary)</strong>:<br>
source</p>
</li>
<li>
<p dir="auto"><strong>TensorFlow version (use command below)</strong>:<br>
1.5.0</p>
</li>
<li>
<p dir="auto"><strong>Python version</strong>:<br>
3.6.4</p>
</li>
<li>
<p dir="auto"><strong>Bazel version (if compiling from source)</strong>:<br>
0.5.4</p>
</li>
<li>
<p dir="auto"><strong>GCC/Compiler version (if compiling from source)</strong>:<br>
5.5.0</p>
</li>
<li>
<p dir="auto"><strong>CUDA/cuDNN version</strong>:<br>
9.0/7</p>
</li>
<li>
<p dir="auto"><strong>GPU model and memory</strong>:<br>
1050Ti / 4Gb</p>
</li>
<li>
<p dir="auto"><strong>Exact command to reproduce</strong>:<br>
bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package</p>
</li>
</ul>
<p dir="auto">You can collect some of this information using our environment capture script:</p>
<p dir="auto"><a href="https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh">https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh</a></p>
<p dir="auto">You can obtain the TensorFlow version with</p>
<p dir="auto">python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"</p>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.</p>
<h4 dir="auto">gcc 5.5.0 does not compile TF source code.</h4>
<p dir="auto">First of all, sorry for that I'm NOT using Ubuntu Linux for TF. I know that Ubuntu Linux is the only supported Linux system for TF. Instead, I use an ancient distribution, i.e., Slackware Linux. Recently, I got a security update for Spectre. As a side-effect, I also got an updated gcc (5.3.0 -> 5.5.0).</p>
<p dir="auto">I usually compile the TensorFlow source code for optimization. However, it can not be compiled with updated gcc (5.5.0), like this;</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="INFO: From Compiling tensorflow/contrib/resampler/kernels/resampler_ops_gpu.cu.cc:
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/include/avx512fintrin.h(9220): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/include/avx512fintrin.h(9231): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/include/avx512fintrin.h(9244): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/include/avx512fintrin.h(9255): error: argument of type "const void *" is incompatible with parameter of type "const double *""><pre class="notranslate"><code class="notranslate">INFO: From Compiling tensorflow/contrib/resampler/kernels/resampler_ops_gpu.cu.cc:
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/include/avx512fintrin.h(9220): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/include/avx512fintrin.h(9231): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/include/avx512fintrin.h(9244): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/include/avx512fintrin.h(9255): error: argument of type "const void *" is incompatible with parameter of type "const double *"
</code></pre></div>
<p dir="auto">So I googled a little bit, and found the following issue:</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="231642042" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/10220" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/10220/hovercard" href="https://github.com/tensorflow/tensorflow/issues/10220">#10220</a></p>
<p dir="auto">in the middle of the thread, I saw</p>
<blockquote>
<p dir="auto">I think the problem here is that gcc-5.5 shipped with avx512<em>intrin.h headers that switched to using void</em> and const void* (<a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76731" rel="nofollow">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76731</a>) but without switching the builtins to do the same. This is why 5.4 works but 5.5 breaks.</p>
</blockquote>
<p dir="auto">so I tracked down the matter that I could see</p>
<p dir="auto"><a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76731" rel="nofollow">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76731</a></p>
<blockquote>
<p dir="auto">All of the scatter/gather intrinsics in avx512intrin.h use int/float/double pointers, which is incorrect.</p>
</blockquote>
<p dir="auto">So, at first, I thought this problem is about gcc, but someone suggested that it's maybe related to CUDA.</p>
<blockquote>
<p dir="auto">it's the GPU/CUDA code that doesn't support the new compiler so, if you want to build that, your only option is downgrade the compiler, until Nvidia releases a new CUDA sdk.</p>
</blockquote>
<p dir="auto">from <a href="https://www.linuxquestions.org/questions/showthread.php?p=5817669#post5817669" rel="nofollow">https://www.linuxquestions.org/questions/showthread.php?p=5817669#post5817669</a></p>
<p dir="auto">To wrap up, I was able to compile TF successfully with gcc 5.3.0. With gcc 5.5.0, I get error messages here and there, and yet I do not know what makes this errors. I suspect the combination of gcc and CUDA (and also TensorFlow) does not work well, but I still can not figure out which of them makes this fault.</p>
<p dir="auto">Thank you for your help.</p>
<p dir="auto">Best regards,<br>
sungjin.</p>
<h3 dir="auto">Source code / logs</h3>
<p dir="auto">Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.</p> | <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 16.04</li>
<li><strong>TensorFlow installed from (source or binary)</strong>: building from source</li>
<li><strong>TensorFlow version (use command below)</strong>: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/5ae244ed0b702e50fd6bb7bc73d45b9188c4239d/hovercard" href="https://github.com/tensorflow/tensorflow/commit/5ae244ed0b702e50fd6bb7bc73d45b9188c4239d"><tt>5ae244e</tt></a></li>
<li><strong>Bazel version (if compiling from source)</strong>: 0.4.5</li>
<li><strong>CUDA/cuDNN version</strong>: CUDA 8.0.61, cudnn 6.0.21 (tried also 5.1)</li>
<li><strong>GPU model and memory</strong>: 2x Tesla P100-PCIE-12GB</li>
<li><strong>Exact command to reproduce</strong>: building</li>
<li><strong>Additional information</strong>: Intel(R) Xeon(R) CPU E7-4860 v2 @ 2.60GHz, gcc version 5.4.1 20170519 (Ubuntu 5.4.1-11ubuntu2~16.04)</li>
</ul>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">On the regular rebuild of Tensorflow, the build crashes with bunch of <code class="notranslate">error: argument of type "const void *" is incompatible with parameter of type "const something *"</code></p>
<h3 dir="auto">Source code / logs</h3>
<p dir="auto">Crash log:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="INFO: From Compiling tensorflow/core/kernels/scatter_functor_gpu.cu.cc:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9218): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9229): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9242): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9253): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9266): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9277): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9290): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9301): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9314): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9325): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9338): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9350): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9363): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9374): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9387): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9399): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9408): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9417): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9426): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9435): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9443): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9452): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9461): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9470): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9479): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9488): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9497): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9506): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9515): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9524): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9533): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9542): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(54): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(62): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(70): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(78): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(86): error: argument of type "void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(95): error: argument of type "void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(104): error: argument of type "void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(112): error: argument of type "void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(120): error: argument of type "void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(129): error: argument of type "void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(138): error: argument of type "void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(146): error: argument of type "void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10223): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10235): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10247): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10259): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10271): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10283): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10295): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10307): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10319): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10331): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10343): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10355): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10367): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10379): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10391): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10403): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10413): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10424): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10433): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10444): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10453): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10464): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10473): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10484): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10493): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10504): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10513): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10524): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10533): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10544): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10553): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10564): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10573): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10584): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10593): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10604): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10613): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10624): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10633): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10644): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10653): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10664): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10673): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10684): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10693): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10704): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10713): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10724): error: argument of type "void *" is incompatible with parameter of type "long long *"
92 errors detected in the compilation of "/tmp/tmpxft_00008f12_00000000-7_scatter_functor_gpu.cu.cpp1.ii".
ERROR: /scratch/chaimb/tensorflow/tensorflow/core/kernels/BUILD:1140:1: output 'tensorflow/core/kernels/_objs/scatter_functor_gpu/tensorflow/core/kernels/scatter_functor_gpu.cu.pic.o' was not created.
ERROR: /scratch/chaimb/tensorflow/tensorflow/core/kernels/BUILD:1140:1: not all outputs were created or valid.
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 147.888s, Critical Path: 69.54s"><pre class="notranslate"><code class="notranslate">INFO: From Compiling tensorflow/core/kernels/scatter_functor_gpu.cu.cc:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9218): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9229): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9242): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9253): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9266): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9277): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9290): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9301): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9314): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9325): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9338): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9350): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9363): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9374): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9387): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9399): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9408): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9417): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9426): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9435): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9443): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9452): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9461): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9470): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9479): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9488): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9497): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9506): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9515): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9524): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9533): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9542): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(54): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(62): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(70): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(78): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(86): error: argument of type "void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(95): error: argument of type "void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(104): error: argument of type "void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(112): error: argument of type "void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(120): error: argument of type "void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(129): error: argument of type "void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(138): error: argument of type "void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h(146): error: argument of type "void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10223): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10235): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10247): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10259): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10271): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10283): error: argument of type "const void *" is incompatible with parameter of type "const float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10295): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10307): error: argument of type "const void *" is incompatible with parameter of type "const double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10319): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10331): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10343): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10355): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10367): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10379): error: argument of type "const void *" is incompatible with parameter of type "const int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10391): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10403): error: argument of type "const void *" is incompatible with parameter of type "const long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10413): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10424): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10433): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10444): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10453): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10464): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10473): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10484): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10493): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10504): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10513): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10524): error: argument of type "void *" is incompatible with parameter of type "float *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10533): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10544): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10553): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10564): error: argument of type "void *" is incompatible with parameter of type "double *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10573): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10584): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10593): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10604): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10613): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10624): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10633): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10644): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10653): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10664): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10673): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10684): error: argument of type "void *" is incompatible with parameter of type "int *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10693): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10704): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10713): error: argument of type "void *" is incompatible with parameter of type "long long *"
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h(10724): error: argument of type "void *" is incompatible with parameter of type "long long *"
92 errors detected in the compilation of "/tmp/tmpxft_00008f12_00000000-7_scatter_functor_gpu.cu.cpp1.ii".
ERROR: /scratch/chaimb/tensorflow/tensorflow/core/kernels/BUILD:1140:1: output 'tensorflow/core/kernels/_objs/scatter_functor_gpu/tensorflow/core/kernels/scatter_functor_gpu.cu.pic.o' was not created.
ERROR: /scratch/chaimb/tensorflow/tensorflow/core/kernels/BUILD:1140:1: not all outputs were created or valid.
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 147.888s, Critical Path: 69.54s
</code></pre></div>
<p dir="auto">I've tried disabling most of the options (MKL, architecture optimizations, computability) but the crash happens even with full-default (except CUDA and XLA) configuration.</p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=cbeams" rel="nofollow">Chris Beams</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6186?redirect=false" rel="nofollow">SPR-6186</a></strong> and commented</p>
<p dir="auto">Due to multiple inheritance issues, CCAC and CCWAC cannot share <code class="notranslate">@Configuration</code> class processing behavior through a common superclass. Factor out a static util (probably as an inner class of CCAC) and refererence it from CCWAC as necessary to eliminate duplicate code.</p>
<hr>
<p dir="auto">This issue is a sub-task of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398094525" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10353" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10353/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10353">#10353</a></p>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/d020d73118b57a16d56d799f5364413e4ca64313/hovercard" href="https://github.com/spring-projects/spring-framework/commit/d020d73118b57a16d56d799f5364413e4ca64313"><tt>d020d73</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/cbadf350e1a378eeb6a0a90e14afd5e3df7657e7/hovercard" href="https://github.com/spring-projects/spring-framework/commit/cbadf350e1a378eeb6a0a90e14afd5e3df7657e7"><tt>cbadf35</tt></a></p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=maheshgadgil" rel="nofollow">Mahesh Gadgil</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8125?redirect=false" rel="nofollow">SPR-8125</a></strong> and commented</p>
<p dir="auto">The following modifications are suggested for Sybase section of the sql-error-codes.xml. Ref. Sybase ASE 15.5 manual.</p>
<p dir="auto">Drop following error codes from "badSqlGrammarCodes" section because they are not really bad grammer errors.</p>
<p dir="auto">Error code - Actual error message from Sybase<br>
207 - non-existent column<br>
208 - object not found error<br>
213 - column name or column values don't match<br>
257 - coversion of datatype is not allowed<br>
512 - subquery returned more than one value</p>
<p dir="auto">Add following codes to "duplicatekeycodes" section.<br>
2615 - 'Attempt to insert duplicate row in table in clustered index'<br>
2626 - Illegal attempt to insert duplicate key row in clustered index</p>
<p dir="auto">Drop code 423 from "dataIntegrityViolationCodes" section as this is not a valid code in Sybase ASE.</p>
<hr>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/189cc262ad8a742e7d345b98adeeec68343349ca/hovercard" href="https://github.com/spring-projects/spring-framework/commit/189cc262ad8a742e7d345b98adeeec68343349ca"><tt>189cc26</tt></a></p> | 0 |
<p dir="auto">I'm trying to implement some automatic MPI <-> NumPy datatype conversion for to enhance mpi4py. Users usually struggle to get it right from complex types, mostly because NumPy defaults to packed structs, while MPI defaults to aligned structs. I'm stuck with an minor issue. I guess it is related Python 2 legacy from the time we had to use an <code class="notranslate">L</code> suffix to write long integers. Minimal reproducer and proposed fix in the following.</p>
<h3 dir="auto">Reproducing code example:</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
np.dtype("3L")"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-s1">np</span>.<span class="pl-en">dtype</span>(<span class="pl-s">"3L"</span>)</pre></div>
<h3 dir="auto">Error message:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.7/site-packages/numpy/core/_internal.py", line 199, in _commastring
newitem = (dtype, eval(repeats))
File "<string>", line 1
3L
^
SyntaxError: unexpected EOF while parsing"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.7/site-packages/numpy/core/_internal.py", line 199, in _commastring
newitem = (dtype, eval(repeats))
File "<string>", line 1
3L
^
SyntaxError: unexpected EOF while parsing
</code></pre></div>
<h3 dir="auto">Numpy/Python version information:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1.16.3 3.7.3 (default, May 11 2019, 00:38:04)
[GCC 9.1.1 20190503 (Red Hat 9.1.1-1)]"><pre class="notranslate"><code class="notranslate">1.16.3 3.7.3 (default, May 11 2019, 00:38:04)
[GCC 9.1.1 20190503 (Red Hat 9.1.1-1)]
</code></pre></div>
<h3 dir="auto">Proposed trivial fix (tested)</h3>
<div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="diff --git a/numpy/core/_internal.py b/numpy/core/_internal.py
index ab5a64a1a..c70718cb6 100644
--- a/numpy/core/_internal.py
+++ b/numpy/core/_internal.py
@@ -146,7 +146,7 @@ def _reconstruct(subtype, shape, dtype):
# format_re was originally from numarray by J. Todd Miller
format_re = re.compile(br'(?P<order1>[<>|=]?)'
- br'(?P<repeats> *[(]?[ ,0-9L]*[)]? *)'
+ br'(?P<repeats> *[(]?[ ,0-9]*[)]? *)'
br'(?P<order2>[<>|=]?)'
br'(?P<dtype>[A-Za-z0-9.?]*(?:\[[a-zA-Z0-9,.]+\])?)')
sep_re = re.compile(br'\s*,\s*')"><pre class="notranslate"><span class="pl-c1">diff --git a/numpy/core/_internal.py b/numpy/core/_internal.py</span>
index ab5a64a1a..c70718cb6 100644
<span class="pl-md">--- a/numpy/core/_internal.py</span>
<span class="pl-mi1">+++ b/numpy/core/_internal.py</span>
<span class="pl-mdr">@@ -146,7 +146,7 @@</span> def _reconstruct(subtype, shape, dtype):
# format_re was originally from numarray by J. Todd Miller
format_re = re.compile(br'(?P<order1>[<>|=]?)'
<span class="pl-md"><span class="pl-md">-</span> br'(?P<repeats> *[(]?[ ,0-9L]*[)]? *)'</span>
<span class="pl-mi1"><span class="pl-mi1">+</span> br'(?P<repeats> *[(]?[ ,0-9]*[)]? *)'</span>
br'(?P<order2>[<>|=]?)'
br'(?P<dtype>[A-Za-z0-9.?]*(?:\[[a-zA-Z0-9,.]+\])?)')
sep_re = re.compile(br'\s*,\s*')</pre></div> | <p dir="auto">the title says it all.</p>
<p dir="auto">additional info:<br>
python: 2.7.9, numpy: 1.9.2, both from conda.<br>
other combinations not using 'L' seems to work fine.</p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=davsclaus" rel="nofollow">Claus Ibsen</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-536?redirect=false" rel="nofollow">SPR-536</a></strong> and commented</p>
<p dir="auto">In relation to this thread in the forum<br>
<a href="http://forum.springframework.org/viewtopic.php?t=1213&start=30" rel="nofollow">http://forum.springframework.org/viewtopic.php?t=1213&start=30</a></p>
<p dir="auto">I need a Hibernate SessionInViewInterceptor that can be used by Spring AOP ProxyFactoryBean.</p>
<p dir="auto">The existing ones in org.springframework.orm.hibernate.support is tied to the web tier = (servlet filter, or spring web framework).</p>
<p dir="auto">I need a non web realted one that I can used in my ejb tier.<br>
The reason is in short to support multiple schemas for Hibernate.<br>
Read the forum to understand the problem more.</p>
<p dir="auto">My workaround was to copy the code from org.springframework.orm.hibernate.support.OpenSessionInViewFilter and remove the web related.</p>
<p dir="auto">I have attached the source file I am using.</p>
<p dir="auto">And this is the relevant part from my spring .xml file</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<!-- DAO -->
<bean id="SaldoOversigtDAO2" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces"><value>com.bmd.selfserviceejb.dao.SaldoOversigtDAO2</value></property>
<property name="target"><ref local="SaldoOversigtDAO2Target"/></property>
<property name="interceptorNames">
<list>
<value>hibernateSessionInViewInterceptor</value>
</list>
</property>
</bean>
<bean id="SaldoOversigtDAO2Target" class="com.bmd.selfserviceejb.dao.SaldoOversigtDAO2Impl">
<property name="sessionFactory"><ref local="sessionFactory"/></property>
</bean>
<bean id="hibernateSessionInViewInterceptor" class="com.bmd.selfserviceejb.spring.HibernateSessionInViewInterceptor">
<property name="sessionFactory"><ref local="sessionFactory"/></property>
</bean>"><pre class="notranslate"><code class="notranslate"><!-- DAO -->
<bean id="SaldoOversigtDAO2" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces"><value>com.bmd.selfserviceejb.dao.SaldoOversigtDAO2</value></property>
<property name="target"><ref local="SaldoOversigtDAO2Target"/></property>
<property name="interceptorNames">
<list>
<value>hibernateSessionInViewInterceptor</value>
</list>
</property>
</bean>
<bean id="SaldoOversigtDAO2Target" class="com.bmd.selfserviceejb.dao.SaldoOversigtDAO2Impl">
<property name="sessionFactory"><ref local="sessionFactory"/></property>
</bean>
<bean id="hibernateSessionInViewInterceptor" class="com.bmd.selfserviceejb.spring.HibernateSessionInViewInterceptor">
<property name="sessionFactory"><ref local="sessionFactory"/></property>
</bean>
</code></pre></div>
<hr>
<p dir="auto"><strong>Affects:</strong> 1.1.2</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/10360/HibernateSessionInViewInterceptor.java" rel="nofollow">HibernateSessionInViewInterceptor.java</a> (<em>4.29 kB</em>)</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=akmal" rel="nofollow">Akmal Sarhan</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1893?redirect=false" rel="nofollow">SPR-1893</a></strong> and commented</p>
<p dir="auto">the following snippet does not work<br>
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"><br>
<property name="searchSystemEnvironment" ><value>true</value></property><br>
<property name="systemPropertiesModeName" ><value>SYSTEM_PROPERTIES_MODE_FALLBACK</value></property></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" <property name="locations">
<list>
<value>classpath:project-${SERVER_MODE}.properties</value>
<value>classpath:messages.properties</value>
</list>
</property>
</bean> "><pre class="notranslate"><code class="notranslate"> <property name="locations">
<list>
<value>classpath:project-${SERVER_MODE}.properties</value>
<value>classpath:messages.properties</value>
</list>
</property>
</bean>
</code></pre></div>
<p dir="auto">if SERVER_MODE is a system env. the solution is to change org.springframework.util.SystemPropertyUtils</p>
<p dir="auto">to try to resolve the placeholder via:<br>
...<br>
String propVal = System.getProperty(placeholder);<br>
if (propVal == null)<br>
propVal = System.getenv(placeholder);<br>
...</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0 M3</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="398064661" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/6542" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/6542/hovercard" href="https://github.com/spring-projects/spring-framework/issues/6542">#6542</a> Resource location placeholders not resolved against system environment variables (<em><strong>"duplicates"</strong></em>)</li>
</ul> | 0 |
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">When trying to pass a pandas.Sequence to matplotlib.colors.LogNorm to set the norm of a LineCollection I expect it to handle it similar to matplotlib.colors.Normalize. However the LineCollection is not properly set.</p>
<p dir="auto">This might also be an issue with using LineCollection.set_array() but in any case I would expect both Normalize and LogNorm to handle this similarly.</p>
<p dir="auto"><strong>Code for reproduction</strong></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
import pandas as pd
from matplotlib.colors import LogNorm, Normalize
from matplotlib.collections import LineCollection
import matplotlib.pyplot as plt
x=np.arange(1, 11)
y=np.arange(1, 11)
z=pd.Series(np.logspace(-5.0, 9, num=10))
points = np.array([x, y]).T.reshape(-1, 1, 2)
segments = np.concatenate([points[:-1], points[1:]], axis=1)
norms = [plt.Normalize(vmin=z.min(), vmax=z.max()),
LogNorm(vmin=z.min(), vmax=z.max()),
Normalize(vmin=z.min(), vmax=z.max())]
# the different cases I tried:
for norm in norms:
print(f"Trying: {type(norm)}")
fig, ax = plt.subplots(constrained_layout=True)
try:
lc = LineCollection(segments, cmap='viridis', norm=norm)
lc.set_array(z)
lc.set_linewidth(10)
line = ax.add_collection(lc)
fig.colorbar(line, ax=ax)
ax.plot(x, y)
fig.show()
except TypeError as e:
print(e)
plt.clf()
# and finally the part that causes the issue:
norm = LogNorm(vmin=z.min(), vmax=z.max())
fig, ax = plt.subplots(constrained_layout=True)
lc = LineCollection(segments, cmap='viridis', norm=norm)
lc.set_array(z)
lc.set_linewidth(10)
line = ax.add_collection(lc)
fig.colorbar(line, ax=ax)
ax.plot(x, y)
fig.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-k">from</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">colors</span> <span class="pl-k">import</span> <span class="pl-v">LogNorm</span>, <span class="pl-v">Normalize</span>
<span class="pl-k">from</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">collections</span> <span class="pl-k">import</span> <span class="pl-v">LineCollection</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">1</span>, <span class="pl-c1">11</span>)
<span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">1</span>, <span class="pl-c1">11</span>)
<span class="pl-s1">z</span><span class="pl-c1">=</span><span class="pl-s1">pd</span>.<span class="pl-v">Series</span>(<span class="pl-s1">np</span>.<span class="pl-en">logspace</span>(<span class="pl-c1">-</span><span class="pl-c1">5.0</span>, <span class="pl-c1">9</span>, <span class="pl-s1">num</span><span class="pl-c1">=</span><span class="pl-c1">10</span>))
<span class="pl-s1">points</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-s1">x</span>, <span class="pl-s1">y</span>]).<span class="pl-v">T</span>.<span class="pl-en">reshape</span>(<span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>)
<span class="pl-s1">segments</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">concatenate</span>([<span class="pl-s1">points</span>[:<span class="pl-c1">-</span><span class="pl-c1">1</span>], <span class="pl-s1">points</span>[<span class="pl-c1">1</span>:]], <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">1</span>)
<span class="pl-s1">norms</span> <span class="pl-c1">=</span> [<span class="pl-s1">plt</span>.<span class="pl-v">Normalize</span>(<span class="pl-s1">vmin</span><span class="pl-c1">=</span><span class="pl-s1">z</span>.<span class="pl-en">min</span>(), <span class="pl-s1">vmax</span><span class="pl-c1">=</span><span class="pl-s1">z</span>.<span class="pl-en">max</span>()),
<span class="pl-v">LogNorm</span>(<span class="pl-s1">vmin</span><span class="pl-c1">=</span><span class="pl-s1">z</span>.<span class="pl-en">min</span>(), <span class="pl-s1">vmax</span><span class="pl-c1">=</span><span class="pl-s1">z</span>.<span class="pl-en">max</span>()),
<span class="pl-v">Normalize</span>(<span class="pl-s1">vmin</span><span class="pl-c1">=</span><span class="pl-s1">z</span>.<span class="pl-en">min</span>(), <span class="pl-s1">vmax</span><span class="pl-c1">=</span><span class="pl-s1">z</span>.<span class="pl-en">max</span>())]
<span class="pl-c"># the different cases I tried: </span>
<span class="pl-k">for</span> <span class="pl-s1">norm</span> <span class="pl-c1">in</span> <span class="pl-s1">norms</span>:
<span class="pl-en">print</span>(<span class="pl-s">f"Trying: <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-en">type</span>(<span class="pl-s1">norm</span>)<span class="pl-kos">}</span></span>"</span>)
<span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-s1">constrained_layout</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-k">try</span>:
<span class="pl-s1">lc</span> <span class="pl-c1">=</span> <span class="pl-v">LineCollection</span>(<span class="pl-s1">segments</span>, <span class="pl-s1">cmap</span><span class="pl-c1">=</span><span class="pl-s">'viridis'</span>, <span class="pl-s1">norm</span><span class="pl-c1">=</span><span class="pl-s1">norm</span>)
<span class="pl-s1">lc</span>.<span class="pl-en">set_array</span>(<span class="pl-s1">z</span>)
<span class="pl-s1">lc</span>.<span class="pl-en">set_linewidth</span>(<span class="pl-c1">10</span>)
<span class="pl-s1">line</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">add_collection</span>(<span class="pl-s1">lc</span>)
<span class="pl-s1">fig</span>.<span class="pl-en">colorbar</span>(<span class="pl-s1">line</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>)
<span class="pl-s1">ax</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>)
<span class="pl-s1">fig</span>.<span class="pl-en">show</span>()
<span class="pl-k">except</span> <span class="pl-v">TypeError</span> <span class="pl-k">as</span> <span class="pl-s1">e</span>:
<span class="pl-en">print</span>(<span class="pl-s1">e</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">clf</span>()
<span class="pl-c"># and finally the part that causes the issue: </span>
<span class="pl-s1">norm</span> <span class="pl-c1">=</span> <span class="pl-v">LogNorm</span>(<span class="pl-s1">vmin</span><span class="pl-c1">=</span><span class="pl-s1">z</span>.<span class="pl-en">min</span>(), <span class="pl-s1">vmax</span><span class="pl-c1">=</span><span class="pl-s1">z</span>.<span class="pl-en">max</span>())
<span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-s1">constrained_layout</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-s1">lc</span> <span class="pl-c1">=</span> <span class="pl-v">LineCollection</span>(<span class="pl-s1">segments</span>, <span class="pl-s1">cmap</span><span class="pl-c1">=</span><span class="pl-s">'viridis'</span>, <span class="pl-s1">norm</span><span class="pl-c1">=</span><span class="pl-s1">norm</span>)
<span class="pl-s1">lc</span>.<span class="pl-en">set_array</span>(<span class="pl-s1">z</span>)
<span class="pl-s1">lc</span>.<span class="pl-en">set_linewidth</span>(<span class="pl-c1">10</span>)
<span class="pl-s1">line</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">add_collection</span>(<span class="pl-s1">lc</span>)
<span class="pl-s1">fig</span>.<span class="pl-en">colorbar</span>(<span class="pl-s1">line</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>)
<span class="pl-s1">ax</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>)
<span class="pl-s1">fig</span>.<span class="pl-en">show</span>()</pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>
<p dir="auto">see the error being raised above</p>
<p dir="auto"><strong>Expected outcome</strong><br>
Using a np.array instead of a pd.Sequence</p>
<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
from matplotlib.colors import LogNorm, Normalize
from matplotlib.collections import LineCollection
import matplotlib.pyplot as plt
x=np.arange(1, 11)
y=np.arange(1, 11)
### now z is set as an np.array
z=np.logspace(-5.0, 9, num=10)
points = np.array([x, y]).T.reshape(-1, 1, 2)
segments = np.concatenate([points[:-1], points[1:]], axis=1)
norm = LogNorm(vmin=z.min(), vmax=z.max())
fig, ax = plt.subplots(constrained_layout=True)
lc = LineCollection(segments, cmap='viridis', norm=norm)
lc.set_array(z)
lc.set_linewidth(10)
line = ax.add_collection(lc)
fig.colorbar(line, ax=ax)
ax.plot(x, y)
fig.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-k">from</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">colors</span> <span class="pl-k">import</span> <span class="pl-v">LogNorm</span>, <span class="pl-v">Normalize</span>
<span class="pl-k">from</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">collections</span> <span class="pl-k">import</span> <span class="pl-v">LineCollection</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">1</span>, <span class="pl-c1">11</span>)
<span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">1</span>, <span class="pl-c1">11</span>)
<span class="pl-c">### now z is set as an np.array</span>
<span class="pl-s1">z</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-en">logspace</span>(<span class="pl-c1">-</span><span class="pl-c1">5.0</span>, <span class="pl-c1">9</span>, <span class="pl-s1">num</span><span class="pl-c1">=</span><span class="pl-c1">10</span>)
<span class="pl-s1">points</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-s1">x</span>, <span class="pl-s1">y</span>]).<span class="pl-v">T</span>.<span class="pl-en">reshape</span>(<span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>)
<span class="pl-s1">segments</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">concatenate</span>([<span class="pl-s1">points</span>[:<span class="pl-c1">-</span><span class="pl-c1">1</span>], <span class="pl-s1">points</span>[<span class="pl-c1">1</span>:]], <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">1</span>)
<span class="pl-s1">norm</span> <span class="pl-c1">=</span> <span class="pl-v">LogNorm</span>(<span class="pl-s1">vmin</span><span class="pl-c1">=</span><span class="pl-s1">z</span>.<span class="pl-en">min</span>(), <span class="pl-s1">vmax</span><span class="pl-c1">=</span><span class="pl-s1">z</span>.<span class="pl-en">max</span>())
<span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-s1">constrained_layout</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-s1">lc</span> <span class="pl-c1">=</span> <span class="pl-v">LineCollection</span>(<span class="pl-s1">segments</span>, <span class="pl-s1">cmap</span><span class="pl-c1">=</span><span class="pl-s">'viridis'</span>, <span class="pl-s1">norm</span><span class="pl-c1">=</span><span class="pl-s1">norm</span>)
<span class="pl-s1">lc</span>.<span class="pl-en">set_array</span>(<span class="pl-s1">z</span>)
<span class="pl-s1">lc</span>.<span class="pl-en">set_linewidth</span>(<span class="pl-c1">10</span>)
<span class="pl-s1">line</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">add_collection</span>(<span class="pl-s1">lc</span>)
<span class="pl-s1">fig</span>.<span class="pl-en">colorbar</span>(<span class="pl-s1">line</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>)
<span class="pl-s1">ax</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>)
<span class="pl-s1">fig</span>.<span class="pl-en">show</span>()</pre></div>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Operating system: Win 10</li>
<li>Matplotlib version: 3.4.1</li>
<li>Matplotlib backend: module://backend_interagg</li>
<li>Python version: 3.8</li>
<li>Other libraries: pandas</li>
</ul> | <h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong><br>
It seems matplotlib.colors.Normalize can work with pandas.Series inputs, whereas LogNorm can't.</p>
<p dir="auto"><strong>Code for reproduction</strong></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
import matplotlib.pyplot as plt
from matplotlib.collections import LineCollection
from matplotlib.colors import ListedColormap, BoundaryNorm, Normalize, LogNorm
import pandas as pd
x = np.linspace(0, 3 * np.pi, 500)
y = np.sin(x)
dydx = np.linspace(0, 3 * np.pi, 500) +1 # first derivative
df= pd.DataFrame({'x':x,'y':y,'dydx':dydx})
points = np.array([df['x'], df['y']]).T.reshape(-1, 1, 2)
segments = np.concatenate([points[:-1], points[1:]], axis=1)
fig, axs = plt.subplots()
# Create a continuous norm to map from data points to colors
norm = LogNorm(df['dydx'].min(), df['dydx'].max())
lc = LineCollection(segments, cmap='viridis', norm=norm)
# Set the values used for colormapping
lc.set_array(df['dydx'])
lc.set_linewidth(2)
line = axs.add_collection(lc)
fig.colorbar(line, ax=axs)
axs.set_xlim(x.min(), x.max())
axs.set_ylim(-1.1, 1.1)
plt.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-k">from</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">collections</span> <span class="pl-k">import</span> <span class="pl-v">LineCollection</span>
<span class="pl-k">from</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">colors</span> <span class="pl-k">import</span> <span class="pl-v">ListedColormap</span>, <span class="pl-v">BoundaryNorm</span>, <span class="pl-v">Normalize</span>, <span class="pl-v">LogNorm</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">x</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">3</span> <span class="pl-c1">*</span> <span class="pl-s1">np</span>.<span class="pl-s1">pi</span>, <span class="pl-c1">500</span>)
<span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">sin</span>(<span class="pl-s1">x</span>)
<span class="pl-s1">dydx</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">3</span> <span class="pl-c1">*</span> <span class="pl-s1">np</span>.<span class="pl-s1">pi</span>, <span class="pl-c1">500</span>) <span class="pl-c1">+</span><span class="pl-c1">1</span> <span class="pl-c"># first derivative</span>
<span class="pl-s1">df</span><span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'x'</span>:<span class="pl-s1">x</span>,<span class="pl-s">'y'</span>:<span class="pl-s1">y</span>,<span class="pl-s">'dydx'</span>:<span class="pl-s1">dydx</span>})
<span class="pl-s1">points</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-s1">df</span>[<span class="pl-s">'x'</span>], <span class="pl-s1">df</span>[<span class="pl-s">'y'</span>]]).<span class="pl-v">T</span>.<span class="pl-en">reshape</span>(<span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>)
<span class="pl-s1">segments</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">concatenate</span>([<span class="pl-s1">points</span>[:<span class="pl-c1">-</span><span class="pl-c1">1</span>], <span class="pl-s1">points</span>[<span class="pl-c1">1</span>:]], <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">1</span>)
<span class="pl-s1">fig</span>, <span class="pl-s1">axs</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>()
<span class="pl-c"># Create a continuous norm to map from data points to colors</span>
<span class="pl-s1">norm</span> <span class="pl-c1">=</span> <span class="pl-v">LogNorm</span>(<span class="pl-s1">df</span>[<span class="pl-s">'dydx'</span>].<span class="pl-en">min</span>(), <span class="pl-s1">df</span>[<span class="pl-s">'dydx'</span>].<span class="pl-en">max</span>())
<span class="pl-s1">lc</span> <span class="pl-c1">=</span> <span class="pl-v">LineCollection</span>(<span class="pl-s1">segments</span>, <span class="pl-s1">cmap</span><span class="pl-c1">=</span><span class="pl-s">'viridis'</span>, <span class="pl-s1">norm</span><span class="pl-c1">=</span><span class="pl-s1">norm</span>)
<span class="pl-c"># Set the values used for colormapping</span>
<span class="pl-s1">lc</span>.<span class="pl-en">set_array</span>(<span class="pl-s1">df</span>[<span class="pl-s">'dydx'</span>])
<span class="pl-s1">lc</span>.<span class="pl-en">set_linewidth</span>(<span class="pl-c1">2</span>)
<span class="pl-s1">line</span> <span class="pl-c1">=</span> <span class="pl-s1">axs</span>.<span class="pl-en">add_collection</span>(<span class="pl-s1">lc</span>)
<span class="pl-s1">fig</span>.<span class="pl-en">colorbar</span>(<span class="pl-s1">line</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">axs</span>)
<span class="pl-s1">axs</span>.<span class="pl-en">set_xlim</span>(<span class="pl-s1">x</span>.<span class="pl-en">min</span>(), <span class="pl-s1">x</span>.<span class="pl-en">max</span>())
<span class="pl-s1">axs</span>.<span class="pl-en">set_ylim</span>(<span class="pl-c1">-</span><span class="pl-c1">1.1</span>, <span class="pl-c1">1.1</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: '<=' not supported between instances of 'SingleBlockManager' and 'int'"><pre class="notranslate"><code class="notranslate">TypeError: '<=' not supported between instances of 'SingleBlockManager' and 'int'
</code></pre></div>
<p dir="auto"><strong>Expected outcome</strong></p>
<p dir="auto">Not sure about what's expected, but if I do <code class="notranslate">Normalize</code> instead of <code class="notranslate">LogNorm</code> it works, if I do <code class="notranslate">lc.set_array(df['dydx'].to_numpy())</code> instead of <code class="notranslate">lc.set_array(df['dydx'])</code> it also works. It's the combination of LogNorm and pd.Series is the problem.</p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<p dir="auto">version 3.1.1<br>
module://ipykernel.pylab.backend_inline</p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=grzegorzborkowski" rel="nofollow">Grzegorz Borkowski</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7122?redirect=false" rel="nofollow">SPR-7122</a></strong> and commented</p>
<p dir="auto">According to Hibernate Validator documentation, the JPA 2 provider (like Hibernate 3.5) will detect presence of validator implementation on classpath, and automatically validate <code class="notranslate">@Entities</code> during persist or merge calls. However, it doesn't work for me in Spring app - the validation is not called, I must call it explicitly (I don't use <code class="notranslate">@Valid-marked</code> controller inputs, becuase it doesn't fit well our needs. We call Spring DataBinder explicitly, and we have to call it's validate() method to trigger Hibernate Validator to run). Why validation is not triggered by Hibernate automatically? Is it something specific to Spring environment, perhaps it is disabled intentionally (e.g. to not duplicate validation after validating controller inputs)? Or it's Hibernate bug? (I tested it with Hibernate 3.5.0)</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.2</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/19429/SPR-7122.zip" rel="nofollow">SPR-7122.zip</a> (<em>5.63 kB</em>)</li>
</ul>
<p dir="auto">1 votes, 3 watchers</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=lkoe" rel="nofollow">Lars Ködderitzsch</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-4912?redirect=false" rel="nofollow">SPR-4912</a></strong> and commented</p>
<p dir="auto">I wanted to use ConfigurableMimeFileTypeMap to easily map some common file endings to their mime type.<br>
All looked good until I got "application/x-pointplus" for a CSS resource (filename bla.css) where I would have expected the more commonly used "text/css".</p>
<p dir="auto">Looking into org/springframework/mail/mime.types it became quickly clear that the "css" ending is mapped twice - it seems that the latter mapping won in this case.<br>
I don't know if that is exactly a bug - I myself was quite surprised, and need to "workaround" now using a custom mime types mapping file.<br>
No big deal but I thought you should be made aware of this "issue".</p>
<p dir="auto">Best regards,<br>
Lars Ködderitzsch</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0.8, 2.5.4</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="398091099" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9850" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9850/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9850">#9850</a> Included mime.types file contains duplicate settings for CSS extension making it return application/x-pointplus instead of text/css (<em><strong>"is duplicated by"</strong></em>)</li>
</ul>
<p dir="auto"><strong>Backported to:</strong> <a href="https://github.com/spring-projects/spring-framework/milestone/46?closed=1">2.0.9</a></p> | 0 |
<h3 dir="auto">Cannot run <code class="notranslate">next export</code> with antd examples</h3>
<h2 dir="auto">Example name</h2>
<p dir="auto">All examples with antd</p>
<h2 dir="auto">Describe the bug</h2>
<p dir="auto">Cannot run <code class="notranslate">next export</code><br>
Always gets an error with <code class="notranslate">SyntaxError: Invalid or unexpected token</code> with the antd css file from node_modules</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">Steps to reproduce the behavior, please provide code snippets or a repository:</p>
<ol dir="auto">
<li>Go to any example with <code class="notranslate">antd</code></li>
<li>Download and build example</li>
<li>Then export</li>
</ol>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">Supposed to export static site</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</li>
<li>Version of Next.js: 8.0.3</li>
</ul> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">I have (and want to keep) the following file structure :</p>
<ul dir="auto">
<li>config
<ul dir="auto">
<li>index.js</li>
</ul>
</li>
<li>node_modules
<ul dir="auto">
<li>...</li>
</ul>
</li>
<li>server
<ul dir="auto">
<li>index.js</li>
</ul>
</li>
<li>src
<ul dir="auto">
<li>.next</li>
<li>components</li>
<li>pages</li>
</ul>
</li>
<li>static
<ul dir="auto">
<li>serviceWorker.js</li>
</ul>
</li>
</ul>
<p dir="auto">The <strong>import statement</strong> should work in <strong>server/index.js</strong>, as well as the <strong>export statement</strong> in <strong>config/index.js</strong>.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">The <strong>import statement</strong> fails in <strong>server/index.js</strong>, as well as the <strong>export statement</strong> in <strong>config/index.js</strong>.<br>
It would really feel weird to use ES5 in a part of the project and ES6 in another part.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto"><a href="https://github.com/glemiere/nextjs-starter/tree/Transpiling-Issue">https://github.com/glemiere/nextjs-starter/tree/Transpiling-Issue</a></p>
<h2 dir="auto">Context</h2>
<p dir="auto">Just building a complete starter for NextJS apps.</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>5</td>
</tr>
<tr>
<td>node</td>
<td>9.6.0</td>
</tr>
<tr>
<td>OS</td>
<td>OSX High Sierra</td>
</tr>
<tr>
<td>browser</td>
<td>X</td>
</tr>
<tr>
<td>etc</td>
<td>X</td>
</tr>
</tbody>
</table> | 0 |
<h1 dir="auto">code</h1>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="a = autograd.Variable(torch.ones(1000))
b = autograd.Variable(torch.ones(1000))
print(a.data.eq(b.data).sum()) # 1000
print(a.eq(b).sum().data[0]) # 232"><pre class="notranslate"><span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">autograd</span>.<span class="pl-v">Variable</span>(<span class="pl-s1">torch</span>.<span class="pl-en">ones</span>(<span class="pl-c1">1000</span>))
<span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-s1">autograd</span>.<span class="pl-v">Variable</span>(<span class="pl-s1">torch</span>.<span class="pl-en">ones</span>(<span class="pl-c1">1000</span>))
<span class="pl-en">print</span>(<span class="pl-s1">a</span>.<span class="pl-s1">data</span>.<span class="pl-en">eq</span>(<span class="pl-s1">b</span>.<span class="pl-s1">data</span>).<span class="pl-en">sum</span>()) <span class="pl-c"># 1000</span>
<span class="pl-en">print</span>(<span class="pl-s1">a</span>.<span class="pl-en">eq</span>(<span class="pl-s1">b</span>).<span class="pl-en">sum</span>().<span class="pl-s1">data</span>[<span class="pl-c1">0</span>]) <span class="pl-c"># 232</span></pre></div>
<h1 dir="auto">environment</h1>
<ul dir="auto">
<li>ubuntu 16.04</li>
<li>python3</li>
<li>pytorch 0.2.0_4</li>
</ul> | <p dir="auto">When summing a <code class="notranslate">ByteTensor</code> wrapped in a <code class="notranslate">Variable</code> the answer is incorrect. The answer can be very off in some cases. See the below gist for reproducing.</p>
<p dir="auto"><a href="https://gist.github.com/awni/675bedbda43e7aa3ad06dfd7f5ce7205">https://gist.github.com/awni/675bedbda43e7aa3ad06dfd7f5ce7205</a></p> | 1 |
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><a href="http://plnkr.co/edit/X6IBwTyZKY8UItr5iXpw?p=preview" rel="nofollow">Link with bug</a></p>
<p dir="auto"><strong>Current behavior</strong><br>
Set last value of list values.</p>
<p dir="auto"><strong>Expected behavior</strong><br>
Set all values of list value.</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br>
If i use multiple with [] then I have this bug. Without [], all okey.</p> | <p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
When select[multiple] is false then UI is not "multiple" but the ngModel return Array</p>
<p dir="auto"><strong>Expected behavior</strong><br>
The model is not to return Array</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br>
<a href="https://plnkr.co/edit/uU2p2GTf0ta0WP3ndegl?p=preview" rel="nofollow">https://plnkr.co/edit/uU2p2GTf0ta0WP3ndegl?p=preview</a></p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
I was trying to make a custome component that is "multiple" configureable</p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.1.2</li>
<li><strong>Browser:</strong> [Chrome 54]</li>
<li><strong>Language:</strong> [TypeScript 2.0]</li>
</ul> | 1 |
<p dir="auto">Choose one: is this a bug report or feature request?<br>
Bug report</p>
<h3 dir="auto">Input Code</h3>
<p dir="auto">module-sub.js</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export default function test(arg) {
return typeof arg
}
export const a = 1
export const b = 2"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">function</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s1">arg</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-k">typeof</span> <span class="pl-s1">arg</span>
<span class="pl-kos">}</span>
<span class="pl-k">export</span> <span class="pl-k">const</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span>
<span class="pl-k">export</span> <span class="pl-k">const</span> <span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-c1">2</span></pre></div>
<p dir="auto">module.js</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export * from './module-sub'"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-c1">*</span> <span class="pl-k">from</span> <span class="pl-s">'./module-sub'</span></pre></div>
<p dir="auto">common.js</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var x = typeof arg
module.exports = x"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-k">typeof</span> <span class="pl-s1">arg</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">x</span></pre></div>
<h3 dir="auto">Babel/Babylon Configuration (.babelrc, package.json, cli command)</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"presets": [["es2015", { "modules": false }], "stage-2"],
"plugins": ["transform-runtime"],
"env": {
"test": {
"presets": ["env", "stage-2"],
"plugins": ["istanbul"]
}
}
}"><pre class="notranslate">{
<span class="pl-ent">"presets"</span>: [[<span class="pl-s"><span class="pl-pds">"</span>es2015<span class="pl-pds">"</span></span>, { <span class="pl-ent">"modules"</span>: <span class="pl-c1">false</span> }], <span class="pl-s"><span class="pl-pds">"</span>stage-2<span class="pl-pds">"</span></span>],
<span class="pl-ent">"plugins"</span>: [<span class="pl-s"><span class="pl-pds">"</span>transform-runtime<span class="pl-pds">"</span></span>],
<span class="pl-ent">"env"</span>: {
<span class="pl-ent">"test"</span>: {
<span class="pl-ent">"presets"</span>: [<span class="pl-s"><span class="pl-pds">"</span>env<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>stage-2<span class="pl-pds">"</span></span>],
<span class="pl-ent">"plugins"</span>: [<span class="pl-s"><span class="pl-pds">"</span>istanbul<span class="pl-pds">"</span></span>]
}
}
}</pre></div>
<p dir="auto">and</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"presets": ["es2015", "stage-2"],
"plugins": ["transform-runtime"],
"env": {
"test": {
"presets": ["env", "stage-2"],
"plugins": ["istanbul"]
}
}
}
"><pre class="notranslate">{
<span class="pl-ent">"presets"</span>: [<span class="pl-s"><span class="pl-pds">"</span>es2015<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>stage-2<span class="pl-pds">"</span></span>],
<span class="pl-ent">"plugins"</span>: [<span class="pl-s"><span class="pl-pds">"</span>transform-runtime<span class="pl-pds">"</span></span>],
<span class="pl-ent">"env"</span>: {
<span class="pl-ent">"test"</span>: {
<span class="pl-ent">"presets"</span>: [<span class="pl-s"><span class="pl-pds">"</span>env<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>stage-2<span class="pl-pds">"</span></span>],
<span class="pl-ent">"plugins"</span>: [<span class="pl-s"><span class="pl-pds">"</span>istanbul<span class="pl-pds">"</span></span>]
}
}
}
</pre></div>
<h3 dir="auto">Expected Behavior</h3>
<h4 dir="auto">when <code class="notranslate">modules</code> not set, default commonjs</h4>
<p dir="auto">module.js become</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="'use strict';
import _Object$defineProperty from 'babel-runtime/core-js/object/define-property';
import _Object$keys from 'babel-runtime/core-js/object/keys';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _moduleSub = require('./module-sub');
_Object$keys(_moduleSub).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
_Object$defineProperty(exports, key, {
enumerable: true,
get: function get() {
return _moduleSub[key];
}
});
});"><pre class="notranslate"><span class="pl-s">'use strict'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s1">_Object$defineProperty</span> <span class="pl-k">from</span> <span class="pl-s">'babel-runtime/core-js/object/define-property'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s1">_Object$keys</span> <span class="pl-k">from</span> <span class="pl-s">'babel-runtime/core-js/object/keys'</span><span class="pl-kos">;</span>
<span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">defineProperty</span><span class="pl-kos">(</span><span class="pl-s1">exports</span><span class="pl-kos">,</span> <span class="pl-s">"__esModule"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-c1">value</span>: <span class="pl-c1">true</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">_moduleSub</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'./module-sub'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">_Object$keys</span><span class="pl-kos">(</span><span class="pl-s1">_moduleSub</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">forEach</span><span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">key</span> <span class="pl-c1">===</span> <span class="pl-s">"default"</span> <span class="pl-c1">||</span> <span class="pl-s1">key</span> <span class="pl-c1">===</span> <span class="pl-s">"__esModule"</span><span class="pl-kos">)</span> <span class="pl-k">return</span><span class="pl-kos">;</span>
<span class="pl-en">_Object$defineProperty</span><span class="pl-kos">(</span><span class="pl-s1">exports</span><span class="pl-kos">,</span> <span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-c1">enumerable</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-en">get</span>: <span class="pl-k">function</span> <span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s1">_moduleSub</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-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>
<h4 dir="auto">when <code class="notranslate">modules</code> is set to false</h4>
<p dir="auto">common.js become</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import _typeof from "babel-runtime/helpers/typeof";
var x = typeof arg === "undefined" ? "undefined" : _typeof(arg);
module.exports = x;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">_typeof</span> <span class="pl-k">from</span> <span class="pl-s">"babel-runtime/helpers/typeof"</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-k">typeof</span> <span class="pl-s1">arg</span> <span class="pl-c1">===</span> <span class="pl-s">"undefined"</span> ? <span class="pl-s">"undefined"</span> : <span class="pl-en">_typeof</span><span class="pl-kos">(</span><span class="pl-s1">arg</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">x</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">In a project mixed with commonjs files and ES module files with <code class="notranslate">export * </code><br>
babel generates <code class="notranslate">import</code> and <code class="notranslate">exports</code>, this will results webpack 2 rename <code class="notranslate">exports</code> to <code class="notranslate">__webpack_exports__</code>, final results <code class="notranslate">exports is not defined</code></p>
<p dir="auto">example code generated by webpack with content mixed with <code class="notranslate">exports</code> and <code class="notranslate">import</code></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_define_property__ = __webpack_require__("liLe");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_define_property___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_define_property__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys__ = __webpack_require__("ZLEe");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys__);
Object.defineProperty(exports, "__esModule", {
value: true
});"><pre class="notranslate"><span class="pl-c">/***/</span> <span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">module</span><span class="pl-kos">,</span> <span class="pl-s1">__webpack_exports__</span><span class="pl-kos">,</span> <span class="pl-s1">__webpack_require__</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s">"use strict"</span><span class="pl-kos">;</span>
<span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">defineProperty</span><span class="pl-kos">(</span><span class="pl-s1">__webpack_exports__</span><span class="pl-kos">,</span> <span class="pl-s">"__esModule"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">value</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">/* harmony import */</span> <span class="pl-k">var</span> <span class="pl-s1">__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_define_property__</span> <span class="pl-c1">=</span> <span class="pl-s1">__webpack_require__</span><span class="pl-kos">(</span><span class="pl-s">"liLe"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">/* harmony import */</span> <span class="pl-k">var</span> <span class="pl-s1">__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_define_property___default</span> <span class="pl-c1">=</span> <span class="pl-s1">__webpack_require__</span><span class="pl-kos">.</span><span class="pl-en">n</span><span class="pl-kos">(</span><span class="pl-s1">__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_define_property__</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">/* harmony import */</span> <span class="pl-k">var</span> <span class="pl-s1">__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys__</span> <span class="pl-c1">=</span> <span class="pl-s1">__webpack_require__</span><span class="pl-kos">(</span><span class="pl-s">"ZLEe"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">/* harmony import */</span> <span class="pl-k">var</span> <span class="pl-s1">__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys___default</span> <span class="pl-c1">=</span> <span class="pl-s1">__webpack_require__</span><span class="pl-kos">.</span><span class="pl-en">n</span><span class="pl-kos">(</span><span class="pl-s1">__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_keys__</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">defineProperty</span><span class="pl-kos">(</span><span class="pl-s1">exports</span><span class="pl-kos">,</span> <span class="pl-s">"__esModule"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-c1">value</span>: <span class="pl-c1">true</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">related issues<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="200903569" data-permission-text="Title is private" data-url="https://github.com/webpack/webpack/issues/3974" data-hovercard-type="issue" data-hovercard-url="/webpack/webpack/issues/3974/hovercard" href="https://github.com/webpack/webpack/issues/3974">webpack/webpack#3974</a><br>
<a href="https://www.google.com.hk/search?newwindow=1&safe=strict&ei=I1AmWtK9Doaj8QX86amoCw&q=exports+is+not+defined&oq=exp&gs_l=psy-ab.3.0.0i67k1j0j0i67k1l2j0j0i67k1l4j0.7698247.7698604.0.7699788.3.3.0.0.0.0.137.268.0j2.2.0....0...1c.1.64.psy-ab..1.2.267...0i131k1.0.WC-jJIZgzU8" rel="nofollow">https://www.google.com.hk/search?newwindow=1&safe=strict&ei=I1AmWtK9Doaj8QX86amoCw&q=exports+is+not+defined&oq=exp&gs_l=psy-ab.3.0.0i67k1j0j0i67k1l2j0j0i67k1l4j0.7698247.7698604.0.7699788.3.3.0.0.0.0.137.268.0j2.2.0....0...1c.1.64.psy-ab..1.2.267...0i131k1.0.WC-jJIZgzU8</a></p>
<h3 dir="auto">Your Environment</h3>
<table role="table">
<thead>
<tr>
<th>software</th>
<th>version(s)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Babel</td>
<td>6.26.0 (babel-core 6.26.0) babel-cli</td>
</tr>
<tr>
<td>Babylon</td>
<td></td>
</tr>
<tr>
<td>node</td>
<td>v8.6.0</td>
</tr>
<tr>
<td>npm</td>
<td>5.5.1</td>
</tr>
<tr>
<td>Operating System</td>
<td>macOS high Siera</td>
</tr>
</tbody>
</table> | <p dir="auto">I am attempting to use transform-runtime in combination with code that uses the export * from 'x' statement. The code that is generated during transpilation includes an import statement for core-js' define-property. I'm using the es2015 preset, so I would expect that a require statement would be generated, not an import.</p>
<p dir="auto">Small sample project at <a href="https://gist.github.com/mdouglass/a6a5c5aae68ac03a92d3">https://gist.github.com/mdouglass/a6a5c5aae68ac03a92d3</a></p> | 1 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">role</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 = /etc/ansible/ansible.cfg
configured module search path = [u'/home/whitequark/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/dist-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.13 (default, Jan 19 2017, 14:48:08) [GCC 6.3.0 20170118]"><pre class="notranslate"><code class="notranslate">ansible 2.4.0.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/whitequark/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/dist-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.13 (default, Jan 19 2017, 14:48:08) [GCC 6.3.0 20170118]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">Default.</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">N/A.</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">If roles B and C depend on role A, which has at least one task that executes, role A is ran only one time. If all tasks in A are skipped, role A is ran (as visible on stdout) three times.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# ./roles/x/tasks/main.yml
- name: foo
debug: msg='x called'
when: false
# ./roles/z/meta/main.yml
dependencies:
- { name: 'x' }
# ./roles/z/tasks/main.yml
- debug: msg='z called'
# ./roles/y/meta/main.yml
dependencies:
- { name: 'x' }
# ./roles/y/tasks/main.yml
- debug: msg='y called'
# ./localhost.yml
---
- hosts: localhost
roles:
- { name: 'x' }
- { name: 'y' }
- { name: 'z' }"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> ./roles/x/tasks/main.yml</span>
- <span class="pl-ent">name</span>: <span class="pl-s">foo</span>
<span class="pl-ent">debug</span>: <span class="pl-s">msg='x called'</span>
<span class="pl-ent">when</span>: <span class="pl-c1">false</span>
<span class="pl-c"><span class="pl-c">#</span> ./roles/z/meta/main.yml</span>
<span class="pl-ent">dependencies</span>:
- <span class="pl-s">{ name: 'x' }</span>
<span class="pl-c"><span class="pl-c">#</span> ./roles/z/tasks/main.yml</span>
- <span class="pl-ent">debug</span>: <span class="pl-s">msg='z called'</span>
<span class="pl-c"><span class="pl-c">#</span> ./roles/y/meta/main.yml</span>
<span class="pl-ent">dependencies</span>:
- <span class="pl-s">{ name: 'x' }</span>
<span class="pl-c"><span class="pl-c">#</span> ./roles/y/tasks/main.yml</span>
- <span class="pl-ent">debug</span>: <span class="pl-s">msg='y called'</span>
<span class="pl-c"><span class="pl-c">#</span> ./localhost.yml</span>
---
- <span class="pl-ent">hosts</span>: <span class="pl-s">localhost</span>
<span class="pl-ent">roles</span>:
- <span class="pl-s">{ name: 'x' }</span>
- <span class="pl-s">{ name: 'y' }</span>
- <span class="pl-s">{ name: 'z' }</span></pre></div>
<p dir="auto">or as a <a href="https://github.com/ansible/ansible/files/1385264/bug.zip">zip archive</a></p>
<h5 dir="auto">EXPECTED RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [localhost] ***************************************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [x : foo] *****************************************************************
skipping: [localhost]
TASK [y : debug] ***************************************************************
ok: [localhost] => {
"msg": "y called"
}
TASK [z : debug] ***************************************************************
ok: [localhost] => {
"msg": "z called"
}
PLAY RECAP *********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">PLAY [localhost] ***************************************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [x : foo] *****************************************************************
skipping: [localhost]
TASK [y : debug] ***************************************************************
ok: [localhost] => {
"msg": "y called"
}
TASK [z : debug] ***************************************************************
ok: [localhost] => {
"msg": "z called"
}
PLAY RECAP *********************************************************************
localhost : ok=3 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 [Gathering Facts] *********************************************************
ok: [localhost]
TASK [x : foo] *****************************************************************
skipping: [localhost]
TASK [x : foo] *****************************************************************
skipping: [localhost]
TASK [y : debug] ***************************************************************
ok: [localhost] => {
"msg": "y called"
}
TASK [x : foo] *****************************************************************
skipping: [localhost]
TASK [z : debug] ***************************************************************
ok: [localhost] => {
"msg": "z called"
}
PLAY RECAP *********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">PLAY [localhost] ***************************************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [x : foo] *****************************************************************
skipping: [localhost]
TASK [x : foo] *****************************************************************
skipping: [localhost]
TASK [y : debug] ***************************************************************
ok: [localhost] => {
"msg": "y called"
}
TASK [x : foo] *****************************************************************
skipping: [localhost]
TASK [z : debug] ***************************************************************
ok: [localhost] => {
"msg": "z called"
}
PLAY RECAP *********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=0
</code></pre></div> | <p dir="auto">Per tomkmem on IRC</p>
<p dir="auto">mpdehaan: definately a bug then, i just dumped the list of {{ groups.all }} and it contains all the dupes</p>
<p dir="auto">So add a host to more than one group and it may in a group more than once, or maybe the groups list is just wrong and needs to be given a set([]) operation.</p> | 0 |
<p dir="auto">See here for a trace: <a href="https://github.com/JuliaMolSim/DFTK.jl/runs/3035339708?check_suite_focus=true#step:7:453">https://github.com/JuliaMolSim/DFTK.jl/runs/3035339708?check_suite_focus=true#step:7:453</a>. Can be reproduced by adding and testing DFTK.jl on 1.7 beta.<br>
The issue appears to happen when we run a computation in Float64 precision then run it again in Float32.<br>
I hesitated to post this since this is pretty far from a MWE, but I have zero idea how to reduce this and since 1.7 is in beta I figured it could be of interest.<br>
Downstream issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="941234381" data-permission-text="Title is private" data-url="https://github.com/JuliaMolSim/DFTK.jl/issues/480" data-hovercard-type="issue" data-hovercard-url="/JuliaMolSim/DFTK.jl/issues/480/hovercard" href="https://github.com/JuliaMolSim/DFTK.jl/issues/480">JuliaMolSim/DFTK.jl#480</a></p> | <p dir="auto">A recent version of Julia nightly started throwing errors on tests in Manifolds.jl, see for example these CI runs: <a href="https://github.com/JuliaManifolds/Manifolds.jl/pull/381/checks?check_run_id=3010181089">https://github.com/JuliaManifolds/Manifolds.jl/pull/381/checks?check_run_id=3010181089</a> . On Windows, for example, a part of the error reads:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1f9b127 -- jl_datatype_isinlinealloc at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:253 [inlined]
jl_datatype_isinlinealloc at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:250 [inlined]
union_isinlinable at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:277 [inlined]
union_isinlinable at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:266
in expression starting at D:\a\Manifolds.jl\Manifolds.jl\test\centered_matrices.jl:3"><pre class="notranslate"><code class="notranslate">Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1f9b127 -- jl_datatype_isinlinealloc at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:253 [inlined]
jl_datatype_isinlinealloc at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:250 [inlined]
union_isinlinable at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:277 [inlined]
union_isinlinable at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:266
in expression starting at D:\a\Manifolds.jl\Manifolds.jl\test\centered_matrices.jl:3
</code></pre></div>
<p dir="auto">and on Ubuntu:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="signal (11): Segmentation fault
in expression starting at /home/runner/work/Manifolds.jl/Manifolds.jl/test/centered_matrices.jl:3
jl_datatype_isinlinealloc at /buildworker/worker/package_linux64/build/src/datatype.c:253 [inlined]
union_isinlinable at /buildworker/worker/package_linux64/build/src/datatype.c:277 [inlined]
jl_islayout_inline at /buildworker/worker/package_linux64/build/src/datatype.c:300
jl_compute_field_offsets at /buildworker/worker/package_linux64/build/src/datatype.c:446
inst_datatype_inner at /buildworker/worker/package_linux64/build/src/jltypes.c:1520"><pre class="notranslate"><code class="notranslate">signal (11): Segmentation fault
in expression starting at /home/runner/work/Manifolds.jl/Manifolds.jl/test/centered_matrices.jl:3
jl_datatype_isinlinealloc at /buildworker/worker/package_linux64/build/src/datatype.c:253 [inlined]
union_isinlinable at /buildworker/worker/package_linux64/build/src/datatype.c:277 [inlined]
jl_islayout_inline at /buildworker/worker/package_linux64/build/src/datatype.c:300
jl_compute_field_offsets at /buildworker/worker/package_linux64/build/src/datatype.c:446
inst_datatype_inner at /buildworker/worker/package_linux64/build/src/jltypes.c:1520
</code></pre></div>
<p dir="auto">I'll try making an MWE.</p> | 1 |
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/clone-an-element-using-jquery#?solution=fccss%0A%20%20%24%28document%29.ready%28function%28%29%20%7B%0A%20%20%20%20%24%28%22%23target1%22%29.css%28%22color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.prop%28%22disabled%22%2C%20true%29%3B%0A%20%20%20%20%24%28%22%23target4%22%29.remove%28%29%3B%0A%20%20%20%20%24%28%22%23target2%22%29.appendTo%28%22%23right-well%22%29%3B%0A%20%20%20%20%24%28%22%23target5%22%29.clone%28%29.appendTo%28%22%23left-well%22%29%3B%0A%20%20%7D%29%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Clone an Element Using jQuery</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target5").clone().appendTo("#left-well");
});
</script>
<!-- Only change code above this line. -->
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">prop</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target4"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target5"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">clone</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#left-well"</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-ent">script</span><span class="pl-kos">></span>
<span class="pl-c"><!-- Only change code above this line. --></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">></span>jQuery Playground<span class="pl-kos"></</span><span class="pl-ent">h3</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#left-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">></span>#target1<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">></span>#target2<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">></span>#target3<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#right-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">></span>#target4<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">></span>#target5<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">></span>#target6<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div>
<p dir="auto">Once i add the line:<br>
$("#target5").clone().appendTo("#left-well");</p>
<p dir="auto">The element is cloned once, as expected. But once i click to 'run the tests', it is cloned a second time.</p>
<p dir="auto">Then, moving on to the following exercise, you can still see this duplicate element. Once i edit the code (anywhere), the duplicate disappears.</p>
<p dir="auto">But, I think this might confuse some other people, if they see it being cloned twice and believe this to be the 'normal' behaviour for the ".clone" function.</p>
<p dir="auto">Note: Using the latest Firefox, and tried clearing my browser, etc.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/16860672/12542304/aa2bdf74-c321-11e5-8720-1c57e9b9cedd.png"><img src="https://cloud.githubusercontent.com/assets/16860672/12542304/aa2bdf74-c321-11e5-8720-1c57e9b9cedd.png" alt="clone" style="max-width: 100%;"></a></p>
<p dir="auto">Edit: I also see this duplicate in all subsequent exercises that contain this line. It stays present until any part of the code is edited.</p> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-clone-an-element-using-jquery#?solution=fccss%0A%20%20%24%28document%29.ready%28function%28%29%20%7B%0A%20%20%20%20%24%28%22%23target1%22%29.css%28%22color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.prop%28%22disabled%22%2C%20true%29%3B%0A%20%20%20%20%24%28%22%23target4%22%29.remove%28%29%3B%0A%20%20%20%20%24%28%22%23target2%22%29.appendTo%28%22%23right-well%22%29%3B%0A%20%20%20%20%24%28%22%23target5%22%29.clone%28%29.appendTo%28%22%23left-well%22%29%3B%0A%20%20%7D%29%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Waypoint: Clone an Element Using jQuery</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<h2 dir="auto">Issue</h2>
<p dir="auto">I believe I've found bug in the phone simulation in <strong>Waypoint: Clone an Element Using jQuery</strong>:</p>
<p dir="auto">I entered the code to clone <code class="notranslate">target5</code> and append it to <code class="notranslate">left-well</code>, and now I see three <strong>target5</strong> buttons in the phone simulator. FCC says my code is correct and advances me to the next challenge. The following challenges also show three target5 buttons:</p>
<ul dir="auto">
<li>Waypoint: Target the Parent of an Element Using jQuery</li>
<li>Waypoint: Target the Children of an Element Using jQuery</li>
</ul>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/qualitymanifest/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/qualitymanifest">@qualitymanifest</a> confirms this issue on his <strong>Linux</strong> box.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5673126/11647398/76751658-9d35-11e5-8fcf-112ab89c6920.png"><img src="https://cloud.githubusercontent.com/assets/5673126/11647398/76751658-9d35-11e5-8fcf-112ab89c6920.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">My code:</h2>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target5").clone().appendTo("#left-well");
});
</script>
<!-- Only change code above this line. -->
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">prop</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target4"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target5"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">clone</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#left-well"</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-ent">script</span><span class="pl-kos">></span>
<span class="pl-c"><!-- Only change code above this line. --></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">></span>jQuery Playground<span class="pl-kos"></</span><span class="pl-ent">h3</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#left-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">></span>#target1<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">></span>#target2<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">></span>#target3<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#right-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">></span>#target4<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">></span>#target5<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">></span>#target6<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div> | 1 |
<p dir="auto">E.g.,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="trait T {
fn foo(&self) {}
}
impl<'a> T+'a {
fn foo(&self) {}
}"><pre class="notranslate"><code class="notranslate">trait T {
fn foo(&self) {}
}
impl<'a> T+'a {
fn foo(&self) {}
}
</code></pre></div>
<p dir="auto">Should be OK. (It currently gives "duplicate definition of value <code class="notranslate">foo</code>").</p>
<p dir="auto">Follow up to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="44836847" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/17750" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/17750/hovercard" href="https://github.com/rust-lang/rust/issues/17750">#17750</a></p> | <h3 dir="auto">STR</h3>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#![crate_type = "lib"]
pub trait Bound<T> {}
pub trait Trait: Bound<i8> + Bound<u8> {}
//~^ error: trait `Bound<u8>` already appears in the list of bounds
fn foo<T: Bound<i8> + Bound<u8>>() {}
//~^ error: trait `Bound<u8>` already appears in the list of bounds
fn foo<T>() where T: Bound<i8> + Bound<u8> {} // OK"><pre class="notranslate"><span class="pl-c1">#!<span class="pl-kos">[</span>crate_type = <span class="pl-s">"lib"</span><span class="pl-kos">]</span></span>
<span class="pl-k">pub</span> <span class="pl-k">trait</span> <span class="pl-smi">Bound</span><span class="pl-kos"><</span><span class="pl-smi">T</span><span class="pl-kos">></span> <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-k">pub</span> <span class="pl-k">trait</span> <span class="pl-smi">Trait</span><span class="pl-kos">:</span> <span class="pl-smi">Bound</span><span class="pl-kos"><</span><span class="pl-smi">i8</span><span class="pl-kos">></span> + <span class="pl-smi">Bound</span><span class="pl-kos"><</span><span class="pl-smi">u8</span><span class="pl-kos">></span> <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-c">//~^ error: trait `Bound<u8>` already appears in the list of bounds</span>
<span class="pl-k">fn</span> <span class="pl-en">foo</span><span class="pl-kos"><</span><span class="pl-smi">T</span><span class="pl-kos">:</span> <span class="pl-smi">Bound</span><span class="pl-kos"><</span><span class="pl-smi">i8</span><span class="pl-kos">></span> + <span class="pl-smi">Bound</span><span class="pl-kos"><</span><span class="pl-smi">u8</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">//~^ error: trait `Bound<u8>` already appears in the list of bounds</span>
<span class="pl-k">fn</span> <span class="pl-en">foo</span><span class="pl-kos"><</span><span class="pl-smi">T</span><span class="pl-kos">></span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-k">where</span> <span class="pl-smi">T</span><span class="pl-kos">:</span> <span class="pl-smi">Bound</span><span class="pl-kos"><</span><span class="pl-smi">i8</span><span class="pl-kos">></span> + <span class="pl-smi">Bound</span><span class="pl-kos"><</span><span class="pl-smi">u8</span><span class="pl-kos">></span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-c">// OK</span></pre></div>
<p dir="auto">Due to multidispatch <code class="notranslate">: Bound<i8> + Bound<u8></code> is a valid bound, but the compiler is rejecting it in some positions (supertraits and bounds in parameter list), but not in others (where clauses)</p>
<h3 dir="auto">Workaround for the supertrait</h3>
<p dir="auto">You can use dummy intermediate traits to indirectly add the "duplicate" bounds, but this is very verbose.</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pub trait Bound<T> {}
pub trait Dummy: Bound<i8> {}
pub trait Trait: Dummy + Bound<u8> {} // `Trait` implies `Bound<i8> + Bound<u8>`"><pre class="notranslate"><span class="pl-k">pub</span> <span class="pl-k">trait</span> <span class="pl-smi">Bound</span><span class="pl-kos"><</span><span class="pl-smi">T</span><span class="pl-kos">></span> <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-k">pub</span> <span class="pl-k">trait</span> <span class="pl-smi">Dummy</span><span class="pl-kos">:</span> <span class="pl-smi">Bound</span><span class="pl-kos"><</span><span class="pl-smi">i8</span><span class="pl-kos">></span> <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-k">pub</span> <span class="pl-k">trait</span> <span class="pl-smi">Trait</span><span class="pl-kos">:</span> <span class="pl-smi">Dummy</span> + <span class="pl-smi">Bound</span><span class="pl-kos"><</span><span class="pl-smi">u8</span><span class="pl-kos">></span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-c">// `Trait` implies `Bound<i8> + Bound<u8>`</span></pre></div>
<h3 dir="auto">Version</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rustc 1.0.0-nightly (3ef8ff1f8 2015-02-12 00:38:24 +0000)"><pre class="notranslate"><code class="notranslate">rustc 1.0.0-nightly (3ef8ff1f8 2015-02-12 00:38:24 +0000)
</code></pre></div>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nikomatsakis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nikomatsakis">@nikomatsakis</a></p>
<p dir="auto">Originally reported in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="47964806" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/18693" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/18693/hovercard" href="https://github.com/rust-lang/rust/issues/18693">#18693</a> (Niko preferred opening a new issue, instead of re-opening the old one and modifying the original report)</p> | 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/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: centos6.8</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto"><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>(version = "${service.version}", methods = {<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/method/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/method">@method</a>(name = "saveStuSegment", timeout = 30000, retries = -1)})</p>
<p dir="auto">consumer配置 method 配置retries 无效</p>
<p dir="auto">debug到下面这段代码,发现len还是3<br>
public Result doInvoke(Invocation invocation, final List<Invoker> invokers, LoadBalance loadbalance) throws RpcException {<br>
List<Invoker> copyInvokers = invokers;<br>
checkInvokers(copyInvokers, invocation);<br>
String methodName = RpcUtils.getMethodName(invocation);<br>
int len = getUrl().getMethodParameter(methodName, RETRIES_KEY, DEFAULT_RETRIES) + 1;<br>
if (len <= 0) {<br>
len = 1;<br>
}</p> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/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</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">Step 1: Extend AuthFilter with order -20000.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Activate(group = CommonConstants.PROVIDER, order = -20000)
public class AuthFilter Filter {
@Override
public Result invoke(Invoker<?> invoker, Invocation inv) throws RpcException {
}
}"><pre class="notranslate"><code class="notranslate">@Activate(group = CommonConstants.PROVIDER, order = -20000)
public class AuthFilter Filter {
@Override
public Result invoke(Invoker<?> invoker, Invocation inv) throws RpcException {
}
}
</code></pre></div>
<p dir="auto">Step 2: We are not able to get RpcContext from the filter as ContextFilter cleared it with order -10000.</p>
<p dir="auto">We shoudl move ContextFilter to the lowest one, leave more range for the user's extension.</p> | 0 |
<p dir="auto">This more a suggestion than an issue.<br>
I used the SAOPass and SSAOPass examples in my code and we have skinned meshes in the scene(only skinned meshes).<br>
For this postprocessing effect to work I had to manually set <code class="notranslate">.skinning = true</code> on all the shader pass' internal materials(like the depth material). It was probably overkill, maybe only some of them needed this setting.<br>
If I don't do this the internal render targets of the shader pass are not updated as the mesh moves/animates and you get a ghost effect.<br>
It would be nice if this was a parameter of the shader pass constructor.</p> | <p dir="auto">When a morph target mesh is rendered with a non-morph target material, the mesh seems to render in bind pose. The <code class="notranslate">EffectComposer</code> framework for postprocessing uses the <code class="notranslate">scene.overrideMaterial</code> interface to generate depth and normal buffers, so these buffers have all meshes in bind pose. You can see the issue by applying a normal buffer postprocess to the MD2 character example.</p>
<p dir="auto">I've badly hacked up three.js to take a <code class="notranslate">scene.morphOverrideMaterial</code> parameter to use as an alternate override for meshes which originally had a material with the morph target flags. I also updated the post processing effects to provide morph target variants of their override materials, and it allows them to render correctly on animated characters.</p>
<p dir="auto">I could share my hack, but I think a better solution would be to use the morph target and morph normal settings from the true material of a mesh, even in the presence of an override material setting. (Or... does webgl have multiple render targets?)</p> | 1 |
<p dir="auto">As a newcomer to Flutter, I find this layout hard to skim:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/926648/34397584-189a09c0-eb2c-11e7-96bd-d93db1b1ddf4.png"><img width="1440" alt="screen shot 2017-12-27 at 5 32 37 pm" src="https://user-images.githubusercontent.com/926648/34397584-189a09c0-eb2c-11e7-96bd-d93db1b1ddf4.png" style="max-width: 100%;"></a></p>
<p dir="auto">My eyes go immediately to the center pane. I expect to see a heading that says <code class="notranslate">Listener</code> at the very top of the center pane; like <strong>Layout behavior</strong>, but perhaps with a more prominent treatment to show it's the subject of the page.</p>
<p dir="auto">I realize that "<strong>Listener</strong>" appears in both the top and right frames, but that's not where my eyes naturally look - the current layout looks broken. I wonder how the docs page could be redesigned to make <strong>class Listener</strong> more prominent and/or to add a heading identifying the class to the center pane.</p> | <h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Create a plugin package as per the documentation using Swift in iOS and build it for ios:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter create --template=plugin -i swift hello
cd hello/example
flutter build ios --no-codesign"><pre class="notranslate"><code class="notranslate">flutter create --template=plugin -i swift hello
cd hello/example
flutter build ios --no-codesign
</code></pre></div>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="...
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET hello OF PROJECT Pods WITH CONFIGURATION Release ===
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/hello-umbrella.h"
^
xxx/hello/example/ios/Pods/Target Support Files/hello/hello-umbrella.h:13:9: error: include of non-modular header inside framework module 'hello': 'xxx/hello/ios/Classes/HelloPlugin.h'
#import "HelloPlugin.h"
^
<unknown>:0: error: could not build Objective-C module 'hello'"><pre class="notranslate"><code class="notranslate">...
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET hello OF PROJECT Pods WITH CONFIGURATION Release ===
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/hello-umbrella.h"
^
xxx/hello/example/ios/Pods/Target Support Files/hello/hello-umbrella.h:13:9: error: include of non-modular header inside framework module 'hello': 'xxx/hello/ios/Classes/HelloPlugin.h'
#import "HelloPlugin.h"
^
<unknown>:0: error: could not build Objective-C module 'hello'
</code></pre></div>
<p dir="auto">Recently upgraded to flutter beta. I've created plugin packages before in the alpha channel without problems.</p>
<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.1.5, on Mac OS X 10.13.3 17D102, locale en-NL)
• Flutter version 0.1.5 at /Users/kozw/Source/flutter
• Framework revision 3ea4d06340 (11 days ago), 2018-02-22 11:12:39 -0800
• Engine revision ead227f118
• Dart version 2.0.0-dev.28.0.flutter-0b4f01f759
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/kozw/Library/Android/sdk
• Android NDK at /Users/kozw/Library/Android/sdk/ndk-bundle
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] 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.4.0
[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] VS Code (version 1.20.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Dart Code extension version 2.9.2
[✓] Connected devices (1 available)
• iPhone 8 • D5FC98FA-D6B0-41D2-B834-B7FFFEB1B506 • ios • iOS 11.2 (simulator)"><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.13.3 17D102, locale en-NL)
• Flutter version 0.1.5 at /Users/kozw/Source/flutter
• Framework revision 3ea4d06340 (11 days ago), 2018-02-22 11:12:39 -0800
• Engine revision ead227f118
• Dart version 2.0.0-dev.28.0.flutter-0b4f01f759
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/kozw/Library/Android/sdk
• Android NDK at /Users/kozw/Library/Android/sdk/ndk-bundle
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] 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.4.0
[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] VS Code (version 1.20.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Dart Code extension version 2.9.2
[✓] Connected devices (1 available)
• iPhone 8 • D5FC98FA-D6B0-41D2-B834-B7FFFEB1B506 • ios • iOS 11.2 (simulator)
</code></pre></div> | 0 |
<p dir="auto">Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on <a href="http://stackoverflow.com/questions/tagged/keras" rel="nofollow">StackOverflow</a> or <a href="https://keras-slack-autojoin.herokuapp.com/" rel="nofollow">join the Keras Slack channel</a> and ask there instead of filing a GitHub issue.</p>
<p dir="auto">Thank you!</p>
<ul class="contains-task-list">
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Check that you are up-to-date with the master branch of Keras. You can update with:<br>
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps</p>
</li>
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found <a href="https://www.tensorflow.org/get_started/os_setup" rel="nofollow">here</a>.</p>
</li>
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:<br>
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps</p>
</li>
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).</p>
</li>
</ul> | <p dir="auto">Hi,</p>
<p dir="auto">I would like to share some of the hidden layers of deep multitask network using keras. Following is my code. In the code, I would like to share 'dense3'. But I get an error that<br>
"Exception: Duplicate node identifier: dense3"</p>
<p dir="auto">How would I solve such problem in Keras?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="graph = Graph()
graph.add_input(name='input1', input_shape=( 10000, ) )
graph.add_input(name='input2', input_shape=( 10000, ) )
graph.add_node(Dense(4096), name='dense1', input='input1')
graph.add_node(Dense(4096), name='dense2', `input='input2')`
graph.add_node(Dense(128), name='dense3', input='dense1')
graph.add_node(Dense(128), name='dense3', input='dense2')
graph.add_node(Dense(40), name='dense4', input='dense3')
graph.add_node(Dense(40), name='dense5', input='dense3')
graph.add_output(name='output', inputs=['dense4', 'dense5'], merge_mode='sum')
graph.compile(optimizer='sgd', loss={'output':'categorical_crossentropy'})"><pre class="notranslate"><code class="notranslate">graph = Graph()
graph.add_input(name='input1', input_shape=( 10000, ) )
graph.add_input(name='input2', input_shape=( 10000, ) )
graph.add_node(Dense(4096), name='dense1', input='input1')
graph.add_node(Dense(4096), name='dense2', `input='input2')`
graph.add_node(Dense(128), name='dense3', input='dense1')
graph.add_node(Dense(128), name='dense3', input='dense2')
graph.add_node(Dense(40), name='dense4', input='dense3')
graph.add_node(Dense(40), name='dense5', input='dense3')
graph.add_output(name='output', inputs=['dense4', 'dense5'], merge_mode='sum')
graph.compile(optimizer='sgd', loss={'output':'categorical_crossentropy'})
</code></pre></div> | 0 |
<p dir="auto">For those writing larger software (e.g. Servo), <code class="notranslate">rustdoc</code> is a useful tool for exploring the internal methods of a crate. However, non-exported items aren't shown.</p>
<p dir="auto">Perhaps an "internal" mode which doesn't filter out private items would be nice.</p>
<p dir="auto">See also: <a href="http://www.reddit.com/r/rust/comments/36ce52/reflections_on_a_weekend_with_rust/crcv9kv.compact" rel="nofollow">http://www.reddit.com/r/rust/comments/36ce52/reflections_on_a_weekend_with_rust/crcv9kv.compact</a></p> | <p dir="auto">Please add an option for rustdoc such that rustdoc creates a proper documentation for private definitions.</p>
<p dir="auto">While it is in general a good idea to hide these private definitions, as a crate developer it would be very valuable to have a good internal documentation of private types and functions.</p> | 1 |
<p dir="auto">I'm using glide 3.7.0 and can see following:</p>
<p dir="auto">When I fast scroll in lists which display images and animated gifs, displaying a gif blocks all further image loading for a short time (visual impression is that a gif must finish loading before further images are loaded)</p>
<p dir="auto"><strong>What I tried so far:</strong></p>
<ul dir="auto">
<li>A simple change to the gif loading solves the problem (adding <code class="notranslate">asBitmap</code> and disable the gif animation therefore) - this is not what I want though</li>
<li>giving all the gif request <code class="notranslate">Priority.LOW</code> and all others <code class="notranslate">Priority.NORMAL</code> - this does not change anything, although it seems to be what I actually want... It's just not working though...</li>
</ul>
<p dir="auto">Is there something different I can do?</p>
<p dir="auto"><strong>Additional info</strong></p>
<p dir="auto">I'm using following disc cache strategy (decided to use this, because of some other issues here and this was the suggested solution):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="protected static DiskCacheStrategy getStrategy(IMedia media)
{
if (media instanceof ILocalMedia) // if media is a local media
{
if (media.getMediaType() == MediaType.Gif)
return DiskCacheStrategy.NONE;
return DiskCacheStrategy.RESULT;
}
else // media is some network media, we must download it, so we need to use some caching
{
return DiskCacheStrategy.RESULT;
}
}"><pre class="notranslate"><code class="notranslate">protected static DiskCacheStrategy getStrategy(IMedia media)
{
if (media instanceof ILocalMedia) // if media is a local media
{
if (media.getMediaType() == MediaType.Gif)
return DiskCacheStrategy.NONE;
return DiskCacheStrategy.RESULT;
}
else // media is some network media, we must download it, so we need to use some caching
{
return DiskCacheStrategy.RESULT;
}
}
</code></pre></div> | <p dir="auto">Hello,<br>
I have a screen with a grid of the gifs. I open this screen using 2G connection. About 16 gifs are started downloading with LOW priority. I click on the random (not yet downloaded) item and the screen with preview is opened. The gif is loading with IMMEDIATE priority.<br>
However it gives me TimeoutError.<br>
I think that it's because I lot of another gifs are downloading at the same moment.</p>
<p dir="auto">While searching a solution I added an integration with Volley</p>
<div class="highlight highlight-source-groovy-gradle notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.github.bumptech.glide:volley-integration:1.3.1@aar'"><pre class="notranslate"> compile <span class="pl-s"><span class="pl-pds">'</span>com.github.bumptech.glide:glide:3.7.0<span class="pl-pds">'</span></span>
compile <span class="pl-s"><span class="pl-pds">'</span>com.github.bumptech.glide:volley-integration:1.3.1@aar<span class="pl-pds">'</span></span></pre></div>
<p dir="auto">custom module</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Override
public void registerComponents(Context context, Glide glide) {
File cacheDir = new File(context.getCacheDir(), DEFAULT_CACHE_DIR);
Network network = new CustomBasicNetwork(new HurlStack());
RequestQueue queue = new RequestQueue(new DiskBasedCache(cacheDir), network){
@Override
public <T> Request<T> add(Request<T> request) {
request.setRetryPolicy(new DefaultRetryPolicy(TIMEOUT_MS, 1, 1));
return super.add(request);
}
};
queue.start();
glide.register(GlideUrl.class, InputStream.class, new VolleyUrlLoader.Factory(queue));
}"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">Override</span>
<span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-s1">registerComponents</span>(<span class="pl-smi">Context</span> <span class="pl-s1">context</span>, <span class="pl-smi">Glide</span> <span class="pl-s1">glide</span>) {
<span class="pl-smi">File</span> <span class="pl-s1">cacheDir</span> = <span class="pl-k">new</span> <span class="pl-smi">File</span>(<span class="pl-s1">context</span>.<span class="pl-en">getCacheDir</span>(), <span class="pl-c1">DEFAULT_CACHE_DIR</span>);
<span class="pl-smi">Network</span> <span class="pl-s1">network</span> = <span class="pl-k">new</span> <span class="pl-smi">CustomBasicNetwork</span>(<span class="pl-k">new</span> <span class="pl-smi">HurlStack</span>());
<span class="pl-smi">RequestQueue</span> <span class="pl-s1">queue</span> = <span class="pl-k">new</span> <span class="pl-smi">RequestQueue</span>(<span class="pl-k">new</span> <span class="pl-smi">DiskBasedCache</span>(<span class="pl-s1">cacheDir</span>), <span class="pl-s1">network</span>){
<span class="pl-c1">@</span><span class="pl-c1">Override</span>
<span class="pl-k">public</span> <<span class="pl-smi">T</span>> <span class="pl-smi">Request</span><<span class="pl-smi">T</span>> <span class="pl-en">add</span>(<span class="pl-smi">Request</span><<span class="pl-smi">T</span>> <span class="pl-s1">request</span>) {
<span class="pl-s1">request</span>.<span class="pl-en">setRetryPolicy</span>(<span class="pl-k">new</span> <span class="pl-smi">DefaultRetryPolicy</span>(<span class="pl-c1">TIMEOUT_MS</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>));
<span class="pl-k">return</span> <span class="pl-en">super</span>.<span class="pl-en">add</span>(<span class="pl-s1">request</span>);
}
};
<span class="pl-s1">queue</span>.<span class="pl-en">start</span>();
<span class="pl-s1">glide</span>.<span class="pl-en">register</span>(<span class="pl-smi">GlideUrl</span>.<span class="pl-k">class</span>, <span class="pl-smi">InputStream</span>.<span class="pl-k">class</span>, <span class="pl-k">new</span> <span class="pl-smi">VolleyUrlLoader</span>.<span class="pl-smi">Factory</span>(<span class="pl-s1">queue</span>));
}</pre></div>
<p dir="auto">I tried to set TIMEOUT_MS to 30000 and even 100000 but it doesn't work. In any case I get the next error</p>
<div class="highlight highlight-source-ruby notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="11-23 12:49:52.343 4803-4803/com.talk W/System.err: java.util.concurrent.ExecutionException: com.android.volley.TimeoutError
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at com.bumptech.glide.integration.volley.VolleyRequestFuture.doGet(VolleyRequestFuture.java:125)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at com.bumptech.glide.integration.volley.VolleyRequestFuture.get(VolleyRequestFuture.java:92)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at com.bumptech.glide.integration.volley.VolleyStreamFetcher.loadData(VolleyStreamFetcher.java:68)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at com.bumptech.glide.integration.volley.VolleyStreamFetcher.loadData(VolleyStreamFetcher.java:21)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:70)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:53)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at com.bumptech.glide.load.engine.DecodeJob.decodeSource(DecodeJob.java:170)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at com.bumptech.glide.load.engine.DecodeJob.decodeFromSource(DecodeJob.java:128)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at com.bumptech.glide.load.engine.EngineRunnable.decodeFromSource(EngineRunnable.java:122)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at com.bumptech.glide.load.engine.EngineRunnable.decode(EngineRunnable.java:101)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at com.bumptech.glide.load.engine.EngineRunnable.run(EngineRunnable.java:58)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at java.lang.Thread.run(Thread.java:818)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:118)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: Caused by: com.android.volley.TimeoutError
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:140)
11-23 12:49:52.350 4803-4803/com.talk W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:112)"><pre class="notranslate"><span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">343</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">util</span><span class="pl-kos">.</span><span class="pl-en">concurrent</span><span class="pl-kos">.</span><span class="pl-en">ExecutionException</span>: <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">volley</span><span class="pl-kos">.</span><span class="pl-en">TimeoutError</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">integration</span><span class="pl-kos">.</span><span class="pl-en">volley</span><span class="pl-kos">.</span><span class="pl-en">VolleyRequestFuture</span><span class="pl-kos">.</span><span class="pl-en">doGet</span><span class="pl-kos">(</span><span class="pl-v">VolleyRequestFuture</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:125</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">integration</span><span class="pl-kos">.</span><span class="pl-en">volley</span><span class="pl-kos">.</span><span class="pl-en">VolleyRequestFuture</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-v">VolleyRequestFuture</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:92</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">integration</span><span class="pl-kos">.</span><span class="pl-en">volley</span><span class="pl-kos">.</span><span class="pl-en">VolleyStreamFetcher</span><span class="pl-kos">.</span><span class="pl-en">loadData</span><span class="pl-kos">(</span><span class="pl-v">VolleyStreamFetcher</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:68</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">integration</span><span class="pl-kos">.</span><span class="pl-en">volley</span><span class="pl-kos">.</span><span class="pl-en">VolleyStreamFetcher</span><span class="pl-kos">.</span><span class="pl-en">loadData</span><span class="pl-kos">(</span><span class="pl-v">VolleyStreamFetcher</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:21</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">model</span><span class="pl-kos">.</span><span class="pl-en">ImageVideoModelLoader</span>$ImageVideoFetcher<span class="pl-kos">.</span><span class="pl-en">loadData</span><span class="pl-kos">(</span><span class="pl-v">ImageVideoModelLoader</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:70</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">model</span><span class="pl-kos">.</span><span class="pl-en">ImageVideoModelLoader</span>$ImageVideoFetcher<span class="pl-kos">.</span><span class="pl-en">loadData</span><span class="pl-kos">(</span><span class="pl-v">ImageVideoModelLoader</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:53</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">decodeSource</span><span class="pl-kos">(</span><span class="pl-v">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:170</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">decodeFromSource</span><span class="pl-kos">(</span><span class="pl-v">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:128</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">EngineRunnable</span><span class="pl-kos">.</span><span class="pl-en">decodeFromSource</span><span class="pl-kos">(</span><span class="pl-v">EngineRunnable</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:122</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">EngineRunnable</span><span class="pl-kos">.</span><span class="pl-en">decode</span><span class="pl-kos">(</span><span class="pl-v">EngineRunnable</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:101</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">EngineRunnable</span><span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">EngineRunnable</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:58</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">util</span><span class="pl-kos">.</span><span class="pl-en">concurrent</span><span class="pl-kos">.</span><span class="pl-en">Executors</span>$RunnableAdapter<span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span><span class="pl-v">Executors</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:423</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">util</span><span class="pl-kos">.</span><span class="pl-en">concurrent</span><span class="pl-kos">.</span><span class="pl-en">FutureTask</span><span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">FutureTask</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:237</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">util</span><span class="pl-kos">.</span><span class="pl-en">concurrent</span><span class="pl-kos">.</span><span class="pl-en">ThreadPoolExecutor</span><span class="pl-kos">.</span><span class="pl-en">runWorker</span><span class="pl-kos">(</span><span class="pl-v">ThreadPoolExecutor</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1113</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">util</span><span class="pl-kos">.</span><span class="pl-en">concurrent</span><span class="pl-kos">.</span><span class="pl-en">ThreadPoolExecutor</span>$Worker<span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">ThreadPoolExecutor</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:588</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">lang</span><span class="pl-kos">.</span><span class="pl-en">Thread</span><span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">Thread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:818</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">executor</span><span class="pl-kos">.</span><span class="pl-en">FifoPriorityThreadPoolExecutor</span>$DefaultThreadFactory$1<span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">FifoPriorityThreadPoolExecutor</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:118</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-v">Caused</span> <span class="pl-en">by</span>: <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">volley</span><span class="pl-kos">.</span><span class="pl-en">TimeoutError</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">volley</span><span class="pl-kos">.</span><span class="pl-en">toolbox</span><span class="pl-kos">.</span><span class="pl-en">BasicNetwork</span><span class="pl-kos">.</span><span class="pl-en">performRequest</span><span class="pl-kos">(</span><span class="pl-v">BasicNetwork</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:140</span><span class="pl-kos">)</span>
<span class="pl-c1">11</span>-<span class="pl-c1">23</span> <span class="pl-c1">12</span><span class="pl-pds">:49</span><span class="pl-pds">:52</span><span class="pl-kos">.</span><span class="pl-c1">350</span> <span class="pl-c1">4803</span>-<span class="pl-c1">4803</span>/<span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">talk</span> <span class="pl-c1">W</span>/<span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">err</span>: <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">volley</span><span class="pl-kos">.</span><span class="pl-en">NetworkDispatcher</span><span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">NetworkDispatcher</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:112</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">If I open the grid with gifs, wait until they will be downloaded and open preview of some downloaded gif - everything works ok.<br>
Why priority doesn't work?<br>
Perhaps I misunderstand the concept of priorities. I thought that IMMEDIATE must perform current request in front of the queue.</p> | 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/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.4-SNAPSHOT</li>
<li>Operating System version: macOS 10.14.5</li>
<li>Java version: 1.8.0_172</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">I see there is LRU cache implement in dubbo, and LFU is also a useful cache strategy. So, if it's necessary to impl LFU, I will try my best to work on it.</p> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/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</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>服务端打开dubbo协议,并监听8080端口</li>
<li>客户端通过dubbo作为代理,以直连的方式与服务端建立连接。</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="String url="dubbo://127.0.0.1:20880"
ReferenceConfig<DemoService> referenceConfig = new ReferenceConfig<>();
referenceConfig.setInterface(DemoService.class);
referenceConfig.setUrl(url);"><pre class="notranslate"><code class="notranslate">String url="dubbo://127.0.0.1:20880"
ReferenceConfig<DemoService> referenceConfig = new ReferenceConfig<>();
referenceConfig.setInterface(DemoService.class);
referenceConfig.setUrl(url);
</code></pre></div>
<ol start="3" dir="auto">
<li>客户端跟服务端的网络出现问题,请求无法到达服务端。</li>
</ol>
<p dir="auto">原因:<br>
为了避免并发请求重复创建线程,Netty在建连的时候时加锁的。<br>
org.apache.dubbo.remoting.transport.netty.NettyClient</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Override
protected void doConnect() throws Throwable {
long start = System.currentTimeMillis();
ChannelFuture future = bootstrap.connect(getConnectAddress());
try {
boolean ret = future.awaitUninterruptibly(getConnectTimeout(), TimeUnit.MILLISECONDS);
...
} finally {
}
}"><pre class="notranslate"><code class="notranslate">@Override
protected void doConnect() throws Throwable {
long start = System.currentTimeMillis();
ChannelFuture future = bootstrap.connect(getConnectAddress());
try {
boolean ret = future.awaitUninterruptibly(getConnectTimeout(), TimeUnit.MILLISECONDS);
...
} finally {
}
}
</code></pre></div>
<p dir="auto">org.jboss.netty.channel.DefaultChannelFuture</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="private boolean await0(long timeoutNanos, boolean interruptable) throws InterruptedException {
try {
synchronized (this) {
try {
for (;;) {
try {
this.wait(waitTime / 1000000, (int) (waitTime % 1000000));
} catch (InterruptedException e) {
}
}
} finally {
}
}
} finally {
}
}"><pre class="notranslate"><code class="notranslate">private boolean await0(long timeoutNanos, boolean interruptable) throws InterruptedException {
try {
synchronized (this) {
try {
for (;;) {
try {
this.wait(waitTime / 1000000, (int) (waitTime % 1000000));
} catch (InterruptedException e) {
}
}
} finally {
}
}
} finally {
}
}
</code></pre></div>
<p dir="auto">从调用的堆栈中可以发现,在请求发送之前会检查当前连接是否可用,如果不可用就会重新建连。<br>
假设同时进来了100个请求,第一个请求发现连接不可用需要重新建连,由于服务端不可达,就会一直持有连接的锁,直到3s超时之后才会释放锁。那么,第100个请求等待的时候就是100*3=300s,会导致线程被大量阻塞。</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="at org.apache.dubbo.remoting.transport.netty.NettyClient.doConnect(NettyClient.java:130)
at org.apache.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:189)
at org.apache.dubbo.remoting.transport.AbstractClient.<init>(AbstractClient.java:71)
at org.apache.dubbo.remoting.transport.netty.NettyClient.<init>(NettyClient.java:59)
at org.apache.dubbo.remoting.transport.netty.NettyTransporter.connect(NettyTransporter.java:37)
at com.ctrip.framework.cdubbo.internal.delegate.CDubboTransporterDelegate.connect(CDubboTransporterDelegate.java:25)
at org.apache.dubbo.remoting.Transporter$Adaptive.connect(Transporter$Adaptive.java)
at org.apache.dubbo.remoting.Transporters.connect(Transporters.java:75)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchanger.connect(HeaderExchanger.java:39)
at org.apache.dubbo.remoting.exchange.Exchangers.connect(Exchangers.java:109)
at org.apache.dubbo.rpc.protocol.dubbo.LazyConnectExchangeClient.initClient(LazyConnectExchangeClient.java:83)
at org.apache.dubbo.rpc.protocol.dubbo.LazyConnectExchangeClient.request(LazyConnectExchangeClient.java:127)"><pre class="notranslate"><code class="notranslate">at org.apache.dubbo.remoting.transport.netty.NettyClient.doConnect(NettyClient.java:130)
at org.apache.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:189)
at org.apache.dubbo.remoting.transport.AbstractClient.<init>(AbstractClient.java:71)
at org.apache.dubbo.remoting.transport.netty.NettyClient.<init>(NettyClient.java:59)
at org.apache.dubbo.remoting.transport.netty.NettyTransporter.connect(NettyTransporter.java:37)
at com.ctrip.framework.cdubbo.internal.delegate.CDubboTransporterDelegate.connect(CDubboTransporterDelegate.java:25)
at org.apache.dubbo.remoting.Transporter$Adaptive.connect(Transporter$Adaptive.java)
at org.apache.dubbo.remoting.Transporters.connect(Transporters.java:75)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchanger.connect(HeaderExchanger.java:39)
at org.apache.dubbo.remoting.exchange.Exchangers.connect(Exchangers.java:109)
at org.apache.dubbo.rpc.protocol.dubbo.LazyConnectExchangeClient.initClient(LazyConnectExchangeClient.java:83)
at org.apache.dubbo.rpc.protocol.dubbo.LazyConnectExchangeClient.request(LazyConnectExchangeClient.java:127)
</code></pre></div>
<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="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">what if i have a folder of 100 files all changed except one or two<br>
i can see the changed one in git view but how to find the unchanged ones?<br>
if the modified files were a different color in explorer then it would be easy to see (like Atom)<br>
thanks</p> | <p dir="auto">Similar to what atom provides in the project explorer:</p>
<ol dir="auto">
<li>New files are displayed green.</li>
<li>Modified are displayed yellow/orange.</li>
<li>Ignored files are displayed transparent-ish.</li>
</ol>
<p dir="auto">Thanks</p> | 1 |
<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.1</li>
<li>Operating System version: linux</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/service/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/service">@service</a>我把timeout时间从原来的3秒改到30秒,我发现重启启动服务后没有生效,跟踪源码调试发现服务消费者调用的url里面还是3秒</p>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps?</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | <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.2</li>
<li>Operating System version: OSX</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Test
public void testSerializeSqlDate() throws IOException, ClassNotFoundException {
java.sql.Date originTime = new java.sql.Date(System.currentTimeMillis());
this.protostuffObjectOutput.writeObject(originTime);
this.flushToInput();
java.sql.Date serializedTime = protostuffObjectInput.readObject(java.sql.Date.class);
assertThat(serializedTime, is(originTime));
}"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">Test</span>
<span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-s1">testSerializeSqlDate</span>() <span class="pl-k">throws</span> <span class="pl-smi">IOException</span>, <span class="pl-s1">ClassNotFoundException</span> {
<span class="pl-smi">java</span>.<span class="pl-smi">sql</span>.<span class="pl-smi">Date</span> <span class="pl-s1">originTime</span> = <span class="pl-k">new</span> <span class="pl-smi">java</span>.<span class="pl-smi">sql</span>.<span class="pl-smi">Date</span>(<span class="pl-smi">System</span>.<span class="pl-en">currentTimeMillis</span>());
<span class="pl-smi">this</span>.<span class="pl-s1">protostuffObjectOutput</span>.<span class="pl-en">writeObject</span>(<span class="pl-s1">originTime</span>);
<span class="pl-smi">this</span>.<span class="pl-en">flushToInput</span>();
<span class="pl-smi">java</span>.<span class="pl-smi">sql</span>.<span class="pl-smi">Date</span> <span class="pl-s1">serializedTime</span> = <span class="pl-s1">protostuffObjectInput</span>.<span class="pl-en">readObject</span>(<span class="pl-smi">java</span>.<span class="pl-smi">sql</span>.<span class="pl-smi">Date</span>.<span class="pl-k">class</span>);
<span class="pl-en">assertThat</span>(<span class="pl-s1">serializedTime</span>, <span class="pl-en">is</span>(<span class="pl-s1">originTime</span>));
}</pre></div>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps?</p>
<h3 dir="auto">Actual Result</h3>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Expected: is <2019-06-25>
but: was <1970-01-01>
Expected :is <2019-06-25>
Actual :<1970-01-01>"><pre class="notranslate">Expected: is <span class="pl-k"><</span>2019-06-<span class="pl-k">25></span>
but: was <span class="pl-k"><</span>1970-01-<span class="pl-k">01></span>
Expected :is <span class="pl-k"><</span>2019-06-<span class="pl-k">25></span>
Actual :<span class="pl-k"><</span>1970-01-<span class="pl-k">01></span></pre></div>
<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=""><pre class="notranslate"><code class="notranslate"></code></pre></div> | 0 |
<h1 dir="auto">Environment</h1>
<p dir="auto">Windows build number: Windows 10, Version 1903, Build 18362.418<br>
Windows Terminal version (if applicable): 0.6.2951.0</p>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Set <code class="notranslate">"requestedTheme": "dark"</code> in <code class="notranslate">profile.json</code>.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Before I updated the OS, the title bar used to be black under this theme.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">After I updated the OS, the title bar is now gray under this theme.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/39744455/67642294-b5532a80-f8e0-11e9-9a2b-1ef944f98b58.PNG"><img src="https://user-images.githubusercontent.com/39744455/67642294-b5532a80-f8e0-11e9-9a2b-1ef944f98b58.PNG" alt="Capture" style="max-width: 100%;"></a></p> | <h1 dir="auto">Description of the new feature/enhancement</h1>
<p dir="auto">Edge and most other programs that use tabs where a menu bar is not present keep the tabs flush to the top of the screen rather than padding it down.</p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">Make Terminal consistent with Edge Dev (ideally use the same code if possible) to render the tabs on top.</p> | 0 |
<p dir="auto">As it stands <code class="notranslate">code_typed</code> returns its output, but <code class="notranslate">code_llvm</code> and <code class="notranslate">code_native</code> return <code class="notranslate">nothing</code> and instead print their output to an io stream. I would like to propose that all three have no side effects and return some kind of Julia object which displays nicely.</p>
<p dir="auto">I ran into this when trying to use these functions in a Pluto.jl notebook. <code class="notranslate">code_typed</code> works just fine but the other two don’t display their output in the notebook, which is rather annoying. You can get around this by redirecting stdout or by using sprint and returning a String, but it doesn’t look nice that way.</p>
<p dir="auto">Would the way to fix this be to have equivalents of the <code class="notranslate">Core.CodeInfo</code> type like a <code class="notranslate">LLVMInfo</code> and <code class="notranslate">NativeInfo</code> types, that just contain a string and get displayed nicely if <code class="notranslate">show</code>ed?</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> code_typed(abs, (Int,)) |> typeof
Vector{Any} (alias for Array{Any, 1})
julia> code_llvm(abs, (Int,)) |> typeof
; @ int.jl:170 within `abs'
define i64 @julia_abs_1497(i64 signext %0) {
top:
; ┌ @ int.jl:130 within `flipsign'
%1 = icmp slt i64 %0, 0
%2 = sub i64 0, %0
%3 = select i1 %1, i64 %2, i64 %0
; └
ret i64 %3
}
Nothing
julia> code_native(abs, (Int,)) |> typeof
.section __TEXT,__text,regular,pure_instructions
; ┌ @ int.jl:170 within `abs'
; │┌ @ int.jl:130 within `flipsign'
movq %rdi, %rax
negq %rax
cmovlq %rdi, %rax
; │└
retq
nopl (%rax,%rax)
; └
Nothing"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">code_typed</span>(abs, (Int,)) <span class="pl-k">|></span> typeof
Vector{Any} (alias <span class="pl-k">for</span> Array{Any, <span class="pl-c1">1</span>})
julia<span class="pl-k">></span> <span class="pl-c1">code_llvm</span>(abs, (Int,)) <span class="pl-k">|></span> typeof
; @ int<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">170</span> within <span class="pl-s"><span class="pl-pds">`</span>abs'</span>
<span class="pl-s">define i64 @julia_abs_1497(i64 signext %0) {</span>
<span class="pl-s">top:</span>
<span class="pl-s">; ┌ @ int.jl:130 within <span class="pl-pds">`</span><span class="pl-c1">flipsign</span></span><span class="pl-s"><span class="pl-pds">'</span></span>
<span class="pl-s"> %1 = icmp slt i64 %0, 0</span>
<span class="pl-s"> %2 = sub i64 0, %0</span>
<span class="pl-s"> %3 = select i1 %1, i64 %2, i64 %0</span>
<span class="pl-s">; └</span>
<span class="pl-s"> ret i64 %3</span>
<span class="pl-s">}</span>
<span class="pl-s">Nothing</span>
<span class="pl-s"></span>
<span class="pl-s">julia> code_native(abs, (Int,)) |> typeof</span>
<span class="pl-s"> .section __TEXT,__text,regular,pure_instructions</span>
<span class="pl-s">; ┌ @ int.jl:170 within `abs<span class="pl-pds">'</span></span>
; │┌ @ int<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">130</span> within <span class="pl-s"><span class="pl-pds">`</span>flipsign'</span>
<span class="pl-s"> movq %rdi, %rax</span>
<span class="pl-s"> negq %rax</span>
<span class="pl-s"> cmovlq %rdi, %rax</span>
<span class="pl-s">; │└</span>
<span class="pl-s"> retq</span>
<span class="pl-s"> nopl (%rax,%rax)</span>
<span class="pl-s">; └</span>
<span class="pl-s">Nothing</span></pre></div> | <p dir="auto">A very sparse matrix with 1000 rows and 100000 columns with only 10 entries is multiplied by a dense vector column-wise:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sparse(rand(1:1000, 10), rand(1:100000, 10), rand(10), 1000, 100000) .* rand(1000, 1)"><pre class="notranslate"><code class="notranslate">sparse(rand(1:1000, 10), rand(1:100000, 10), rand(10), 1000, 100000) .* rand(1000, 1)
</code></pre></div>
<p dir="auto">This throws (maybe you have to increase the column numbers from <code class="notranslate">100000</code> to something higher, but you will get there):</p>
<blockquote>
<p dir="auto">OutOfMemoryError()<br>
Stacktrace:<br>
[1] _allocres at .\sparse\higherorderfns.jl:168 [inlined]<br>
[2] _diffshape_broadcast(::Base.#, ::SparseMatrixCSC{Float64,Int64}, ::SparseMatrixCSC{Float64,Int64}) at .\sparse\higherorderfns.jl:132<br>
[3] broadcast(::Base.#, ::SparseMatrixCSC{Float64,Int64}, ::SparseMatrixCSC{Float64,Int64}) at .\sparse\higherorderfns.jl:121</p>
</blockquote>
<p dir="auto">This memory error is thrown despite the fact the resulting matrix has only 10 entries. Maybe the broadcasting could be improved to reflect this.<br>
<a href="https://discourse.julialang.org/t/very-sparse-matrix-but-still-out-of-memory/11766" rel="nofollow">Here</a> is the thread on Discourse and here the version info, but <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tkoolen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tkoolen">@tkoolen</a> saw the same behavior on the nightly build:</p>
<blockquote>
<p dir="auto">Julia Version 0.6.2<br>
Commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/d386e40c17d43b79fc89d3e579fc04547241787c/hovercard" href="https://github.com/JuliaLang/julia/commit/d386e40c17d43b79fc89d3e579fc04547241787c"><tt>d386e40</tt></a>* (2017-12-13 18:08 UTC)<br>
Platform Info:<br>
OS: Windows (x86_64-w64-mingw32)<br>
CPU: Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz<br>
WORD_SIZE: 64<br>
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)<br>
LAPACK: libopenblas64_<br>
LIBM: libopenlibm<br>
LLVM: libLLVM-3.9.1 (ORCJIT, skylake)</p>
</blockquote> | 0 |
<p dir="auto">If I try to calculate a noncentral chi-square cdf with a noncentrality parameter of zero, I get a nan returned. A non-centrality parameter of zero yields a perfectly well-defined (central) chi-squared distribution, so why not just return a value? I.e., implement internally the test that I currently have to perform:</p>
<p dir="auto">c = ncx2.cdf(x, df, nonCent) if nonCent > 0 else chi2.cdf(x, df)</p> | <p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/scipy/ticket/993" rel="nofollow">http://projects.scipy.org/scipy/ticket/993</a> on 2009-09-04 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lebigot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lebigot">@lebigot</a>, assigned to unknown.</em></p>
<p dir="auto">scipy.optimize.leastsq() behaves very differently depending on the type of data points: in the examples below, the first result, which has float32 data points, is vastly incorrect (even though the error code says it is OK). The second result is correct, because it uses float64 data points.</p>
<p dir="auto">This does not look normal to me. :)</p>
<p dir="auto">Here is a simple example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# fit_func() is an example fitting function (linear...):
fit_func = lambda p, x: p[0] + p[1]*x
# Basic error_func():
error_func = lambda p, x, y: return y - fit_func(p, x)
In [96]: x = np.arange(3, dtype = 'f4'); optimize.leastsq(error_func, (10, 3), args = (x, fit_func([1000, 2], x)))
Out[96]: (array([ 10., 3.]), 4) # Very wrong (initial x0)
In [97]: x = np.arange(3, dtype = 'f8'); optimize.leastsq(error_func, (10, 3), args = (x, fit_func([1000, 2], x)))
Out[97]: (array([ 1000., 2.]), 2) # Perfect!"><pre class="notranslate"><code class="notranslate"># fit_func() is an example fitting function (linear...):
fit_func = lambda p, x: p[0] + p[1]*x
# Basic error_func():
error_func = lambda p, x, y: return y - fit_func(p, x)
In [96]: x = np.arange(3, dtype = 'f4'); optimize.leastsq(error_func, (10, 3), args = (x, fit_func([1000, 2], x)))
Out[96]: (array([ 10., 3.]), 4) # Very wrong (initial x0)
In [97]: x = np.arange(3, dtype = 'f8'); optimize.leastsq(error_func, (10, 3), args = (x, fit_func([1000, 2], x)))
Out[97]: (array([ 1000., 2.]), 2) # Perfect!
</code></pre></div> | 0 |
<p dir="auto">I really like push and pull from <a href="http://960.gs/demo.html" rel="nofollow">http://960.gs/demo.html</a> (bottom row)</p>
<p dir="auto">Why? Well push is offset but pull makes it possible to show the viewer Left Middle Right but in the code it can be Middle Left Right. This is good for schreen readers, page starts straight on topic, menu later (only hidden go to menu link for screenreader is needed for screen reader). Pull is also good for the responsive design, let say Middle is your logo and you have a quote on the Left and Right and on a mobile you want the logo (Middle) first then you need to push Middle by 4 and pull Left by 4.</p>
<p dir="auto">Example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<div class="row">
<div class="span4 push4">Middle</div>
<div class="span4 pull4">Left</div>
<div class="span4">Right</div>
</div>"><pre class="notranslate"><code class="notranslate"><div class="row">
<div class="span4 push4">Middle</div>
<div class="span4 pull4">Left</div>
<div class="span4">Right</div>
</div>
</code></pre></div> | <p dir="auto">It would be nice if we could use negative offsets to allow presentation order to be independent from source order. For example, to have the first sidebar to come after the content in the source, but be presented still to the left of the content.</p>
<p dir="auto">For example, we could use something like in mixins.less:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".inset(@columns: 1) {
margin-left: 0 - ((@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1)));
}"><pre class="notranslate"><code class="notranslate">.inset(@columns: 1) {
margin-left: 0 - ((@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1)));
}
</code></pre></div>
<p dir="auto">Then in scaffolding.less</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// Inset column options
.inset1 { .inset(1); }
.inset2 { .inset(2); }
.inset3 { .inset(3); }
.inset4 { .inset(4); }
.inset5 { .inset(5); }
.inset6 { .inset(6); }
.inset7 { .inset(7); }
.inset8 { .inset(8); }
.inset9 { .inset(9); }
.inset10 { .inset(10); }
.inset11 { .inset(11); }
.inset12 { .inset(12); }"><pre class="notranslate"><code class="notranslate">// Inset column options
.inset1 { .inset(1); }
.inset2 { .inset(2); }
.inset3 { .inset(3); }
.inset4 { .inset(4); }
.inset5 { .inset(5); }
.inset6 { .inset(6); }
.inset7 { .inset(7); }
.inset8 { .inset(8); }
.inset9 { .inset(9); }
.inset10 { .inset(10); }
.inset11 { .inset(11); }
.inset12 { .inset(12); }
</code></pre></div>
<p dir="auto">Thoughts on adding something like this? Is this already possible, and I just missed it?</p> | 1 |
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/using-objects-for-lookups#?solution=%2F%2F%20Setup%0Afunction%20phoneticLookup%28val%29%20%7B%0A%20%20var%20result%20%3D%20%22%22%3B%0A%20%20%2F%2F%20Only%20change%20code%20below%20this%20line%0A%20%20var%20lookup%20%3D%20%7B%0A%20%20%20%20%22alpha%22%3A%20%22Adams%22%2C%0A%20%20%20%20%22bravo%22%3A%20%22Boston%22%2C%0A%20%20%20%20%22charlie%22%3A%22Chicago%22%2C%0A%20%20%20%20%22delta%22%3A%22Denver%22%2C%0A%20%20%20%20%22echo%22%3A%20%22Easy%22%2C%0A%20%20%20%20%22foxtrot%22%3A%20%22Frank%22%0A%20%20%7D%3B%0A%20%20result%20%2B%3D%20lookup%5Bval%5D%3B%0A%20%20%2F%2F%20Only%20change%20code%20above%20this%20line%0A%20%20return%20result%3B%0A%7D%0A%0A%2F%2F%20Change%20this%20value%20to%20test%0AphoneticLookup%28%22%22%29%3B%0A" rel="nofollow">Using Objects for Lookups</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Setup
function phoneticLookup(val) {
var result = "";
// Only change code below this line
var lookup = {
"alpha": "Adams",
"bravo": "Boston",
"charlie":"Chicago",
"delta":"Denver",
"echo": "Easy",
"foxtrot": "Frank"
};
result += lookup[val];
// Only change code above this line
return result;
}
// Change this value to test
phoneticLookup("");
"><pre class="notranslate"><span class="pl-c">// Setup</span>
<span class="pl-k">function</span> <span class="pl-en">phoneticLookup</span><span class="pl-kos">(</span><span class="pl-s1">val</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-s">""</span><span class="pl-kos">;</span>
<span class="pl-c">// Only change code below this line</span>
<span class="pl-k">var</span> <span class="pl-s1">lookup</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-s">"alpha"</span>: <span class="pl-s">"Adams"</span><span class="pl-kos">,</span>
<span class="pl-s">"bravo"</span>: <span class="pl-s">"Boston"</span><span class="pl-kos">,</span>
<span class="pl-s">"charlie"</span>:<span class="pl-s">"Chicago"</span><span class="pl-kos">,</span>
<span class="pl-s">"delta"</span>:<span class="pl-s">"Denver"</span><span class="pl-kos">,</span>
<span class="pl-s">"echo"</span>: <span class="pl-s">"Easy"</span><span class="pl-kos">,</span>
<span class="pl-s">"foxtrot"</span>: <span class="pl-s">"Frank"</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-s1">result</span> <span class="pl-c1">+=</span> <span class="pl-s1">lookup</span><span class="pl-kos">[</span><span class="pl-s1">val</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-c">// Only change code above this line</span>
<span class="pl-k">return</span> <span class="pl-s1">result</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-c">// Change this value to test</span>
<span class="pl-en">phoneticLookup</span><span class="pl-kos">(</span><span class="pl-s">""</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/using-objects-for-lookups#?solution=%2F%2F%20Setup%0Afunction%20phoneticLookup%28val%29%20%7B%0A%20%20var%20result%20%3D%20%22%22%3B%0A%20%20%2F%2F%20Only%20change%20code%20below%20this%20line%0A%20%20var%20lookup%20%3D%20%7B%0A%20%20%20%20%22alpha%22%3A%20%22Adams%22%2C%0A%20%20%20%20%22bravo%22%3A%20%22Boston%22%2C%0A%20%20%20%20%22charlie%22%3A%22Chicago%22%2C%0A%20%20%20%20%22delta%22%3A%22Denver%22%2C%0A%20%20%20%20%22echo%22%3A%20%22Easy%22%2C%0A%20%20%20%20%22foxtrot%22%3A%20%22Frank%22%0A%20%20%7D%3B%0A%20%20result%20%2B%3D%20lookup%5Bval%5D%3B%0A%20%20%2F%2F%20Only%20change%20code%20above%20this%20line%0A%20%20return%20result%3B%0A%7D%0A%0A%2F%2F%20Change%20this%20value%20to%20test%0AphoneticLookup%28%22%22%29%3B%0A" rel="nofollow">Using Objects for Lookups</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Setup
function phoneticLookup(val) {
var result = "";
// Only change code below this line
var lookup = {
"alpha": "Adams",
"bravo": "Boston",
"charlie":"Chicago",
"delta":"Denver",
"echo": "Easy",
"foxtrot": "Frank"
};
result += lookup[val];
// Only change code above this line
return result;
}
// Change this value to test
phoneticLookup("");
"><pre class="notranslate"><span class="pl-c">// Setup</span>
<span class="pl-k">function</span> <span class="pl-en">phoneticLookup</span><span class="pl-kos">(</span><span class="pl-s1">val</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-s">""</span><span class="pl-kos">;</span>
<span class="pl-c">// Only change code below this line</span>
<span class="pl-k">var</span> <span class="pl-s1">lookup</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-s">"alpha"</span>: <span class="pl-s">"Adams"</span><span class="pl-kos">,</span>
<span class="pl-s">"bravo"</span>: <span class="pl-s">"Boston"</span><span class="pl-kos">,</span>
<span class="pl-s">"charlie"</span>:<span class="pl-s">"Chicago"</span><span class="pl-kos">,</span>
<span class="pl-s">"delta"</span>:<span class="pl-s">"Denver"</span><span class="pl-kos">,</span>
<span class="pl-s">"echo"</span>: <span class="pl-s">"Easy"</span><span class="pl-kos">,</span>
<span class="pl-s">"foxtrot"</span>: <span class="pl-s">"Frank"</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-s1">result</span> <span class="pl-c1">+=</span> <span class="pl-s1">lookup</span><span class="pl-kos">[</span><span class="pl-s1">val</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-c">// Only change code above this line</span>
<span class="pl-k">return</span> <span class="pl-s1">result</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-c">// Change this value to test</span>
<span class="pl-en">phoneticLookup</span><span class="pl-kos">(</span><span class="pl-s">""</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | 1 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 4.5.4</li>
<li>Operating System / Platform => Linux 22.04 LTS 64 Bit</li>
<li>Compiler => gcc</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">Since at least version 3.3.1, the EVENT_MOUSEWHEEL and EVENT_MOUSEHWHEEL have worked in linux despite the fact the the .h file says they are implemented in Windows Only.</p>
<p dir="auto">With 4.5.4 on a new machine, the MOUSEWHEEL events do not work.</p>
<p dir="auto">I went back to 4.5.1 and they work fine.</p> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 4.5.5-310-g9aa647068b</li>
<li>Operating System / Platform => debian bullseye</li>
<li>Compiler => gcc version 10.2.1 20210110 (Raspbian 10.2.1-6+rpi1)</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">When mouse wheel is used event is wrong :</p>
<p dir="auto">see also <a href="https://forum.opencv.org/t/unable-to-get-following-flags-event-flag-l-r-m-button-event-mousewheel/8261" rel="nofollow">https://forum.opencv.org/t/unable-to-get-following-flags-event-flag-l-r-m-button-event-mousewheel/8261</a></p>
<h5 dir="auto">Steps to reproduce</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#include <opencv2/opencv.hpp>
#include <iostream>
void onMouse(int event, int x, int y, int flags, void *userdata)
{
if (event&cv::EVENT_MOUSEWHEEL)
{
std::cout << "EVENT_MOUSEWHEEL" << std::endl;
std::cout << event << std::endl;
std::cout << cv::getMouseWheelDelta(flags) << std::endl;
}
if (event == cv::EVENT_MOUSEHWHEEL)
std::cout << "EVENT_MOUSEHWHEEL" << std::endl;
if (event == cv::EVENT_LBUTTONDOWN)
std::cout << "EVENT_LBUTTONDOWN" << std::endl;
}
int main(int argc, char**argv)
{
std::cout<< cv::getBuildInformation();
cv::Mat img = cv::imread("/home/pi/opencv/samples/data/baboon.jpg", cv::IMREAD_COLOR);
char key = 0;
cv::namedWindow("Test Event");
cv::setMouseCallback("Test Event", onMouse);
while (key != 27)
{
if (img.empty())
return 0;
cv::imshow("Test Event", img);
key = cv::pollKey();
}
return 0;
}
"><pre class="notranslate"><code class="notranslate">#include <opencv2/opencv.hpp>
#include <iostream>
void onMouse(int event, int x, int y, int flags, void *userdata)
{
if (event&cv::EVENT_MOUSEWHEEL)
{
std::cout << "EVENT_MOUSEWHEEL" << std::endl;
std::cout << event << std::endl;
std::cout << cv::getMouseWheelDelta(flags) << std::endl;
}
if (event == cv::EVENT_MOUSEHWHEEL)
std::cout << "EVENT_MOUSEHWHEEL" << std::endl;
if (event == cv::EVENT_LBUTTONDOWN)
std::cout << "EVENT_LBUTTONDOWN" << std::endl;
}
int main(int argc, char**argv)
{
std::cout<< cv::getBuildInformation();
cv::Mat img = cv::imread("/home/pi/opencv/samples/data/baboon.jpg", cv::IMREAD_COLOR);
char key = 0;
cv::namedWindow("Test Event");
cv::setMouseCallback("Test Event", onMouse);
while (key != 27)
{
if (img.empty())
return 0;
cv::imshow("Test Event", img);
key = cv::pollKey();
}
return 0;
}
</code></pre></div>
<p dir="auto">I think this line is <a href="https://github.com/opencv/opencv/blob/4.x/modules/highgui/src/window_gtk.cpp#L1976">wrong </a><br>
cv_event = (event->scroll.delta_y!=0) ? CV_EVENT_MOUSEHWHEEL : CV_EVENT_MOUSEWHEEL;</p>
<p dir="auto">May be this is good :<br>
cv_event = (event->scroll.delta_y!=0) ? CV_EVENT_MOUSEWHEEL : CV_EVENT_MOUSEHWHEEL;</p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=dmitriy" rel="nofollow">Dmitriy Kopylenko</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3257?redirect=false" rel="nofollow">SPR-3257</a></strong> and commented</p>
<p dir="auto">Up until 2.0.3 it worked fine for the groovy bean definitions with the following xml:</p>
<p dir="auto"><?xml version="1.0" encoding="UTF-8"?></p>
<p dir="auto"><beans xmlns="<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>"<br>
xmlns:lang="<a href="http://www.springframework.org/schema/lang" rel="nofollow">http://www.springframework.org/schema/lang</a>"<br>
xsi:schemaLocation="<br>
<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a> <a href="http://www.springframework.org/schema/beans/spring-beans-2.0.xsd" rel="nofollow">http://www.springframework.org/schema/beans/spring-beans-2.0.xsd</a><br>
<a href="http://www.springframework.org/schema/lang" rel="nofollow">http://www.springframework.org/schema/lang</a> <a href="http://www.springframework.org/schema/lang/spring-lang-2.0.xsd" rel="nofollow">http://www.springframework.org/schema/lang/spring-lang-2.0.xsd</a>"<br>
default-init-method="init"></p>
<p dir="auto"><lang:groovy id="someGroovyBean" script-source="classpath:com/mycompany/SomeGroovyBean.groovy"><br>
<lang:property name="dataSource" ref="dataSource"/><br>
</lang:groovy></p>
<p dir="auto">but it fails in 2.0.3 with the following exception:</p>
<p dir="auto">org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate NamespaceHandler for namespace <a href="http://www.springframework.org/schema/lang" rel="nofollow">http://www.springframework.org/schema/lang</a><br>
Offending resource: class path resource [testContext.xml]</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
.... etc."><pre class="notranslate"><code class="notranslate">at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
.... etc.
</code></pre></div>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0.3</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/12470/lang-namespace-handler-case.zip" rel="nofollow">lang-namespace-handler-case.zip</a> (<em>4.65 MB</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="398076154" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7935" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7935/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7935">#7935</a> LangNamespaceHandler cannot be registered in DefaultNamespaceHandlerResolver when thrid party library is not found (<em><strong>"duplicates"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398076269" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7947" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7947/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7947">#7947</a> Increase log level for NamespaceHandler exception reporting</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=rstoya05-aop" rel="nofollow">Rossen Stoyanchev</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9288?redirect=false" rel="nofollow">SPR-9288</a></strong> and commented</p>
<p dir="auto">The failure occurs when I run all spring-context tests from the command line. It doesn't fail when running the test alone, the tests in the same package, or all tests inside Eclipse.</p>
<p dir="auto">The test creates an MBeanServer via <code class="notranslate">javax.management.MBeanServerFactory</code>, then tries to check if an <code class="notranslate">MBeanServerFactoryBean</code> will locate that same instance. The assertSame on line 65 fails because more than one MBeanServer instances were found and the first one returned was not the same instance.</p>
<p dir="auto">Running gradle in debug mode and using breakpoints in addMBeanServer() and removeMBeanServer() of MBeanServerFactory, I was able to find one case where an MBeanServer is added but not removed. It happens in <code class="notranslate">AdvisedJRubyScriptFactoryTests</code> inside JRuby itself when Spring tries to load a script via JRubyScriptFactory. So it looks like a side effect, which explains why the failure doesn't occur when running a single test but not why it doesn't fail inside Eclipse.</p>
<p dir="auto">I experimented with a tearDown() method in <code class="notranslate">AdvisedJRubyScriptFactoryTests</code>, which looks for and releases any MBeanServers it finds but that caused a failure in <code class="notranslate">JmxUtilsTests.testLocatePlatformMBeanServer</code>. So clearly not a good fix. Furthermore the fact this is an environment-sensitive issue makes even more hesitant to go any further.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.2 M1</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="398155119" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14664" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14664/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14664">#14664</a> MBeanServerFactoryBeanTests.testWithLocateExistingAndExistingServer failing (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398155121" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14665" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14665/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14665">#14665</a> JmxUtilsTests.testLocatePlatformMBeanServer failing (<em><strong>"is duplicated by"</strong></em>)</li>
</ul>
<p dir="auto">1 votes, 5 watchers</p> | 0 |
<p dir="auto">Hi guys!</p>
<p dir="auto">I'm trying to pack julia 0.5.0-rc1, but the mbedtls is failing with this message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ 51s] CMake Error at library/cmake_install.cmake:144 (file):
[ 51s] file RPATH_CHANGE could not write new RPATH:
[ 51s]
[ 51s] $ORIGIN
[ 51s]
[ 51s] to the file:
[ 51s]
[ 51s] /home/abuild/rpmbuild/BUILD/julia-0.5.0-rc1/usr-staging/mbedtls-2.3.0/home/abuild/rpmbuild/BUILD/julia-0.5.0-rc1/usr/lib/libmbedcrypto.so.2.3.0
[ 51s]
[ 51s] No valid ELF RPATH or RUNPATH entry exists in the file;
[ 51s] Call Stack (most recent call first):
[ 51s] cmake_install.cmake:37 (include)
[ 51s]
[ 51s]
[ 51s] make[2]: *** [Makefile:130: install] Error 1"><pre class="notranslate"><code class="notranslate">[ 51s] CMake Error at library/cmake_install.cmake:144 (file):
[ 51s] file RPATH_CHANGE could not write new RPATH:
[ 51s]
[ 51s] $ORIGIN
[ 51s]
[ 51s] to the file:
[ 51s]
[ 51s] /home/abuild/rpmbuild/BUILD/julia-0.5.0-rc1/usr-staging/mbedtls-2.3.0/home/abuild/rpmbuild/BUILD/julia-0.5.0-rc1/usr/lib/libmbedcrypto.so.2.3.0
[ 51s]
[ 51s] No valid ELF RPATH or RUNPATH entry exists in the file;
[ 51s] Call Stack (most recent call first):
[ 51s] cmake_install.cmake:37 (include)
[ 51s]
[ 51s]
[ 51s] make[2]: *** [Makefile:130: install] Error 1
</code></pre></div>
<p dir="auto">Can anyone help me?</p> | <p dir="auto">The USE_SYSTEM_* options related to libgit2's ssh/proxy handling roughly works but it seems that they can be handled better/more precisely. A few issues I've noticed,</p>
<ol dir="auto">
<li>IIUC mbedtls (and libssh2?) is (are) not used directly but only as dependencies of libgit2. Therefore, when the system version of <code class="notranslate">libgit2</code> is used, these dependencies shouldn't be built.</li>
<li>USE_SYSTEM_MBEDTLS without USE_SYSTEM_CURL does not work (mbedtls is built).</li>
</ol>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tkelman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tkelman">@tkelman</a></p> | 1 |
<p dir="auto">Hi friends-<br>
I am trying to train a Roberta on a large corpus with a server with time limitation.<br>
Is there any way to save the model like every 3000 steps to keep record of the training, and resume it later?<br>
Really need it with the project…Thanks for helping.</p> | <p dir="auto">For QA task (extractive QA) the pipeline provides/returns 4 values.</p>
<ol dir="auto">
<li>a probability score</li>
<li>start index</li>
<li>end index</li>
<li>extracted answer<br>
(<a href="https://huggingface.co/transformers/main_classes/pipelines.html#transformers.QuestionAnsweringPipeline" rel="nofollow">https://huggingface.co/transformers/main_classes/pipelines.html#transformers.QuestionAnsweringPipeline</a>)</li>
</ol>
<p dir="auto">But If I am using the model class directly (not using pipeline) like the code below then i am unable to find the probability score :</p>
<p dir="auto">`<br>
tokenizer = AutoTokenizer.from_pretrained(MODEL_NAME)<br>
model = AutoModelForQuestionAnswering.from_pretrained(MODEL_NAME,return_dict=True)<br>
_encoding = tokenizer.encode_plus(question, docText, return_tensors="pt",max_length=4096)<br>
input_ids = encoding["input_ids"]<br>
attention_mask = encoding["attention_mask"]</p>
<p dir="auto">start_scores, end_scores = model(input_ids, attention_mask=attention_mask).values()<br>
all_tokens = tokenizer.convert_ids_to_tokens(input_ids[0].tolist())<br>
answer_tokens = all_tokens[torch.argmax(start_scores) :torch.argmax(end_scores)+1]<br>
answer = tokenizer.decode(tokenizer.convert_tokens_to_ids(answer_tokens))_<br>
`<br>
This answer object has only 3 values. extracted answer, start score and end score.I cant find any way or function to calculate the probability score. I want it because I want to sort multiple answers according to their probability/confidence score.</p>
<p dir="auto">This is a duplicate of Issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="657315849" data-permission-text="Title is private" data-url="https://github.com/huggingface/transformers/issues/5768" data-hovercard-type="issue" data-hovercard-url="/huggingface/transformers/issues/5768/hovercard" href="https://github.com/huggingface/transformers/issues/5768">#5768</a> but that issue has been marked close without any answer.</p> | 0 |
<p dir="auto">At the moment:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Article {
@Relation
author: OneRelation<User>;
}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">Article</span> <span class="pl-kos">{</span>
@<span class="pl-smi">Relation</span>
<span class="pl-c1">author</span>: <span class="pl-smi">OneRelation</span><span class="pl-kos"><</span><span class="pl-smi">User</span><span class="pl-kos">></span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">emits:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="__metadata('design:type', OneRelation)"><pre class="notranslate"><span class="pl-en">__metadata</span><span class="pl-kos">(</span><span class="pl-s">'design:type'</span><span class="pl-kos">,</span> <span class="pl-v">OneRelation</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">My suggestion is that that instead of just type it would also include the type args.</p>
<p dir="auto">Maybe something like this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="__metadata('design:type', {type: OneRelation, args: [{type: User, args: []}])"><pre class="notranslate"><span class="pl-en">__metadata</span><span class="pl-kos">(</span><span class="pl-s">'design:type'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-c1">type</span>: <span class="pl-v">OneRelation</span><span class="pl-kos">,</span> <span class="pl-c1">args</span>: <span class="pl-kos">[</span><span class="pl-kos">{</span><span class="pl-c1">type</span>: <span class="pl-v">User</span><span class="pl-kos">,</span> <span class="pl-c1">args</span>: <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos"></span><span class="pl-kos">)</span></pre></div>
<p dir="auto">With the latter i don't have to repeat myself in decorator that this is a one relation to user as i have already specified this in type.</p>
<p dir="auto">Thanks,<br>
Reio</p> | <p dir="auto">Using TypeScript 1.8 beta with the "--allowJs" flag to compile a .js file with JSDoc comments causes a compiler crash for any file JS containing a JSDoc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/return/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/return">@return</a> comment. For example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/**
* @return the number 5
*/
function five() {
return 5;
}"><pre class="notranslate"><code class="notranslate">/**
* @return the number 5
*/
function five() {
return 5;
}
</code></pre></div>
<p dir="auto">% tsc --allowJs --outDir /tmp test.js</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:32796
throw e;
^
TypeError: Cannot read property 'type' of undefined
at getReturnTypeFromJSDocComment (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:19407:68)
at getSignatureFromDeclaration (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:14802:36)
at checkSpecializedSignatureDeclaration (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:20664:29)
at checkSignatureDeclaration (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:20420:13)
at checkFunctionOrMethodDeclaration (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:21170:13)
at checkFunctionDeclaration (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:21161:17)
at checkSourceElement (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:22800:28)
at Object.forEach (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:98:30)
at checkSourceFileWorker (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:22908:20)
at checkSourceFile (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:22894:13)
``"><pre class="notranslate"><code class="notranslate">/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:32796
throw e;
^
TypeError: Cannot read property 'type' of undefined
at getReturnTypeFromJSDocComment (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:19407:68)
at getSignatureFromDeclaration (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:14802:36)
at checkSpecializedSignatureDeclaration (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:20664:29)
at checkSignatureDeclaration (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:20420:13)
at checkFunctionOrMethodDeclaration (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:21170:13)
at checkFunctionDeclaration (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:21161:17)
at checkSourceElement (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:22800:28)
at Object.forEach (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:98:30)
at checkSourceFileWorker (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:22908:20)
at checkSourceFile (/home/bill/Applications/node-v4.2.4-linux-x64/lib/node_modules/typescript/lib/tsc.js:22894:13)
``
</code></pre></div> | 0 |
<pre class="notranslate">the 386 builders are all dying in the go.net subrepo with messages like
? code.google.com/p/go.net/dict [no test files]
ok code.google.com/p/go.net/html 0.140s
ok code.google.com/p/go.net/html/atom 0.006s
# code.google.com/p/go.net/ipv4
registers allocated at
AX 0
CX 0
DX 0
BX 0xd2f8
SP 0
BP 0xd2f8
SI 0xd2f8
DI 0xc1b7
registers allocated at
AX 0
CX 0
DX 0
BX 0xd2f8
SP 0
BP 0xd2f8
SI 0xd2f8
DI 0xc1b7
/tmp/gobuilder/darwin-386-03e5b26282f7/src/code.google.com/p/go.net/ipv4/control.go:1:
out of fixed registers
/tmp/gobuilder/darwin-386-03e5b26282f7/src/code.google.com/p/go.net/ipv4/control.go:1:
internal compiler error: regfree: reg not allocated
ok code.google.com/p/go.net/html/charset 0.011s
ok code.google.com/p/go.net/idna 0.013s
FAIL code.google.com/p/go.net/ipv4 [build failed]
# code.google.com/p/go.net/ipv6
registers allocated at
AX 0
CX 0
DX 0
BX 0xd2f8
SP 0
BP 0xd2f8
SI 0xd2f8
DI 0xc1b7
registers allocated at
AX 0
CX 0
DX 0
BX 0xd2f8
SP 0
BP 0xd2f8
SI 0xd2f8
DI 0xc1b7
/tmp/gobuilder/darwin-386-03e5b26282f7/src/code.google.com/p/go.net/ipv6/control.go:1:
out of fixed registers
/tmp/gobuilder/darwin-386-03e5b26282f7/src/code.google.com/p/go.net/ipv6/control.go:1:
internal compiler error: regfree: reg not allocated
FAIL code.google.com/p/go.net/ipv6 [build failed]
ok code.google.com/p/go.net/netutil 0.642s
ok code.google.com/p/go.net/proxy 0.010s
ok code.google.com/p/go.net/publicsuffix 0.178s
ok code.google.com/p/go.net/spdy 0.017s
ok code.google.com/p/go.net/websocket 0.030s</pre> | <p dir="auto">Currently if there are duplicate anonymous struct fields they are all ignored. I think this is wrong because the encoding process shouldn't loose information unless the output format is not capable to represent it(which is not the case).<br>
For example marshalling AllTypes produces an empty output.<br>
type AllTypes struct {<br>
Type1<br>
Type2<br>
}<br>
type Type1 struct {<br>
Name string<br>
Address string<br>
}<br>
type Type2 struct {<br>
Name string<br>
Address string<br>
}<br>
To overcome this issue an additional step is required to create a boilerplate type specially for the encoding/decoding process. Most likely we end-up with a new type (AllTypes2) as below. This is against the composability of the language and adds additional burden to the developer(look for duplicate fields -> create a new type).</p>
<p dir="auto">type AllTypes2 struct{<br>
Type1 Type1<br>
Type2 Type2<br>
}</p>
<p dir="auto">Any fix/convention that preserves the data would be fine to me but I present my proposal below too as starting point. I think it's also backward compatible.<br>
<strong>Use the same addressing like the native go types</strong>.<br>
If there are duplicate anonymous fields, they should be addressed using the type name as prefix. If the type name is duplicate too both the package name and the type name should be used as prefix. For type AllTypes I would expect the output below:</p>
<p dir="auto">{<br>
"Type1": {"Name":"example", "Address": "example"},<br>
"Type2": {"Name":"example", "Address": "example"}<br>
}</p>
<p dir="auto">Using the same addressing as on go types makes the behaviour intuitive and easier to understand too as we have only one familiar rule instead of 3 special rules.<br>
It would make the behaviour more consistent too because the type name is already used as key on certain cases. For example type SomeType is encoded to {"MySlice":["somedata"]}.<br>
type SomeType struct{<br>
MySlice<br>
}<br>
type MySlice []string</p> | 0 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => ❔4.4.0</li>
<li>Operating System / Platform => ❔Linux</li>
<li>Compiler => <g-emoji class="g-emoji" alias="grey_question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2754.png">❔</g-emoji>Cmake</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/51939859/94694116-aed5fa00-035e-11eb-83ed-ac38afe98122.png"><img src="https://user-images.githubusercontent.com/51939859/94694116-aed5fa00-035e-11eb-83ed-ac38afe98122.png" alt="Screenshot from 2020-09-30 20-14-40" style="max-width: 100%;"></a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_C_EXAMPLES=ON \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D WITH_TBB=ON \
-D WITH_V4L=ON \
-D WITH_QT=ON \
-D WITH_OPENGL=ON \
-D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules \
-D BUILD_opencv_python3=ON \
-D PYTHON3_EXECUTABLE=/usr/bin/python3.6m \
-D PYTHON3_LIBRARIES=/usr/lib/x86_64-linux-gnu/libpython3.6m.so \
-D PYTHON3_NUMPY_INCLUDE_DIRS=/usr/local/lib/python3.6/dist-packages/numpy/core/include \
-D BUILD_EXAMPLES=ON ..
"><pre class="notranslate"><code class="notranslate">cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_C_EXAMPLES=ON \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D WITH_TBB=ON \
-D WITH_V4L=ON \
-D WITH_QT=ON \
-D WITH_OPENGL=ON \
-D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules \
-D BUILD_opencv_python3=ON \
-D PYTHON3_EXECUTABLE=/usr/bin/python3.6m \
-D PYTHON3_LIBRARIES=/usr/lib/x86_64-linux-gnu/libpython3.6m.so \
-D PYTHON3_NUMPY_INCLUDE_DIRS=/usr/local/lib/python3.6/dist-packages/numpy/core/include \
-D BUILD_EXAMPLES=ON ..
</code></pre></div>
<p dir="auto">I build opencv vs opencv_contrib. This is my problem, somebody help me with ..!</p> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => : OpenCV 3</li>
<li>Operating System / Platform => ros-melodic-desktop-full on Manjaro</li>
<li>Compiler => :gcc 9.1</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">I'm installing ROS in my linux but when bulding opencv i get a segmentation Fault in the function InitDefaultsMethodImpl() i got this message:<br>
during GIMPLE pass: wrestrict<br>
En la función ‘void protobuf_google_2fprotobuf_2fapi_2eproto::InitDefaultsMethodImpl()’:<br>
Violación de segmento<br>
67 | void InitDefaultsMethodImpl() {<br>
| ^~~~~~~~~~~~~~~~~~~~~~<br>
Por favor, envíe un informe completo de errores,<br>
con el código preprocesado si es apropiado.<br>
Véase <a href="https://bugs.archlinux.org/" rel="nofollow">https://bugs.archlinux.org/</a> para instrucciones.<br>
make[2]: *** [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/build.make:401: 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/api.pb.cc.o] Error 1<br>
make[1]: *** [CMakeFiles/Makefile2:325: 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all] Error 2<br>
make: *** [Makefile:163: all] Error 2<br>
==> ERROR: Se produjo un fallo en build().</p> | 0 |
<p dir="auto">To easier write tooling for cross compiling it would be good to programmatically get the possible combinations of GOOS and GOARCH.</p>
<p dir="auto">The only reference I can find is at <a href="http://golang.org/doc/install/source#environment" rel="nofollow">http://golang.org/doc/install/source#environment</a></p>
<p dir="auto">In addition, <code class="notranslate">go help environment</code>only gives examples; and<code class="notranslate">go help build</code> and <code class="notranslate">go help install</code>does not mention GOOS and GOARCH.</p> | <pre class="notranslate">Problems with the bits in *os.Process Wait(options int)
1) they're non-portable
2) they're a mix of syscall bit numberspace and Go-assigned numbers (1 << 20 for
os.WRUSAGE)
We should clean this up somehow:
a) remove the options parameter to Wait
b) keep the options parameter, but document the bits as all Go-defined portable bits
(like FileMode)
c) document that they're all syscall bits and pass them along, but don't provide alias.
force callers to use syscall.WNOHANG, etc. that leaves WRUSAGE, but we could just
always return that, and remove WRUSAGE.
d) ???</pre> | 0 |
<p dir="auto">This (not valid) code causes an ICE on my system (commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/449f4fbb07861c133f2b7f4797edbe9b6e238940/hovercard" href="https://github.com/rust-lang/rust/commit/449f4fbb07861c133f2b7f4797edbe9b6e238940"><tt>449f4fb</tt></a>):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="enum Fail {
A(Rec)
}
enum Rec {
B(Rec)
}"><pre class="notranslate"><code class="notranslate">enum Fail {
A(Rec)
}
enum Rec {
B(Rec)
}
</code></pre></div>
<p dir="auto">Stack trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rust: task 7f64181079a0 ran out of stack
/home/goffrie/prefix/lib/librustrt.so(+0x1aa5d)[0x7f641f8aea5d]
/home/goffrie/prefix/lib/librustrt.so(+0x1b6e9)[0x7f641f8af6e9]
/home/goffrie/prefix/lib/librustrt.so(+0x1b31f)[0x7f641f8af31f]
/home/goffrie/prefix/lib/librustrt.so(+0x1a99c)[0x7f641f8ae99c]
/home/goffrie/prefix/lib/librustrt.so(+0x31161)[0x7f641f8c5161]
/home/goffrie/prefix/lib/librustrt.so(_ZN9rust_task15call_on_c_stackEPvS0_+0xbd)[0x7f641f8b031d]
/home/goffrie/prefix/lib/librustrt.so(_ZN9rust_task10next_stackEmPvm+0x7a)[0x7f641f8b20aa]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(+0x6c9006)[0x7f64201b8006]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(+0x29d0fd)[0x7f641fd8c0fd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty13enum_variants15_78118ac0f8c6863_05E+0x90)[0x7f641fbee9d0]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x258)[0x7f641fdb7418]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: task failed at 'explicit failure', /home/goffrie/rust/src/rustc/driver/rustc.rs:241
/home/goffrie/prefix/lib/librustrt.so(+0x1aa5d)[0x7f641f8aea5d]
/home/goffrie/prefix/lib/librustrt.so(+0x1b6e9)[0x7f641f8af6e9]
/home/goffrie/prefix/lib/librustrt.so(+0x31161)[0x7f641f8c5161]
/home/goffrie/prefix/lib/librustrt.so(_ZN9rust_task15call_on_c_stackEPvS0_+0xbd)[0x7f641f8b031d]
/home/goffrie/prefix/lib/librustrt.so(upcall_fail+0xa0)[0x7f641f8b10f0]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0xb7410)[0x7f6420f54410]
rustc(_rust_main+0x27e6)[0x418136]
rustc[0x418b44]
/home/goffrie/prefix/lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x25)[0x7f641f8aeda5]
rust: domain main @0x623940 root task failed
rust: task failed at 'killed', /home/goffrie/rust/src/libcore/task.rs:615
/home/goffrie/prefix/lib/librustrt.so(+0x1aa5d)[0x7f641f8aea5d]
/home/goffrie/prefix/lib/librustrt.so(+0x1b6e9)[0x7f641f8af6e9]
/home/goffrie/prefix/lib/librustrt.so(+0x31161)[0x7f641f8c5161]
/home/goffrie/prefix/lib/librustrt.so(_ZN9rust_task15call_on_c_stackEPvS0_+0xbd)[0x7f641f8b031d]
/home/goffrie/prefix/lib/librustrt.so(upcall_fail+0xa0)[0x7f641f8b10f0]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(_ZN4task5yield15_13bfb7b18ea75c3_05E+0xbd)[0x7f6420f002ed]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0x920d6)[0x7f6420f2f0d6]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(_ZN7private11weaken_task17_e2d5d36641a8373b3_05E+0xd9)[0x7f6420f2ef19]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0x91e0b)[0x7f6420f2ee0b]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0xb7410)[0x7f6420f54410]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0x91112)[0x7f6420f2e112]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0x90a62)[0x7f6420f2da62]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0x90076)[0x7f6420f2d076]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0x7a40f)[0x7f6420f1740f]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0xb7410)[0x7f6420f54410]
/home/goffrie/prefix/lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x25)[0x7f641f8aeda5]"><pre class="notranslate"><code class="notranslate">rust: task 7f64181079a0 ran out of stack
/home/goffrie/prefix/lib/librustrt.so(+0x1aa5d)[0x7f641f8aea5d]
/home/goffrie/prefix/lib/librustrt.so(+0x1b6e9)[0x7f641f8af6e9]
/home/goffrie/prefix/lib/librustrt.so(+0x1b31f)[0x7f641f8af31f]
/home/goffrie/prefix/lib/librustrt.so(+0x1a99c)[0x7f641f8ae99c]
/home/goffrie/prefix/lib/librustrt.so(+0x31161)[0x7f641f8c5161]
/home/goffrie/prefix/lib/librustrt.so(_ZN9rust_task15call_on_c_stackEPvS0_+0xbd)[0x7f641f8b031d]
/home/goffrie/prefix/lib/librustrt.so(_ZN9rust_task10next_stackEmPvm+0x7a)[0x7f641f8b20aa]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(+0x6c9006)[0x7f64201b8006]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(+0x29d0fd)[0x7f641fd8c0fd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty13enum_variants15_78118ac0f8c6863_05E+0x90)[0x7f641fbee9d0]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x258)[0x7f641fdb7418]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.5.so(_ZN6middle2ty26type_structurally_contains17_45ceb0a2767ce11c3_05E+0x2fd)[0x7f641fdb74bd]
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: task failed at 'explicit failure', /home/goffrie/rust/src/rustc/driver/rustc.rs:241
/home/goffrie/prefix/lib/librustrt.so(+0x1aa5d)[0x7f641f8aea5d]
/home/goffrie/prefix/lib/librustrt.so(+0x1b6e9)[0x7f641f8af6e9]
/home/goffrie/prefix/lib/librustrt.so(+0x31161)[0x7f641f8c5161]
/home/goffrie/prefix/lib/librustrt.so(_ZN9rust_task15call_on_c_stackEPvS0_+0xbd)[0x7f641f8b031d]
/home/goffrie/prefix/lib/librustrt.so(upcall_fail+0xa0)[0x7f641f8b10f0]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0xb7410)[0x7f6420f54410]
rustc(_rust_main+0x27e6)[0x418136]
rustc[0x418b44]
/home/goffrie/prefix/lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x25)[0x7f641f8aeda5]
rust: domain main @0x623940 root task failed
rust: task failed at 'killed', /home/goffrie/rust/src/libcore/task.rs:615
/home/goffrie/prefix/lib/librustrt.so(+0x1aa5d)[0x7f641f8aea5d]
/home/goffrie/prefix/lib/librustrt.so(+0x1b6e9)[0x7f641f8af6e9]
/home/goffrie/prefix/lib/librustrt.so(+0x31161)[0x7f641f8c5161]
/home/goffrie/prefix/lib/librustrt.so(_ZN9rust_task15call_on_c_stackEPvS0_+0xbd)[0x7f641f8b031d]
/home/goffrie/prefix/lib/librustrt.so(upcall_fail+0xa0)[0x7f641f8b10f0]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(_ZN4task5yield15_13bfb7b18ea75c3_05E+0xbd)[0x7f6420f002ed]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0x920d6)[0x7f6420f2f0d6]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(_ZN7private11weaken_task17_e2d5d36641a8373b3_05E+0xd9)[0x7f6420f2ef19]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0x91e0b)[0x7f6420f2ee0b]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0xb7410)[0x7f6420f54410]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0x91112)[0x7f6420f2e112]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0x90a62)[0x7f6420f2da62]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0x90076)[0x7f6420f2d076]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0x7a40f)[0x7f6420f1740f]
/home/goffrie/rust/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.5.so(+0xb7410)[0x7f6420f54410]
/home/goffrie/prefix/lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x25)[0x7f641f8aeda5]
</code></pre></div> | <p dir="auto">I'm not sure if this is a duplicate of an existing issue, there are many destructor related issues open already. But anyways, here it is:</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#[feature(managed_boxes)];
struct DroppableStruct { a: int }
impl Drop for DroppableStruct {
fn drop(&mut self) {
println!("Dropping");
}
}
trait MyTrait { }
impl MyTrait for DroppableStruct {}
struct Whatever<'a> { w: &'a MyTrait }
impl <'a> Whatever<'a> {
fn new<'b>(w: &'b MyTrait) -> Whatever<'b> {
Whatever { w: w }
}
}
fn main() {
let mut f = DroppableStruct;
let _a = Whatever::new(@f as @MyTrait);
}"><pre class="notranslate"><span class="pl-c1">#<span class="pl-kos">[</span>feature<span class="pl-kos">(</span>managed_boxes<span class="pl-kos">)</span><span class="pl-kos">]</span></span><span class="pl-kos">;</span>
<span class="pl-k">struct</span> <span class="pl-smi">DroppableStruct</span> <span class="pl-kos">{</span> <span class="pl-c1">a</span><span class="pl-kos">:</span> <span class="pl-smi">int</span> <span class="pl-kos">}</span>
<span class="pl-k">impl</span> <span class="pl-smi">Drop</span> <span class="pl-k">for</span> <span class="pl-smi">DroppableStruct</span> <span class="pl-kos">{</span>
<span class="pl-k">fn</span> <span class="pl-en">drop</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-k">mut</span> <span class="pl-smi">self</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">println</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"Dropping"</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">trait</span> <span class="pl-smi">MyTrait</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span>
<span class="pl-k">impl</span> <span class="pl-smi">MyTrait</span> <span class="pl-k">for</span> <span class="pl-smi">DroppableStruct</span> <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-k">struct</span> <span class="pl-smi">Whatever</span><span class="pl-kos"><</span><span class="pl-c1">'</span><span class="pl-ent">a</span><span class="pl-kos">></span> <span class="pl-kos">{</span> <span class="pl-c1">w</span><span class="pl-kos">:</span> <span class="pl-c1">&</span><span class="pl-c1">'</span><span class="pl-ent">a</span> <span class="pl-smi">MyTrait</span> <span class="pl-kos">}</span>
<span class="pl-k">impl</span> <span class="pl-kos"><</span><span class="pl-c1">'</span><span class="pl-ent">a</span><span class="pl-kos">></span> <span class="pl-smi">Whatever</span><span class="pl-kos"><</span><span class="pl-c1">'</span><span class="pl-ent">a</span><span class="pl-kos">></span> <span class="pl-kos">{</span>
<span class="pl-k">fn</span> <span class="pl-en">new</span><span class="pl-kos"><</span><span class="pl-c1">'</span><span class="pl-ent">b</span><span class="pl-kos">></span><span class="pl-kos">(</span><span class="pl-s1">w</span><span class="pl-kos">:</span> <span class="pl-c1">&</span><span class="pl-c1">'</span><span class="pl-ent">b</span> <span class="pl-smi">MyTrait</span><span class="pl-kos">)</span> -> <span class="pl-smi">Whatever</span><span class="pl-kos"><</span><span class="pl-c1">'</span><span class="pl-ent">b</span><span class="pl-kos">></span> <span class="pl-kos">{</span>
<span class="pl-smi">Whatever</span> <span class="pl-kos">{</span> <span class="pl-c1">w</span><span class="pl-kos">:</span> w <span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">let</span> <span class="pl-k">mut</span> f = <span class="pl-v">DroppableStruct</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> _a = <span class="pl-smi">Whatever</span><span class="pl-kos">::</span><span class="pl-en">new</span><span class="pl-kos">(</span>@f <span class="pl-k">as</span> @<span class="pl-smi">MyTrait</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">This doesn't run the destructor of <code class="notranslate">DroppableStruct</code>. This is pretty much as minimal as I could get the example, many changes make it work. E.g. changing the main function body to:</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" let f = DroppableStruct { a: 1 };
let b = @f as @MyTrait;
let _a = Whatever::new(b);"><pre class="notranslate"> <span class="pl-k">let</span> f = <span class="pl-smi">DroppableStruct</span> <span class="pl-kos">{</span> <span class="pl-c1">a</span><span class="pl-kos">:</span> <span class="pl-c1">1</span> <span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> b = @f <span class="pl-k">as</span> @<span class="pl-smi">MyTrait</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> _a = <span class="pl-smi">Whatever</span><span class="pl-kos">::</span><span class="pl-en">new</span><span class="pl-kos">(</span>b<span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">makes the destructor work. Also, not saving the <code class="notranslate">Whatever</code> struct in a variable makes it work. Also, not saving the <code class="notranslate">@MyTrait</code> in <code class="notranslate">Whatever</code> makes it work. Good luck.</p>
<p dir="auto">Update: removed <code class="notranslate">mut</code>, was not relevant.<br>
Update2: added a field to the struct to show it's not an issue about zero-sized structs.</p> | 0 |
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class MyModule(nn.Module)
number = Optional[int]
def __init__(self, number=None):
self.number = number
def forward(self):
if self.number is not None:
self.number += 1
my_module = torch.jit.script(MyModule())"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">MyModule</span>(<span class="pl-s1">nn</span>.<span class="pl-v">Module</span>)
<span class="pl-s1">number</span> <span class="pl-c1">=</span> <span class="pl-v">Optional</span>[<span class="pl-s1">int</span>]
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">number</span><span class="pl-c1">=</span><span class="pl-c1">None</span>):
<span class="pl-s1">self</span>.<span class="pl-s1">number</span> <span class="pl-c1">=</span> <span class="pl-s1">number</span>
<span class="pl-k">def</span> <span class="pl-en">forward</span>(<span class="pl-s1">self</span>):
<span class="pl-k">if</span> <span class="pl-s1">self</span>.<span class="pl-s1">number</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>:
<span class="pl-s1">self</span>.<span class="pl-s1">number</span> <span class="pl-c1">+=</span> <span class="pl-c1">1</span>
<span class="pl-s1">my_module</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-s1">jit</span>.<span class="pl-en">script</span>(<span class="pl-v">MyModule</span>())</pre></div>
<p dir="auto">Always have to work around it.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class MyModule(nn.Module)
number = Optional[int]
def __init__(self, number=None):
self.number = number
def forward(self):
number = self.number
if number is not None:
number += 1
my_module = torch.jit.script(MyModule())"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">MyModule</span>(<span class="pl-s1">nn</span>.<span class="pl-v">Module</span>)
<span class="pl-s1">number</span> <span class="pl-c1">=</span> <span class="pl-v">Optional</span>[<span class="pl-s1">int</span>]
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">number</span><span class="pl-c1">=</span><span class="pl-c1">None</span>):
<span class="pl-s1">self</span>.<span class="pl-s1">number</span> <span class="pl-c1">=</span> <span class="pl-s1">number</span>
<span class="pl-k">def</span> <span class="pl-en">forward</span>(<span class="pl-s1">self</span>):
<span class="pl-s1">number</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">number</span>
<span class="pl-k">if</span> <span class="pl-s1">number</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>:
<span class="pl-s1">number</span> <span class="pl-c1">+=</span> <span class="pl-c1">1</span>
<span class="pl-s1">my_module</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-s1">jit</span>.<span class="pl-en">script</span>(<span class="pl-v">MyModule</span>())</pre></div>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/suo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/suo">@suo</a></p> | <p dir="auto">Right now we only do type refinement on <code class="notranslate">TK_VAR</code>s in the compiler, we should expand this to be more general, these examples below don't currently work:</p>
<p dir="auto">Refinement on an attribute:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class M(torch.jit.ScriptModule):
def __init__(self):
super(M, self).__init__()
self.id = jit.Attribute(2, Optional[int])
@jit.script_method
def forward(self):
a = 2
if self.id is not None:
a += self.id
m = M()"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">M</span>(<span class="pl-s1">torch</span>.<span class="pl-s1">jit</span>.<span class="pl-v">ScriptModule</span>):
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>):
<span class="pl-en">super</span>(<span class="pl-v">M</span>, <span class="pl-s1">self</span>).<span class="pl-en">__init__</span>()
<span class="pl-s1">self</span>.<span class="pl-s1">id</span> <span class="pl-c1">=</span> <span class="pl-s1">jit</span>.<span class="pl-v">Attribute</span>(<span class="pl-c1">2</span>, <span class="pl-v">Optional</span>[<span class="pl-s1">int</span>])
<span class="pl-en">@<span class="pl-s1">jit</span>.<span class="pl-s1">script_method</span></span>
<span class="pl-k">def</span> <span class="pl-en">forward</span>(<span class="pl-s1">self</span>):
<span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-c1">2</span>
<span class="pl-k">if</span> <span class="pl-s1">self</span>.<span class="pl-s1">id</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>:
<span class="pl-s1">a</span> <span class="pl-c1">+=</span> <span class="pl-s1">self</span>.<span class="pl-s1">id</span>
<span class="pl-s1">m</span> <span class="pl-c1">=</span> <span class="pl-v">M</span>()</pre></div>
<p dir="auto">Refinement on a constant:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class M(torch.jit.ScriptModule):
__constants__ = ['x']
def __init__(self, x):
super(M, self).__init__()
self.x = x
@torch.jit.script_method
def forward(self, a):
attr = self.x
if attr is not None:
return a + attr
else:
return a
M(None)"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">M</span>(<span class="pl-s1">torch</span>.<span class="pl-s1">jit</span>.<span class="pl-v">ScriptModule</span>):
<span class="pl-s1">__constants__</span> <span class="pl-c1">=</span> [<span class="pl-s">'x'</span>]
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">x</span>):
<span class="pl-en">super</span>(<span class="pl-v">M</span>, <span class="pl-s1">self</span>).<span class="pl-en">__init__</span>()
<span class="pl-s1">self</span>.<span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">x</span>
<span class="pl-en">@<span class="pl-s1">torch</span>.<span class="pl-s1">jit</span>.<span class="pl-s1">script_method</span></span>
<span class="pl-k">def</span> <span class="pl-en">forward</span>(<span class="pl-s1">self</span>, <span class="pl-s1">a</span>):
<span class="pl-s1">attr</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">x</span>
<span class="pl-k">if</span> <span class="pl-s1">attr</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>:
<span class="pl-k">return</span> <span class="pl-s1">a</span> <span class="pl-c1">+</span> <span class="pl-s1">attr</span>
<span class="pl-k">else</span>:
<span class="pl-k">return</span> <span class="pl-s1">a</span>
<span class="pl-v">M</span>(<span class="pl-c1">None</span>)</pre></div>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gmagogsfm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gmagogsfm">@gmagogsfm</a></p> | 1 |
<p dir="auto">Perhap it is possible to manage variables on reference tag, and specify it on compiler options.<br>
Files like this for exemple:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/// <reference path="{pathProjectA}/Foo.ts" />
/// <reference path="{pathProjectB}/Bar.ts" />"><pre class="notranslate"><code class="notranslate">/// <reference path="{pathProjectA}/Foo.ts" />
/// <reference path="{pathProjectB}/Bar.ts" />
</code></pre></div>
<p dir="auto">with compiler like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tsc ... --var pathProjectA=... pathProjectB=..."><pre class="notranslate"><code class="notranslate">tsc ... --var pathProjectA=... pathProjectB=...
</code></pre></div>
<p dir="auto">Migration of <a href="https://typescript.codeplex.com/workitem/1414" rel="nofollow">https://typescript.codeplex.com/workitem/1414</a></p> | <p dir="auto">I'm moving this issue here from codeplex:<br>
<a href="https://typescript.codeplex.com/workitem/1414" rel="nofollow">https://typescript.codeplex.com/workitem/1414</a></p>
<p dir="auto">This feature would help to use "library projects" in a way that you only have to specify the actual path once (eg. with a compiler flag).</p>
<p dir="auto">I'd love to see this implemented in the official compiler. I think it's small work and adds huge value.<br>
I can have a try at adding this but I'd value some guidelines on how to edit the compiler and how it would make it's way to be part of the official compiler.</p> | 1 |
<p dir="auto">This may be a bit of an obvious question, but I am not really a javascript man...</p>
<p dir="auto">Anyway, I am using the Collapse plugin for an accordion, but I want to make the toggle links gain a class of "active" when toggled, which the Button plugin does. But I seem to have a choice between using 'data-toggle="collapse"', which makes the accordion work, or using 'data-toggle="button"', which makes the button plugin work, but I can't use both. Is there a way to get the button toggle to work alongside the collapse toggle?</p> | <p dir="auto">Since <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="9489779" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/6380" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/6380/hovercard" href="https://github.com/twbs/bootstrap/pull/6380">#6380</a> the recommendation has been to use <code class="notranslate">data-toggle="tooltip"</code> and <code class="notranslate">data-toggle="popover"</code>, alongside the existing <code class="notranslate">data-toggle="modal"</code> and <code class="notranslate">data-toggle="dropdown"</code> attributes, which is a good idea.</p>
<p dir="auto">However, sometimes you might want to show a tooltip on a button which also toggles a modal or a dropdown.</p>
<p dir="auto">It's not possible to use multiple data-toggle attributes on the same node, and <code class="notranslate">[data-toggle=modal]</code> doesn't match <code class="notranslate">data-toggle="tooltip modal"</code>.</p>
<p dir="auto">Possibilities:</p>
<ul dir="auto">
<li>Use the ~= selector, which matches one of a set of space-separated attributes: <code class="notranslate">[data-toggle~=modal]</code></li>
<li>Use separate "data-toggle-tooltip", "data-toggle-popover", "data-toggle-modal", "data-toggle-dropdown" attributes.</li>
</ul> | 1 |
<pre class="notranslate">What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. open <a href="http://golang.org/ref/spec" rel="nofollow">http://golang.org/ref/spec</a> (or any other longer page) in a browser
2. press "Down" or "PgDn" key
What is the expected output?
Scrolling page contents
What do you see instead?
Stationary page contents
Which compiler are you using (5g, 6g, 8g, gccgo)?
N/A
Which operating system are you using?
Ubuntu 12.04 on x86_64
Which version are you using? (run 'go version')
Affected:
- local build of tip "go version devel +3e39b4ebe5b1 Mon Oct 15 13:54:31 2012
+0400"
- <a href="http://tip.golang.org" rel="nofollow">http://tip.golang.org</a> (reports "Build version devel +0a3866d6cc6b Mon Sep 24
20:08:05 2012 -0400.")
- <a href="http://golang.org" rel="nofollow">http://golang.org</a> (reports "Build version go1.0.3.")
Not affected:
- local package "go version go1.0.3"
Please provide any additional information below.
Tested with recent Chromium and Firefox.</pre> | <p dir="auto">by <strong><a href="mailto:[email protected]">[email protected]</a></strong>:</p>
<pre class="notranslate">What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Using a working CookieJar (not the default blackHoleJar)
2. Do a request using the client api to a URL that sets a cookie
3. Do a POST request using the client API for which the above cookie is valid
What is the expected output?
The cookie returned from request in #1 should be set for #2
What do you see instead?
No cookies are set and no call to client.Jar.Cookies(url.URL) for the POST request
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
FreeBSD
Which version are you using? (run 'go version')
go version go1
Please provide any additional information below.
The attached file is a patch from go1, which fixes this behaviour by delegating the
maintenance of cookies to the now client method send which under pins all actions.
This ensures that every call correctly sends cookies for the request url as well as
saving them on response.
This patch was tested using a work in progress implementation of CookieJar which we'll
also look to submit once complete and tested.</pre>
<p dir="auto">Attachments:</p>
<ol dir="auto">
<li><a href="https://storage.googleapis.com/go-attachment/3511/0/client.go.patch" rel="nofollow">client.go.patch</a> (2101 bytes)</li>
</ol> | 0 |
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/BerkeleyTrue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/BerkeleyTrue">@BerkeleyTrue</a> Made commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/freeCodeCamp/freeCodeCamp/commit/b4417a4f4d566a62e7d301559f58861d0be9e66d/hovercard" href="https://github.com/freeCodeCamp/freeCodeCamp/commit/b4417a4f4d566a62e7d301559f58861d0be9e66d"><tt>b4417a4</tt></a> which changes the last test in Diff Two Arrays.</p>
<p dir="auto">The instructions say:<br>
Compare two arrays and return a new array with any items not found in both of the original arrays.</p>
<p dir="auto">It doesn't say anything about duplicates. My working assumption (and the least effort solution) is that duplicates should be retained. This is how the test was originally written when <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/abhisekp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/abhisekp">@abhisekp</a> submitted it.</p>
<p dir="auto">The Test:<br>
<code class="notranslate">diff([1, 2, 3, 3], [1]), [2, 3, 3]</code><br>
should return <code class="notranslate">[2, 3, 3]</code></p>
<p dir="auto">Here is my code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function diff(arr1, arr2) {
var output = [];
// Check arr2 for arr1's contents
for(i=0;i<arr1.length;i++) {
if(arr2.indexOf(arr1[i]) === -1) {
output.push(arr1[i]); // Not found, throw it in the output
}
}
// Check arr1 for arr2's contents
for(i=0;i<arr2.length;i++) {
if(arr1.indexOf(arr2[i]) === -1) {
output.push(arr2[i]); // Not found, throw it in the output
}
}
return output;
}
diff([1, 2, 3, 3], [1]);"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">diff</span><span class="pl-kos">(</span><span class="pl-s1">arr1</span><span class="pl-kos">,</span> <span class="pl-s1">arr2</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">output</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-c">// Check arr2 for arr1's contents</span>
<span class="pl-k">for</span><span class="pl-kos">(</span><span class="pl-s1">i</span><span class="pl-c1">=</span><span class="pl-c1">0</span><span class="pl-kos">;</span><span class="pl-s1">i</span><span class="pl-c1"><</span><span class="pl-s1">arr1</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span><span class="pl-s1">i</span><span class="pl-c1">++</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-s1">arr2</span><span class="pl-kos">.</span><span class="pl-en">indexOf</span><span class="pl-kos">(</span><span class="pl-s1">arr1</span><span class="pl-kos">[</span><span class="pl-s1">i</span><span class="pl-kos">]</span><span class="pl-kos">)</span> <span class="pl-c1">===</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-s1">output</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">arr1</span><span class="pl-kos">[</span><span class="pl-s1">i</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Not found, throw it in the output</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-c">// Check arr1 for arr2's contents</span>
<span class="pl-k">for</span><span class="pl-kos">(</span><span class="pl-s1">i</span><span class="pl-c1">=</span><span class="pl-c1">0</span><span class="pl-kos">;</span><span class="pl-s1">i</span><span class="pl-c1"><</span><span class="pl-s1">arr2</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span><span class="pl-s1">i</span><span class="pl-c1">++</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-s1">arr1</span><span class="pl-kos">.</span><span class="pl-en">indexOf</span><span class="pl-kos">(</span><span class="pl-s1">arr2</span><span class="pl-kos">[</span><span class="pl-s1">i</span><span class="pl-kos">]</span><span class="pl-kos">)</span> <span class="pl-c1">===</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-s1">output</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">arr2</span><span class="pl-kos">[</span><span class="pl-s1">i</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Not found, throw it in the output</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-s1">output</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">diff</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | <p dir="auto">I made one challenge (Word Blanks) several minutes after 00:00 according the local time and found the time mismatch:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6762673/17571680/e339af2e-5f59-11e6-8865-d3cee92ccdd1.png"><img src="https://cloud.githubusercontent.com/assets/6762673/17571680/e339af2e-5f59-11e6-8865-d3cee92ccdd1.png" alt="screen shot 2016-08-11 at 00 20 10" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6762673/17571681/e33de1d4-5f59-11e6-8548-124094ab6f2d.png"><img src="https://cloud.githubusercontent.com/assets/6762673/17571681/e33de1d4-5f59-11e6-8548-124094ab6f2d.png" alt="screen shot 2016-08-11 at 00 20 27" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-global-scope-and-functions#?solution=%2F%2F%20Declare%20your%20variable%20here%0Avar%20myGlobal%20%3D%2010%3B%0Avar%20oopsGlobal%3B%0A%0Afunction%20fun1%28%29%20%7B%0A%20%20%2F%2F%20Assign%205%20to%20oopsGlobal%20Here%0A%20%20oopsGlobal%20%3D%205%3B%0A%7D%0A%0A%2F%2F%20Only%20change%20code%20above%20this%20line%0Afunction%20fun2%28%29%20%7B%0A%20%20var%20output%20%3D%20%22%22%3B%0A%20%20if%28typeof%20myGlobal%20!%3D%20%22undefined%22%29%20%7B%0A%20%20%20%20output%20%2B%3D%20%22myGlobal%3A%20%22%20%2B%20myGlobal%3B%0A%20%20%7D%0A%20%20if%28typeof%20oopsGlobal%20!%3D%20%22undefined%22%29%20%7B%0A%20%20%20%20output%20%2B%3D%20%22%20oopsGlobal%3A%20%22%20%2B%20oopsGlobal%3B%0A%20%20%7D%0A%20%20console.log%28output%29%3B%0A%7D%0A" rel="nofollow">Waypoint: Global Scope and Functions</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">The test case has a typo in it:<br>
Do not decalre oopsGlobal using the var keyword</p> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-local-scope-and-functions#?solution=function%20myFunction%28%29%20%7B%0A%20%20var%20myVar%20%3D%205%3B%20%20%0A%20%20console.log%28myVar%29%3B%0A%7D%0AmyFunction%28%29%3B%0A%0A%2F%2F%20run%20and%20check%20the%20console%20%0A%2F%2F%20myVar%20is%20not%20defined%20outside%20of%20myFunction%0A%0A%2F%2F%20now%20remove%20the%20console.log%20line%20to%20pass%20the%20test%0A%0A" rel="nofollow">Waypoint: Local Scope and Functions</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.48 Safari/537.36</code>.</p>
<p dir="auto">The test asks you to remove the second console.log() to pass. When you remove the second console.log() it still fails. You have to remove both console.log() calls to pass(including the one inside myFunction().)</p>
<p dir="auto">Reproducible every time by removing the console.log() outside of myFunction(), as asked by test. I'm assuming this is a bug in the test and not the text as there's no reason to remove the console.log() call within myFunction().</p> | 1 |
<p dir="auto">Please create an IRC channel.</p>
<p dir="auto">IRC is supa useful for debugging quick questions.</p>
<p dir="auto">I got redirected here:<br>
<a href="https://npm.community/" rel="nofollow">https://npm.community/</a></p>
<p dir="auto">But nothing like IRC seems to exist here.</p>
<p dir="auto">Why wouldn't you want people chatting in IRC?</p>
<p dir="auto">Thanks,</p> | <p dir="auto">npm ERR! code E403<br>
npm ERR! 403 403 Forbidden - GET <a href="https://registry.npmjs.intuit.com/neo4j-driver" rel="nofollow">https://registry.npmjs.intuit.com/neo4j-driver</a><br>
npm ERR! 403 In most cases, you or one of your dependencies are requesting<br>
npm ERR! 403 a package version that is forbidden by your security policy.</p>
<p dir="auto">npm ERR! A complete log of this run can be found in:<br>
npm ERR! /Users/agarg5/.npm/_logs/2020-02-13T12_29_42_032Z-debug.log</p> | 0 |
<p dir="auto">When in <code class="notranslate">package.json</code>, the tooltips that show you more information about npm packages on mouse hover are not working if the package name is namespaced.</p>
<p dir="auto">For example: <code class="notranslate">@cycle/core</code> does not show any information, but <code class="notranslate">express</code> shows the description and latest version number.</p>
<p dir="auto">I'm on version 0.10.6.</p> | <ul dir="auto">
<li>VSCode Version: Version 1.5.0-insider (1.5.0-insider)</li>
<li>OS Version: OSX 10.11.6</li>
</ul>
<p dir="auto">Feature Request:</p>
<p dir="auto">Can you guys please add the ability to see the latest version of a package that starts with an @ symbol? Currently, if I hover any package in my package.json I can see what is the latest version, but with stuff like <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/types/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/types">@types</a> and <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/angular/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/angular">@angular</a> and others, I'm not able to see it so I'd have to manually search for what is the latest version of their packages.</p> | 1 |
<p dir="auto">Challenge <a href="https://beta.freecodecamp.com/en/challenges/basic-css/use-css-selectors-to-style-elements" rel="nofollow">use-css-selectors-to-style-elements</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/a090feaa48a09f271fd7de94d2370cf0463e2cfcb6a4990ebf93dff8003e97bd/68747470733a2f2f616c6976656d6172792e6769746875622e696f2f696d672f69737375652e6a7067"><img src="https://camo.githubusercontent.com/a090feaa48a09f271fd7de94d2370cf0463e2cfcb6a4990ebf93dff8003e97bd/68747470733a2f2f616c6976656d6172792e6769746875622e696f2f696d672f69737375652e6a7067" alt="Issue" data-canonical-src="https://alivemary.github.io/img/issue.jpg" style="max-width: 100%;"></a></p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
<style>
h2 {color: blue;}
</style>
<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>
<a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
<div>
<p>Things cats love:</p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
</div>
<form action="/submit-cat-photo">
<label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
<label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
<label><input type="checkbox" name="personality" checked> Loving</label>
<label><input type="checkbox" name="personality"> Lazy</label>
<label><input type="checkbox" name="personality"> Energetic</label><br>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
</main>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">style</span><span class="pl-kos">></span>
<span class="pl-ent">h2</span> {<span class="pl-c1">color</span><span class="pl-kos">:</span> blue;}
<span class="pl-kos"></</span><span class="pl-ent">style</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h2</span><span class="pl-kos">></span>CatPhotoApp<span class="pl-kos"></</span><span class="pl-ent">h2</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">main</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span><span class="pl-kos">></span>Click here to view more <span class="pl-kos"><</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">></span>cat photos<span class="pl-kos"></</span><span class="pl-ent">a</span><span class="pl-kos">></span>.<span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">img</span> <span class="pl-c1">src</span>="<span class="pl-s">https://bit.ly/fcc-relaxing-cat</span>" <span class="pl-c1">alt</span>="<span class="pl-s">A cute orange cat lying on its back.</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">a</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span><span class="pl-kos">></span>Things cats love:<span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">ul</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>cat nip<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>laser pointers<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>lasagna<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">ul</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span><span class="pl-kos">></span>Top 3 things cats hate:<span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">ol</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>flea treatment<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>thunder<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>other cats<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">ol</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">form</span> <span class="pl-c1">action</span>="<span class="pl-s">/submit-cat-photo</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">radio</span>" <span class="pl-c1">name</span>="<span class="pl-s">indoor-outdoor</span>" <span class="pl-c1">checked</span><span class="pl-kos">></span> Indoor<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">radio</span>" <span class="pl-c1">name</span>="<span class="pl-s">indoor-outdoor</span>"<span class="pl-kos">></span> Outdoor<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">br</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">checkbox</span>" <span class="pl-c1">name</span>="<span class="pl-s">personality</span>" <span class="pl-c1">checked</span><span class="pl-kos">></span> Loving<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">checkbox</span>" <span class="pl-c1">name</span>="<span class="pl-s">personality</span>"<span class="pl-kos">></span> Lazy<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">checkbox</span>" <span class="pl-c1">name</span>="<span class="pl-s">personality</span>"<span class="pl-kos">></span> Energetic<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">br</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">text</span>" <span class="pl-c1">placeholder</span>="<span class="pl-s">cat photo URL</span>" <span class="pl-c1">required</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">type</span>="<span class="pl-s">submit</span>"<span class="pl-kos">></span>Submit<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">form</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">main</span><span class="pl-kos">></span></pre></div> | <h4 dir="auto">Issue Description</h4>
<p dir="auto">I can't pass the first challenge (Basic Css: Change the Color of Text). The <code class="notranslate"><h2></code> is clearly red, but the test won't pass.</p>
<p dir="auto">I tried the next challenge (Basic Css: Use CSS Selectors to Style Elements), and out of the five tests, one won't pass (again it seems it can't pick up the <code class="notranslate"><h2></code>'s color).</p>
<h4 dir="auto">Browser Information</h4>
<ul dir="auto">
<li>Browser Name, Version: Firefox 50.1.0</li>
<li>Operating System: Windows 7 Professional Service Pack 1</li>
<li>Mobile, Desktop, or Tablet: Desktop</li>
</ul>
<h4 dir="auto">Screenshot</h4>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/17902987/22172707/28c9c7e4-dfe9-11e6-97cd-004eceb471a4.PNG"><img src="https://cloud.githubusercontent.com/assets/17902987/22172707/28c9c7e4-dfe9-11e6-97cd-004eceb471a4.PNG" alt="capture" style="max-width: 100%;"></a></p> | 1 |
<h3 dir="auto">What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?</h3>
<p dir="auto">none</p>
<h3 dir="auto">Environment info</h3>
<p dir="auto">Operating System:</p>
<p dir="auto">Ubuntu 16.04 64bit</p>
<p dir="auto">Installed version of CUDA and cuDNN:<br>
(please attach the output of <code class="notranslate">ls -l /path/to/cuda/lib/libcud*</code>):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# ls -l /usr/local/cuda/lib64/libcud*
-rw-r--r-- 1 root root 560184 Sep 5 22:07 /usr/local/cuda/lib64/libcudadevrt.a
lrwxrwxrwx 1 root root 16 Sep 5 22:07 /usr/local/cuda/lib64/libcudart.so -> libcudart.so.8.0
lrwxrwxrwx 1 root root 19 Sep 5 22:07 /usr/local/cuda/lib64/libcudart.so.8.0 -> libcudart.so.8.0.27
-rwxr-xr-x 1 root root 394472 Sep 5 22:07 /usr/local/cuda/lib64/libcudart.so.8.0.27
-rw-r--r-- 1 root root 737516 Sep 5 22:07 /usr/local/cuda/lib64/libcudart_static.a
lrwxrwxrwx 1 root root 13 Sep 5 22:08 /usr/local/cuda/lib64/libcudnn.so -> libcudnn.so.5
lrwxrwxrwx 1 root root 17 Sep 5 22:08 /usr/local/cuda/lib64/libcudnn.so.5 -> libcudnn.so.5.1.5
-rwxr-xr-x 1 root root 79337624 Sep 5 22:08 /usr/local/cuda/lib64/libcudnn.so.5.1.5
-rw-r--r-- 1 root root 69756172 Sep 5 22:08 /usr/local/cuda/lib64/libcudnn_static.a"><pre class="notranslate"><code class="notranslate"># ls -l /usr/local/cuda/lib64/libcud*
-rw-r--r-- 1 root root 560184 Sep 5 22:07 /usr/local/cuda/lib64/libcudadevrt.a
lrwxrwxrwx 1 root root 16 Sep 5 22:07 /usr/local/cuda/lib64/libcudart.so -> libcudart.so.8.0
lrwxrwxrwx 1 root root 19 Sep 5 22:07 /usr/local/cuda/lib64/libcudart.so.8.0 -> libcudart.so.8.0.27
-rwxr-xr-x 1 root root 394472 Sep 5 22:07 /usr/local/cuda/lib64/libcudart.so.8.0.27
-rw-r--r-- 1 root root 737516 Sep 5 22:07 /usr/local/cuda/lib64/libcudart_static.a
lrwxrwxrwx 1 root root 13 Sep 5 22:08 /usr/local/cuda/lib64/libcudnn.so -> libcudnn.so.5
lrwxrwxrwx 1 root root 17 Sep 5 22:08 /usr/local/cuda/lib64/libcudnn.so.5 -> libcudnn.so.5.1.5
-rwxr-xr-x 1 root root 79337624 Sep 5 22:08 /usr/local/cuda/lib64/libcudnn.so.5.1.5
-rw-r--r-- 1 root root 69756172 Sep 5 22:08 /usr/local/cuda/lib64/libcudnn_static.a
</code></pre></div>
<p dir="auto">I've downloaded these from Nvidia and installed them per "official" instructions:</p>
<ul dir="auto">
<li>cuda_8.0.27_linux.run</li>
<li>cuda_8.0.27.1_linux.run</li>
<li>cudnn-8.0-linux-x64-v5.1.tgz</li>
</ul>
<p dir="auto">If installed from source, provide</p>
<ol dir="auto">
<li>The commit hash (<code class="notranslate">git rev-parse HEAD</code>)</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# git rev-parse HEAD
2ab7e6326296987ea0ce975afb3434a16d1aa21a"><pre class="notranslate"><code class="notranslate"># git rev-parse HEAD
2ab7e6326296987ea0ce975afb3434a16d1aa21a
</code></pre></div>
<ol dir="auto">
<li>The output of <code class="notranslate">bazel version</code></li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# bazel version
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Jan 01 00:00:00 1970 (0)
Build timestamp: Thu Jan 01 00:00:00 1970 (0)
Build timestamp as int: 0"><pre class="notranslate"><code class="notranslate"># bazel version
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Jan 01 00:00:00 1970 (0)
Build timestamp: Thu Jan 01 00:00:00 1970 (0)
Build timestamp as int: 0
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# dpkg -l | grep bazel | awk '{print $3}'
0.3.1"><pre class="notranslate"><code class="notranslate"># dpkg -l | grep bazel | awk '{print $3}'
0.3.1
</code></pre></div>
<h3 dir="auto">If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="./configure
# Hit ENTER on every question except:
# Do you wish to build TensorFlow with GPU support? (answer: y)
# Please specify a list of comma-separated Cuda compute capabilities you want to build with. (answer: 6.1)
# Please specify the Cuda SDK version you want to use, e.g. 7.0. [Leave empty to use system default]: (answer 8.0)"><pre class="notranslate"><code class="notranslate">./configure
# Hit ENTER on every question except:
# Do you wish to build TensorFlow with GPU support? (answer: y)
# Please specify a list of comma-separated Cuda compute capabilities you want to build with. (answer: 6.1)
# Please specify the Cuda SDK version you want to use, e.g. 7.0. [Leave empty to use system default]: (answer 8.0)
</code></pre></div>
<h3 dir="auto">What other attempted solutions have you tried?</h3>
<p dir="auto">Tried to google around, hoping it's a known issue. Could not find anything related.</p>
<h3 dir="auto">Logs or other output that would be helpful</h3>
<p dir="auto">(If logs are large, please upload as attachment or provide link).</p>
<p dir="auto">Gist with last messages during compilation:</p>
<p dir="auto"><a href="https://gist.github.com/FlorinAndrei/23ada4fb714776e68c2693502c615305">https://gist.github.com/FlorinAndrei/23ada4fb714776e68c2693502c615305</a></p> | <p dir="auto"><a href="https://developer.nvidia.com/cuda-release-candidate-download" rel="nofollow">https://developer.nvidia.com/cuda-release-candidate-download</a></p> | 1 |
<p dir="auto">Hi, everyone</p>
<p dir="auto">According to <a href="http://docs.scipy.org/doc/numpy-dev/reference/c-api.coremath.html#half-precision-functions" rel="nofollow">documentation</a>, <code class="notranslate">np.float16</code> should <strong>not</strong> be used in C code as it is right now in pandas/algos.pyx:38 (assigning <code class="notranslate">np.NINF</code> to a <code class="notranslate">np.float16</code> container in "cython-eventually-converted-to-C" code</p>
<p dir="auto">As a matter of fact, when this value/variable is exposed, it is exposed as <code class="notranslate">0.0</code>, and not <code class="notranslate">-inf</code>, either in C/C++ while using gdb or even with python.</p>
<p dir="auto">Since <code class="notranslate">MINfloat6</code> it is not being used in all pandas code, I recommend eliminating this line and/or commentating the reason. I tried by using <code class="notranslate">np.float16(np.NINF)</code> but the problem is that a correct C <code class="notranslate">-inf</code> value is <strong>still</strong> being C-assigned to a please-don't-use-C-container.</p>
<p dir="auto">Why is it that this is important to me/I got to find this error? I'm dealing with 3rd party code so I cannot get a configuration that allows me to do this assignment without raising SIGFPE.</p>
<p dir="auto">No pull request? The two possible solutions to me is either using cython-kept-as-python code with just this variable (which would impact performance) or simply not using it at all. I think I don't have the authority for either.</p> | <p dir="auto">The code generated by Cython from pandas/algos.pyx contains an undefined behavior (invalid cast of floating-point number to integer):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="easy_install -U Cython
git clone git://github.com/pydata/pandas.git
python setup.py install"><pre class="notranslate"><code class="notranslate">easy_install -U Cython
git clone git://github.com/pydata/pandas.git
python setup.py install
</code></pre></div>
<p dir="auto">The generated code for the line from <code class="notranslate">pandas/algos.pyx</code></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="cdef np.float16_t MINfloat16 = np.NINF"><pre class="notranslate"><span class="pl-s1">cdef</span> <span class="pl-s1">np</span>.<span class="pl-s1">float16_t</span> <span class="pl-v">MINfloat16</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-v">NINF</span></pre></div>
<p dir="auto">in <code class="notranslate">pandas/algos.c</code> contains:</p>
<div class="highlight highlight-source-c notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="typedef npy_float16 __pyx_t_5numpy_float16_t;
//... more code
__pyx_t_5numpy_float16_t __pyx_t_10;
//... more code
__pyx_t_10 = __pyx_PyFloat_AsFloat(__pyx_t_1);"><pre class="notranslate"><span class="pl-k">typedef</span> <span class="pl-smi">npy_float16</span> <span class="pl-smi">__pyx_t_5numpy_float16_t</span>;
<span class="pl-c">//... more code</span>
<span class="pl-smi">__pyx_t_5numpy_float16_t</span> <span class="pl-s1">__pyx_t_10</span>;
<span class="pl-c">//... more code</span>
<span class="pl-s1">__pyx_t_10</span> <span class="pl-c1">=</span> <span class="pl-en">__pyx_PyFloat_AsFloat</span>(<span class="pl-s1">__pyx_t_1</span>);</pre></div>
<p dir="auto">The file <code class="notranslate">numpy-1.9.2-py2.7-linux-x86_64.egg/numpy/core/include/numpy/npy_common.h</code><br>
defines <code class="notranslate">npy_float16</code> as 16-bit <em>integer</em> type (I guess numpy implementation has a custom code that carefully represents these 16 bits as mantiss+exponent). Casting floating-point value <code class="notranslate">-inf</code> to a 16-bit integer type is an undefined behavior according to C standard.</p>
<p dir="auto">I wasn't able to find any place in pandas code that uses <code class="notranslate">MINfloat16</code> (and <code class="notranslate">MAXfloat16</code>). Is it safe to just delete them?</p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=bfovez" rel="nofollow">Bertrand Fovez</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6494?redirect=false" rel="nofollow">SPR-6494</a></strong> and commented</p>
<p dir="auto">The tag <import resource="..."/> acts differently in version 3.0.0 and 2.5.6.<br>
For example, consider these two xml configuration files, located in a package "context".</p>
<p dir="auto">File: dependent-context.xml</p>
<hr>
<p dir="auto"><?xml version="1.0" encoding="UTF-8"?><br>
<beans xmlns="<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:schemaLocation="<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a> <a href="http://www.springframework.org/schema/beans/spring-beans-2.5.xsd%22%3E" rel="nofollow">http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"></a><br>
<bean id="myBean" class="java.lang.String" /><br>
</beans></p>
<p dir="auto">File: super-context.xml</p>
<hr>
<p dir="auto"><?xml version="1.0" encoding="UTF-8"?><br>
<beans xmlns="<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:schemaLocation="<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a> <a href="http://www.springframework.org/schema/beans/spring-beans-2.5.xsd%22%3E" rel="nofollow">http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"></a><br>
<import resource="dependent-context.xml" /><br>
</beans></p>
<p dir="auto">We load the latter, using the following:<br>
new ClassPathXmlApplicationContext("context/super-context.xml");</p>
<p dir="auto">Here is the log using Spring 2.5.6.SEC01:</p>
<hr>
<p dir="auto">11:47:58,903 INFO [ClassPathXmlApplicationContext] Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@19efb05: display name [org.springframework.context.support.ClassPathXmlApplicationContext@19efb05]; startup date [Wed Dec 02 11:47:58 CET 2009]; root of context hierarchy<br>
11:47:58,949 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [context/super-context.xml]<br>
11:47:59,027 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [context/dependent-context.xml]<br>
11:47:59,059 INFO [ClassPathXmlApplicationContext] Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@19efb05]: org.springframework.beans.factory.support.DefaultListableBeanFactory@47393f<br>
11:47:59,059 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@47393f: defining beans [myBean]; root of factory hierarchy</p>
<p dir="auto">Note that the dependent-context.xml file is loaded as "class path resource [context/dependent-context.xml]"</p>
<p dir="auto">Here is the log using Spring 3.0.0.RC3:</p>
<hr>
<p dir="auto">12:06:57,312 INFO [ClassPathXmlApplicationContext] Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@8814e9: startup date [Wed Dec 02 12:06:57 CET 2009]; root of context hierarchy<br>
12:06:57,608 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [context/super-context.xml]<br>
12:06:57,686 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Workspace/__Test/target/classes/context/dependent-context.xml]<br>
12:06:57,795 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1a9334: defining beans [myBean]; root of factory hierarchy</p>
<p dir="auto">Note that the dependent-context.xml file is new loaded as "URL [file:/C:/Workspace/__Test/target/classes/context/dependent-context.xml]"</p>
<p dir="auto">If the two file are located in different folders on the file system, as it is often the case, the loading fails.</p>
<p dir="auto">This difference generates several major regressions in our existing projects.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0 RC3</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="398100310" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11159" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11159/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11159">#11159</a> Regression about the suppport of the tag (<em><strong>"duplicates"</strong></em>)</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/[email protected]" rel="nofollow">Patrick Crocker</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7361?redirect=false" rel="nofollow">SPR-7361</a></strong> and commented</p>
<p dir="auto">We are currently working on an enterprise project for one of our biggest clients. We are using Spring 2.0 and Spring Web Flow 1.0 Rc4. While deploying the application to Oracle 9ias 10.1.2.0.2 in our development environment, we encountered the following error. We experienced the same error in Spring 2.0 RC2 and it was fixed in Spring 2.0 RC3 by Rick Evans. The ticket No is SPR - 2290. Kindly fix the bug. I will attach the XMLParser Oracle uses so you guys can test it. This is a critical error and we are unable to move forward.</p>
<p dir="auto">EXCEPTION FROM THE LOG FILE:</p>
<hr>
<p dir="auto">06/10/11 17:58:18 Started<br>
06/10/11 17:58:21 drlm: jsp: init<br>
06/10/11 17:58:21 drlm: context: init<br>
06/10/11 17:58:21 drlm: Loading Spring root WebApplicationContext<br>
06/10/11 17:58:52 drlm: Error initializing servlet<br>
org.springframework.beans.factory.BeanDefinitionStoreException: Line 8 in XML document from ServletContext resource [/WEB-INF/drlm-servlet.xml] is invalid; nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'<br>
Caused by: oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'<br>
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:444)<br>
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:303)<br>
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:290)<br>
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196)<br>
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:151)<br>
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:77)<br>
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:405)<br>
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:357)<br>
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)<br>
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)<br>
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)<br>
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:123)<br>
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:91)<br>
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)<br>
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:294)<br>
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)<br>
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)<br>
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)<br>
at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:83)<br>
at javax.servlet.GenericServlet.init(GenericServlet.java:258)<br>
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2354)<br>
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4795)<br>
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)<br>
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)<br>
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:549)<br>
at com.evermind.server.Application.getHttpApplication(Application.java:890)<br>
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)<br>
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)<br>
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)<br>
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)<br>
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)<br>
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)<br>
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)<br>
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)<br>
at java.lang.Thread.run(Thread.java:534)<br>
06/10/11 17:58:52 drlm: Error preloading servlet<br>
javax.servlet.ServletException: Error initializing servlet<br>
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4846)<br>
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)<br>
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)<br>
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:549)<br>
at com.evermind.server.Application.getHttpApplication(Application.java:890)<br>
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)<br>
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)<br>
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)<br>
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)<br>
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)<br>
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)<br>
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)<br>
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)<br>
at java.lang.Thread.run(Thread.java:534)<br>
06/10/11 17:58:52 drlm: drlm: init<br>
06/10/11 17:58:52 drlm: Loading WebApplicationContext for Spring FrameworkServlet 'drlm'<br>
06/10/11 17:58:52 drlm: Error initializing servlet<br>
org.springframework.beans.factory.BeanDefinitionStoreException: Line 8 in XML document from ServletContext resource [/WEB-INF/drlm-servlet.xml] is invalid; nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'<br>
Caused by: oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'<br>
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:444)<br>
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:303)<br>
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:290)<br>
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196)<br>
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:151)<br>
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:77)<br>
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:405)<br>
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:357)<br>
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)<br>
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)<br>
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)<br>
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:123)<br>
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:91)<br>
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)<br>
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:294)<br>
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)<br>
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)<br>
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)<br>
at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:83)<br>
at javax.servlet.GenericServlet.init(GenericServlet.java:258)<br>
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2354)<br>
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4795)<br>
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)<br>
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)<br>
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:549)<br>
at com.evermind.server.Application.getHttpApplication(Application.java:890)<br>
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)<br>
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)<br>
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)<br>
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)<br>
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)<br>
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)<br>
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)<br>
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)<br>
at java.lang.Thread.run(Thread.java:534)<br>
06/10/11 17:58:52 drlm: Error preloading servlet<br>
javax.servlet.ServletException: Error initializing servlet<br>
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4846)<br>
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)<br>
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)<br>
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:549)<br>
at com.evermind.server.Application.getHttpApplication(Application.java:890)<br>
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)<br>
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)<br>
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)<br>
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)<br>
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)<br>
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)<br>
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)<br>
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)<br>
at java.lang.Thread.run(Thread.java:534)<br>
06/10/11 17:58:52 drlm: dwr-invoker: init<br>
06/10/11 17:58:53 drlm: Started</p>
<p dir="auto">drlm-servlet.xml file:</p>
<hr>
<p dir="auto"><?xml version="1.0" encoding="UTF-8"?></p>
<p dir="auto"><beans xmlns="<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a>"<br>
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>"<br>
xmlns:flow="<a href="http://www.springframework.org/schema/webflow-config" rel="nofollow">http://www.springframework.org/schema/webflow-config</a>"<br>
xsi:schemaLocation="<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a><br>
<a href="http://www.springframework.org/schema/beans/spring-beans-2.0.xsd" rel="nofollow">http://www.springframework.org/schema/beans/spring-beans-2.0.xsd</a><br>
<a href="http://www.springframework.org/schema/webflow-config" rel="nofollow">http://www.springframework.org/schema/webflow-config</a><br>
<a href="http://www.springframework.org/schema/webflow-config/spring-webflow-config-1.0.xsd%22%3E" rel="nofollow">http://www.springframework.org/schema/webflow-config/spring-webflow-config-1.0.xsd"></a></p>
<p dir="auto"><!--</p>
<ul dir="auto">
<li>
<p dir="auto">DispatcherServlet application context for Device Registration and Listing Application web tier.<br>
--></p>
uk.ltd.getahead.dwr.DWRServlet
dwr-invoker
true
flowController
drlmMainMenuController
<p dir="auto"><flow:executor id="flowExecutor" registry-ref="flowRegistry" repository-type="continuation"/></p>
<p dir="auto"><flow:registry id="flowRegistry"><br>
<flow:location path="file:html/WEB-INF/flows/**/*-flow.xml"/><br>
</flow:registry></p>
</li>
</ul>
<p dir="auto"></beans></p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0 final</p> | 0 |
<p dir="auto"><code class="notranslate">vscode.window.showInputBox()</code> lets me accept user input through the command palette, but it is a two step process. I have to first execute a command and then i have to show the input box. Ideally, I should be able to prompt and accept input in one command, much in the way the git branch prompt does:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1487073/13425898/37f9eae0-dfaa-11e5-920f-07caf0807a4d.png"><img src="https://cloud.githubusercontent.com/assets/1487073/13425898/37f9eae0-dfaa-11e5-920f-07caf0807a4d.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">here i'm prompted with "git checkout", if i have a set of branches they are shown in the list, and I can free form type in any text in order to create a new branch.</p>
<p dir="auto">As an extension author I would love to be able to have a similar model. For example, let's say I want to have a list of tasks and each task can take a parameter.</p>
<p dir="auto">myextension create thing1<br>
myextension create thing2</p>
<p dir="auto">in this case i don't want to select "myextension create thing1" and then have an input box. What i want is to be able to say "myextension thing1 thing1's description". This is also similar to the extension install experience where i can say <code class="notranslate">ext install myextension</code> where <code class="notranslate">myextension</code> is free form text.</p> | <p dir="auto">If I accept input using</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="window.showInputBox();"><pre class="notranslate"><code class="notranslate">window.showInputBox();
</code></pre></div>
<p dir="auto">Is there any way I can listen to key change events? I am writing an extension and I want to accept an input from the user and I want to autocomplete when the user hits <code class="notranslate">tab</code> like most terminals. If this is not possible inside the inputbox is there any other control I can use to achieve this?</p> | 1 |
<ul dir="auto">
<li>Electron version: 1.8.2</li>
<li>Operating system: macOS 10.12</li>
<li>Python version: 2.7.14</li>
<li>NodeJS version: 8.2.0</li>
<li>XCode version: 8.3.3</li>
<li>pyobjc: installed</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">bootstrap.py success</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">urllib2.URLError</p>
<h3 dir="auto">How to reproduce</h3>
<ol dir="auto">
<li>./script/bootstrap.py -v</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python /Users/adminyunshipeicom/electron_182/electron/script/update.py
Traceback (most recent call last):
File "script/update-external-binaries.py", line 66, in <module>
sys.exit(main())
File "script/update-external-binaries.py", line 28, in main
download_and_unzip('Mantle')
File "script/update-external-binaries.py", line 50, in download_and_unzip
zip_path = download_framework(framework)
File "script/update-external-binaries.py", line 61, in download_framework
download('Download ' + framework, url, path)
File "/Users/adminyunshipeicom/electron_182/electron/script/lib/util.py", line 85, in download
web_file = urllib2.urlopen(url)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 467, in error
result = self._call_chain(*args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 654, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661)>
Traceback (most recent call last):
File "/Users/adminyunshipeicom/electron_182/electron/script/update.py", line 100, in <module>
sys.exit(main())
File "/Users/adminyunshipeicom/electron_182/electron/script/update.py", line 23, in main
update_external_binaries()
File "/Users/adminyunshipeicom/electron_182/electron/script/update.py", line 38, in update_external_binaries
subprocess.check_call([sys.executable, uf])
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python', 'script/update-external-binaries.py']' returned non-zero exit status 1
None
Traceback (most recent call last):
File "./script/bootstrap.py", line 282, in <module>
sys.exit(main())
File "./script/bootstrap.py", line 68, in main
run_update(defines, args.msvs)
File "./script/bootstrap.py", line 259, in run_update
execute_stdout(args)
File "/Users/adminyunshipeicom/electron_182/electron/script/lib/util.py", line 184, in execute_stdout
raise e
subprocess.CalledProcessError: Command '['/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python', '/Users/adminyunshipeicom/electron_182/electron/script/update.py']' returned non-zero exit status 1"><pre class="notranslate"><code class="notranslate">/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python /Users/adminyunshipeicom/electron_182/electron/script/update.py
Traceback (most recent call last):
File "script/update-external-binaries.py", line 66, in <module>
sys.exit(main())
File "script/update-external-binaries.py", line 28, in main
download_and_unzip('Mantle')
File "script/update-external-binaries.py", line 50, in download_and_unzip
zip_path = download_framework(framework)
File "script/update-external-binaries.py", line 61, in download_framework
download('Download ' + framework, url, path)
File "/Users/adminyunshipeicom/electron_182/electron/script/lib/util.py", line 85, in download
web_file = urllib2.urlopen(url)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 467, in error
result = self._call_chain(*args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 654, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661)>
Traceback (most recent call last):
File "/Users/adminyunshipeicom/electron_182/electron/script/update.py", line 100, in <module>
sys.exit(main())
File "/Users/adminyunshipeicom/electron_182/electron/script/update.py", line 23, in main
update_external_binaries()
File "/Users/adminyunshipeicom/electron_182/electron/script/update.py", line 38, in update_external_binaries
subprocess.check_call([sys.executable, uf])
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python', 'script/update-external-binaries.py']' returned non-zero exit status 1
None
Traceback (most recent call last):
File "./script/bootstrap.py", line 282, in <module>
sys.exit(main())
File "./script/bootstrap.py", line 68, in main
run_update(defines, args.msvs)
File "./script/bootstrap.py", line 259, in run_update
execute_stdout(args)
File "/Users/adminyunshipeicom/electron_182/electron/script/lib/util.py", line 184, in execute_stdout
raise e
subprocess.CalledProcessError: Command '['/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python', '/Users/adminyunshipeicom/electron_182/electron/script/update.py']' returned non-zero exit status 1
</code></pre></div> | <h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version: v3.1.11</strong></li>
<li><strong>Operating System: Windows 10</strong></li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Moving window, should not trigger a resize event</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Move window triggers resize event</p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">I have found threads that lead to supposed duplicates but none of them address this issue directly.</p>
<p dir="auto">Is there any way to allow the window to be moved without triggering the resize event?</p> | 0 |
<p dir="auto">On Python 3.4</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="======================================================================
FAIL: Doctest: model_selection.rst
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/miniconda/envs/testenv/lib/python3.4/doctest.py", line 2193, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
nose.proxy.AssertionError: Failed doctest test for model_selection.rst
File "/home/travis/build/scikit-learn/scikit-learn/doc/tutorial/statistical_inference/model_selection.rst", line 0
----------------------------------------------------------------------
File "/home/travis/build/scikit-learn/scikit-learn/doc/tutorial/statistical_inference/model_selection.rst", line 148, in model_selection.rst
Failed example:
clf.best_score_ # doctest: +ELLIPSIS
Expected:
0.924...
Got:
0.93561368209255535
----------------------------------------------------------------------
File "/home/travis/build/scikit-learn/scikit-learn/doc/tutorial/statistical_inference/model_selection.rst", line 150, in model_selection.rst
Failed example:
clf.best_estimator_.gamma == 1e-6
Expected:
True
Got:
False
>> raise self.failureException(self.format_failure(<_io.StringIO object at 0x2b02dcc8fee8>.getvalue()))"><pre class="notranslate"><code class="notranslate">======================================================================
FAIL: Doctest: model_selection.rst
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/miniconda/envs/testenv/lib/python3.4/doctest.py", line 2193, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
nose.proxy.AssertionError: Failed doctest test for model_selection.rst
File "/home/travis/build/scikit-learn/scikit-learn/doc/tutorial/statistical_inference/model_selection.rst", line 0
----------------------------------------------------------------------
File "/home/travis/build/scikit-learn/scikit-learn/doc/tutorial/statistical_inference/model_selection.rst", line 148, in model_selection.rst
Failed example:
clf.best_score_ # doctest: +ELLIPSIS
Expected:
0.924...
Got:
0.93561368209255535
----------------------------------------------------------------------
File "/home/travis/build/scikit-learn/scikit-learn/doc/tutorial/statistical_inference/model_selection.rst", line 150, in model_selection.rst
Failed example:
clf.best_estimator_.gamma == 1e-6
Expected:
True
Got:
False
>> raise self.failureException(self.format_failure(<_io.StringIO object at 0x2b02dcc8fee8>.getvalue()))
</code></pre></div>
<p dir="auto">See for example <a href="https://travis-ci.org/scikit-learn/scikit-learn/jobs/47771718" rel="nofollow">https://travis-ci.org/scikit-learn/scikit-learn/jobs/47771718</a></p> | <p dir="auto">This was triggered on Travis by a completely unrelated commit.<br>
It seems that the tutorial gets a better-than-expected result on digits :)</p>
<p dir="auto">The Travis configuration that failed is <code class="notranslate">DISTRIB="conda" PYTHON_VERSION="2.6" INSTALL_MKL="false" NUMPY_VERSION="1.6.2" SCIPY_VERSION="0.11.0"</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="I: Seeding RNGs with 565480497
[...]
======================================================================
FAIL: Doctest: model_selection.rst
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/anaconda/envs/testenv/lib/python2.6/doctest.py", line 2163, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for model_selection.rst
File "/home/travis/build/scikit-learn/scikit-learn/doc/tutorial/statistical_inference/model_selection.rst", line 0
----------------------------------------------------------------------
File "/home/travis/build/scikit-learn/scikit-learn/doc/tutorial/statistical_inference/model_selection.rst", line 148, in model_selection.rst
Failed example:
clf.best_score_ # doctest: +ELLIPSIS
Expected:
0.924...
Got:
0.93561368209255535
----------------------------------------------------------------------
File "/home/travis/build/scikit-learn/scikit-learn/doc/tutorial/statistical_inference/model_selection.rst", line 150, in model_selection.rst
Failed example:
clf.best_estimator_.gamma == 1e-6
Expected:
True
Got:
False"><pre class="notranslate"><code class="notranslate">I: Seeding RNGs with 565480497
[...]
======================================================================
FAIL: Doctest: model_selection.rst
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/anaconda/envs/testenv/lib/python2.6/doctest.py", line 2163, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for model_selection.rst
File "/home/travis/build/scikit-learn/scikit-learn/doc/tutorial/statistical_inference/model_selection.rst", line 0
----------------------------------------------------------------------
File "/home/travis/build/scikit-learn/scikit-learn/doc/tutorial/statistical_inference/model_selection.rst", line 148, in model_selection.rst
Failed example:
clf.best_score_ # doctest: +ELLIPSIS
Expected:
0.924...
Got:
0.93561368209255535
----------------------------------------------------------------------
File "/home/travis/build/scikit-learn/scikit-learn/doc/tutorial/statistical_inference/model_selection.rst", line 150, in model_selection.rst
Failed example:
clf.best_estimator_.gamma == 1e-6
Expected:
True
Got:
False
</code></pre></div> | 1 |
<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):</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Yes"><pre class="notranslate"><code class="notranslate">Yes
</code></pre></div>
<ul dir="auto">
<li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04):</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Container derived from nvidia/cuda:10.0-cudnn7-runtime-ubuntu18.04 running on Ubuntu 18.04 via Kubernetes 1.13"><pre class="notranslate"><code class="notranslate">Container derived from nvidia/cuda:10.0-cudnn7-runtime-ubuntu18.04 running on Ubuntu 18.04 via Kubernetes 1.13
</code></pre></div>
<ul dir="auto">
<li>TensorFlow installed from (source or binary):</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pip3 install tensorflow-gpu==2.0.0-beta1"><pre class="notranslate"><code class="notranslate">pip3 install tensorflow-gpu==2.0.0-beta1
</code></pre></div>
<ul dir="auto">
<li>TensorFlow version (use command below):</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="v1.12.1-6250-g37eafe0e74 2.0.0-dev20190715"><pre class="notranslate"><code class="notranslate">v1.12.1-6250-g37eafe0e74 2.0.0-dev20190715
</code></pre></div>
<ul dir="auto">
<li>Python version:</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python 3.6.8"><pre class="notranslate"><code class="notranslate">Python 3.6.8
</code></pre></div>
<ul dir="auto">
<li>CUDA/cuDNN version:</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="NVIDIA-SMI 410.78 Driver Version: 410.78 CUDA Version: 10.0"><pre class="notranslate"><code class="notranslate">NVIDIA-SMI 410.78 Driver Version: 410.78 CUDA Version: 10.0
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" libcudnn.so.7 -> libcudnn.so.7.6.0
libcudnn is installed"><pre class="notranslate"><code class="notranslate"> libcudnn.so.7 -> libcudnn.so.7.6.0
libcudnn is installed
</code></pre></div>
<ul dir="auto">
<li>GPU model and memory:</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="name, pci.bus_id, vbios_version
Tesla V100-SXM2-32GB, 00000000:1B:00.0, 88.00.43.00.03"><pre class="notranslate"><code class="notranslate">name, pci.bus_id, vbios_version
Tesla V100-SXM2-32GB, 00000000:1B:00.0, 88.00.43.00.03
</code></pre></div>
<p dir="auto"><strong>Describe the current behavior</strong><br>
Doing a training with tf.keras results in out of memory after some time when including the <code class="notranslate">class_weight</code> parameter. Also there is a long delay between the start of each epoch. If I omit the <code class="notranslate">class_weight</code> parameter, training proceeds normally with constant memory.</p>
<p dir="auto"><strong>Describe the expected behavior</strong><br>
Training proceed normally when the <code class="notranslate">class_weight</code> parameter is included without running out of memory.</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 tensorflow as tf
################ Data
def _parse_fn2(fn, label):
img = tf.random.uniform([224, 224, 3])
return img, label
train_data2 = tf.data.Dataset.from_tensor_slices(
(tf.random.uniform([100]), tf.random.uniform([100], maxval=9, dtype=tf.dtypes.int32))
)
val_data2 = tf.data.Dataset.from_tensor_slices(
(tf.random.uniform([100]), tf.random.uniform([100], maxval=9, dtype=tf.dtypes.int32))
)
train_data2 = (train_data2.map(_parse_fn2)).batch(32)
val_data2 = (val_data2.map(_parse_fn2)).batch(32)
############### Model
IMG_SHAPE = (224, 224, 3)
base_model = tf.keras.applications.ResNet50(input_shape=IMG_SHAPE,include_top=False, weights=None)
base_model.trainable = True
maxpool_layer = tf.keras.layers.GlobalMaxPooling2D()
prediction_layer = tf.keras.layers.Dense(9, activation='softmax')
model = tf.keras.Sequential([
base_model,
maxpool_layer,
tf.keras.layers.Dropout(0.4),
prediction_layer
])
model.compile(optimizer=tf.keras.optimizers.Adam(lr=0.01), loss='categorical_crossentropy', metrics=['accuracy'])
model.summary()
history = model.fit(train_data2.repeat(),
epochs=100,
steps_per_epoch = 50,
validation_data=val_data2.repeat(),
validation_steps=10,
class_weight={0:1,1:1,2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1},
callbacks = [])"><pre class="notranslate"><code class="notranslate">import tensorflow as tf
################ Data
def _parse_fn2(fn, label):
img = tf.random.uniform([224, 224, 3])
return img, label
train_data2 = tf.data.Dataset.from_tensor_slices(
(tf.random.uniform([100]), tf.random.uniform([100], maxval=9, dtype=tf.dtypes.int32))
)
val_data2 = tf.data.Dataset.from_tensor_slices(
(tf.random.uniform([100]), tf.random.uniform([100], maxval=9, dtype=tf.dtypes.int32))
)
train_data2 = (train_data2.map(_parse_fn2)).batch(32)
val_data2 = (val_data2.map(_parse_fn2)).batch(32)
############### Model
IMG_SHAPE = (224, 224, 3)
base_model = tf.keras.applications.ResNet50(input_shape=IMG_SHAPE,include_top=False, weights=None)
base_model.trainable = True
maxpool_layer = tf.keras.layers.GlobalMaxPooling2D()
prediction_layer = tf.keras.layers.Dense(9, activation='softmax')
model = tf.keras.Sequential([
base_model,
maxpool_layer,
tf.keras.layers.Dropout(0.4),
prediction_layer
])
model.compile(optimizer=tf.keras.optimizers.Adam(lr=0.01), loss='categorical_crossentropy', metrics=['accuracy'])
model.summary()
history = model.fit(train_data2.repeat(),
epochs=100,
steps_per_epoch = 50,
validation_data=val_data2.repeat(),
validation_steps=10,
class_weight={0:1,1:1,2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1},
callbacks = [])
</code></pre></div>
<p dir="auto"><strong>Other info / logs</strong><br>
Memory Usage at Each Epoch:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" total used free shared buff/cache available
E1: 502G 11G 461G 140M 30G 487G
E2: 502G 16G 456G 140M 30G 483G
E3: 502G 22G 449G 140M 30G 476G
E4: 502G 30G 441G 141M 30G 468G
E5: 502G 40G 431G 141M 30G 458G
E6: 502G 52G 419G 141M 30G 446G"><pre class="notranslate"><code class="notranslate"> total used free shared buff/cache available
E1: 502G 11G 461G 140M 30G 487G
E2: 502G 16G 456G 140M 30G 483G
E3: 502G 22G 449G 140M 30G 476G
E4: 502G 30G 441G 141M 30G 468G
E5: 502G 40G 431G 141M 30G 458G
E6: 502G 52G 419G 141M 30G 446G
</code></pre></div>
<p dir="auto">vmstat output:<br>
<a href="https://github.com/tensorflow/tensorflow/files/3407988/vmstat_output.txt">vmstat_output.txt</a></p> | <p dir="auto">When creating a Reader op inside core/user_ops that inherits from ReaderBase, Bazel responds with</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tensorflow/core/BUILD:325:1: undeclared inclusion(s) in rule '//tensorflow/core:user_ops_op_lib':
this rule is missing dependency declarations for the following files included by 'tensorflow/core/user_ops/user_reader_op.cc':
'bazel-out/local_darwin-opt/genfiles/tensorflow/core/kernels/reader_base.pb.h'."><pre class="notranslate"><code class="notranslate">tensorflow/core/BUILD:325:1: undeclared inclusion(s) in rule '//tensorflow/core:user_ops_op_lib':
this rule is missing dependency declarations for the following files included by 'tensorflow/core/user_ops/user_reader_op.cc':
'bazel-out/local_darwin-opt/genfiles/tensorflow/core/kernels/reader_base.pb.h'.
</code></pre></div>
<p dir="auto">Is this because the user_ops_op_lib depends only on framework? user_reader_op.cc includes reader_base.h which includes reader_base.pb.h. What dependency should I add to make this work? I'm still figuring out Bazel atm.</p>
<p dir="auto">This is with latest source code.</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/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.2</li>
<li>Operating System version: mac</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>xxx</li>
<li>xxx</li>
<li>xxx</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps?</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | <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.8</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>use the "dubbo-samples-zookeeper" project</li>
<li>add "dubbo.properties" in the spring directory<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11936135/97993800-82ab0e80-1e1f-11eb-81cf-5e5bf609fbfe.png"><img src="https://user-images.githubusercontent.com/11936135/97993800-82ab0e80-1e1f-11eb-81cf-5e5bf609fbfe.png" alt="image" style="max-width: 100%;"></a></li>
<li>add dubbo.service.shutdown.wait in the dubbo.properties<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11936135/97993831-8f2f6700-1e1f-11eb-96ed-b3e34fdae938.png"><img src="https://user-images.githubusercontent.com/11936135/97993831-8f2f6700-1e1f-11eb-96ed-b3e34fdae938.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11936135/97993872-9ce4ec80-1e1f-11eb-8d43-1d741a100253.png"><img src="https://user-images.githubusercontent.com/11936135/97993872-9ce4ec80-1e1f-11eb-8d43-1d741a100253.png" alt="image" style="max-width: 100%;"></a><br>
4、kill -15 the project's process<br>
5、the log print "Waiting 10000ms for registry to notify all consumers before unexport"。<br>
always use the default value</li>
</ol> | 0 |
<h1 dir="auto">Bug report</h1>
<p dir="auto">While trying for the first time <code class="notranslate">nextjs</code> got this error during development. Is this normal?</p>
<h2 dir="auto">Describe the bug</h2>
<p dir="auto">After signaling <code class="notranslate">SIGINT</code> with <code class="notranslate">control+c</code> in the console during <code class="notranslate">npm run dev</code> the console throws some errors.</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">Steps to reproduce the behavior:</p>
<ol dir="auto">
<li>Initialize npm<br>
<code class="notranslate">npm init -y</code></li>
<li>Install the core NextJS dependencies:<br>
<code class="notranslate">npm install --save next react react-dom</code></li>
<li>Add scripts to the <code class="notranslate">package.json</code> file:</li>
</ol>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
}"><pre class="notranslate"><span class="pl-ent">"scripts"</span>: {
<span class="pl-ent">"dev"</span>: <span class="pl-s"><span class="pl-pds">"</span>next<span class="pl-pds">"</span></span>,
<span class="pl-ent">"build"</span>: <span class="pl-s"><span class="pl-pds">"</span>next build<span class="pl-pds">"</span></span>,
<span class="pl-ent">"start"</span>: <span class="pl-s"><span class="pl-pds">"</span>next start<span class="pl-pds">"</span></span>
}</pre></div>
<ol start="4" dir="auto">
<li>Create <code class="notranslate">pages/index.js</code> file:</li>
</ol>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import React from "react";
export default () => {
return (
<div>
<p>Hello world</p>
</div>
);
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-v">React</span> <span class="pl-k">from</span> <span class="pl-s">"react"</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">=></span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">p</span><span class="pl-c1">></span>Hello world<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">p</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<ol start="5" dir="auto">
<li>Start <code class="notranslate">npm run dev</code>:</li>
</ol>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" DONE Compiled successfully in 1801ms
> Ready on http://localhost:3000"><pre class="notranslate"> DONE Compiled successfully <span class="pl-k">in</span> 1801ms
<span class="pl-k">></span> Ready on http://localhost:3000</pre></div>
<ol start="6" dir="auto">
<li>Press <code class="notranslate">control+c</code> in the console (this is the buggy behavior):</li>
</ol>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="^Cgot signal SIGINT, exiting
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: `next`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Felipe/.npm/_logs/2018-08-07T17_37_32_226Z-debug.log"><pre class="notranslate">^Cgot signal SIGINT, exiting
npm ERR<span class="pl-k">!</span> code ELIFECYCLE
npm ERR<span class="pl-k">!</span> errno 1
npm ERR<span class="pl-k">!</span> [email protected] dev: <span class="pl-s"><span class="pl-pds">`</span>next<span class="pl-pds">`</span></span>
npm ERR<span class="pl-k">!</span> Exit status 1
npm ERR<span class="pl-k">!</span>
npm ERR<span class="pl-k">!</span> Failed at the [email protected] dev script.
npm ERR<span class="pl-k">!</span> This is probably not a problem with npm. There is likely additional logging output above.
npm ERR<span class="pl-k">!</span> A <span class="pl-c1">complete</span> log of this run can be found in:
npm ERR<span class="pl-k">!</span> /Users/Felipe/.npm/_logs/2018-08-07T17_37_32_226Z-debug.log</pre></div>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">I think there shouldn't be any errors while gracefully exiting the app during development.</p>
<h2 dir="auto">System information</h2>
<ul dir="auto">
<li>OS: macOS</li>
</ul>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"name": "test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "next",
"build": "next build",
"start": "next start"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"next": "^6.1.1",
"react": "^16.4.2",
"react-dom": "^16.4.2"
}
}"><pre class="notranslate">{
<span class="pl-ent">"name"</span>: <span class="pl-s"><span class="pl-pds">"</span>test<span class="pl-pds">"</span></span>,
<span class="pl-ent">"version"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.0.0<span class="pl-pds">"</span></span>,
<span class="pl-ent">"description"</span>: <span class="pl-s"><span class="pl-pds">"</span><span class="pl-pds">"</span></span>,
<span class="pl-ent">"main"</span>: <span class="pl-s"><span class="pl-pds">"</span>index.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"scripts"</span>: {
<span class="pl-ent">"test"</span>: <span class="pl-s"><span class="pl-pds">"</span>echo <span class="pl-cce">\"</span>Error: no test specified<span class="pl-cce">\"</span> && exit 1<span class="pl-pds">"</span></span>,
<span class="pl-ent">"dev"</span>: <span class="pl-s"><span class="pl-pds">"</span>next<span class="pl-pds">"</span></span>,
<span class="pl-ent">"build"</span>: <span class="pl-s"><span class="pl-pds">"</span>next build<span class="pl-pds">"</span></span>,
<span class="pl-ent">"start"</span>: <span class="pl-s"><span class="pl-pds">"</span>next start<span class="pl-pds">"</span></span>
},
<span class="pl-ent">"keywords"</span>: [],
<span class="pl-ent">"author"</span>: <span class="pl-s"><span class="pl-pds">"</span><span class="pl-pds">"</span></span>,
<span class="pl-ent">"license"</span>: <span class="pl-s"><span class="pl-pds">"</span>ISC<span class="pl-pds">"</span></span>,
<span class="pl-ent">"dependencies"</span>: {
<span class="pl-ent">"next"</span>: <span class="pl-s"><span class="pl-pds">"</span>^6.1.1<span class="pl-pds">"</span></span>,
<span class="pl-ent">"react"</span>: <span class="pl-s"><span class="pl-pds">"</span>^16.4.2<span class="pl-pds">"</span></span>,
<span class="pl-ent">"react-dom"</span>: <span class="pl-s"><span class="pl-pds">"</span>^16.4.2<span class="pl-pds">"</span></span>
}
}</pre></div>
<h2 dir="auto">Additional context</h2>
<p dir="auto"><code class="notranslate">debug.log</code> output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="8 verbose lifecycle [email protected]~dev: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/Fe lipe/Local_Projects/Aprender/nextjs/test/node_modules/.bin:/Users/Felipe/anaconda3/bin:/usr/local/sbin:/usr/local/opt/fzf/b in:/Users/Felipe/google-cloud-sdk/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
9 verbose lifecycle [email protected]~dev: CWD: /Users/Felipe/Local_Projects/Aprender/nextjs/test
10 silly lifecycle [email protected]~dev: Args: [ '-c', 'next' ]
11 silly lifecycle [email protected]~dev: Returned: code: 1 signal: null
12 info lifecycle [email protected]~dev: Failed to exec dev script
13 verbose stack Error: [email protected] dev: `next`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:304:1 6)
13 verbose stack at EventEmitter.emit (events.js:182:13)
13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:5 5:14)
13 verbose stack at ChildProcess.emit (events.js:182:13)
13 verbose stack at maybeClose (internal/child_process.js:961:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
14 verbose pkgid [email protected]
15 verbose cwd /Users/Felipe/Local_Projects/Aprender/nextjs/test
16 verbose Darwin 17.7.0
17 verbose argv "/usr/local/Cellar/node/10.7.0/bin/node" "/usr/local/bin/npm" "run" "dev"
18 verbose node v10.7.0
19 verbose npm v6.3.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] dev: `next`
22 error Exit status 1
23 error Failed at the [email protected] dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]"><pre lang="log" class="notranslate"><code class="notranslate">8 verbose lifecycle [email protected]~dev: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/Fe lipe/Local_Projects/Aprender/nextjs/test/node_modules/.bin:/Users/Felipe/anaconda3/bin:/usr/local/sbin:/usr/local/opt/fzf/b in:/Users/Felipe/google-cloud-sdk/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
9 verbose lifecycle [email protected]~dev: CWD: /Users/Felipe/Local_Projects/Aprender/nextjs/test
10 silly lifecycle [email protected]~dev: Args: [ '-c', 'next' ]
11 silly lifecycle [email protected]~dev: Returned: code: 1 signal: null
12 info lifecycle [email protected]~dev: Failed to exec dev script
13 verbose stack Error: [email protected] dev: `next`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:304:1 6)
13 verbose stack at EventEmitter.emit (events.js:182:13)
13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:5 5:14)
13 verbose stack at ChildProcess.emit (events.js:182:13)
13 verbose stack at maybeClose (internal/child_process.js:961:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
14 verbose pkgid [email protected]
15 verbose cwd /Users/Felipe/Local_Projects/Aprender/nextjs/test
16 verbose Darwin 17.7.0
17 verbose argv "/usr/local/Cellar/node/10.7.0/bin/node" "/usr/local/bin/npm" "run" "dev"
18 verbose node v10.7.0
19 verbose npm v6.3.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] dev: `next`
22 error Exit status 1
23 error Failed at the [email protected] dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
</code></pre></div>
<p dir="auto">Looked for any similar error but couldn't find any. If this is a duplicate please excuse me.</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">Context</h2>
<p dir="auto">When navigating through my app I find that any time a page requires an api call to load the data I get a delay as the data is loading, so to fix this issue I am using <code class="notranslate">onRouteChangeStart</code> to activate the menu item and provide a skeleton screen so the user knows that something is loading.</p>
<p dir="auto">This technique is working really as the user gets instant feedback and makes the app look much faster. The issue I am having is when loading a dynamic page eg <code class="notranslate">/news/:article1</code> the state doesn't change to <code class="notranslate">false</code> and the component appears to be always loading. This is more likely to be an issue with my code not handling a route change in the same 'page' than a issue with next/router. Can someone provide me with some advice on how to fix this issue please?</p>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto"><strong>Basic Page:</strong> On home page <code class="notranslate">/</code> click <code class="notranslate">news</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="this.setState({
loading: true,
pageLoading: 'news'
})"><pre class="notranslate"><code class="notranslate">this.setState({
loading: true,
pageLoading: 'news'
})
</code></pre></div>
<p dir="auto">Then when <code class="notranslate">news</code> page loads.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="this.setState({
loading: false,
pageLoading: ''
})"><pre class="notranslate"><code class="notranslate">this.setState({
loading: false,
pageLoading: ''
})
</code></pre></div>
<p dir="auto"><strong>Dynamic Page</strong>: Click <code class="notranslate">/news/article-1</code> (<code class="notranslate"><Link prefetch as={'/news?article=article-1'} href={'/news/article-1'}><a>{'article 1'}</a></Link></code>)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="this.setState({
loading: true,
pageLoading: 'news'
})"><pre class="notranslate"><code class="notranslate">this.setState({
loading: true,
pageLoading: 'news'
})
</code></pre></div>
<p dir="auto">Then when <code class="notranslate">news</code> page loads.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="this.setState({
loading: false,
pageLoading: ''
})"><pre class="notranslate"><code class="notranslate">this.setState({
loading: false,
pageLoading: ''
})
</code></pre></div>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Basic Page as described above works as expected.<br>
Dynamic Page as described above appears to be stuck in loading state. But as you can see multiple states are being printed out here which makes me think its an issue with multiple components mounting?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"loading": true,
"pageLoading": "news"
}
{
"loading": false,
"pageLoading": ""
}"><pre class="notranslate"><code class="notranslate">{
"loading": true,
"pageLoading": "news"
}
{
"loading": false,
"pageLoading": ""
}
</code></pre></div>
<h2 dir="auto">code</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import React, { Component } from 'react';
import Router from 'next/router';
import Loading from './Loading'
import { splitString } from '../../helpers/utils'
export default (WrappedComponent) => (
class MyWrapper extends Component {
constructor (props) {
super(props);
this.setLoading = this.setLoading.bind(this)
this.state = {
loading: false,
pageLoading: ''
}
}
componentDidMount() {
this.setState({
loading: false,
pageLoading: ''
})
}
componentDidUpdate() {
Router.onRouteChangeStart = url => {
/* returns the last part of the new url so that we know which page to make active in the loading component */
const newPage = splitString('/',url,1) !== undefined ? splitString('/',url,1):'...'
this.setLoading(newPage)
}
}
setLoading(newPage) {
this.setState({
loading: true,
pageLoading: newPage
})
}
render() {
return (
<div>
<pre>{JSON.stringify(this.state, null, ' ')}</pre>
{
this.state.loading ?
<Loading page={this.state.pageLoading} />
:<WrappedComponent {...this.props} />
}
</div>
)
}
}
)"><pre class="notranslate"><code class="notranslate">import React, { Component } from 'react';
import Router from 'next/router';
import Loading from './Loading'
import { splitString } from '../../helpers/utils'
export default (WrappedComponent) => (
class MyWrapper extends Component {
constructor (props) {
super(props);
this.setLoading = this.setLoading.bind(this)
this.state = {
loading: false,
pageLoading: ''
}
}
componentDidMount() {
this.setState({
loading: false,
pageLoading: ''
})
}
componentDidUpdate() {
Router.onRouteChangeStart = url => {
/* returns the last part of the new url so that we know which page to make active in the loading component */
const newPage = splitString('/',url,1) !== undefined ? splitString('/',url,1):'...'
this.setLoading(newPage)
}
}
setLoading(newPage) {
this.setState({
loading: true,
pageLoading: newPage
})
}
render() {
return (
<div>
<pre>{JSON.stringify(this.state, null, ' ')}</pre>
{
this.state.loading ?
<Loading page={this.state.pageLoading} />
:<WrappedComponent {...this.props} />
}
</div>
)
}
}
)
</code></pre></div>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>^3.0.3</td>
</tr>
<tr>
<td>node</td>
<td>v8.4.0</td>
</tr>
<tr>
<td>OS</td>
<td>macOS 10.12</td>
</tr>
<tr>
<td>browser</td>
<td>chrome 61</td>
</tr>
</tbody>
</table> | 0 |
<p dir="auto">Hello,<br>
I'm new trying the PowerToys. For now it works just fine.<br>
I only have a sugestion about the contextual menu icon. I'm not sure if this request was made already, so here we go.<br>
On the dark theme, the icon for PowerRename contextual menu is no clearly visible, as it is black, over a dark background. So I thought that you maybe can make it white, or some brighter color (like the Share icon).</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/17428144/89129238-06d9b700-d4fc-11ea-9a91-063d4a0f5fd2.png"><img src="https://user-images.githubusercontent.com/17428144/89129238-06d9b700-d4fc-11ea-9a91-063d4a0f5fd2.png" alt="Captura de pantalla (4)" style="max-width: 100%;"></a></p> | <p dir="auto">Recent change updated the power rename icon</p>
<p dir="auto">See change: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="653578715" data-permission-text="Title is private" data-url="https://github.com/microsoft/PowerToys/issues/4877" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/PowerToys/pull/4877/hovercard" href="https://github.com/microsoft/PowerToys/pull/4877">#4877</a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6734176/87806881-62bdf380-c80c-11ea-827d-c8e95021cf2b.png"><img src="https://user-images.githubusercontent.com/6734176/87806881-62bdf380-c80c-11ea-827d-c8e95021cf2b.png" alt="image" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">Based on my knowledge regarding BTrees (I know how they are built, how they work and I also know what a B+ tree is), which I know is by far not the best, I think you might really want to use a B+ Tree](<a href="https://en.wikipedia.org/wiki/B%2B_tree" rel="nofollow">https://en.wikipedia.org/wiki/B%2B_tree</a>) if you do not already.<br>
That would make the predecessor and successor methods currently discussed <a href="https://github.com/rust-lang/rfcs/pull/1195" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rfcs/pull/1195/hovercard">here</a> quite fast with considerable memory-overhead, also it would make implementing iterators (and cursors) and therefore the range API a lot easier and probably faster.</p>
<p dir="auto">If I am missing something, please tell me.</p> | <p dir="auto">Looking through the rustc source code, it seems like many potential areas for typestate predicates involve cases where a value has an enum type and is known to be built with one of a subset of that enum type's constructors. I'm especially noticing this now that I'm going through and making all <code class="notranslate">alt</code>s exhaustive. For example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="enum foo {bar, quux, baz}
fn whee(x: foo) -> int {
alt x {
bar { 42 }
_ { fail "The impossible happened!"; }
}
}"><pre class="notranslate"><code class="notranslate">enum foo {bar, quux, baz}
fn whee(x: foo) -> int {
alt x {
bar { 42 }
_ { fail "The impossible happened!"; }
}
}
</code></pre></div>
<p dir="auto">We'd like to give <code class="notranslate">whee</code> a type that says <code class="notranslate">x</code> must be constructed with constructor <code class="notranslate">bar</code> -- in other words, a type that's a refinement on <code class="notranslate">foo</code> -- so that we don't need to write the <code class="notranslate">fail</code> case (because we can statically check that <code class="notranslate">x</code> is in the right subset of <code class="notranslate">foo</code>). We can do this right now with typestate predicates. However, datasort refinements seem to be a common enough case that it might be worth treating them separately. Also, datasort refinements can be implemented without needing to worry about any of the purity issues that have made typestate difficult, because once something of <code class="notranslate">enum</code> type is constructed, its tag is immutable.</p>
<p dir="auto">The other reason to handle this separately from typestate is that the compiler never uses typestate information to eliminate any checks (since predicates may be unsound), whereas datasort refinements can be checked statically and used to eliminate unnecessary tests in <code class="notranslate">alt</code>s.</p>
<p dir="auto">Thoughts?</p> | 0 |
<p dir="auto">Working with real world data, it is common to encounter poorly formatted files and such. One thing I find myself frequently doing is something like this in DataFrames:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> int(df["Age"])
ERROR: ArgumentError("'F' is not a valid digit (in \"F\")")
in parseint at string.jl:1209
in int at string.jl:1242
in map_to2 at abstractarray.jl:1450
in map at abstractarray.jl:1459
in int at /Users/viral/.julia/DataFrames/src/dataarray.jl:746"><pre class="notranslate"><code class="notranslate">julia> int(df["Age"])
ERROR: ArgumentError("'F' is not a valid digit (in \"F\")")
in parseint at string.jl:1209
in int at string.jl:1242
in map_to2 at abstractarray.jl:1450
in map at abstractarray.jl:1459
in int at /Users/viral/.julia/DataFrames/src/dataarray.jl:746
</code></pre></div>
<p dir="auto">The Age column should been integers, but there is some bad data in the column, as a result of which <code class="notranslate">readtable</code> left the column as a string. When I try to use <code class="notranslate">int</code>, it is obvious that the data is corrupt, but I have no idea where it is corrupt.</p>
<p dir="auto">I often find myself doing something like:</p>
<p dir="auto"><code class="notranslate">[ try int(df["Age"][i]) catch end for i in 1:nrow(df) ]</code></p>
<p dir="auto">I think that an <code class="notranslate">isconvertible</code> function would be generally useful, which takes the same arguments as <code class="notranslate">convert</code>, but returns a boolean based on whether the conversion is possible or not.</p> | <p dir="auto">I've tried to run Julia (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/d4b825a5e6220f54569d633d6badd86b2e8a00d3/hovercard" href="https://github.com/JuliaLang/julia/commit/d4b825a5e6220f54569d633d6badd86b2e8a00d3"><tt>d4b825a</tt></a>) tests and it failed on linalg. The problem is in <code class="notranslate">@test_approx_eq</code> macro since epsilon is too small in this case.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> include("runtests.jl")
* core
* keywordargs
* numbers
* strings
* unicode
* collections
* hashing
* remote
* iobuffer
* arrayops
* linalg
exception on 1: ERROR: assertion failed: |:(\(W,v)) - iFv| <= 7.105427357601002e-10
:(\(W,v)) = -105.1618383308551
30.132386546280248
103.10478249210304
85.5026629379321
42.8100069344292
iFv = -105.16183834007155
30.132386548803957
103.10478250114792
85.50266294548928
42.81000693815962
difference = 9.21644982554426e-9 > 7.105427357601002e-10
in error at error.jl:22
in test_approx_eq at test.jl:68
in anonymous at no file:459
in runtests at /home/magistere/projects/git/julia/test/testdefs.jl:5
in anonymous at multi.jl:613
in run_work_thunk at multi.jl:575
in remotecall_fetch at multi.jl:647
in remotecall_fetch at multi.jl:662
in anonymous at multi.jl:1382
while loading linalg.jl, in expression starting on line 384
ERROR: assertion failed: |:(\(W,v)) - iFv| <= 7.105427357601002e-10
:(\(W,v)) = -105.1618383308551
30.132386546280248
103.10478249210304
85.5026629379321
42.8100069344292
iFv = -105.16183834007155
30.132386548803957
103.10478250114792
85.50266294548928
42.81000693815962
difference = 9.21644982554426e-9 > 7.105427357601002e-10
in error at error.jl:22
in test_approx_eq at test.jl:68
in anonymous at no file:459
in runtests at /home/magistere/projects/git/julia/test/testdefs.jl:5
in anonymous at multi.jl:613
in run_work_thunk at multi.jl:575
in remotecall_fetch at multi.jl:647
in remotecall_fetch at multi.jl:662
in anonymous at multi.jl:1382
while loading linalg.jl, in expression starting on line 384
while loading /home/magistere/projects/git/julia/test/runtests.jl, in expression starting on line 22"><pre class="notranslate"><code class="notranslate">julia> include("runtests.jl")
* core
* keywordargs
* numbers
* strings
* unicode
* collections
* hashing
* remote
* iobuffer
* arrayops
* linalg
exception on 1: ERROR: assertion failed: |:(\(W,v)) - iFv| <= 7.105427357601002e-10
:(\(W,v)) = -105.1618383308551
30.132386546280248
103.10478249210304
85.5026629379321
42.8100069344292
iFv = -105.16183834007155
30.132386548803957
103.10478250114792
85.50266294548928
42.81000693815962
difference = 9.21644982554426e-9 > 7.105427357601002e-10
in error at error.jl:22
in test_approx_eq at test.jl:68
in anonymous at no file:459
in runtests at /home/magistere/projects/git/julia/test/testdefs.jl:5
in anonymous at multi.jl:613
in run_work_thunk at multi.jl:575
in remotecall_fetch at multi.jl:647
in remotecall_fetch at multi.jl:662
in anonymous at multi.jl:1382
while loading linalg.jl, in expression starting on line 384
ERROR: assertion failed: |:(\(W,v)) - iFv| <= 7.105427357601002e-10
:(\(W,v)) = -105.1618383308551
30.132386546280248
103.10478249210304
85.5026629379321
42.8100069344292
iFv = -105.16183834007155
30.132386548803957
103.10478250114792
85.50266294548928
42.81000693815962
difference = 9.21644982554426e-9 > 7.105427357601002e-10
in error at error.jl:22
in test_approx_eq at test.jl:68
in anonymous at no file:459
in runtests at /home/magistere/projects/git/julia/test/testdefs.jl:5
in anonymous at multi.jl:613
in run_work_thunk at multi.jl:575
in remotecall_fetch at multi.jl:647
in remotecall_fetch at multi.jl:662
in anonymous at multi.jl:1382
while loading linalg.jl, in expression starting on line 384
while loading /home/magistere/projects/git/julia/test/runtests.jl, in expression starting on line 22
</code></pre></div> | 0 |
<p dir="auto">It was a nice addition to the template, and since we are still able to use navbar-inverse I don't see why the btn is a different matter.</p> | <p dir="auto">In the new 3 release btn-inverse has been dropped because no semantic excuse could be made for it. I've got one now: "advanced" or "technical" actions.</p>
<p dir="auto">This is the button for when things get hardcore. Popping open dark backroom controls and analytics spreads. Smokey translucent divs with streams of log printouts. Carbon panels with master delete switches.</p>
<p dir="auto">This is the button that transitions you from the bright light white site to the burnt out night theme of everyone's favorite text editor and Alien Blue.</p>
<p dir="auto">TBH I'm biased, my heart aches to see that blackness missing from the button rainbow. But for reals, I would use this as the "let's get serious" button.</p> | 1 |
<p dir="auto">Whenever I type <code class="notranslate"><?php</code> and press enter, intellisense autocompletes the item and turns it into this:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<?php_ini_loaded_file"><pre class="notranslate"><span class="pl-ent"><?php</span>_ini_loaded_file</pre></div>
<p dir="auto">What should happen, is that it should create a new line instead.</p> | <p dir="auto">When I want to type "<?php", auto completion dosen't suggest 'php', so I had to press Esc key to keep going.</p> | 1 |
<p dir="auto">I am trying to work on a connection plugin using guestfish to modify a disk image directly. And while testing on devel ( <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/07a00593066cb439f0b9aea4e815259cc8a2ec75/hovercard" href="https://github.com/ansible/ansible/commit/07a00593066cb439f0b9aea4e815259cc8a2ec75"><tt>07a0059</tt></a> ), I stumbled on a few hurdles like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible -vvv all -c guestfs -i 'Fedora-Cloud-Atomic-23-20151215.x86_64.qcow2:/dev/sda1,' -m ping
Using /home/misc/.ansible.cfg as config file
Unexpected Exception: 'NoneType' object has no attribute 'split'
the full traceback was:
Traceback (most recent call last):
File "/home/misc/checkout/git/ansible/bin/ansible", line 85, in <module>
sys.exit(cli.run())
File "/home/misc/checkout/git/ansible/lib/ansible/cli/adhoc.py", line 187, in run
result = self._tqm.run(play)
File "/home/misc/checkout/git/ansible/lib/ansible/executor/task_queue_manager.py", line 237, in run
play_return = strategy.run(iterator, play_context)
File "/home/misc/checkout/git/ansible/lib/ansible/plugins/strategy/linear.py", line 217, in run
task_vars = self._variable_manager.get_vars(loader=self._loader, play=iterator._play, host=host, task=task)
File "/home/misc/checkout/git/ansible/lib/ansible/vars/__init__.py", line 245, in get_vars
all_vars = combine_vars(all_vars, host.get_vars())
File "/home/misc/checkout/git/ansible/lib/ansible/inventory/host.py", line 129, in get_vars
results['inventory_hostname_short'] = self.name.split('.')[0]
AttributeError: 'NoneType' object has no attribute 'split'"><pre class="notranslate"><code class="notranslate">$ ansible -vvv all -c guestfs -i 'Fedora-Cloud-Atomic-23-20151215.x86_64.qcow2:/dev/sda1,' -m ping
Using /home/misc/.ansible.cfg as config file
Unexpected Exception: 'NoneType' object has no attribute 'split'
the full traceback was:
Traceback (most recent call last):
File "/home/misc/checkout/git/ansible/bin/ansible", line 85, in <module>
sys.exit(cli.run())
File "/home/misc/checkout/git/ansible/lib/ansible/cli/adhoc.py", line 187, in run
result = self._tqm.run(play)
File "/home/misc/checkout/git/ansible/lib/ansible/executor/task_queue_manager.py", line 237, in run
play_return = strategy.run(iterator, play_context)
File "/home/misc/checkout/git/ansible/lib/ansible/plugins/strategy/linear.py", line 217, in run
task_vars = self._variable_manager.get_vars(loader=self._loader, play=iterator._play, host=host, task=task)
File "/home/misc/checkout/git/ansible/lib/ansible/vars/__init__.py", line 245, in get_vars
all_vars = combine_vars(all_vars, host.get_vars())
File "/home/misc/checkout/git/ansible/lib/ansible/inventory/host.py", line 129, in get_vars
results['inventory_hostname_short'] = self.name.split('.')[0]
AttributeError: 'NoneType' object has no attribute 'split'
</code></pre></div>
<p dir="auto">After digging, I found that this function <a href="https://github.com/ansible/ansible/blob/devel/lib/ansible/parsing/utils/addresses.py#L167">https://github.com/ansible/ansible/blob/devel/lib/ansible/parsing/utils/addresses.py#L167</a> kinda filter all non standards address, and reutnr None,None unless I am careful into what I give for argument.</p>
<p dir="auto">This also break connection plugins like chroot, jail and potentially the docker one.</p> | <p dir="auto"><strong>Issue Type:</strong></p>
<p dir="auto">Bug Report</p>
<p dir="auto"><strong>Ansible Version:</strong></p>
<p dir="auto">1.9.0.1</p>
<p dir="auto"><strong>Environment:</strong></p>
<p dir="auto">All</p>
<p dir="auto"><strong>Summary:</strong></p>
<p dir="auto">The win_copy/win_file/win_template modules were added during earlier development and then reverted. However, win_copy.py and win_template.py remain in the actions_plugins dir.</p>
<p dir="auto">If they're going to eventually be used, we can keep them - if the new version of the modules isn't going to use them, they should probably be removed.</p>
<p dir="auto"><strong>Steps To Reproduce:</strong></p>
<p dir="auto">Look in the actions plugin directory.</p> | 0 |
<h5 dir="auto">Description of the problem</h5>
<p dir="auto">I think this implementation of Vector3.prototype.projectOnVector:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="projectOnVector = function ( vector ) {
var length = vector.length();
var scalar = this.dot(vector) / (length * length);
return vector.multiplyScalar(scalar);
};"><pre class="notranslate"><code class="notranslate">projectOnVector = function ( vector ) {
var length = vector.length();
var scalar = this.dot(vector) / (length * length);
return vector.multiplyScalar(scalar);
};
</code></pre></div>
<p dir="auto">would be significantly faster than the current implementation:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="projectOnVector: function () {
var v1, dot;
return function projectOnVector( vector ) {
if ( v1 === undefined ) v1 = new THREE.Vector3();
v1.copy( vector ).normalize();
dot = this.dot( v1 );
return this.copy( v1 ).multiplyScalar( dot );
};
}()"><pre class="notranslate"><code class="notranslate">projectOnVector: function () {
var v1, dot;
return function projectOnVector( vector ) {
if ( v1 === undefined ) v1 = new THREE.Vector3();
v1.copy( vector ).normalize();
dot = this.dot( v1 );
return this.copy( v1 ).multiplyScalar( dot );
};
}()
</code></pre></div>
<p dir="auto">The allocation of a temporary Vector3 is stripped away, and it uses two function calls less.</p>
<h5 dir="auto">Three.js version</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Dev</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> r77</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r73</li>
</ul>
<h5 dir="auto">Browser</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Chrome</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li>
</ul>
<h5 dir="auto">OS</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> IOS</li>
</ul>
<h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5> | <h5 dir="auto">Description of the problem</h5>
<p dir="auto">At the moment, the <code class="notranslate">Object3D.updateMatrix</code> method,</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/mrdoob/three.js/blob/f55b3d3b91b0f50c28523ed707baec91ddff465a/src/core/Object3D.js#L592-L598">three.js/src/core/Object3D.js</a>
</p>
<p class="mb-0 color-fg-muted">
Lines 592 to 598
in
<a data-pjax="true" class="commit-tease-sha" href="/mrdoob/three.js/commit/f55b3d3b91b0f50c28523ed707baec91ddff465a">f55b3d3</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="L592" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="592"></td>
<td id="LC592" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-en">updateMatrix</span>: <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> </td>
</tr>
<tr class="border-0">
<td id="L593" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="593"></td>
<td id="LC593" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> </td>
</tr>
<tr class="border-0">
<td id="L594" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="594"></td>
<td id="LC594" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">matrix</span><span class="pl-kos">.</span><span class="pl-en">compose</span><span class="pl-kos">(</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">position</span><span class="pl-kos">,</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">quaternion</span><span class="pl-kos">,</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">scale</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> </td>
</tr>
<tr class="border-0">
<td id="L595" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="595"></td>
<td id="LC595" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> </td>
</tr>
<tr class="border-0">
<td id="L596" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="596"></td>
<td id="LC596" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">matrixWorldNeedsUpdate</span> <span class="pl-c1">=</span> <span class="pl-c1">true</span><span class="pl-kos">;</span> </td>
</tr>
<tr class="border-0">
<td id="L597" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="597"></td>
<td id="LC597" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> </td>
</tr>
<tr class="border-0">
<td id="L598" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="598"></td>
<td id="LC598" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-kos">}</span><span class="pl-kos">,</span> </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">always causes <code class="notranslate">this.matrixWorldNeedsUpdate</code> to be true.</p>
<p dir="auto">Instead it can set that to true only if the resulting composition results in a changed local matrix.</p>
<p dir="auto">Would detecting a change be cheaper than just always multiplying the parent world matrix? My gut feeling is that it would be.</p> | 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/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.7</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">In the process of switching Zookeeper to Nacos, we found that the startup speed of the application became slower, and a large number of Nacos threads were created. Looking at the source code, we found that every service registered in the application startup process would create a <strong>NamingService</strong>. We started to think that was the design. After a thorough review, we found that Dubbo had a static cache for the Nacos registry, and the cache key contained a dynamic parameter timestamp , every time a new service is registered, the latest value will be retrieved, and eventually the registry static cache will be invalid.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/39329138/89625727-ea0dfc80-d8ca-11ea-8474-2fc24b0f6c47.png"><img src="https://user-images.githubusercontent.com/39329138/89625727-ea0dfc80-d8ca-11ea-8474-2fc24b0f6c47.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">请大佬帮忙看看,多谢!</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> | <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.6</li>
<li>Operating System version: springboot 2.1.7,zookeeper 3.6.1</li>
<li>Java version: java8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>设置接口DemoDubboService。</li>
<li>两个实现类DefaultDemoServiceImpl1,DefaultDemoServiceImpl2</li>
<li>分别设置<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/service/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/service">@service</a>(version = "1.0.0",group = "demo1"),<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/service/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/service">@service</a>(version = "1.0.0",group = "demo2")</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">demo1,demo2都在zk注册</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">只能在zk中找到demo1</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | 0 |
<p dir="auto">The <a href="http://www.scipy.org/scipylib/mailing-lists.html" rel="nofollow">links for Archives and Subscribe</a> for the scipy-dev and scipy-user lists yield "cannot connect to server".</p> | <p dir="auto">The <a href="http://www.scipy.org/scipylib/mailing-lists.html" rel="nofollow">links for Archives and Subscribe</a> for the numpy-discussion list yield "cannot connect to server".</p> | 1 |
<h2 dir="auto">🐛 Bug</h2>
<p dir="auto">Inconsistent shape of index returned from <code class="notranslate">F.max_pool2d_with_indices</code> when used with CUDA tensor. This applies to 3-dimensional tensors.</p>
<h2 dir="auto">To Reproduce</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="x = torch.randn(2, 2, 2).to('cuda')
pred, idx = F.max_pool2d_with_indices(x, 2)
print(pred.shape) # torch.Size([2, 1, 1])
print(idx.shape) # torch.Size([1, 2, 1, 1]) which is inconsistent"><pre class="notranslate"><code class="notranslate">x = torch.randn(2, 2, 2).to('cuda')
pred, idx = F.max_pool2d_with_indices(x, 2)
print(pred.shape) # torch.Size([2, 1, 1])
print(idx.shape) # torch.Size([1, 2, 1, 1]) which is inconsistent
</code></pre></div>
<p dir="auto">Interestingly, this doesn't happen to CPU's tensor.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="x = torch.randn(2, 2, 2).to('cpu')
pred, idx = F.max_pool2d_with_indices(x, 2)
print(pred.shape) # torch.Size([2, 1, 1])
print(idx.shape) # torch.Size([2, 1, 1]), expected"><pre class="notranslate"><code class="notranslate">x = torch.randn(2, 2, 2).to('cpu')
pred, idx = F.max_pool2d_with_indices(x, 2)
print(pred.shape) # torch.Size([2, 1, 1])
print(idx.shape) # torch.Size([2, 1, 1]), expected
</code></pre></div>
<h2 dir="auto">Environment</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PyTorch version: 1.5.0
Is debug build: No
CUDA used to build PyTorch: 10.1
OS: Ubuntu 18.04.4 LTS
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
CMake version: Could not collect
Python version: 3.7
Is CUDA available: Yes
CUDA runtime version: 10.1.105
GPU models and configuration: GPU 0: GeForce GTX 1060 6GB
Nvidia driver version: 440.44
cuDNN version: Could not collect
Versions of relevant libraries:
[pip] efficientnet-pytorch==0.6.3
[pip] msgpack-numpy==0.4.4.3
[pip] numpy==1.18.1
[pip] segmentation-models-pytorch==0.1.0
[pip] torch==1.5.0
[pip] torchtext==0.5.0
[pip] torchvision==0.6.0a0+82fd1c8
[conda] blas 1.0 mkl
[conda] efficientnet-pytorch 0.6.3 pypi_0 pypi
[conda] mkl 2020.0 166
[conda] mkl-service 2.3.0 py37he904b0f_0
[conda] mkl_fft 1.0.15 py37ha843d7b_0
[conda] mkl_random 1.1.0 py37hd6b4f25_0
[conda] pytorch 1.5.0 py3.7_cuda10.1.243_cudnn7.6.3_0 pytorch
[conda] segmentation-models-pytorch 0.1.0 dev_0 <develop>
[conda] torchtext 0.5.0 pypi_0 pypi
[conda] torchvision 0.6.0 py37_cu101 pytorch"><pre class="notranslate"><code class="notranslate">PyTorch version: 1.5.0
Is debug build: No
CUDA used to build PyTorch: 10.1
OS: Ubuntu 18.04.4 LTS
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
CMake version: Could not collect
Python version: 3.7
Is CUDA available: Yes
CUDA runtime version: 10.1.105
GPU models and configuration: GPU 0: GeForce GTX 1060 6GB
Nvidia driver version: 440.44
cuDNN version: Could not collect
Versions of relevant libraries:
[pip] efficientnet-pytorch==0.6.3
[pip] msgpack-numpy==0.4.4.3
[pip] numpy==1.18.1
[pip] segmentation-models-pytorch==0.1.0
[pip] torch==1.5.0
[pip] torchtext==0.5.0
[pip] torchvision==0.6.0a0+82fd1c8
[conda] blas 1.0 mkl
[conda] efficientnet-pytorch 0.6.3 pypi_0 pypi
[conda] mkl 2020.0 166
[conda] mkl-service 2.3.0 py37he904b0f_0
[conda] mkl_fft 1.0.15 py37ha843d7b_0
[conda] mkl_random 1.1.0 py37hd6b4f25_0
[conda] pytorch 1.5.0 py3.7_cuda10.1.243_cudnn7.6.3_0 pytorch
[conda] segmentation-models-pytorch 0.1.0 dev_0 <develop>
[conda] torchtext 0.5.0 pypi_0 pypi
[conda] torchvision 0.6.0 py37_cu101 pytorch
</code></pre></div> | <h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2>
<p dir="auto">The parameter <code class="notranslate">requires_grad</code> of <code class="notranslate">new_zeros</code> method of tensors can't set the <code class="notranslate">requires_grad</code> attribute of the created tensor correctly.</p>
<h2 dir="auto">To Reproduce</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import torch
a = torch.tensor((1.0,))
print(a.new_ones((1,), requires_grad=True).requires_grad)
print(a.new_zeros((1,), requires_grad=True).requires_grad)"><pre class="notranslate"><code class="notranslate">import torch
a = torch.tensor((1.0,))
print(a.new_ones((1,), requires_grad=True).requires_grad)
print(a.new_zeros((1,), requires_grad=True).requires_grad)
</code></pre></div>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">The output of both print statements should be <code class="notranslate">True</code>. However, while the first is <code class="notranslate">True</code>, the second is <code class="notranslate">False</code>.</p>
<h2 dir="auto">Environment</h2>
<ul dir="auto">
<li>PyTorch Version (e.g., 1.0): 1.4.0</li>
<li>OS (e.g., Linux): Ubuntu 18.04.2 LTS</li>
<li>How you installed PyTorch (<code class="notranslate">conda</code>, <code class="notranslate">pip</code>, source): <code class="notranslate">conda</code></li>
<li>Build command you used (if compiling from source):</li>
<li>Python version: 3.6</li>
<li>CUDA/cuDNN version: 10.1/7.6.1</li>
<li>GPU models and configuration: GeForce RTX 2080 Ti</li>
</ul>
<h2 dir="auto">Additional context</h2>
<p dir="auto">The <code class="notranslate">requires_grad</code> parameter of <code class="notranslate">new_empty</code> and <code class="notranslate">new_full</code> methods also doesn't work.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gchanan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gchanan">@gchanan</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zou3519/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zou3519">@zou3519</a></p> | 0 |
<p dir="auto"><strong>Glide Version</strong>:<br>
4.1</p>
<p dir="auto"><strong>Integration libraries</strong>:</p>
<p dir="auto"><strong>Device/Android Version</strong>:</p>
<p dir="auto"><strong>Issue details / Repro steps / Use case background</strong>:</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sjudd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sjudd">@sjudd</a><br>
It seems <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/bumptech/glide/commit/9d10097e7bd298cc5b393364663fa0cf08711e8e/hovercard" href="https://github.com/bumptech/glide/commit/9d10097e7bd298cc5b393364663fa0cf08711e8e"><tt>9d10097</tt></a> does not take in account the fact that a request is completed. So restarting a request that is completed will actually do nothing.</p>
<p dir="auto">Maybe this is on purpose but this implies a side effect of preventing a force reload when needed and does not trigger any listener.</p>
<p dir="auto">For example in my case when doing transition my fetcher only load the image from cache to avoid slowing down the transition. Then after the transition start a full download by restarting the glide query. (I'm pretty sure it would be the same for any app that would for example restart the requests after network is connected when first one occurred without network).</p>
<p dir="auto">With 3 and 4.0 it works correctly, but with 4.1 the subsequent query is not restarted preventing the actual load to happens and do not trigger any listener to warn the application.</p>
<p dir="auto">Cheating with different models could work, but then when the image is actually already cached it would trigger a real reload and not a memory hit cache as Glide think it's different items.</p>
<p dir="auto">I understand the purpose of the optimization but impact are not neutral if the completed state is not taken in account.</p>
<p dir="auto">Maybe by default if state is completed then the request should restart, and an option to always prevent restart provided. Or add an option to force the reload. Or a new Listener event so app can cheat (But for this one impact may be huge on API clients).</p>
<p dir="auto">Can PR something but need your choice and target. (And maybe an hint for the detection of completed state)</p>
<p dir="auto">Default should maybe work like actual, or maybe add something in the documentation, as the total ignore of the request may trouble clients to actually understand what is happening.</p> | <p dir="auto"><strong>Glide Version/Integration library (if any): 3.5.2<br>
Device/Android Version: Sony Xperia T / 4.1, Samsung S3 mini / 4.2<br>
Issue details/Repro steps:</strong></p>
<p dir="auto">Loading .webp images results in black image loaded. Images are loaded from Internet<br>
using thumbor. If they are loaded from local file all works fine.<br>
I am using Pollexor to create thumbor urls. Here is example code:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="final String format = Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH ? "webp" : "jpeg";
final String thumborUrl = Thumbor
.create(ConstantsApi.THUMBOR_URL)
.buildImage(imageUrl)
.filter(String.format(Locale.US, "format(%s)", format))
.filter(String.format(Locale.US, "quality(%d)", 50))
.resize(downloadWidth, downloadHeight)
.fitIn()
.toUrl();
Glide.with(this)
.load(thumborUrl)
.into(imageView);"><pre class="notranslate"><span class="pl-k">final</span> <span class="pl-smi">String</span> <span class="pl-s1">format</span> = <span class="pl-smi">Build</span>.<span class="pl-c1">VERSION</span>.<span class="pl-c1">SDK_INT</span> >= <span class="pl-smi">Build</span>.<span class="pl-c1">VERSION_CODES</span>.<span class="pl-c1">ICE_CREAM_SANDWICH</span> ? <span class="pl-s">"webp"</span> : <span class="pl-s">"jpeg"</span>;
<span class="pl-k">final</span> <span class="pl-smi">String</span> <span class="pl-s1">thumborUrl</span> = <span class="pl-smi">Thumbor</span>
.<span class="pl-en">create</span>(<span class="pl-smi">ConstantsApi</span>.<span class="pl-c1">THUMBOR_URL</span>)
.<span class="pl-en">buildImage</span>(<span class="pl-s1">imageUrl</span>)
.<span class="pl-en">filter</span>(<span class="pl-smi">String</span>.<span class="pl-en">format</span>(<span class="pl-smi">Locale</span>.<span class="pl-c1">US</span>, <span class="pl-s">"format(%s)"</span>, <span class="pl-s1">format</span>))
.<span class="pl-en">filter</span>(<span class="pl-smi">String</span>.<span class="pl-en">format</span>(<span class="pl-smi">Locale</span>.<span class="pl-c1">US</span>, <span class="pl-s">"quality(%d)"</span>, <span class="pl-c1">50</span>))
.<span class="pl-en">resize</span>(<span class="pl-s1">downloadWidth</span>, <span class="pl-s1">downloadHeight</span>)
.<span class="pl-en">fitIn</span>()
.<span class="pl-en">toUrl</span>();
<span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-smi">this</span>)
.<span class="pl-en">load</span>(<span class="pl-s1">thumborUrl</span>)
.<span class="pl-en">into</span>(<span class="pl-s1">imageView</span>);</pre></div>
<p dir="auto">The problem only occurs on pre 4.4.2 devices.<br>
Here is a sample thumbor image to test:<br>
<a href="http://img.jafolders.com/unsafe/fit-in/1057x1500/filters:format(webp):quality(100)/http://jafolders.com/uploads/pages/551c0648733100679823e70a/normal_image_1427899988.jpg" rel="nofollow">http://img.jafolders.com/unsafe/fit-in/1057x1500/filters:format(webp):quality(100)/http://jafolders.com/uploads/pages/551c0648733100679823e70a/normal_image_1427899988.jpg</a></p>
<p dir="auto">I've tested it same way but using Picasso and it works.</p>
<p dir="auto">I hope for quick response as it is very important bug for me that needs to be quickly repaired.</p> | 0 |
<p dir="auto">Hi,<br>
I looked into the following sentence in <strong>will-navigate</strong> event (<a href="https://github.com/atom/electron/blob/master/docs/api/web-view-tag.md">https://github.com/atom/electron/blob/master/docs/api/web-view-tag.md</a>) documentation.</p>
<blockquote>
<p dir="auto">Calling event.preventDefault() does NOT have any effect.</p>
</blockquote>
<p dir="auto">So how can we prevent webview from navigating to other page? I intent to launch default browser when user clicks on a URL link on webview.<br>
Here is my code on the renderer process.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" webview.addEventListener('will-navigate', function(e) {
e.preventDefault();
require('electron').shell.openExternal(e.url);
});"><pre class="notranslate"> <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">'will-navigate'</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-s1">e</span><span class="pl-kos">.</span><span class="pl-en">preventDefault</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'electron'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">shell</span><span class="pl-kos">.</span><span class="pl-en">openExternal</span><span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">url</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">With this code, when I click the URL link on webview, webview will navigate to the new page and default browser also opened showing the new page. I want webview to stop navigating to the new page.</p> | <p dir="auto">It would be very useful to get events related to navigation:</p>
<ul dir="auto">
<li><code class="notranslate">will-navigate</code>: when the webview is about to navigate (url have been changed but no requests have been emited yet). It could eventually be cancelled with <code class="notranslate">event.preventDefault()</code>)</li>
<li><code class="notranslate">page-url-set</code>: like <code class="notranslate">page-title-set</code> but for url. It is different than <code class="notranslate">before-navigate</code> because it should also handle anchor changes and HTML5 url set without navigating (with <code class="notranslate">history.pushState</code> and <code class="notranslate">history.replaceState</code>)</li>
<li><code class="notranslate">did-navigate</code>: after the navigation has occured (i.e. when a new entry have been pushed to history and canGoBack/canGoForward/canGo... may have changed)</li>
</ul> | 1 |
<p dir="auto">I use compile 'com.github.bumptech.glide:glide:3.7.0' in build.gradle.</p>
<p dir="auto">I'm scrolling many time,the image is deformed.</p>
<p dir="auto">What can I do?</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Override
public void onBindViewHolder(RecyclerViewHolders holder, int position) {
holder.Name.setText(itemList.get(position).getName());
holder.PostTime.setText(itemList.get(position).getPostTime());
holder.PostContent.setText(itemList.get(position).getPostContent());
Uri uri = Uri.parse(itemList.get(position).getPhoto());
Glide.with(context).load(uri).crossFade().error(R.mipmap.imge_error).into(holder.PostImg);
holder.PostImg.setTag(R.id.post_img, position);
holder.PostImg.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
int position = (int) v.getTag(R.id.post_img);
Toast.makeText(context,itemList.get(position).getName(),Toast.LENGTH_SHORT).show();
}
});
}"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">Override</span>
<span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-s1">onBindViewHolder</span>(<span class="pl-smi">RecyclerViewHolders</span> <span class="pl-s1">holder</span>, <span class="pl-smi">int</span> <span class="pl-s1">position</span>) {
<span class="pl-s1">holder</span>.<span class="pl-s1">Name</span>.<span class="pl-en">setText</span>(<span class="pl-s1">itemList</span>.<span class="pl-en">get</span>(<span class="pl-s1">position</span>).<span class="pl-en">getName</span>());
<span class="pl-s1">holder</span>.<span class="pl-s1">PostTime</span>.<span class="pl-en">setText</span>(<span class="pl-s1">itemList</span>.<span class="pl-en">get</span>(<span class="pl-s1">position</span>).<span class="pl-en">getPostTime</span>());
<span class="pl-s1">holder</span>.<span class="pl-s1">PostContent</span>.<span class="pl-en">setText</span>(<span class="pl-s1">itemList</span>.<span class="pl-en">get</span>(<span class="pl-s1">position</span>).<span class="pl-en">getPostContent</span>());
<span class="pl-smi">Uri</span> <span class="pl-s1">uri</span> = <span class="pl-smi">Uri</span>.<span class="pl-en">parse</span>(<span class="pl-s1">itemList</span>.<span class="pl-en">get</span>(<span class="pl-s1">position</span>).<span class="pl-en">getPhoto</span>());
<span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-s1">context</span>).<span class="pl-en">load</span>(<span class="pl-s1">uri</span>).<span class="pl-en">crossFade</span>().<span class="pl-en">error</span>(<span class="pl-smi">R</span>.<span class="pl-s1">mipmap</span>.<span class="pl-s1">imge_error</span>).<span class="pl-en">into</span>(<span class="pl-s1">holder</span>.<span class="pl-s1">PostImg</span>);
<span class="pl-s1">holder</span>.<span class="pl-s1">PostImg</span>.<span class="pl-en">setTag</span>(<span class="pl-smi">R</span>.<span class="pl-s1">id</span>.<span class="pl-s1">post_img</span>, <span class="pl-s1">position</span>);
<span class="pl-s1">holder</span>.<span class="pl-s1">PostImg</span>.<span class="pl-en">setOnClickListener</span>(<span class="pl-k">new</span> <span class="pl-smi">View</span>.<span class="pl-smi">OnClickListener</span>() {
<span class="pl-c1">@</span><span class="pl-c1">Override</span>
<span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-en">onClick</span>(<span class="pl-smi">View</span> <span class="pl-s1">v</span>) {
<span class="pl-smi">int</span> <span class="pl-s1">position</span> = (<span class="pl-smi">int</span>) <span class="pl-s1">v</span>.<span class="pl-en">getTag</span>(<span class="pl-smi">R</span>.<span class="pl-s1">id</span>.<span class="pl-s1">post_img</span>);
<span class="pl-smi">Toast</span>.<span class="pl-en">makeText</span>(<span class="pl-s1">context</span>,<span class="pl-s1">itemList</span>.<span class="pl-en">get</span>(<span class="pl-s1">position</span>).<span class="pl-en">getName</span>(),<span class="pl-smi">Toast</span>.<span class="pl-c1">LENGTH_SHORT</span>).<span class="pl-en">show</span>();
}
});
}</pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/9345164/13800683/6a4b1038-eb66-11e5-8084-70bf095512be.png"><img src="https://cloud.githubusercontent.com/assets/9345164/13800683/6a4b1038-eb66-11e5-8084-70bf095512be.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/9345164/13800691/85d715ae-eb66-11e5-90ee-717721d6f4f4.png"><img src="https://cloud.githubusercontent.com/assets/9345164/13800691/85d715ae-eb66-11e5-90ee-717721d6f4f4.png" alt="image" style="max-width: 100%;"></a></p> | <p dir="auto">Im trying to create a run of the mill regular staggeredgrid of images using a recyclerview. Im using Glide to load the images from urls. For some reason, im getting some strange behavior when scrolling, views move on their own, weird layouts and spaces between views etc. Its hard to explain so heres a screenrecording: <a href="http://gfycat.com/BaggyOffensiveAnglerfish" rel="nofollow">http://gfycat.com/BaggyOffensiveAnglerfish</a></p>
<p dir="auto">Code im using is pretty basic:</p>
<p dir="auto">The grid item:</p>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<ImageView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/gridImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxHeight="150dp"
/>"><pre class="notranslate"><<span class="pl-ent">ImageView</span>
<span class="pl-e">xmlns</span><span class="pl-e">:</span><span class="pl-e">android</span>=<span class="pl-s"><span class="pl-pds">"</span>http://schemas.android.com/apk/res/android<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>@+id/gridImageView<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">maxHeight</span>=<span class="pl-s"><span class="pl-pds">"</span>150dp<span class="pl-pds">"</span></span>
/></pre></div>
<p dir="auto">Glide code:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Glide.with(mContext).load(entry.getImageUrl()).into(holder.gridImageView);"><pre class="notranslate"><span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-s1">mContext</span>).<span class="pl-en">load</span>(<span class="pl-s1">entry</span>.<span class="pl-en">getImageUrl</span>()).<span class="pl-en">into</span>(<span class="pl-s1">holder</span>.<span class="pl-s1">gridImageView</span>);</pre></div>
<p dir="auto">Layout manager is just a basic StaggeredGridLayoutManager:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="mLayoutManager = new StaggeredGridLayoutManager(2, StaggeredGridLayoutManager.VERTICAL);"><pre class="notranslate"><span class="pl-s1">mLayoutManager</span> = <span class="pl-k">new</span> <span class="pl-smi">StaggeredGridLayoutManager</span>(<span class="pl-c1">2</span>, <span class="pl-smi">StaggeredGridLayoutManager</span>.<span class="pl-c1">VERTICAL</span>);</pre></div>
<p dir="auto">Im sure that somebody has came across a similar issue to this given how popular Glide is. Whats going on here? Any ideas?</p>
<p dir="auto">Im trying to make a regular staggeredgrid, eg: <a href="http://prntscr.com/9mo4bm" rel="nofollow">http://prntscr.com/9mo4bm</a> where items all have the same width, but differing heights depending on original imagesize/aspect ratio.</p> | 1 |
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">I am trying to hide the underline in a text field by doing something like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" commentTextField = new TextField(
controller: new TextEditingController(),
maxLines: 10,
onChanged: _onDetailsChanged,
decoration: new InputDecoration(
hintText: "Tell us more...",
hideDivider: true,
),
);"><pre class="notranslate"><code class="notranslate"> commentTextField = new TextField(
controller: new TextEditingController(),
maxLines: 10,
onChanged: _onDetailsChanged,
decoration: new InputDecoration(
hintText: "Tell us more...",
hideDivider: true,
),
);
</code></pre></div>
<p dir="auto">When doing a hot reload I get the exception listed below in the logs.</p>
<p dir="auto">NOTE: This only appears to happen when hot reloading.</p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Performing hot reload...
I/flutter (20214): Routes init
I/flutter (20214): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (20214): The following assertion was thrown building Container(padding: EdgeInsets(0.0, 16.0, 0.0, 1.0),
I/flutter (20214): margin: EdgeInsets(0.0, 0.0, 0.0, 17.0)):
I/flutter (20214): 'package:flutter/src/rendering/object.dart': Failed assertion: line 2145 pos 12: '() {
I/flutter (20214): final AbstractNode parent = this.parent;
I/flutter (20214): if (parent is RenderObject)
I/flutter (20214): return parent._needsCompositing;
I/flutter (20214): return true;
I/flutter (20214): }': is not true.
I/flutter (20214):
I/flutter (20214): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (20214): more information in this error message to help you determine and fix the underlying cause.
I/flutter (20214): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (20214): https://github.com/flutter/flutter/issues/new
I/flutter (20214):
I/flutter (20214): When the exception was thrown, this was the stack:
I/flutter (20214): #2 RenderObject.markNeedsCompositingBitsUpdate (package:flutter/src/rendering/object.dart:2145:12)
I/flutter (20214): #3 RenderObject.attach (package:flutter/src/rendering/object.dart:1585:7)
I/flutter (20214): #4 RenderBox&RenderObjectWithChildMixin.attach (package:flutter/src/rendering/object.dart:2967:17)
I/flutter (20214): #5 AbstractNode.adoptChild (package:flutter/src/rendering/node.dart:128:13)
I/flutter (20214): #6 RenderObject.adoptChild (package:flutter/src/rendering/object.dart:1431:21)
I/flutter (20214): #7 RenderBox&RenderObjectWithChildMixin.child= (package:flutter/src/rendering/object.dart:2962:7)
I/flutter (20214): #8 SingleChildRenderObjectElement.insertChildRenderObject (package:flutter/src/widgets/framework.dart:4553:18)
I/flutter (20214): #9 RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:4402:35)
I/flutter (20214): #10 Element.attachRenderObject.<anonymous closure> (package:flutter/src/widgets/framework.dart:2820:13)
I/flutter (20214): #11 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:3592:14)
I/flutter (20214): #12 Element.attachRenderObject (package:flutter/src/widgets/framework.dart:2819:5)
I/flutter (20214): #13 Element._activateWithParent (package:flutter/src/widgets/framework.dart:2967:5)
I/flutter (20214): #14 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2892:18)
I/flutter (20214): #15 Element.updateChild (package:flutter/src/widgets/framework.dart:2703:12)
I/flutter (20214): #16 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4538:14)
I/flutter (20214): #17 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2900:14)
I/flutter (20214): #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2703:12)
I/flutter (20214): #19 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4538:14)
I/flutter (20214): #20 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2900:14)
I/flutter (20214): #21 Element.updateChild (package:flutter/src/widgets/framework.dart:2703:12)
I/flutter (20214): #22 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #23 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #24 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3536:5)
I/flutter (20214): #25 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter (20214): #26 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2900:14)
I/flutter (20214): #27 Element.updateChild (package:flutter/src/widgets/framework.dart:2703:12)
I/flutter (20214): #28 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4330:32)
I/flutter (20214): #29 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4653:17)
I/flutter (20214): #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #31 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4545:14)
I/flutter (20214): #32 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #33 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #34 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #35 StatelessElement.update (package:flutter/src/widgets/framework.dart:3618:5)
I/flutter (20214): #36 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #37 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #38 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #39 StatefulElement.update (package:flutter/src/widgets/framework.dart:3693:5)
I/flutter (20214): #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #41 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4545:14)
I/flutter (20214): #42 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #43 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4545:14)
I/flutter (20214): #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #47 StatefulElement.update (package:flutter/src/widgets/framework.dart:3693:5)
I/flutter (20214): #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #51 StatelessElement.update (package:flutter/src/widgets/framework.dart:3618:5)
I/flutter (20214): #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #53 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #54 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #55 StatefulElement.update (package:flutter/src/widgets/framework.dart:3693:5)
I/flutter (20214): #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #57 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4545:14)
I/flutter (20214): #58 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #59 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4545:14)
I/flutter (20214): #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #62 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #63 StatelessElement.update (package:flutter/src/widgets/framework.dart:3618:5)
I/flutter (20214): #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #65 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4272:32)
I/flutter (20214): #66 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4653:17)
I/flutter (20214): #67 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #68 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4545:14)
I/flutter (20214): #69 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #70 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #71 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #72 StatelessElement.update (package:flutter/src/widgets/framework.dart:3618:5)
I/flutter (20214): #73 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #74 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4272:32)
I/flutter (20214): #75 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4653:17)
I/flutter (20214): #76 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #77 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #78 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #79 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2261:33)
I/flutter (20214): #80 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:530:20)
I/flutter (20214): #81 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:194:5)
I/flutter (20214): #82 BindingBase&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:713:15)
I/flutter (20214): #83 BindingBase&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:649:9)
I/flutter (20214): #84 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/rendering/binding.dart:280:20)
I/flutter (20214): #86 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:367)
I/flutter (20214): #87 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:401)
I/flutter (20214): #88 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
I/flutter (20214): (elided 3 frames from class _AssertionError and package dart:async-patch)
I/flutter (20214): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (20214): Another exception was thrown: NoSuchMethodError: The getter 'debugDoingLayout' was called on null.
I/flutter (20214): Another exception was thrown: Tried to paint a RenderObject before its compositing bits were updated.
I/flutter (20214): Page 0 already loaded, skipping.
I/flutter (20214): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2100 pos 12: '!_needsPaint': is not true.
Reloaded 12 of 595 libraries in 1,696ms.
I/flutter (20214): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2100 pos 12: '!_needsPaint': is not true.
Application finished."><pre class="notranslate"><code class="notranslate">Performing hot reload...
I/flutter (20214): Routes init
I/flutter (20214): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (20214): The following assertion was thrown building Container(padding: EdgeInsets(0.0, 16.0, 0.0, 1.0),
I/flutter (20214): margin: EdgeInsets(0.0, 0.0, 0.0, 17.0)):
I/flutter (20214): 'package:flutter/src/rendering/object.dart': Failed assertion: line 2145 pos 12: '() {
I/flutter (20214): final AbstractNode parent = this.parent;
I/flutter (20214): if (parent is RenderObject)
I/flutter (20214): return parent._needsCompositing;
I/flutter (20214): return true;
I/flutter (20214): }': is not true.
I/flutter (20214):
I/flutter (20214): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (20214): more information in this error message to help you determine and fix the underlying cause.
I/flutter (20214): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (20214): https://github.com/flutter/flutter/issues/new
I/flutter (20214):
I/flutter (20214): When the exception was thrown, this was the stack:
I/flutter (20214): #2 RenderObject.markNeedsCompositingBitsUpdate (package:flutter/src/rendering/object.dart:2145:12)
I/flutter (20214): #3 RenderObject.attach (package:flutter/src/rendering/object.dart:1585:7)
I/flutter (20214): #4 RenderBox&RenderObjectWithChildMixin.attach (package:flutter/src/rendering/object.dart:2967:17)
I/flutter (20214): #5 AbstractNode.adoptChild (package:flutter/src/rendering/node.dart:128:13)
I/flutter (20214): #6 RenderObject.adoptChild (package:flutter/src/rendering/object.dart:1431:21)
I/flutter (20214): #7 RenderBox&RenderObjectWithChildMixin.child= (package:flutter/src/rendering/object.dart:2962:7)
I/flutter (20214): #8 SingleChildRenderObjectElement.insertChildRenderObject (package:flutter/src/widgets/framework.dart:4553:18)
I/flutter (20214): #9 RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:4402:35)
I/flutter (20214): #10 Element.attachRenderObject.<anonymous closure> (package:flutter/src/widgets/framework.dart:2820:13)
I/flutter (20214): #11 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:3592:14)
I/flutter (20214): #12 Element.attachRenderObject (package:flutter/src/widgets/framework.dart:2819:5)
I/flutter (20214): #13 Element._activateWithParent (package:flutter/src/widgets/framework.dart:2967:5)
I/flutter (20214): #14 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2892:18)
I/flutter (20214): #15 Element.updateChild (package:flutter/src/widgets/framework.dart:2703:12)
I/flutter (20214): #16 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4538:14)
I/flutter (20214): #17 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2900:14)
I/flutter (20214): #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2703:12)
I/flutter (20214): #19 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4538:14)
I/flutter (20214): #20 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2900:14)
I/flutter (20214): #21 Element.updateChild (package:flutter/src/widgets/framework.dart:2703:12)
I/flutter (20214): #22 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #23 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #24 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3536:5)
I/flutter (20214): #25 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter (20214): #26 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2900:14)
I/flutter (20214): #27 Element.updateChild (package:flutter/src/widgets/framework.dart:2703:12)
I/flutter (20214): #28 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4330:32)
I/flutter (20214): #29 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4653:17)
I/flutter (20214): #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #31 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4545:14)
I/flutter (20214): #32 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #33 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #34 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #35 StatelessElement.update (package:flutter/src/widgets/framework.dart:3618:5)
I/flutter (20214): #36 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #37 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #38 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #39 StatefulElement.update (package:flutter/src/widgets/framework.dart:3693:5)
I/flutter (20214): #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #41 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4545:14)
I/flutter (20214): #42 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #43 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4545:14)
I/flutter (20214): #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #47 StatefulElement.update (package:flutter/src/widgets/framework.dart:3693:5)
I/flutter (20214): #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #51 StatelessElement.update (package:flutter/src/widgets/framework.dart:3618:5)
I/flutter (20214): #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #53 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #54 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #55 StatefulElement.update (package:flutter/src/widgets/framework.dart:3693:5)
I/flutter (20214): #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #57 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4545:14)
I/flutter (20214): #58 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #59 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4545:14)
I/flutter (20214): #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #62 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #63 StatelessElement.update (package:flutter/src/widgets/framework.dart:3618:5)
I/flutter (20214): #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #65 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4272:32)
I/flutter (20214): #66 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4653:17)
I/flutter (20214): #67 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #68 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4545:14)
I/flutter (20214): #69 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #70 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #71 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #72 StatelessElement.update (package:flutter/src/widgets/framework.dart:3618:5)
I/flutter (20214): #73 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #74 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4272:32)
I/flutter (20214): #75 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4653:17)
I/flutter (20214): #76 Element.updateChild (package:flutter/src/widgets/framework.dart:2692:15)
I/flutter (20214): #77 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3568:16)
I/flutter (20214): #78 Element.rebuild (package:flutter/src/widgets/framework.dart:3457:5)
I/flutter (20214): #79 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2261:33)
I/flutter (20214): #80 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:530:20)
I/flutter (20214): #81 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:194:5)
I/flutter (20214): #82 BindingBase&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:713:15)
I/flutter (20214): #83 BindingBase&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:649:9)
I/flutter (20214): #84 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/rendering/binding.dart:280:20)
I/flutter (20214): #86 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:367)
I/flutter (20214): #87 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:401)
I/flutter (20214): #88 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
I/flutter (20214): (elided 3 frames from class _AssertionError and package dart:async-patch)
I/flutter (20214): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (20214): Another exception was thrown: NoSuchMethodError: The getter 'debugDoingLayout' was called on null.
I/flutter (20214): Another exception was thrown: Tried to paint a RenderObject before its compositing bits were updated.
I/flutter (20214): Page 0 already loaded, skipping.
I/flutter (20214): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2100 pos 12: '!_needsPaint': is not true.
Reloaded 12 of 595 libraries in 1,696ms.
I/flutter (20214): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2100 pos 12: '!_needsPaint': is not true.
Application finished.
</code></pre></div>
<p dir="auto">Run <code class="notranslate">flutter analyze</code> and attach any output of that command also.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" lint • Don't import implementation files from another package at lib/feed.dart:5:8 • implementation_imports
lint • Close instances of `dart.core.Sink` at lib/feed.dart:26:26 • close_sinks
lint • Don't explicitly initialize variables to null at lib/loading_list_view.dart:23:5 • avoid_init_to_null
lint • Don't import implementation files from another package at lib/post.dart:5:8 • implementation_imports
hint • Unused import at lib/feed.dart:2:8 • unused_import
hint • Unused import at lib/feed.dart:5:8 • unused_import
hint • Unused import at lib/feed.dart:7:8 • unused_import
hint • Unused import at lib/feed.dart:12:8 • unused_import
hint • Unused import at lib/feed.dart:13:8 • unused_import
hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/feed.dart:29:8 • must_call_super
hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/feed.dart:42:8 • must_call_super
hint • The type parameter 'widgetAdapter' is annotated with @required but only named parameters without default value can be annotated with it at lib/loading_list_view.dart:23:5 • invalid_required_param
hint • Unused import at lib/main.dart:4:8 • unused_import
hint • Unused import at lib/main.dart:8:8 • unused_import
hint • Unused import at lib/main.dart:10:8 • unused_import
hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/main.dart:121:8 • must_call_super
hint • The method '_onBadgeSelected' isn't used at lib/main.dart:242:8 • unused_element
hint • The method '_compressImage' isn't used at lib/misc/utils.dart:38:17 • unused_element
hint • The method '_dCompressImage' isn't used at lib/misc/utils.dart:58:17 • unused_element
hint • Unused import at lib/post.dart:10:8 • unused_import
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:13:7 • must_be_immutable
hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/post.dart:40:10 • must_call_super
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:76:7 • must_be_immutable
hint • The value of the local variable 'plainText' isn't used at lib/post.dart:113:10 • unused_local_variable
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:155:7 • must_be_immutable
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:203:7 • must_be_immutable
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/profile.dart:10:7 • must_be_immutable
hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/profile.dart:27:10 • must_call_super
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/profile.dart:144:7 • must_be_immutable
hint • The class '_KudosEarned' isn't used at lib/profile.dart:217:7 • unused_element
hint • Unused import at lib/usersearch.dart:7:8 • unused_import
hint • Unused import at lib/usersearch.dart:8:8 • unused_import
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/usersearch.dart:15:7 • must_be_immutable
hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/usersearch.dart:33:8 • must_call_super
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/widget/badgelist.dart:9:7 • must_be_immutable
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/widget/badgelist.dart:56:7 • must_be_immutable
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/widget/kudodetail.dart:17:7 • must_be_immutable
hint • The member 'setState' can only be used within instance members of subclasses of 'State' at lib/widget/kudodetail.dart:27:11 • invalid_use_of_protected_member
hint • The value of the local variable 'cameraButton' isn't used at lib/widget/kudodetail.dart:100:16 • unused_local_variable
hint • Unused import at lib/widget/login.dart:9:8 • unused_import
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/widget/login.dart:15:7 • must_be_immutable
hint • The method '_notEmptyValidator' isn't used at lib/widget/login.dart:119:10 • unused_element
hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/widget/sendkudoflow.dart:37:8 • must_call_super
43 issues found."><pre class="notranslate"><code class="notranslate"> lint • Don't import implementation files from another package at lib/feed.dart:5:8 • implementation_imports
lint • Close instances of `dart.core.Sink` at lib/feed.dart:26:26 • close_sinks
lint • Don't explicitly initialize variables to null at lib/loading_list_view.dart:23:5 • avoid_init_to_null
lint • Don't import implementation files from another package at lib/post.dart:5:8 • implementation_imports
hint • Unused import at lib/feed.dart:2:8 • unused_import
hint • Unused import at lib/feed.dart:5:8 • unused_import
hint • Unused import at lib/feed.dart:7:8 • unused_import
hint • Unused import at lib/feed.dart:12:8 • unused_import
hint • Unused import at lib/feed.dart:13:8 • unused_import
hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/feed.dart:29:8 • must_call_super
hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/feed.dart:42:8 • must_call_super
hint • The type parameter 'widgetAdapter' is annotated with @required but only named parameters without default value can be annotated with it at lib/loading_list_view.dart:23:5 • invalid_required_param
hint • Unused import at lib/main.dart:4:8 • unused_import
hint • Unused import at lib/main.dart:8:8 • unused_import
hint • Unused import at lib/main.dart:10:8 • unused_import
hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/main.dart:121:8 • must_call_super
hint • The method '_onBadgeSelected' isn't used at lib/main.dart:242:8 • unused_element
hint • The method '_compressImage' isn't used at lib/misc/utils.dart:38:17 • unused_element
hint • The method '_dCompressImage' isn't used at lib/misc/utils.dart:58:17 • unused_element
hint • Unused import at lib/post.dart:10:8 • unused_import
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:13:7 • must_be_immutable
hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/post.dart:40:10 • must_call_super
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:76:7 • must_be_immutable
hint • The value of the local variable 'plainText' isn't used at lib/post.dart:113:10 • unused_local_variable
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:155:7 • must_be_immutable
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:203:7 • must_be_immutable
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/profile.dart:10:7 • must_be_immutable
hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/profile.dart:27:10 • must_call_super
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/profile.dart:144:7 • must_be_immutable
hint • The class '_KudosEarned' isn't used at lib/profile.dart:217:7 • unused_element
hint • Unused import at lib/usersearch.dart:7:8 • unused_import
hint • Unused import at lib/usersearch.dart:8:8 • unused_import
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/usersearch.dart:15:7 • must_be_immutable
hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/usersearch.dart:33:8 • must_call_super
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/widget/badgelist.dart:9:7 • must_be_immutable
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/widget/badgelist.dart:56:7 • must_be_immutable
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/widget/kudodetail.dart:17:7 • must_be_immutable
hint • The member 'setState' can only be used within instance members of subclasses of 'State' at lib/widget/kudodetail.dart:27:11 • invalid_use_of_protected_member
hint • The value of the local variable 'cameraButton' isn't used at lib/widget/kudodetail.dart:100:16 • unused_local_variable
hint • Unused import at lib/widget/login.dart:9:8 • unused_import
hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/widget/login.dart:15:7 • must_be_immutable
hint • The method '_notEmptyValidator' isn't used at lib/widget/login.dart:119:10 • unused_element
hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/widget/sendkudoflow.dart:37:8 • must_call_super
43 issues found.
</code></pre></div>
<h2 dir="auto">Flutter Doctor</h2>
<p dir="auto">Paste the output of running <code class="notranslate">flutter doctor</code> here.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-US, channel alpha)
• Flutter at /Users/matt/code/flutter/flutter
• Framework revision 701d534ba9 (2 weeks ago), 2017-09-12 14:01:51 -0700
• Engine revision 31d03de019
• Tools Dart version 1.25.0-dev.11.0
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
• Android SDK at /Users/matt/code/android/android
• Platform android-25, build-tools 25.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[-] iOS toolchain - develop for iOS devices (Xcode 9.0)
• Xcode at /Applications/Xcode-beta9.app/Contents/Developer
• Xcode 9.0, Build version 9A235
• ios-deploy 1.9.1
✗ ios-deploy out of date (1.9.2 is required). To upgrade:
brew upgrade ios-deploy
• CocoaPods version 1.3.1
[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] IntelliJ IDEA Ultimate Edition (version 2017.2.3)
• Flutter plugin version 17.0
• Dart plugin version 172.3968.27
[✓] Connected devices
• Pixel • FA6A10319557 • android-arm • Android 7.1.2 (API 25)"><pre class="notranslate"><code class="notranslate">[✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-US, channel alpha)
• Flutter at /Users/matt/code/flutter/flutter
• Framework revision 701d534ba9 (2 weeks ago), 2017-09-12 14:01:51 -0700
• Engine revision 31d03de019
• Tools Dart version 1.25.0-dev.11.0
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
• Android SDK at /Users/matt/code/android/android
• Platform android-25, build-tools 25.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[-] iOS toolchain - develop for iOS devices (Xcode 9.0)
• Xcode at /Applications/Xcode-beta9.app/Contents/Developer
• Xcode 9.0, Build version 9A235
• ios-deploy 1.9.1
✗ ios-deploy out of date (1.9.2 is required). To upgrade:
brew upgrade ios-deploy
• CocoaPods version 1.3.1
[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] IntelliJ IDEA Ultimate Edition (version 2017.2.3)
• Flutter plugin version 17.0
• Dart plugin version 172.3968.27
[✓] Connected devices
• Pixel • FA6A10319557 • android-arm • Android 7.1.2 (API 25)
</code></pre></div> | <p dir="auto">I am able to trigger a reproducible assertion when adding (or removing) a <code class="notranslate">padding</code> argument to a <code class="notranslate">Container</code> and doing a hot-reload. Note that the assertion happens only during a hot-reload, not during a hot-restart nor when doing the initial <code class="notranslate">flutter run</code>.</p>
<p dir="auto">I've tried to distill the reproduction case to be as small as possible. Note that the use of a <code class="notranslate">GlobalKey</code>, a <code class="notranslate">GridView</code>, and the <code class="notranslate">BoxConstraints</code> all seem to be relevant.</p>
<h2 dir="auto">The failure</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ flutter run
Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle... 0.7s
Resolving dependencies... 1.8s
Gradle task 'assembleDebug'... 3.8s
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk... 0.8s
Syncing files to device Android SDK built for x86...
D/ (16785): HostConnection::get() New Host Connection established 0xde8a9fc0, tid 16811
D/EGL_emulation(16785): eglMakeCurrent: 0xe1205ca0: ver 2 0 (tinfo 0xcd0cf9e0)
2.5s
🔥 To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
An Observatory debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:46673/
For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".
Initializing hot reload... I/flutter (16785): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (16785): The following assertion was thrown building Container(constraints: BoxConstraints(0.0<=w<=Infinity,
I/flutter (16785): h=200.0)):
I/flutter (16785): 'package:flutter/src/rendering/object.dart': Failed assertion: line 1854 pos 12: '() {
I/flutter (16785): final AbstractNode parent = this.parent;
I/flutter (16785): if (parent is RenderObject)
I/flutter (16785): return parent._needsCompositing;
I/flutter (16785): return true;
I/flutter (16785): }()': is not true.
I/flutter (16785):
I/flutter (16785): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (16785): more information in this error message to help you determine and fix the underlying cause.
I/flutter (16785): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (16785): https://github.com/flutter/flutter/issues/new
I/flutter (16785):
I/flutter (16785): When the exception was thrown, this was the stack:
I/flutter (16785): #2 RenderObject.markNeedsCompositingBitsUpdate (package:flutter/src/rendering/object.dart:1854:12)
I/flutter (16785): #3 RenderObject.attach (package:flutter/src/rendering/object.dart:1294:7)
I/flutter (16785): #4 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin.attach (package:flutter/src/rendering/object.dart:2720:11)
I/flutter (16785): #5 AbstractNode.adoptChild (package:flutter/src/foundation/node.dart:132:13)
I/flutter (16785): #6 RenderObject.adoptChild (package:flutter/src/rendering/object.dart:1139:11)
I/flutter (16785): #7 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin.child= (package:flutter/src/rendering/object.dart:2715:7)
I/flutter (16785): #8 SingleChildRenderObjectElement.insertChildRenderObject (package:flutter/src/widgets/framework.dart:4815:18)
I/flutter (16785): #9 RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:4659:35)
I/flutter (16785): #10 Element.attachRenderObject.<anonymous closure> (package:flutter/src/widgets/framework.dart:2856:13)
I/flutter (16785): #11 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:3716:14)
I/flutter (16785): #12 Element.attachRenderObject (package:flutter/src/widgets/framework.dart:2855:5)
I/flutter (16785): #13 Element.attachRenderObject.<anonymous closure> (package:flutter/src/widgets/framework.dart:2856:13)
I/flutter (16785): #14 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:3716:14)
I/flutter (16785): #15 Element.attachRenderObject (package:flutter/src/widgets/framework.dart:2855:5)
I/flutter (16785): #16 Element.attachRenderObject.<anonymous closure> (package:flutter/src/widgets/framework.dart:2856:13)
I/flutter (16785): #17 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:3716:14)
I/flutter (16785): #18 Element.attachRenderObject (package:flutter/src/widgets/framework.dart:2855:5)
I/flutter (16785): #19 Element.attachRenderObject.<anonymous closure> (package:flutter/src/widgets/framework.dart:2856:13)
I/flutter (16785): #20 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:3716:14)
I/flutter (16785): #21 Element.attachRenderObject (package:flutter/src/widgets/framework.dart:2855:5)
I/flutter (16785): #22 Element.attachRenderObject.<anonymous closure> (package:flutter/src/widgets/framework.dart:2856:13)
I/flutter (16785): #23 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:3716:14)
I/flutter (16785): #24 Element.attachRenderObject (package:flutter/src/widgets/framework.dart:2855:5)
I/flutter (16785): #25 Element._activateWithParent (package:flutter/src/widgets/framework.dart:3003:5)
I/flutter (16785): #26 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2928:18)
I/flutter (16785): #27 Element.updateChild (package:flutter/src/widgets/framework.dart:2739:12)
I/flutter (16785): #28 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4800:14)
I/flutter (16785): #29 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2936:14)
I/flutter (16785): #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2739:12)
I/flutter (16785): #31 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #32 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #33 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3662:5)
I/flutter (16785): #34 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3657:5)
I/flutter (16785): #35 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2936:14)
I/flutter (16785): #36 Element.updateChild (package:flutter/src/widgets/framework.dart:2739:12)
I/flutter (16785): #37 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4800:14)
I/flutter (16785): #38 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2936:14)
I/flutter (16785): #39 Element.updateChild (package:flutter/src/widgets/framework.dart:2739:12)
I/flutter (16785): #40 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #41 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #42 StatelessElement.update (package:flutter/src/widgets/framework.dart:3742:5)
I/flutter (16785): #43 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #44 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #45 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #46 StatelessElement.update (package:flutter/src/widgets/framework.dart:3742:5)
I/flutter (16785): #47 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #48 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #49 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #50 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #51 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #52 StatelessElement.update (package:flutter/src/widgets/framework.dart:3742:5)
I/flutter (16785): #53 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #54 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #55 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #56 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #57 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #58 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #59 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #60 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #61 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #62 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #63 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #64 StatefulElement.update (package:flutter/src/widgets/framework.dart:3839:5)
I/flutter (16785): #65 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #66 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #67 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #68 StatelessElement.update (package:flutter/src/widgets/framework.dart:3742:5)
I/flutter (16785): #69 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #70 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #71 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #72 StatefulElement.update (package:flutter/src/widgets/framework.dart:3839:5)
I/flutter (16785): #73 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #74 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #75 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #76 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #77 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #78 ProxyElement.update (package:flutter/src/widgets/framework.dart:3951:5)
I/flutter (16785): #79 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #80 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #81 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #82 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #83 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #84 StatefulElement.update (package:flutter/src/widgets/framework.dart:3839:5)
I/flutter (16785): #85 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #86 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #87 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #88 StatelessElement.update (package:flutter/src/widgets/framework.dart:3742:5)
I/flutter (16785): #89 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #90 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #91 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #92 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #93 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #94 ProxyElement.update (package:flutter/src/widgets/framework.dart:3951:5)
I/flutter (16785): #95 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #96 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #97 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #98 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2272:33)
I/flutter (16785): #99 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:673:20)
I/flutter (16785): #100 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:219:5)
I/flutter (16785): #101 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter (16785): #102 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter (16785): #103 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
I/flutter (16785): #105 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
I/flutter (16785): #106 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
I/flutter (16785): #107 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
I/flutter (16785): (elided 3 frames from class _AssertionError and package dart:async)
I/flutter (16785): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (16785): Another exception was thrown: 'package:flutter/src/foundation/node.dart': Failed assertion: line 106 pos 12: '_owner != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/foundation/node.dart': Failed assertion: line 106 pos 12: '_owner != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 1153 pos 12: 'child.parentData != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/foundation/node.dart': Failed assertion: line 106 pos 12: '_owner != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/foundation/node.dart': Failed assertion: line 106 pos 12: '_owner != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 1153 pos 12: 'child.parentData != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 1153 pos 12: 'child.parentData != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/foundation/node.dart': Failed assertion: line 106 pos 12: '_owner != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/foundation/node.dart': Failed assertion: line 106 pos 12: '_owner != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 1153 pos 12: 'child.parentData != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3532 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
Reloaded 1 of 416 libraries in 674ms.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3532 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
I/flutter (16785): Another exception was thrown: NoSuchMethodError: The method '_enableMutationsToDirtySubtrees' was called on null.
I/flutter (16785): Another exception was thrown: NoSuchMethodError: The setter 'offset=' was called on null.
I/flutter (16785): Another exception was thrown: RenderBox was not laid out: RenderPadding#3ac5e NEEDS-PAINT DETACHED
I/flutter (16785): Another exception was thrown: 'package:flutter/src/rendering/box.dart': Failed assertion: line 1493 pos 18: 'debugDoingThisResize || debugDoingThisLayout ||
I/chatty (16785): uid=10080(com.example.visibilitydetectorsample) Thread-2 identical 2 lines
I/flutter (16785): Another exception was thrown: 'package:flutter/src/rendering/box.dart': Failed assertion: line 1493 pos 18: 'debugDoingThisResize || debugDoingThisLayout ||
I/flutter (16785): Another exception was thrown: NoSuchMethodError: The getter 'offset' was called on null.
Application finished."><pre class="notranslate"><code class="notranslate">$ flutter run
Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle... 0.7s
Resolving dependencies... 1.8s
Gradle task 'assembleDebug'... 3.8s
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk... 0.8s
Syncing files to device Android SDK built for x86...
D/ (16785): HostConnection::get() New Host Connection established 0xde8a9fc0, tid 16811
D/EGL_emulation(16785): eglMakeCurrent: 0xe1205ca0: ver 2 0 (tinfo 0xcd0cf9e0)
2.5s
🔥 To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
An Observatory debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:46673/
For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".
Initializing hot reload... I/flutter (16785): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (16785): The following assertion was thrown building Container(constraints: BoxConstraints(0.0<=w<=Infinity,
I/flutter (16785): h=200.0)):
I/flutter (16785): 'package:flutter/src/rendering/object.dart': Failed assertion: line 1854 pos 12: '() {
I/flutter (16785): final AbstractNode parent = this.parent;
I/flutter (16785): if (parent is RenderObject)
I/flutter (16785): return parent._needsCompositing;
I/flutter (16785): return true;
I/flutter (16785): }()': is not true.
I/flutter (16785):
I/flutter (16785): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (16785): more information in this error message to help you determine and fix the underlying cause.
I/flutter (16785): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (16785): https://github.com/flutter/flutter/issues/new
I/flutter (16785):
I/flutter (16785): When the exception was thrown, this was the stack:
I/flutter (16785): #2 RenderObject.markNeedsCompositingBitsUpdate (package:flutter/src/rendering/object.dart:1854:12)
I/flutter (16785): #3 RenderObject.attach (package:flutter/src/rendering/object.dart:1294:7)
I/flutter (16785): #4 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin.attach (package:flutter/src/rendering/object.dart:2720:11)
I/flutter (16785): #5 AbstractNode.adoptChild (package:flutter/src/foundation/node.dart:132:13)
I/flutter (16785): #6 RenderObject.adoptChild (package:flutter/src/rendering/object.dart:1139:11)
I/flutter (16785): #7 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin.child= (package:flutter/src/rendering/object.dart:2715:7)
I/flutter (16785): #8 SingleChildRenderObjectElement.insertChildRenderObject (package:flutter/src/widgets/framework.dart:4815:18)
I/flutter (16785): #9 RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:4659:35)
I/flutter (16785): #10 Element.attachRenderObject.<anonymous closure> (package:flutter/src/widgets/framework.dart:2856:13)
I/flutter (16785): #11 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:3716:14)
I/flutter (16785): #12 Element.attachRenderObject (package:flutter/src/widgets/framework.dart:2855:5)
I/flutter (16785): #13 Element.attachRenderObject.<anonymous closure> (package:flutter/src/widgets/framework.dart:2856:13)
I/flutter (16785): #14 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:3716:14)
I/flutter (16785): #15 Element.attachRenderObject (package:flutter/src/widgets/framework.dart:2855:5)
I/flutter (16785): #16 Element.attachRenderObject.<anonymous closure> (package:flutter/src/widgets/framework.dart:2856:13)
I/flutter (16785): #17 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:3716:14)
I/flutter (16785): #18 Element.attachRenderObject (package:flutter/src/widgets/framework.dart:2855:5)
I/flutter (16785): #19 Element.attachRenderObject.<anonymous closure> (package:flutter/src/widgets/framework.dart:2856:13)
I/flutter (16785): #20 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:3716:14)
I/flutter (16785): #21 Element.attachRenderObject (package:flutter/src/widgets/framework.dart:2855:5)
I/flutter (16785): #22 Element.attachRenderObject.<anonymous closure> (package:flutter/src/widgets/framework.dart:2856:13)
I/flutter (16785): #23 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:3716:14)
I/flutter (16785): #24 Element.attachRenderObject (package:flutter/src/widgets/framework.dart:2855:5)
I/flutter (16785): #25 Element._activateWithParent (package:flutter/src/widgets/framework.dart:3003:5)
I/flutter (16785): #26 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2928:18)
I/flutter (16785): #27 Element.updateChild (package:flutter/src/widgets/framework.dart:2739:12)
I/flutter (16785): #28 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4800:14)
I/flutter (16785): #29 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2936:14)
I/flutter (16785): #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2739:12)
I/flutter (16785): #31 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #32 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #33 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3662:5)
I/flutter (16785): #34 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3657:5)
I/flutter (16785): #35 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2936:14)
I/flutter (16785): #36 Element.updateChild (package:flutter/src/widgets/framework.dart:2739:12)
I/flutter (16785): #37 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4800:14)
I/flutter (16785): #38 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2936:14)
I/flutter (16785): #39 Element.updateChild (package:flutter/src/widgets/framework.dart:2739:12)
I/flutter (16785): #40 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #41 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #42 StatelessElement.update (package:flutter/src/widgets/framework.dart:3742:5)
I/flutter (16785): #43 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #44 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #45 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #46 StatelessElement.update (package:flutter/src/widgets/framework.dart:3742:5)
I/flutter (16785): #47 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #48 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #49 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #50 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #51 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #52 StatelessElement.update (package:flutter/src/widgets/framework.dart:3742:5)
I/flutter (16785): #53 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #54 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #55 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #56 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #57 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #58 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #59 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #60 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #61 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #62 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #63 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #64 StatefulElement.update (package:flutter/src/widgets/framework.dart:3839:5)
I/flutter (16785): #65 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #66 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #67 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #68 StatelessElement.update (package:flutter/src/widgets/framework.dart:3742:5)
I/flutter (16785): #69 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #70 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #71 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #72 StatefulElement.update (package:flutter/src/widgets/framework.dart:3839:5)
I/flutter (16785): #73 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #74 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #75 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #76 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #77 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #78 ProxyElement.update (package:flutter/src/widgets/framework.dart:3951:5)
I/flutter (16785): #79 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #80 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #81 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #82 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #83 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #84 StatefulElement.update (package:flutter/src/widgets/framework.dart:3839:5)
I/flutter (16785): #85 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #86 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #87 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #88 StatelessElement.update (package:flutter/src/widgets/framework.dart:3742:5)
I/flutter (16785): #89 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #90 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4807:14)
I/flutter (16785): #91 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #92 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #93 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #94 ProxyElement.update (package:flutter/src/widgets/framework.dart:3951:5)
I/flutter (16785): #95 Element.updateChild (package:flutter/src/widgets/framework.dart:2728:15)
I/flutter (16785): #96 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3693:16)
I/flutter (16785): #97 Element.rebuild (package:flutter/src/widgets/framework.dart:3530:5)
I/flutter (16785): #98 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2272:33)
I/flutter (16785): #99 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:673:20)
I/flutter (16785): #100 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:219:5)
I/flutter (16785): #101 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter (16785): #102 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter (16785): #103 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
I/flutter (16785): #105 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
I/flutter (16785): #106 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
I/flutter (16785): #107 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
I/flutter (16785): (elided 3 frames from class _AssertionError and package dart:async)
I/flutter (16785): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (16785): Another exception was thrown: 'package:flutter/src/foundation/node.dart': Failed assertion: line 106 pos 12: '_owner != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/foundation/node.dart': Failed assertion: line 106 pos 12: '_owner != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 1153 pos 12: 'child.parentData != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/foundation/node.dart': Failed assertion: line 106 pos 12: '_owner != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/foundation/node.dart': Failed assertion: line 106 pos 12: '_owner != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 1153 pos 12: 'child.parentData != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 1153 pos 12: 'child.parentData != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/foundation/node.dart': Failed assertion: line 106 pos 12: '_owner != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/foundation/node.dart': Failed assertion: line 106 pos 12: '_owner != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 1153 pos 12: 'child.parentData != null': is not true.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3532 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
Reloaded 1 of 416 libraries in 674ms.
I/flutter (16785): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3532 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
I/flutter (16785): Another exception was thrown: NoSuchMethodError: The method '_enableMutationsToDirtySubtrees' was called on null.
I/flutter (16785): Another exception was thrown: NoSuchMethodError: The setter 'offset=' was called on null.
I/flutter (16785): Another exception was thrown: RenderBox was not laid out: RenderPadding#3ac5e NEEDS-PAINT DETACHED
I/flutter (16785): Another exception was thrown: 'package:flutter/src/rendering/box.dart': Failed assertion: line 1493 pos 18: 'debugDoingThisResize || debugDoingThisLayout ||
I/chatty (16785): uid=10080(com.example.visibilitydetectorsample) Thread-2 identical 2 lines
I/flutter (16785): Another exception was thrown: 'package:flutter/src/rendering/box.dart': Failed assertion: line 1493 pos 18: 'debugDoingThisResize || debugDoingThisLayout ||
I/flutter (16785): Another exception was thrown: NoSuchMethodError: The getter 'offset' was called on null.
Application finished.
</code></pre></div>
<h2 dir="auto">The code</h2>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'package:flutter/material.dart';
void main() {
return runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: MyHomePage(),
);
}
}
class MyHomePage extends StatelessWidget {
MyHomePage({Key key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
// XXX: Removing (or adding) the following line and doing a hot-reload
// triggers a framework assertion. Hot restart is fine.
padding: const EdgeInsets.all(5),
child: Container(
constraints: const BoxConstraints(minHeight: 200, maxHeight: 200),
child: GridView.count(
key: _myKey,
crossAxisCount: 2,
children: <Widget>[Placeholder(), Placeholder()],
),
),
);
}
}
final _myKey = LabeledGlobalKey('MyKey');"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'package:flutter/material.dart'</span>;
<span class="pl-k">void</span> <span class="pl-en">main</span>() {
<span class="pl-k">return</span> <span class="pl-en">runApp</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-k">@override</span>
<span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) {
<span class="pl-k">return</span> <span class="pl-c1">MaterialApp</span>(
home<span class="pl-k">:</span> <span class="pl-c1">MyHomePage</span>(),
);
}
}
<span class="pl-k">class</span> <span class="pl-c1">MyHomePage</span> <span class="pl-k">extends</span> <span class="pl-c1">StatelessWidget</span> {
<span class="pl-c1">MyHomePage</span>({<span class="pl-c1">Key</span> key}) <span class="pl-k">:</span> <span class="pl-c1">super</span>(key<span class="pl-k">:</span> key);
<span class="pl-k">@override</span>
<span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) {
<span class="pl-k">return</span> <span class="pl-c1">Container</span>(
<span class="pl-c">// XXX: Removing (or adding) the following line and doing a hot-reload</span>
<span class="pl-c">// triggers a framework assertion. Hot restart is fine.</span>
padding<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">all</span>(<span class="pl-c1">5</span>),
child<span class="pl-k">:</span> <span class="pl-c1">Container</span>(
constraints<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">BoxConstraints</span>(minHeight<span class="pl-k">:</span> <span class="pl-c1">200</span>, maxHeight<span class="pl-k">:</span> <span class="pl-c1">200</span>),
child<span class="pl-k">:</span> <span class="pl-c1">GridView</span>.<span class="pl-en">count</span>(
key<span class="pl-k">:</span> _myKey,
crossAxisCount<span class="pl-k">:</span> <span class="pl-c1">2</span>,
children<span class="pl-k">:</span> <span class="pl-k"><</span><span class="pl-c1">Widget</span><span class="pl-k">></span>[<span class="pl-c1">Placeholder</span>(), <span class="pl-c1">Placeholder</span>()],
),
),
);
}
}
<span class="pl-k">final</span> _myKey <span class="pl-k">=</span> <span class="pl-c1">LabeledGlobalKey</span>(<span class="pl-s">'MyKey'</span>);</pre></div>
<h2 dir="auto">Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ flutter doctor -v
[✓] Flutter (Channel unknown, v0.10.2-pre.81, on Linux, locale en_US.UTF-8)
• Flutter version 0.10.2-pre.81 at /home/jamesdlin/git/flutter/flutter
• Framework revision 26131d917a (2 weeks ago), 2018-10-23 17:36:25 -0700
• Engine revision 3236b49cea
• Dart version 2.1.0 (build 2.1.0-dev.8.0 bf26f760b1)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /home/jamesdlin/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /home/jamesdlin/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] Android Studio (version 3.2)
• Android Studio at /home/jamesdlin/android-studio
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] VS Code (version 1.28.1)
• VS Code at /usr/share/code
• Flutter extension version 2.19.0
[✓] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)
• No issues found!"><pre class="notranslate"><code class="notranslate">$ flutter doctor -v
[✓] Flutter (Channel unknown, v0.10.2-pre.81, on Linux, locale en_US.UTF-8)
• Flutter version 0.10.2-pre.81 at /home/jamesdlin/git/flutter/flutter
• Framework revision 26131d917a (2 weeks ago), 2018-10-23 17:36:25 -0700
• Engine revision 3236b49cea
• Dart version 2.1.0 (build 2.1.0-dev.8.0 bf26f760b1)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /home/jamesdlin/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /home/jamesdlin/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] Android Studio (version 3.2)
• Android Studio at /home/jamesdlin/android-studio
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] VS Code (version 1.28.1)
• VS Code at /usr/share/code
• Flutter extension version 2.19.0
[✓] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)
• No issues found!
</code></pre></div> | 1 |
<p dir="auto">When I use input append and popover at the same time then popover not working, but when I remove the appended input (by removing the input-append class) then it works. Here is my code:</p>
<span>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" <button class="span2" id="filter" type="text" name="filter" placeholder="Type your filter">itest</button>
<button class="btn" id="filterSubmits">Go</button>"><pre class="notranslate"><code class="notranslate"> <button class="span2" id="filter" type="text" name="filter" placeholder="Type your filter">itest</button>
<button class="btn" id="filterSubmits">Go</button>
</code></pre></div>
</span>
<script>
jQuery(function() {
$('#filter').attr('data-title', 'Search tips').
attr('data-content', 'Search format: -|+').
attr('data-placement', 'bottom').
attr('data-trigger', 'focus');
$('#filter').popover('show');
})
</script> | <p dir="auto">On the <strong>Components</strong> page of the Bootstrap docs, the sidebar becomes too tall for the viewport when <code class="notranslate">scrollspy</code> causes the sidebar subheadings to show.</p>
<p dir="auto">The sidebar cannot be scrolled or manipulated to show content below the viewport.</p>
<p dir="auto">See here: <a href="http://getbootstrap.com/components/#glyphicons" rel="nofollow">http://getbootstrap.com/components/#glyphicons</a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/95439b4a35416da72571a4370430e75ce3537082bd569e0307adc41876c1c985/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f333135343431352f3939313132322f31333836323763632d303935322d313165332d396239652d3562356337373934356263622e706e67"><img src="https://camo.githubusercontent.com/95439b4a35416da72571a4370430e75ce3537082bd569e0307adc41876c1c985/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f333135343431352f3939313132322f31333836323763632d303935322d313165332d396239652d3562356337373934356263622e706e67" alt="screen shot 2013-08-20 at 12 35 55" data-canonical-src="https://f.cloud.github.com/assets/3154415/991122/138627cc-0952-11e3-9b9e-5b5c77945bcb.png" style="max-width: 100%;"></a></p> | 0 |
<h2 dir="auto">Bug Report</h2>
<p dir="auto"><strong>Current Behavior</strong><br>
IE11 throws error at <code class="notranslate">_isNativeFunction</code><br>
=> <code class="notranslate">Function.prototype.toString: 'this' is not a Function object</code></p>
<p dir="auto"><strong>Input Code</strong></p>
<ul dir="auto">
<li>REPL or Repo link if applicable:</li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class MyElement extends HTMLElement {}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">MyElement</span> <span class="pl-k">extends</span> <span class="pl-v">HTMLElement</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Expected behavior/code</strong><br>
The code should return <code class="notranslate">true</code> and never throw error.</p>
<p dir="auto"><strong>Babel Configuration (.babelrc, package.json, cli command)</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="preset-env"><pre class="notranslate"><span class="pl-s1">preset</span><span class="pl-c1">-</span><span class="pl-s1">env</span></pre></div>
<p dir="auto"><strong>Environment</strong></p>
<ul dir="auto">
<li>Babel version(s): 7</li>
<li>Node/npm version: node 11</li>
<li>OS: all</li>
<li>Monorepo: no</li>
<li>How you are using Babel: rollup-plugin-babel</li>
</ul>
<p dir="auto"><strong>Possible Solution</strong><br>
This is <strong>NOT</strong> the solution:</p>
<div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export default function _isNativeFunction(fn) {
+ return typeof fn === 'function' && Function.toString.call(fn).indexOf("[native code]") !== -1;
- return Function.toString.call(fn).indexOf("[native code]") !== -1;
}"><pre class="notranslate">export default function _isNativeFunction(fn) {
<span class="pl-mi1"><span class="pl-mi1">+</span> return typeof fn === 'function' && Function.toString.call(fn).indexOf("[native code]") !== -1;</span>
<span class="pl-md"><span class="pl-md">-</span> return Function.toString.call(fn).indexOf("[native code]") !== -1;</span>
}</pre></div>
<p dir="auto"><strong>Additional context/Screenshots</strong><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1109982/55489948-2e342180-5633-11e9-9d63-65a89b813bd3.png"><img src="https://user-images.githubusercontent.com/1109982/55489948-2e342180-5633-11e9-9d63-65a89b813bd3.png" alt="Screenshot 2019-04-03 at 16 52 00" style="max-width: 100%;"></a></p> | <h2 dir="auto">Bug Report</h2>
<p dir="auto"><strong>Current Behavior</strong></p>
<p dir="auto">IE11 throws a runtime error when transpiling class extension for native objects like: <code class="notranslate">Foo class extends DocumentFragment {}</code></p>
<p dir="auto">The problem is in this helper:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function _isNativeFunction(fn) {
return Function.toString.call(fn).indexOf("[native code]") !== -1;
}"><pre class="notranslate"><code class="notranslate">function _isNativeFunction(fn) {
return Function.toString.call(fn).indexOf("[native code]") !== -1;
}
</code></pre></div>
<p dir="auto">Here is the runtime error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Function.prototype.toString: 'this' is not a Function object"><pre class="notranslate"><code class="notranslate">Function.prototype.toString: 'this' is not a Function object
</code></pre></div>
<p dir="auto">The issue appears to be because <code class="notranslate">superClass</code> needs to be a function but <code class="notranslate">typeof HTMLElement</code> is object (in IE11) Note that <code class="notranslate">typeof HTMLElement</code> is function in other browsers.</p>
<p dir="auto"><strong>Input Code</strong></p>
<ul dir="auto">
<li>REPL or Repo link if applicable:</li>
</ul>
<p dir="auto"><a href="https://babeljs.io/repl/build/9254/#?babili=false&browsers=&build=&builtIns=false&spec=false&loose=false&code_lz=MYGwhgzhAEAa0FMAeAXBA7AJjAIge2AFcBbDFAMQCcwBzU9FaAbwCgBfFl4PdCPEBADoQeGgApYASgDcQA&debug=true&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=false&fileSize=false&timeTravel=false&sourceType=module&lineWrap=false&presets=env&prettier=true&targets=&version=7.1.2%2Bpr.8878&envVersion=7.1.0%2Bpr.8878" rel="nofollow">https://babeljs.io/repl/build/9254/#?babili=false&browsers=&build=&builtIns=false&spec=false&loose=false&code_lz=MYGwhgzhAEAa0FMAeAXBA7AJjAIge2AFcBbDFAMQCcwBzU9FaAbwCgBfFl4PdCPEBADoQeGgApYASgDcQA&debug=true&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=false&fileSize=false&timeTravel=false&sourceType=module&lineWrap=false&presets=env&prettier=true&targets=&version=7.1.2%2Bpr.8878&envVersion=7.1.0%2Bpr.8878</a></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class X extends DocumentFragment {}
"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">X</span> <span class="pl-k">extends</span> <span class="pl-v">DocumentFragment</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Expected behavior/code</strong><br>
It should work? :)</p>
<p dir="auto"><strong>Possible Solution</strong><br>
I haven't though too much about it, but maybe another check for isNative will be sufficient</p> | 1 |
<p dir="auto">I'm trying to download TW Bootstrap and this link: <a href="https://codeload.github.com/twbs/bootstrap/zip/v3.0.0-rc1-dist">https://codeload.github.com/twbs/bootstrap/zip/v3.0.0-rc1-dist</a></p>
<p dir="auto">Gives me "NOT FOUND".</p> | <p dir="auto">I don't know if this is the correct place to post this (in issues as its not really a software issue), but the download on the main GitHub page is broken.</p>
<p dir="auto">If you head to <a href="http://twitter.github.io/bootstrap" rel="nofollow">http://twitter.github.io/bootstrap</a> and click the download button it takes you to the following page to get the zip:</p>
<p dir="auto"><a href="https://codeload.github.com/twbs/bootstrap/zip/v3.0.0-rc1-dist">https://codeload.github.com/twbs/bootstrap/zip/v3.0.0-rc1-dist</a></p>
<p dir="auto">All the page says us "not found" instead of serving the download. This is also apparently the case for the other downloads.</p>
<p dir="auto">I use Composer in PHP to download packages and the bootstrap package keeps failing on:</p>
<p dir="auto">"Could not fetch <a href="https://api.github.com/repos/twitter/bootstrap/zipball/d991ef2ab1b4d156c7e5d33d052d66f8eaafc460">https://api.github.com/repos/twitter/bootstrap/zipball/d991ef2ab1b4d156c7e5d33d052d66f8eaafc460</a>, enter your GitHub credentials to access private repos"</p>
<p dir="auto">It doesn't this for all branches, so the private repo message is irrelevant.</p> | 1 |
<p dir="auto">Whenever I try to <code class="notranslate">cmd + /</code> to comment <code class="notranslate"><script></code> tags, it does the following:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// <script ..."><pre class="notranslate">// <span class="pl-kos"><</span><span class="pl-ent">script</span> <span class="pl-c1">...</span></pre></div>
<p dir="auto">Instead of:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<!-- <script ... -->"><pre class="notranslate"><span class="pl-c"><!-- <script ... --></span></pre></div> | <p dir="auto">Attempting to comment out a line with a script reference in the head of a document behaves strangely. It first attempts to comment out the line with two forward slashes. Toggle comments again then adds the correct html comments, but the forward slashes are still there. Activating toggle comments a third time removes the html comment but still leaves the forward slashes, you have to remove them manually.</p> | 1 |
<p dir="auto">These should probably be shorten and only show (user-)relevant bits.</p>
<p dir="auto">Example of a stack trace thrown by a failure:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="DriverError: Error in Flutter application: Timeout while executing tap: TimeoutException after 0:00:05.000000: Future not completed
#0 _FlutterDriverExtension.call.<call_async_body> (package:flutter_driver/src/extension.dart)
#1 _asyncErrorWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:34)
#2 _RootZone.runBinary (dart:async/zone.dart:1410)
#3 _FutureListener.handleError (dart:async/future_impl.dart:146)
#4 _Future._propagateToListeners.handleError (dart:async/future_impl.dart:649)
#5 _Future._propagateToListeners (dart:async/future_impl.dart:671)
#6 _Future._completeError (dart:async/future_impl.dart:485)
#7 _Future.timeout.<anonymous closure> (dart:async/future_impl.dart:719)
#8 Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:16)
#9 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:385)
#10 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:414)
#11 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:148)
Original error: null
Original stack trace:
null
package:flutter_driver/src/driver.dart 249:7 FlutterDriver._sendCommand.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 736 _Future.timeout.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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:vm_service_client/src/scope.dart 57:5 Scope.sendRequestRaw.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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:json_rpc_2/src/client.dart 174:25 Client._handleSingleResponse
package:json_rpc_2/src/client.dart 164:7 Client._handleResponse
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 91:36 Peer.listen.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io/websocket_impl.dart 1111 _WebSocketImpl._WebSocketImpl._fromSocket.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_transformers.dart 67 _SinkTransformerStreamSubscription._add
dart:async/stream_transformers.dart 14 _EventSinkWrapper.add
dart:io/websocket_impl.dart 333 _WebSocketProtocolTransformer._messageFrameEnd
dart:io/websocket_impl.dart 228 _WebSocketProtocolTransformer.add
dart:async/stream_transformers.dart 119 _SinkTransformerStreamSubscription._handleData
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io-patch/socket_patch.dart 1680 _Socket._onData
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io-patch/socket_patch.dart 1247 _RawSocket._RawSocket.<fn>
dart:io-patch/socket_patch.dart 781 _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/future_impl.dart 22 _Completer.completeError
package:flutter_driver/src/driver.dart 254:3 FlutterDriver._sendCommand.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 736 _Future.timeout.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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:vm_service_client/src/scope.dart 57:5 Scope.sendRequestRaw.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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:json_rpc_2/src/client.dart 174:25 Client._handleSingleResponse
package:json_rpc_2/src/client.dart 164:7 Client._handleResponse
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 91:36 Peer.listen.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io/websocket_impl.dart 1111 _WebSocketImpl._WebSocketImpl._fromSocket.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_transformers.dart 67 _SinkTransformerStreamSubscription._add
dart:async/stream_transformers.dart 14 _EventSinkWrapper.add
dart:io/websocket_impl.dart 333 _WebSocketProtocolTransformer._messageFrameEnd
dart:io/websocket_impl.dart 228 _WebSocketProtocolTransformer.add
dart:async/stream_transformers.dart 119 _SinkTransformerStreamSubscription._handleData
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io-patch/socket_patch.dart 1680 _Socket._onData
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io-patch/socket_patch.dart 1247 _RawSocket._RawSocket.<fn>
dart:io-patch/socket_patch.dart 781 _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 1073 _CustomZone.registerUnaryCallback
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper
package:flutter_driver/src/driver.dart FlutterDriver._sendCommand
package:flutter_driver/src/driver.dart 265:11 FlutterDriver.tap.<async>
dart:async/future.dart 184 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
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 182 Future.Future.microtask
package:flutter_driver/src/driver.dart FlutterDriver.tap
/var/netboot/workspace/4a2ad6d25053194e375b3d74e416f05f_863445_69759/google3/third_party/dart/flutter/examples/gallery/flutter/test_driver/transitions_perf_test.dart 160:26 main.<fn>.<fn>.<async>.<fn>.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 268 Future.Future.delayed.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
dart:async-patch/timer_patch.dart 16 Timer._createTimer.<fn>
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 1073 _CustomZone.registerUnaryCallback
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper
/var/netboot/workspace/4a2ad6d25053194e375b3d74e416f05f_863445_69759/google3/third_party/dart/flutter/examples/gallery/flutter/test_driver/transitions_perf_test.dart main.<fn>.<fn>.<async>.<fn>
package:flutter_driver/src/driver.dart 394:17 FlutterDriver.traceAction.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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:flutter_driver/src/driver.dart 358:7 FlutterDriver.startTracing.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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:json_rpc_2/src/client.dart 174:25 Client._handleSingleResponse
package:json_rpc_2/src/client.dart 164:7 Client._handleResponse
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 91:36 Peer.listen.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io/websocket_impl.dart 1111 _WebSocketImpl._WebSocketImpl._fromSocket.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_transformers.dart 67 _SinkTransformerStreamSubscription._add
dart:async/stream_transformers.dart 14 _EventSinkWrapper.add
dart:io/websocket_impl.dart 333 _WebSocketProtocolTransformer._messageFrameEnd
dart:io/websocket_impl.dart 228 _WebSocketProtocolTransformer.add
dart:async/stream_transformers.dart 119 _SinkTransformerStreamSubscription._handleData
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io-patch/socket_patch.dart 1680 _Socket._onData
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io-patch/socket_patch.dart 1247 _RawSocket._RawSocket.<fn>
dart:io-patch/socket_patch.dart 781 _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 1073 _CustomZone.registerUnaryCallback
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper
package:flutter_driver/src/driver.dart FlutterDriver.traceAction
/var/netboot/workspace/4a2ad6d25053194e375b3d74e416f05f_863445_69759/google3/third_party/dart/flutter/examples/gallery/flutter/test_driver/transitions_perf_test.dart 143:40 main.<fn>.<fn>.<async>
dart:async/future.dart 184 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
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 182 Future.Future.microtask
/var/netboot/workspace/4a2ad6d25053194e375b3d74e416f05f_863445_69759/google3/third_party/dart/flutter/examples/gallery/flutter/test_driver/transitions_perf_test.dart main.<fn>.<fn>
package:test/src/backend/declarer.dart 114:19 Declarer.test.<fn>.<async>.<fn>.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 198:3 Declarer._runSetUps.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 454 Future.doWhile.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
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.<fn>.<async>.<fn>
package:test/src/backend/invoker.dart 188:17 Invoker.waitForOutstandingCallbacks.<fn>.<fn>.<async>
dart:async/future.dart 184 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
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 182 Future.Future.microtask
package:test/src/backend/invoker.dart Invoker.waitForOutstandingCallbacks.<fn>.<fn>
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.<fn>
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 112:29 Declarer.test.<fn>.<async>
dart:async/future.dart 184 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
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 182 Future.Future.microtask
package:test/src/backend/declarer.dart Declarer.test.<fn>
dart:async/future.dart 158 Future.Future.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
dart:async-patch/timer_patch.dart 16 Timer._createTimer.<fn>
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 156 Future.Future
package:test/src/backend/invoker.dart 309:13 Invoker._onRun.<fn>.<fn>.<async>
dart:async/future.dart 184 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
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 182 Future.Future.microtask
package:test/src/backend/invoker.dart Invoker._onRun.<fn>.<fn>
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 202:12 runZonedWithValues.<fn>
dart:async/zone.dart 1150 _rootRun
dart:async/zone.dart 1026 _CustomZone.run
dart:async/zone.dart 1503 runZoned
package:test/src/utils.dart 201:10 runZonedWithValues
package:test/src/backend/invoker.dart 296:7 Invoker._onRun.<fn>
package:stack_trace/src/chain.dart 92:24 Chain.capture.<fn>
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 90: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 197:14 RemoteListener._runLiveTest
package:test/src/runner/remote_listener.dart 151:7 RemoteListener._serializeTest.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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.<fn>
dart:async/zone.dart 1338 _RootZone.runUnaryGuarded
dart:async/stream_impl.dart 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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"><pre class="notranslate"><code class="notranslate">DriverError: Error in Flutter application: Timeout while executing tap: TimeoutException after 0:00:05.000000: Future not completed
#0 _FlutterDriverExtension.call.<call_async_body> (package:flutter_driver/src/extension.dart)
#1 _asyncErrorWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:34)
#2 _RootZone.runBinary (dart:async/zone.dart:1410)
#3 _FutureListener.handleError (dart:async/future_impl.dart:146)
#4 _Future._propagateToListeners.handleError (dart:async/future_impl.dart:649)
#5 _Future._propagateToListeners (dart:async/future_impl.dart:671)
#6 _Future._completeError (dart:async/future_impl.dart:485)
#7 _Future.timeout.<anonymous closure> (dart:async/future_impl.dart:719)
#8 Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:16)
#9 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:385)
#10 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:414)
#11 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:148)
Original error: null
Original stack trace:
null
package:flutter_driver/src/driver.dart 249:7 FlutterDriver._sendCommand.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 736 _Future.timeout.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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:vm_service_client/src/scope.dart 57:5 Scope.sendRequestRaw.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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:json_rpc_2/src/client.dart 174:25 Client._handleSingleResponse
package:json_rpc_2/src/client.dart 164:7 Client._handleResponse
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 91:36 Peer.listen.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io/websocket_impl.dart 1111 _WebSocketImpl._WebSocketImpl._fromSocket.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_transformers.dart 67 _SinkTransformerStreamSubscription._add
dart:async/stream_transformers.dart 14 _EventSinkWrapper.add
dart:io/websocket_impl.dart 333 _WebSocketProtocolTransformer._messageFrameEnd
dart:io/websocket_impl.dart 228 _WebSocketProtocolTransformer.add
dart:async/stream_transformers.dart 119 _SinkTransformerStreamSubscription._handleData
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io-patch/socket_patch.dart 1680 _Socket._onData
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io-patch/socket_patch.dart 1247 _RawSocket._RawSocket.<fn>
dart:io-patch/socket_patch.dart 781 _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/future_impl.dart 22 _Completer.completeError
package:flutter_driver/src/driver.dart 254:3 FlutterDriver._sendCommand.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 736 _Future.timeout.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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:vm_service_client/src/scope.dart 57:5 Scope.sendRequestRaw.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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:json_rpc_2/src/client.dart 174:25 Client._handleSingleResponse
package:json_rpc_2/src/client.dart 164:7 Client._handleResponse
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 91:36 Peer.listen.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io/websocket_impl.dart 1111 _WebSocketImpl._WebSocketImpl._fromSocket.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_transformers.dart 67 _SinkTransformerStreamSubscription._add
dart:async/stream_transformers.dart 14 _EventSinkWrapper.add
dart:io/websocket_impl.dart 333 _WebSocketProtocolTransformer._messageFrameEnd
dart:io/websocket_impl.dart 228 _WebSocketProtocolTransformer.add
dart:async/stream_transformers.dart 119 _SinkTransformerStreamSubscription._handleData
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io-patch/socket_patch.dart 1680 _Socket._onData
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io-patch/socket_patch.dart 1247 _RawSocket._RawSocket.<fn>
dart:io-patch/socket_patch.dart 781 _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 1073 _CustomZone.registerUnaryCallback
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper
package:flutter_driver/src/driver.dart FlutterDriver._sendCommand
package:flutter_driver/src/driver.dart 265:11 FlutterDriver.tap.<async>
dart:async/future.dart 184 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
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 182 Future.Future.microtask
package:flutter_driver/src/driver.dart FlutterDriver.tap
/var/netboot/workspace/4a2ad6d25053194e375b3d74e416f05f_863445_69759/google3/third_party/dart/flutter/examples/gallery/flutter/test_driver/transitions_perf_test.dart 160:26 main.<fn>.<fn>.<async>.<fn>.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 268 Future.Future.delayed.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
dart:async-patch/timer_patch.dart 16 Timer._createTimer.<fn>
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 1073 _CustomZone.registerUnaryCallback
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper
/var/netboot/workspace/4a2ad6d25053194e375b3d74e416f05f_863445_69759/google3/third_party/dart/flutter/examples/gallery/flutter/test_driver/transitions_perf_test.dart main.<fn>.<fn>.<async>.<fn>
package:flutter_driver/src/driver.dart 394:17 FlutterDriver.traceAction.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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:flutter_driver/src/driver.dart 358:7 FlutterDriver.startTracing.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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:json_rpc_2/src/client.dart 174:25 Client._handleSingleResponse
package:json_rpc_2/src/client.dart 164:7 Client._handleResponse
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 91:36 Peer.listen.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _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 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io/websocket_impl.dart 1111 _WebSocketImpl._WebSocketImpl._fromSocket.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_transformers.dart 67 _SinkTransformerStreamSubscription._add
dart:async/stream_transformers.dart 14 _EventSinkWrapper.add
dart:io/websocket_impl.dart 333 _WebSocketProtocolTransformer._messageFrameEnd
dart:io/websocket_impl.dart 228 _WebSocketProtocolTransformer.add
dart:async/stream_transformers.dart 119 _SinkTransformerStreamSubscription._handleData
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io-patch/socket_patch.dart 1680 _Socket._onData
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635 _StreamController._add
dart:async/stream_controller.dart 581 _StreamController.add
dart:io-patch/socket_patch.dart 1247 _RawSocket._RawSocket.<fn>
dart:io-patch/socket_patch.dart 781 _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 1073 _CustomZone.registerUnaryCallback
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper
package:flutter_driver/src/driver.dart FlutterDriver.traceAction
/var/netboot/workspace/4a2ad6d25053194e375b3d74e416f05f_863445_69759/google3/third_party/dart/flutter/examples/gallery/flutter/test_driver/transitions_perf_test.dart 143:40 main.<fn>.<fn>.<async>
dart:async/future.dart 184 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
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 182 Future.Future.microtask
/var/netboot/workspace/4a2ad6d25053194e375b3d74e416f05f_863445_69759/google3/third_party/dart/flutter/examples/gallery/flutter/test_driver/transitions_perf_test.dart main.<fn>.<fn>
package:test/src/backend/declarer.dart 114:19 Declarer.test.<fn>.<async>.<fn>.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 198:3 Declarer._runSetUps.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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 454 Future.doWhile.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 107:26 StackZoneSpecification._registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107:14 StackZoneSpecification._registerUnaryCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
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.<fn>.<async>.<fn>
package:test/src/backend/invoker.dart 188:17 Invoker.waitForOutstandingCallbacks.<fn>.<fn>.<async>
dart:async/future.dart 184 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
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 182 Future.Future.microtask
package:test/src/backend/invoker.dart Invoker.waitForOutstandingCallbacks.<fn>.<fn>
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.<fn>
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 112:29 Declarer.test.<fn>.<async>
dart:async/future.dart 184 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
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 182 Future.Future.microtask
package:test/src/backend/declarer.dart Declarer.test.<fn>
dart:async/future.dart 158 Future.Future.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
dart:async-patch/timer_patch.dart 16 Timer._createTimer.<fn>
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 156 Future.Future
package:test/src/backend/invoker.dart 309:13 Invoker._onRun.<fn>.<fn>.<async>
dart:async/future.dart 184 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 185:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 97:48 StackZoneSpecification._registerCallback.<fn>
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.<fn>
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 182 Future.Future.microtask
package:test/src/backend/invoker.dart Invoker._onRun.<fn>.<fn>
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 202:12 runZonedWithValues.<fn>
dart:async/zone.dart 1150 _rootRun
dart:async/zone.dart 1026 _CustomZone.run
dart:async/zone.dart 1503 runZoned
package:test/src/utils.dart 201:10 runZonedWithValues
package:test/src/backend/invoker.dart 296:7 Invoker._onRun.<fn>
package:stack_trace/src/chain.dart 92:24 Chain.capture.<fn>
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 90: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 197:14 RemoteListener._runLiveTest
package:test/src/runner/remote_listener.dart 151:7 RemoteListener._serializeTest.<fn>
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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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.<fn>
dart:async/zone.dart 1338 _RootZone.runUnaryGuarded
dart:async/stream_impl.dart 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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 331 _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258 _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768 _StreamController&&_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
</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.<async>
dart:async/future.dart 144 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
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.<async>
dart:async/future.dart 144 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
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.<async>
dart:async/future.dart 144 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
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.<fn>.<fn>.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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&&_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.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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&&_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.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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&&_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.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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&&_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.<fn>
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.<fn>.<fn>
package:test/src/backend/declarer.dart 88:19 Declarer.test.<fn>.<async>.<fn>.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
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.<fn>.<async>.<fn>
package:test/src/backend/invoker.dart 185:17 Invoker.waitForOutstandingCallbacks.<fn>.<fn>.<async>
dart:async/future.dart 144 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
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.<fn>.<fn>
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.<fn>
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.<fn>.<async>
dart:async/future.dart 144 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
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.<fn>
dart:async/future.dart 118 Future.Future.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
dart:async-patch/timer_patch.dart 16 Timer._createTimer.<fn>
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.<fn>.<fn>.<async>
dart:async/future.dart 144 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
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.<fn>.<fn>
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.<fn>
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.<fn>
package:stack_trace/src/chain.dart 88:24 Chain.capture.<fn>
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.<fn>
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&&_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&&_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.<fn>
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&&_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&&_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&&_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&&_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&&_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.<async>
dart:async _Completer.completeError
package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.<async>
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.<fn>
===== asynchronous gap ===========================
dart:async _Completer.completeError
package:flutter_driver/src/driver.dart 207:3 FlutterDriver._sendCommand.<async>
dart:async _Completer.completeError
package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.<async>
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.<fn>
===== asynchronous gap ===========================
dart:async _asyncErrorWrapperHelper
package:flutter_driver/src/driver.dart FlutterDriver._sendCommand
package:flutter_driver/src/driver.dart 219:11 FlutterDriver.waitFor.<async>
===== asynchronous gap ===========================
dart:async Future.Future.microtask
package:flutter_driver/src/driver.dart FlutterDriver.waitFor
test_driver/main_test.dart 35:20 main.<fn>.<fn>.<async>
dart:async _SyncCompleter.complete
package:flutter_driver/src/driver.dart 214:5 FlutterDriver.tap.<async>
dart:async _SyncCompleter.complete
package:flutter_driver/src/driver.dart 196:7 FlutterDriver._sendCommand.<async>
dart:async _SyncCompleter.complete
package:vm_service_client/src/scope.dart 51:5 Scope.sendRequest.<async>
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.<fn>
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
test_driver/main_test.dart main.<fn>.<fn>"><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.<async>
dart:async/future.dart 144 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
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.<async>
dart:async/future.dart 144 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
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.<async>
dart:async/future.dart 144 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
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.<fn>.<fn>.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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&&_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.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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&&_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.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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&&_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.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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&&_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.<fn>
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.<fn>.<fn>
package:test/src/backend/declarer.dart 88:19 Declarer.test.<fn>.<async>.<fn>.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<async>
dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 135:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 135:14 StackZoneSpecification.registerUnaryCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
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.<fn>.<async>.<fn>
package:test/src/backend/invoker.dart 185:17 Invoker.waitForOutstandingCallbacks.<fn>.<fn>.<async>
dart:async/future.dart 144 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
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.<fn>.<fn>
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.<fn>
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.<fn>.<async>
dart:async/future.dart 144 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
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.<fn>
dart:async/future.dart 118 Future.Future.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
dart:async-patch/timer_patch.dart 16 Timer._createTimer.<fn>
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.<fn>.<fn>.<async>
dart:async/future.dart 144 Future.Future.microtask.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
package:stack_trace/src/stack_zone_specification.dart 206:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 125:48 StackZoneSpecification.registerCallback.<fn>
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.<fn>
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.<fn>.<fn>
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.<fn>
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.<fn>
package:stack_trace/src/chain.dart 88:24 Chain.capture.<fn>
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.<fn>
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&&_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&&_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.<fn>
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&&_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&&_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&&_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&&_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&&_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.<async>
dart:async _Completer.completeError
package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.<async>
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.<fn>
===== asynchronous gap ===========================
dart:async _Completer.completeError
package:flutter_driver/src/driver.dart 207:3 FlutterDriver._sendCommand.<async>
dart:async _Completer.completeError
package:vm_service_client/src/scope.dart 58:3 Scope.sendRequest.<async>
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.<fn>
===== asynchronous gap ===========================
dart:async _asyncErrorWrapperHelper
package:flutter_driver/src/driver.dart FlutterDriver._sendCommand
package:flutter_driver/src/driver.dart 219:11 FlutterDriver.waitFor.<async>
===== asynchronous gap ===========================
dart:async Future.Future.microtask
package:flutter_driver/src/driver.dart FlutterDriver.waitFor
test_driver/main_test.dart 35:20 main.<fn>.<fn>.<async>
dart:async _SyncCompleter.complete
package:flutter_driver/src/driver.dart 214:5 FlutterDriver.tap.<async>
dart:async _SyncCompleter.complete
package:flutter_driver/src/driver.dart 196:7 FlutterDriver._sendCommand.<async>
dart:async _SyncCompleter.complete
package:vm_service_client/src/scope.dart 51:5 Scope.sendRequest.<async>
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.<fn>
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
test_driver/main_test.dart main.<fn>.<fn>
</code></pre></div> | 1 |
<p dir="auto">Hello,</p>
<p dir="auto">I have found that when I use the <code class="notranslate">frame: false</code> option and then create a custom titlebar with window control buttons I cannot resize the window on the top-side.<br>
This might happen because you have to set the titlebar to be draggable with <code class="notranslate">-webkit-app-region: no-drag;</code>.</p>
<p dir="auto">I am using electron-version v0.36.2 on Fedora 23 with Gnome-Shell.</p>
<p dir="auto">Does anyone else experience this problem?</p> | <p dir="auto">Firstly, i create a frameless window. Then i put a html element, such as a div which is draggable, into body element and the element occupied the whole body(margin is 0px), the resizable event can not be triggered when the mouse moves over the window frame. I don't know whether it is the case. I feel it is not convenient because i have to leave some margins between body and the div.</p> | 1 |
<p dir="auto">by <strong>momoir</strong>:</p>
<pre class="notranslate">If possible, include a link to a program on play.golang.org.
1. <a href="http://play.golang.org/p/Twv8b6KCtw" rel="nofollow">http://play.golang.org/p/Twv8b6KCtw</a>
What happened?
- The external API that my application is using, sometimes returns no values for one of
the float64 fields. When that happens, I cannot unmarshal the rest of the document.
What should have happened instead?
- Unmarshalling empty float fields should be handled gracefully.
Please provide any additional information below.
- Here's the stackoverflow link:
<a href="http://stackoverflow.com/questions/24602155/unmarshalling-optional-float64-field-returns-error-on-go/24602350" rel="nofollow">http://stackoverflow.com/questions/24602155/unmarshalling-optional-float64-field-returns-error-on-go/24602350</a></pre> | <pre class="notranslate">Build failure from darwin-386-cheney
(<a href="http://build.golang.org/log/89ebaa1281be8297290f8e7eda771da803a93b6e)" rel="nofollow">http://build.golang.org/log/89ebaa1281be8297290f8e7eda771da803a93b6e)</a>:
# ../test
# go run run.go -- index2.go
tmp__.go:3062: missing error "index|overflow|truncated|must be integer"
Unmatched Errors:
tmp__.go:3062: invalid slice index cni64big (index must be non-negative)
FAIL index2.go 27.726s
exit status 1
It is unrelated to the commit that triggered it and has not recurred since.</pre> | 0 |
<p dir="auto">If you open a project in Atom only to look around at different files it keeps each buffer opened (with a tab). If you click on some 10+ files the editor quickly gets cluttered down and you have to eventually close the pane.</p>
<p dir="auto">I propose an option to not keep buffers open unless you change something in the file, then it can stay open.</p> | <p dir="auto">One of the features I miss in Atom is the 'smart tabs' concept. In sublime when you click on an item in the file tree, unless you start modifying it, or double click on the file, it previews the file without opening the tab completely. Therefore if you click on another file without officially opening it it doesn't stay open.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/19e86b4bb651b3c290390d2027dde9cafe412d99e4fad35ef4afd4d75e7d8eb6/687474703a2f2f632e6772346d2e636f6d2f696d6167652f315933503146326e326a32332f696d616765"><img src="https://camo.githubusercontent.com/19e86b4bb651b3c290390d2027dde9cafe412d99e4fad35ef4afd4d75e7d8eb6/687474703a2f2f632e6772346d2e636f6d2f696d6167652f315933503146326e326a32332f696d616765" alt="" data-canonical-src="http://c.gr4m.com/image/1Y3P1F2n2j23/image" style="max-width: 100%;"></a></p>
<p dir="auto">You'll see I browse through a few files, make a change and the tab opens and shows changes have been made in the tab color. Later in the gif I double click on the file and it opens it officially in a tab.</p>
<p dir="auto">Would love to see how we can add this into Atom</p> | 1 |
<h5 dir="auto">ISSUE TYPE</h5>
<p dir="auto">Bug Report</p>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">core</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<p dir="auto">2.1</p>
<h5 dir="auto">CONFIGURATION</h5>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">if i got a line like this in <code class="notranslate">hosts</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="192.168.251.250 ansible_ssh_user=root ansible_ssh_pass="test#me""><pre class="notranslate"><code class="notranslate">192.168.251.250 ansible_ssh_user=root ansible_ssh_pass="test#me"
</code></pre></div>
<p dir="auto">and try to run a playbook against that host, im getting this failure</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#ansible-playbook test.yml -i hosts.test
Traceback (most recent call last):
File "/usr/local/src/ansible/bin/ansible-playbook", line 324, in <module>
sys.exit(main(sys.argv[1:]))
File "/usr/local/src/ansible/bin/ansible-playbook", line 157, in main
inventory = ansible.inventory.Inventory(options.inventory, vault_password=vault_pass)
File "/usr/local/src/ansible/lib/ansible/inventory/__init__.py", line 128, in __init__
self.parser = InventoryParser(filename=host_list)
File "/usr/local/src/ansible/lib/ansible/inventory/ini.py", line 43, in __init__
self._parse()
File "/usr/local/src/ansible/lib/ansible/inventory/ini.py", line 47, in _parse
self._parse_base_groups()
File "/usr/local/src/ansible/lib/ansible/inventory/ini.py", line 108, in _parse_base_groups
tokens = shlex.split(line)
File "/usr/lib/python2.7/shlex.py", line 279, in split
return list(lex)
File "/usr/lib/python2.7/shlex.py", line 269, in next
token = self.get_token()
File "/usr/lib/python2.7/shlex.py", line 96, in get_token
raw = self.read_token()
File "/usr/lib/python2.7/shlex.py", line 172, in read_token
raise ValueError, "No closing quotation"
ValueError: No closing quotation"><pre class="notranslate"><code class="notranslate">#ansible-playbook test.yml -i hosts.test
Traceback (most recent call last):
File "/usr/local/src/ansible/bin/ansible-playbook", line 324, in <module>
sys.exit(main(sys.argv[1:]))
File "/usr/local/src/ansible/bin/ansible-playbook", line 157, in main
inventory = ansible.inventory.Inventory(options.inventory, vault_password=vault_pass)
File "/usr/local/src/ansible/lib/ansible/inventory/__init__.py", line 128, in __init__
self.parser = InventoryParser(filename=host_list)
File "/usr/local/src/ansible/lib/ansible/inventory/ini.py", line 43, in __init__
self._parse()
File "/usr/local/src/ansible/lib/ansible/inventory/ini.py", line 47, in _parse
self._parse_base_groups()
File "/usr/local/src/ansible/lib/ansible/inventory/ini.py", line 108, in _parse_base_groups
tokens = shlex.split(line)
File "/usr/lib/python2.7/shlex.py", line 279, in split
return list(lex)
File "/usr/lib/python2.7/shlex.py", line 269, in next
token = self.get_token()
File "/usr/lib/python2.7/shlex.py", line 96, in get_token
raw = self.read_token()
File "/usr/lib/python2.7/shlex.py", line 172, in read_token
raise ValueError, "No closing quotation"
ValueError: No closing quotation
</code></pre></div>
<p dir="auto">when i removed the hash from the password, it all went away</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<h5 dir="auto">EXPECTED RESULTS</h5>
<h5 dir="auto">ACTUAL RESULTS</h5> | <p dir="auto">The character <code class="notranslate">#</code> is treated as a comment even if it is inside a string. As a consequence the rest of the command line gets stripped away and a <code class="notranslate">No closing quotation</code> error appears.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cat _test.yml
---
- hosts: all
gather_facts: no
tasks:
- lineinfile: dest=/tmp/foo regexp="bar" line="bar # comment about bar""><pre class="notranslate"><code class="notranslate">$ cat _test.yml
---
- hosts: all
gather_facts: no
tasks:
- lineinfile: dest=/tmp/foo regexp="bar" line="bar # comment about bar"
</code></pre></div>
<p dir="auto">With latest Ansible 1.2 development branch:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-playbook -vvv _test.yml
PLAY [all] ********************************************************************
TASK: [lineinfile dest=/tmp/foo regexp="bar" line="bar] ***********************
<xxx.lan> ESTABLISH CONNECTION FOR USER: root on PORT 22 TO xxx.lan
<xxx.lan> EXEC /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-1366795278.56-129433001277548 && chmod a+rx $HOME/.ansible/tmp/ansible-1366795278.56-129433001277548 && echo $HOME/.ansible/tmp/ansible-1366795278.56-129433001277548'
<xxx.lan> REMOTE_MODULE lineinfile dest=/tmp/foo regexp="bar" line="bar
<xxx.lan> PUT /tmp/tmp0GK3Pi TO /root/.ansible/tmp/ansible-1366795278.56-129433001277548/lineinfile
<xxx.lan> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-1366795278.56-129433001277548/lineinfile; rm -rf /root/.ansible/tmp/ansible-1366795278.56-129433001277548/ >/dev/null 2>&1'
failed: [xxx] => {"failed": true, "parsed": false}
invalid output was: Traceback (most recent call last):
File "/root/.ansible/tmp/ansible-1366795278.56-129433001277548/lineinfile", line 1167, in <module>
main()
File "/root/.ansible/tmp/ansible-1366795278.56-129433001277548/lineinfile", line 293, in main
supports_check_mode=True
File "/root/.ansible/tmp/ansible-1366795278.56-129433001277548/lineinfile", line 467, in __init__
(self.params, self.args) = self._load_params()
File "/root/.ansible/tmp/ansible-1366795278.56-129433001277548/lineinfile", line 933, in _load_params
items = shlex.split(args)
File "/usr/lib/python2.7/shlex.py", line 279, in split
return list(lex)
File "/usr/lib/python2.7/shlex.py", line 269, in next
token = self.get_token()
File "/usr/lib/python2.7/shlex.py", line 96, in get_token
raw = self.read_token()
File "/usr/lib/python2.7/shlex.py", line 172, in read_token
raise ValueError, "No closing quotation"
ValueError: No closing quotation"><pre class="notranslate"><code class="notranslate">$ ansible-playbook -vvv _test.yml
PLAY [all] ********************************************************************
TASK: [lineinfile dest=/tmp/foo regexp="bar" line="bar] ***********************
<xxx.lan> ESTABLISH CONNECTION FOR USER: root on PORT 22 TO xxx.lan
<xxx.lan> EXEC /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-1366795278.56-129433001277548 && chmod a+rx $HOME/.ansible/tmp/ansible-1366795278.56-129433001277548 && echo $HOME/.ansible/tmp/ansible-1366795278.56-129433001277548'
<xxx.lan> REMOTE_MODULE lineinfile dest=/tmp/foo regexp="bar" line="bar
<xxx.lan> PUT /tmp/tmp0GK3Pi TO /root/.ansible/tmp/ansible-1366795278.56-129433001277548/lineinfile
<xxx.lan> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-1366795278.56-129433001277548/lineinfile; rm -rf /root/.ansible/tmp/ansible-1366795278.56-129433001277548/ >/dev/null 2>&1'
failed: [xxx] => {"failed": true, "parsed": false}
invalid output was: Traceback (most recent call last):
File "/root/.ansible/tmp/ansible-1366795278.56-129433001277548/lineinfile", line 1167, in <module>
main()
File "/root/.ansible/tmp/ansible-1366795278.56-129433001277548/lineinfile", line 293, in main
supports_check_mode=True
File "/root/.ansible/tmp/ansible-1366795278.56-129433001277548/lineinfile", line 467, in __init__
(self.params, self.args) = self._load_params()
File "/root/.ansible/tmp/ansible-1366795278.56-129433001277548/lineinfile", line 933, in _load_params
items = shlex.split(args)
File "/usr/lib/python2.7/shlex.py", line 279, in split
return list(lex)
File "/usr/lib/python2.7/shlex.py", line 269, in next
token = self.get_token()
File "/usr/lib/python2.7/shlex.py", line 96, in get_token
raw = self.read_token()
File "/usr/lib/python2.7/shlex.py", line 172, in read_token
raise ValueError, "No closing quotation"
ValueError: No closing quotation
</code></pre></div> | 1 |
<p dir="auto">by <strong>randynwalsh</strong>:</p>
<pre class="notranslate">1. What is a short input program that triggers the error?
import "fmt"
const FE = "xFE"
func main() {
fmt.Println(uint8(string(254)[0]))
}
2. What is the full compiler output?
missed typecheck [2b5b15067950]
. LITERAL-I120 u(1) a(1) x(0+0) uint8
prog.go:8: internal compiler error: missed typecheck
3. What version of the compiler are you using? (Run it with the -V flag.)
<a href="http://golang.org/doc/play" rel="nofollow">http://golang.org/doc/play</a></pre> | <pre class="notranslate">cgo on OpenBSD/amd64 is currently unable to generate correct z-files, due to what
appears to be a bug in our debug/dwarf package. Attached is a minimal types_openbsd.go
file and the corresponding .o file that gcc creates. The sample dwarf.go should produce
the following output for struct timeval:
Name: timeval
Name: tv_sec
Name: tv_usec
However, it currently produces:
Name: timeval
Name: it_interval
Name: tv_usec
Due to duplication tv_sec is encoded as a strp, however debug/dwarf ends up determining
that it has an offset of 0x0 instead of the correct 0xc, which obviously results in the
incorrect value.
It is possible that this is compiler related, however I doubt that this is the case
since readelf is able to correctly process the .o file on multiple platforms (in this
case linux/amd64):
$ readelf --debug-dump _cgo_.o | grep -A 10 :\ timeval
<b80> DW_AT_name : timeval
<b88> DW_AT_byte_size : 16
<b89> DW_AT_decl_file : 6
<b8a> DW_AT_decl_line : 90
<b8b> DW_AT_sibling : <0xbb0>
<2><b8f>: Abbrev Number: 14 (DW_TAG_member)
<b90> DW_AT_name : (indirect string, offset: 0xc): tv_sec
<b94> DW_AT_decl_file : 7
<b95> DW_AT_decl_line : 50
<b96> DW_AT_type : <0x361>
<b9a> DW_AT_data_member_location: 2 byte block: 23 0 (DW_OP_plus_uconst: 0)</pre>
<p dir="auto">Attachments:</p>
<ol dir="auto">
<li><a href="https://storage.googleapis.com/go-attachment/4107/0/types_openbsd.go" rel="nofollow">types_openbsd.go</a> (392 bytes)</li>
<li><a href="https://storage.googleapis.com/go-attachment/4107/0/dwarf.go" rel="nofollow">dwarf.go</a> (476 bytes)</li>
<li><a href="https://storage.googleapis.com/go-attachment/4107/0/_cgo_.o" rel="nofollow"><em>cgo</em>.o</a> (6544 bytes)</li>
</ol> | 0 |
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">I use typescript compiler 1.8.10 from npm.</p>
<p dir="auto"><strong>Code</strong><br>
I use TypeScript in a project with ~500 ts files. When I type in console tsc -w and wait for the whole project is compiled, I add a small changes to one of my files. It re-compiles whole project instead of one changed file (it takes 10-25 seconds). I used node-inspector to track what the reason of such behavior. I found out that when it performs re-compilation (tsc.ts:564), it creates a new program without passing an old program as a forth parameter to the function.</p>
<p dir="auto">I created a small project for experiments with some files and start watcher with flag --listFiles:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tsc -w --listFiles "><pre class="notranslate"><code class="notranslate">tsc -w --listFiles
</code></pre></div>
<p dir="auto">My tsconfig.json:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"exclude": [],
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"isolatedModules": true,
"declaration": false,
"inlineSourceMap": false,
"noImplicitAny": false,
"removeComments": true,
"noLib": false,
"allowJs": false
}
}"><pre class="notranslate">{
<span class="pl-ent">"exclude"</span>: [],
<span class="pl-ent">"compilerOptions"</span>: {
<span class="pl-ent">"target"</span>: <span class="pl-s"><span class="pl-pds">"</span>es5<span class="pl-pds">"</span></span>,
<span class="pl-ent">"module"</span>: <span class="pl-s"><span class="pl-pds">"</span>commonjs<span class="pl-pds">"</span></span>,
<span class="pl-ent">"isolatedModules"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"declaration"</span>: <span class="pl-c1">false</span>,
<span class="pl-ent">"inlineSourceMap"</span>: <span class="pl-c1">false</span>,
<span class="pl-ent">"noImplicitAny"</span>: <span class="pl-c1">false</span>,
<span class="pl-ent">"removeComments"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"noLib"</span>: <span class="pl-c1">false</span>,
<span class="pl-ent">"allowJs"</span>: <span class="pl-c1">false</span>
}
}</pre></div>
<p dir="auto"><strong>Expected behavior:</strong></p>
<p dir="auto">It should compile only one changed file (I added a space to the calc.ts files).</p>
<p dir="auto"><strong>Actual behavior:</strong></p>
<p dir="auto">It re-compiles whole files:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/891497/15356025/e1afc71c-1cfe-11e6-8816-305bc4d7b9be.png"><img src="https://cloud.githubusercontent.com/assets/891497/15356025/e1afc71c-1cfe-11e6-8816-305bc4d7b9be.png" alt="1" style="max-width: 100%;"></a></p>
<p dir="auto">I understand that such behavior can't be added for project that should be bundled into one file.</p>
<p dir="auto">Thanks</p> | <p dir="auto">The constructs:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let v = v;
const c = c;"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">v</span> <span class="pl-c1">=</span> <span class="pl-s1">v</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">c</span> <span class="pl-c1">=</span> <span class="pl-s1">c</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">should error because they are uses before definition. Indeed IE gives this error.</p>
<p dir="auto">This also applies to:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="for (let v = v; ; ) { }
for (let v in v) { }
for (let v of v) { }"><pre class="notranslate"><span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">v</span> <span class="pl-c1">=</span> <span class="pl-s1">v</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">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">v</span> <span class="pl-k">in</span> <span class="pl-s1">v</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span>
<span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">v</span> <span class="pl-k">of</span> <span class="pl-s1">v</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span></pre></div>
<p dir="auto">For the latter two in particular, look at section 13.6.4.12 in the ES6 spec:</p>
<ol dir="auto">
<li>
<p dir="auto">Let oldEnv be the running execution context’s LexicalEnvironment.</p>
</li>
<li>
<p dir="auto">If TDZnames is not an empty List, then</p>
<p dir="auto">a. Assert: TDZnames has no duplicate entries.<br>
b. Let TDZ be NewDeclarativeEnvironment(oldEnv).<br>
c. For each string name in TDZnames, do</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" i. Let status be TDZ.CreateMutableBinding(name, false).
ii. Assert: status is never an abrupt completion."><pre class="notranslate"><code class="notranslate"> i. Let status be TDZ.CreateMutableBinding(name, false).
ii. Assert: status is never an abrupt completion.
</code></pre></div>
<p dir="auto">d. Set the running execution context’s LexicalEnvironment to TDZ.</p>
</li>
<li>
<p dir="auto">Let exprRef be the result of evaluating the production that is expr.</p>
</li>
<li>
<p dir="auto">Set the running execution context’s LexicalEnvironment to oldEnv.</p>
</li>
</ol> | 0 |
<p dir="auto">I try to include a common f77 block from legacy code.</p>
<p dir="auto">some calculations in the conversion go wrong.</p>
<p dir="auto">I have in my common block lines</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" implicit real*8 (a-h,o-z)
parameter ( nvar = 3 )
parameter ( jmz = 1983 )
common scmt(3*(jmz+1)), dbuf(nvar*(nvar+1) * (jmz+2))"><pre class="notranslate"><code class="notranslate"> implicit real*8 (a-h,o-z)
parameter ( nvar = 3 )
parameter ( jmz = 1983 )
common scmt(3*(jmz+1)), dbuf(nvar*(nvar+1) * (jmz+2))
</code></pre></div>
<p dir="auto">resulting an a comlilation error</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/tmp/tmpcpniavle/src.linux-x86_64-3.4/_keplermodule.c:1386:22: error: ânvarâ undeclared here (not in a function)
{"dbuf",1,{{5955 * nvar + 5955}},NPY_DOUBLE},"><pre class="notranslate"><code class="notranslate">/tmp/tmpcpniavle/src.linux-x86_64-3.4/_keplermodule.c:1386:22: error: ânvarâ undeclared here (not in a function)
{"dbuf",1,{{5955 * nvar + 5955}},NPY_DOUBLE},
</code></pre></div>
<p dir="auto">it seems a bad line is generated and f2py does not resolve multiple occurrences (nvar) of the same parameter/variable in an expression? at least inside sufficiently complex expressions?</p>
<p dir="auto">If I define a parameter with nvar*(nvar+1) and use that new parameter, things work, but maybe if you get a chance to fix this fluke as well, that would be nice. (or let me me know in what function for crackfortran even to look...)</p> | <p dir="auto">when running the bellow code or any code having import pandas as pd I get the above error.<br>
this is happening in the vs code ide run cod execution<br>
I can run the code as run python file in terminal<br>
for some reason to the output using run code I am getting the above error.</p>
<h3 dir="auto">Reproducing code example:</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas as pd
x = list(range(0,100))
pd.DataFrame(x)
print(x)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-en">list</span>(<span class="pl-en">range</span>(<span class="pl-c1">0</span>,<span class="pl-c1">100</span>))
<span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">x</span>)
<span class="pl-en">print</span>(<span class="pl-s1">x</span>)</pre></div>
<h3 dir="auto">Error message:</h3>
<p dir="auto">Traceback (most recent call last):<br>
File "c:\Users\user\Documents\Visual Studio 2017\Projects\test1.py", line 7, in <br>
import pandas as pd<br>
File "C:\Users\user\Anaconda3\lib\site-packages\pandas_<em>init</em>_.py", line 17, in <br>
"Unable to import required dependencies:\n" + "\n".join(missing_dependencies)<br>
ImportError: Unable to import required dependencies:<br>
numpy:</p>
<p dir="auto">IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!</p>
<p dir="auto">Importing the numpy c-extensions failed.</p>
<ul dir="auto">
<li>
<p dir="auto">Try uninstalling and reinstalling numpy.</p>
</li>
<li>
<p dir="auto">If you have already done that, then:</p>
<ol dir="auto">
<li>Check that you expected to use Python3.7 from "C:\Users\user\Anaconda3\python.exe",<br>
and that you have no directories in your PATH or PYTHONPATH that can<br>
interfere with the Python and numpy version "1.17.4" you're trying to use.</li>
<li>If (1) looks fine, you can open a new issue at<br>
<a href="https://github.com/numpy/numpy/issues">https://github.com/numpy/numpy/issues</a>. Please include details on:
<ul dir="auto">
<li>how you installed Python</li>
<li>how you installed numpy</li>
<li>your operating system</li>
<li>whether or not you have multiple versions of Python installed</li>
<li>if you built from source, your compiler versions and ideally a build log</li>
</ul>
</li>
</ol>
</li>
<li>
<p dir="auto">If you're working with a numpy git repository, try <code class="notranslate">git clean -xdf</code><br>
(removes all files not under version control) and rebuild numpy.</p>
</li>
</ul>
<p dir="auto">Note: this error has many possible causes, so please don't comment on<br>
an existing issue about this - open a new one instead.</p>
<p dir="auto">Original error was: DLL load failed: The specified module could not be found.</p>
<h3 dir="auto">Numpy/Python version information:</h3>
<p dir="auto">numpy=1.17.4<br>
python 3.7.4</p>
<p dir="auto">I am using anaconda<br>
I tried to remove and reinstall numpy</p> | 0 |
<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>yes</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.3</td>
</tr>
</tbody>
</table>
<p dir="auto">When you define no arguments, autowiring will give you a very precise error. However, if you manually define arguments that come after that using named arguments, the error will become extremely cryptic.</p>
<p dir="auto">Given the following PHP:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="namespace Hostnet;
interface TestInterface {}
class TestOne implements TestInterface {}
class TestTwo implements TestInterface {}
class TestDependency {}
class TestClass
{
public function __construct(
TestOne $testOne,
TestInterface $testTwo,
TestDependency $testDependency
) {}
}"><pre class="notranslate"><span class="pl-k">namespace</span> <span class="pl-v">Hostnet</span>;
<span class="pl-k">interface</span> <span class="pl-v">TestInterface</span> {}
<span class="pl-k">class</span> <span class="pl-v">TestOne</span> <span class="pl-k">implements</span> <span class="pl-v">TestInterface</span> {}
<span class="pl-k">class</span> <span class="pl-v">TestTwo</span> <span class="pl-k">implements</span> <span class="pl-v">TestInterface</span> {}
<span class="pl-k">class</span> <span class="pl-v">TestDependency</span> {}
<span class="pl-k">class</span> <span class="pl-v">TestClass</span>
{
<span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">__construct</span>(
<span class="pl-smi"><span class="pl-smi">TestOne</span></span> <span class="pl-s1"><span class="pl-c1">$</span>testOne</span>,
<span class="pl-smi"><span class="pl-smi">TestInterface</span></span> <span class="pl-s1"><span class="pl-c1">$</span>testTwo</span>,
<span class="pl-smi"><span class="pl-smi">TestDependency</span></span> <span class="pl-s1"><span class="pl-c1">$</span>testDependency</span>
) {}
}</pre></div>
<p dir="auto">Using this configuration (100% autowiring):</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="services:
Hostnet\TestClass: ~
Hostnet\TestOne: ~
Hostnet\TestTwo: ~
Hostnet\TestDependency:
public: true"><pre class="notranslate"><span class="pl-ent">services</span>:
<span class="pl-ent">Hostnet\TestClass</span>: <span class="pl-c1">~</span>
<span class="pl-ent">Hostnet\TestOne</span>: <span class="pl-c1">~</span>
<span class="pl-ent">Hostnet\TestTwo</span>: <span class="pl-c1">~</span>
<span class="pl-ent">Hostnet\TestDependency</span>:
<span class="pl-ent">public</span>: <span class="pl-c1">true</span></pre></div>
<p dir="auto">I will get the descriptive error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="AutowiringFailedException
Cannot autowire service "Hostnet\TestClass": argument "$testTwo" of
method "__construct()" references interface "Hostnet\TestInterface" but
no such service exists. You should maybe alias this interface to one of
these existing services: "Hostnet\TestOne", "Hostnet\TestTwo"."><pre class="notranslate"><code class="notranslate">AutowiringFailedException
Cannot autowire service "Hostnet\TestClass": argument "$testTwo" of
method "__construct()" references interface "Hostnet\TestInterface" but
no such service exists. You should maybe alias this interface to one of
these existing services: "Hostnet\TestOne", "Hostnet\TestTwo".
</code></pre></div>
<p dir="auto">When I manually wire 1 argument that's positioned <em>after</em> the dependency that will fail (last argument in this case):</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="services:
Hostnet\TestClass:
$testDependency: '@Hostnet\TestDependency'
Hostnet\TestOne: ~
Hostnet\TestTwo: ~
Hostnet\TestDependency:
public: true"><pre class="notranslate"><span class="pl-ent">services</span>:
<span class="pl-ent">Hostnet\TestClass</span>:
<span class="pl-ent">$testDependency</span>: <span class="pl-s"><span class="pl-pds">'</span>@Hostnet\TestDependency<span class="pl-pds">'</span></span>
<span class="pl-ent">Hostnet\TestOne</span>: <span class="pl-c1">~</span>
<span class="pl-ent">Hostnet\TestTwo</span>: <span class="pl-c1">~</span>
<span class="pl-ent">Hostnet\TestDependency</span>:
<span class="pl-ent">public</span>: <span class="pl-c1">true</span></pre></div>
<p dir="auto">This results in a crpytic error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RuntimeException
Invalid constructor argument 3 for service "Hostnet\TestClass": argument 1
must be defined before. Check your service definition."><pre class="notranslate"><code class="notranslate">RuntimeException
Invalid constructor argument 3 for service "Hostnet\TestClass": argument 1
must be defined before. Check your service definition.
</code></pre></div> | <table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>yes</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.3.*</td>
</tr>
</tbody>
</table>
<p dir="auto">From a training today :). Suppose this class:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class MyCoolClass
{
public function __construct(Logger $logger, $isDebug)
{
}
}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">MyCoolClass</span>
{
<span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">__construct</span>(<span class="pl-smi"><span class="pl-smi">Logger</span></span> <span class="pl-s1"><span class="pl-c1">$</span>logger</span>, <span class="pl-s1"><span class="pl-c1">$</span>isDebug</span>)
{
}
}</pre></div>
<p dir="auto">Because <code class="notranslate">Logger</code> is the wrong type-hint, I should receive this error:</p>
<blockquote>
<p dir="auto">Cannot autowire service "AppBundle\EventListener\MyCoolClass": argument "$logger" of method "__construct()" references class "Monolog\Logger" but no such service exists...</p>
</blockquote>
<p dir="auto">And at first, I do! But suppose I specify the <code class="notranslate">$isDebug</code> argument:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="services:
AppBundle\Service\MyCoolClass:
arguments:
$isDebug: true"><pre class="notranslate"><span class="pl-ent">services</span>:
<span class="pl-ent">AppBundle\Service\MyCoolClass</span>:
<span class="pl-ent">arguments</span>:
<span class="pl-ent">$isDebug</span>: <span class="pl-c1">true</span></pre></div>
<p dir="auto">As <em>soon</em> as this arg is specified the error changes:</p>
<blockquote>
<p dir="auto">Invalid constructor argument 2 for service "AppBundle\EventListener\MyCoolClass": argument 1 must be defined before.</p>
</blockquote>
<p dir="auto">The problem is:</p>
<p dir="auto">A) AutowirePass correctly throws an <code class="notranslate">AutowiringFailedException</code> due to the bad <code class="notranslate">Logger</code> type-hint. But, exceptions are not thrown in this class, but stored for later<br>
B) Because argument 1 appears to be missing, <code class="notranslate">CheckArgumentsValidityPass</code> throws the above exception<br>
C) The <code class="notranslate">AutowireExceptionPass</code> - which would normally throw the exception from (A), is never called - because (B) already threw its exception.</p>
<p dir="auto">The correct behavior is to always throw the first exception about the <code class="notranslate">Logger</code> class. But, I'm not sure how to do this. <code class="notranslate">AutowirePass</code> purposefully does not throw exceptions... because it waits to make sure the service wasn't removed from the container. But in this case, <code class="notranslate">CheckArgumentsValidityPass</code> steps in early and throws this other, less clear exception. It has no idea that the <em>true</em> exception is just waiting for the "ok" that the service wasn't removed.</p>
<p dir="auto">I'm open to ideas... :). In general, the passes are becoming a bit more dependent on each other, and that's complicating things.</p>
<p dir="auto">Cheers!</p> | 1 |
<h3 dir="auto">Version</h3>
<p dir="auto">2.5.16</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://jsfiddle.net/9bzw21no/33/" rel="nofollow">https://jsfiddle.net/9bzw21no/33/</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<ol dir="auto">
<li>Use a string literal containing <code class="notranslate">}}</code> in the data binding</li>
</ol>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{{ 'hello}}' + '{{world' }}"><pre class="notranslate">{{ 'hello}}' + '{{world' }}</pre></div>
<h3 dir="auto">What is expected?</h3>
<p dir="auto"><code class="notranslate">hello}}{{world</code></p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto"><code class="notranslate">hello)+""+_s(world</code></p>
<hr>
<p dir="auto">I expected the same result as svelte.</p>
<ul dir="auto">
<li><a href="https://svelte.technology/repl?version=1.60.2&gist=35cef4e8c0ff85c17f948b5f4146b1f0" rel="nofollow">svelte example</a></li>
</ul> | <h3 dir="auto">Version</h3>
<p dir="auto">2.6.0</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://jsfiddle.net/jk8as0bz/" rel="nofollow">https://jsfiddle.net/jk8as0bz/</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">NB: use a component with a transpiled render function (render._withStripped should be true). For the purpose of the minimal repro, we are setting the flag manually.</p>
<p dir="auto">on the minimal repro open the console, click on the button and see the warning message showing up</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">no warning</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">it throws an improper warning</p>
<hr>
<p dir="auto">What is happening</p>
<ol dir="auto">
<li>create a component that $emit directly in an event handler like <code class="notranslate"><button @click="$emit('click')">click me! </button> </code></li>
<li>The handler will be compiled as such in the createElement function</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="on: {
click: function($event) {
return _vm.$emit("closeModal")
}
}"><pre class="notranslate"><code class="notranslate">on: {
click: function($event) {
return _vm.$emit("closeModal")
}
}
</code></pre></div>
<p dir="auto">returning the vm instance<br>
3. In the isPromise call it will check for property like <code class="notranslate">.then</code> or <code class="notranslate">.catch</code><br>
4. the withStriped flag set to true the vm instance is proxied to throw non present properties but referenced during render on development<br>
5. It will throw the following warning: <code class="notranslate">[Vue warn]: Property or method "then" is not defined on the instance but referenced during render</code></p> | 0 |
<p dir="auto">only after landing</p>
<p dir="auto">//! moment-timezone.js<br>
//! version : 0.5.0<br>
//! author : Tim Wood<br>
//! license : MIT<br>
//! github.com/moment/moment-timezone</p>
<p dir="auto">vendor-main-00eff8238f.js:formatted:17423Uncaught TypeError: Cannot read property 'join' of null<br>
function i(a) {<br>
var b = a.toTimeString()<br>
, c = b.match(/(.+)/);<br>
c = c && c[0] ? c[0].match(/[A-Z]/g).join("") : b.match(/[A-Z]{3,5}/g)[0], //error line</p> | <p dir="auto">I cann't press the button "Submit and go to my next challenge (ctrl + enter)". But if I clicked I only see the infinite loading. How to solve this problem?<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/15948159/12712716/62a3c88c-c8db-11e5-9556-7183e96aa60b.PNG"><img src="https://cloud.githubusercontent.com/assets/15948159/12712716/62a3c88c-c8db-11e5-9556-7183e96aa60b.PNG" alt="default" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong></p>
<p dir="auto">The following would fail:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export function getWindow() { return window; }
@NgModule({
declarations: [
AppComponent,
SimpleRouteComponent
],
imports: [
BrowserModule,
FormsModule,
HttpModule,
AppRoutingModule
],
providers: [
{provide: 'window', useFactory: getWindow}
],
bootstrap: [AppComponent]
})
export class AppModule {
constructor(@Inject('window') w: Window) {
console.log(w);
}
}"><pre class="notranslate"><code class="notranslate">export function getWindow() { return window; }
@NgModule({
declarations: [
AppComponent,
SimpleRouteComponent
],
imports: [
BrowserModule,
FormsModule,
HttpModule,
AppRoutingModule
],
providers: [
{provide: 'window', useFactory: getWindow}
],
bootstrap: [AppComponent]
})
export class AppModule {
constructor(@Inject('window') w: Window) {
console.log(w);
}
}
</code></pre></div>
<p dir="auto">With error</p>
<blockquote>
<p dir="auto">ERROR in Error encountered resolving symbol values statically. Could not resolve type Window (position 29:36 in the original .ts file), resolving symbol AppModule in /Users/Meligy/Code/github/Meligy/routing-angular-cli/src/app/app.module.ts</p>
</blockquote>
<p dir="auto"><strong>Expected behavior</strong></p>
<p dir="auto">I'd expect the AoT compiler to be able to understand</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>
<ol dir="auto">
<li>Create a new app using latest Angular CLI</li>
<li>Go to <code class="notranslate">AppModule</code>, modify <code class="notranslate">providers</code> and add <code class="notranslate">constructor</code> as shown above</li>
<li>Run <code class="notranslate">npm start -- --aot</code></li>
</ol>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>
<p dir="auto">I want to be able to test the places where I happen to have to use <code class="notranslate">window</code>. I still want to have type safety for my calls to it.</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<p dir="auto">Mac OS latest</p>
<p dir="auto">Running <code class="notranslate">npm run ng -- version</code> returns:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="angular-cli: 1.0.0-beta.26
node: 6.9.1
os: darwin x64
@angular/common: 2.4.4
@angular/compiler: 2.4.4
@angular/core: 2.4.4
@angular/forms: 2.4.4
@angular/http: 2.4.4
@angular/platform-browser: 2.4.4
@angular/platform-browser-dynamic: 2.4.4
@angular/router: 3.4.4
@angular/compiler-cli: 2.4.4"><pre class="notranslate"><code class="notranslate">angular-cli: 1.0.0-beta.26
node: 6.9.1
os: darwin x64
@angular/common: 2.4.4
@angular/compiler: 2.4.4
@angular/core: 2.4.4
@angular/forms: 2.4.4
@angular/http: 2.4.4
@angular/platform-browser: 2.4.4
@angular/platform-browser-dynamic: 2.4.4
@angular/router: 3.4.4
@angular/compiler-cli: 2.4.4
</code></pre></div>
<p dir="auto">Things to note:</p>
<ul dir="auto">
<li>The type <code class="notranslate">Window</code> is declared in default TypeScript lib <code class="notranslate">dom</code>.</li>
<li>The libs <code class="notranslate">["es6", "dom"]</code> are already added by default in my project (default Angular CLI layout)</li>
<li>I also tried to reference the file <code class="notranslate">node_modules/typescript/lib/lib.dom.d.ts</code> directly in several ways, and that didn't seem to help</li>
</ul>
<p dir="auto">Please note that the code WORKS JUST FINE when I'm not using AoT.</p>
<p dir="auto">That's <code class="notranslate">npm start</code> works, and <code class="notranslate">npm start -- --aot</code> fails (<code class="notranslate">npm start</code> here equals <code class="notranslate">ng serve</code>)</p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.X</li>
</ul>
<p dir="auto">Angular 2.4.4 as shown above.</p>
<ul dir="auto">
<li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]</li>
</ul>
<p dir="auto">Tested in Chrome, but the error comes in Terminal anyway.</p>
<ul dir="auto">
<li><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]</li>
</ul>
<p dir="auto">TypeScript 2.0.10</p>
<ul dir="auto">
<li><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =<br>
node: 6.9.1</li>
</ul> | <p dir="auto">After few days of research I have realized that <a href="https://github.com/angular/di.js">di.js</a> repo is no longer maintained and <a href="https://github.com/angular/angular/tree/master/modules/di/src">dependency injection</a> from this repo is pretty away from previous code base.</p>
<p dir="auto">I guess you have a plan to separate it again or update old repo with new code? Will it happen any time soon?</p>
<p dir="auto">Thanks!</p> | 0 |
<p dir="auto">When I closed the editor I had a file open in a tab. It was named "summarize".<br>
With the editor closed I ended up having to do some restructuring of the project folder and this file was moved into a directory called "summarize" under a different name.<br>
Later in the day I tried to start up Atom again, it failed to the debug screen. It was throwing an error saying that this file was now a directory. I ended up having to rename the directory temporarily to be able to open the editor, then close the tab in the editor, rename the directory again to it's original name and all was well.<br>
Suggestion: the editor should fail more gracefully in this circumstance. When a directory replaces a file of the same name, the editor should just close the tab or gray it out with an explanation or alert.</p> | <p dir="auto">i want to change text color variable color to make the code more attractive but i cant find any such settings to do so i.e. where can i edit the color code of the syntax .<br>
can anyone please guide me the process to do so .</p> | 0 |
<ol dir="auto">
<li>After setting syntax or file encoding from the menus in the status bar, the cursor focus stays in the status bar, and to move focus back to the file with keyboard only, you need to press Tab key twice (after setting syntax) or thrice (after setting encoding). Imho it would be better to move the cursor focus to its last position in the file window.</li>
<li>Even though the focus is retained (coloured outline) after completing syntax/encoding change, there is no way to bring up these menus with Enter key (or other key combinations that I've tried).</li>
</ol>
<p dir="auto">If you decide to move cursor focus to file, the status bar menu outline should be removed.</p>
<p dir="auto">If you decide to keep the focus in the status bar, the focus appearance could be improved in appearance. Currently it doesn't look bad, but it could at least use some padding on the sides of the focused item.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/654500/8449160/3cdf8d94-1fcf-11e5-8d70-5850454550d6.png"><img src="https://cloud.githubusercontent.com/assets/654500/8449160/3cdf8d94-1fcf-11e5-8d70-5850454550d6.png" alt="screen shot 2015-07-01 at 08 57 29" style="max-width: 100%;"></a></p>
<p dir="auto">Lastly, setting syntax/encoding should be available from the Command Palette. Perhaps the same way as in Sublime Text (showing all entries prefixed appropriately) or just a way to trigger the selection menus as they exist now.</p>
<p dir="auto">(Atom 1.0 on OSX 10.10)</p> | <p dir="auto">Not quite sure if this counts as a bug or enhancement, but I've noticed that clicking on any links in the status bar focuses them, when it should keep focus on whatever was focused before clicking on them. However, the correct element is focused if you dismiss the modal by clicking away from it.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/823545/8008397/e91e2094-0b6f-11e5-9a6e-1c14f99bdc89.gif"><img src="https://cloud.githubusercontent.com/assets/823545/8008397/e91e2094-0b6f-11e5-9a6e-1c14f99bdc89.gif" alt="untitled" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">Atom 0.206.0</p> | 1 |
<h3 dir="auto">First Check</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I added a very descriptive title to this issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I used the GitHub search to find a similar issue and didn't find it.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I searched the FastAPI documentation, with the integrated search.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already searched in Google "How to X in FastAPI" and didn't find any information.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already read and followed all the tutorial in the docs and didn't find an answer.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/samuelcolvin/pydantic">Pydantic</a>.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/swagger-api/swagger-ui">Swagger UI</a>.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/Redocly/redoc">ReDoc</a>.</li>
</ul>
<h3 dir="auto">Commit to Help</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I commit to help with one of those options <g-emoji class="g-emoji" alias="point_up_2" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f446.png">👆</g-emoji></li>
</ul>
<h3 dir="auto">Example Code</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from typing import List, Dict, Tuple
from fastapi import FastAPI
from pydantic import BaseModel
app = FastAPI()
class Answers(BaseModel):
answers: Dict[str, List[Tuple[str, float]]] = {}
@app.get("/qa", response_model=Answers)
async def qatask(request: str):
return Answers()
if __name__ == "__main__":
import uvicorn
uvicorn.run("bugfind:app", host="0.0.0.0", port=5000, reload=True,
workers=1) # , debug=True)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">typing</span> <span class="pl-k">import</span> <span class="pl-v">List</span>, <span class="pl-v">Dict</span>, <span class="pl-v">Tuple</span>
<span class="pl-k">from</span> <span class="pl-s1">fastapi</span> <span class="pl-k">import</span> <span class="pl-v">FastAPI</span>
<span class="pl-k">from</span> <span class="pl-s1">pydantic</span> <span class="pl-k">import</span> <span class="pl-v">BaseModel</span>
<span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">FastAPI</span>()
<span class="pl-k">class</span> <span class="pl-v">Answers</span>(<span class="pl-v">BaseModel</span>):
<span class="pl-s1">answers</span>: <span class="pl-v">Dict</span>[<span class="pl-s1">str</span>, <span class="pl-v">List</span>[<span class="pl-v">Tuple</span>[<span class="pl-s1">str</span>, <span class="pl-s1">float</span>]]] <span class="pl-c1">=</span> {}
<span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">get</span>(<span class="pl-s">"/qa"</span>, <span class="pl-s1">response_model</span><span class="pl-c1">=</span><span class="pl-v">Answers</span>)</span>
<span class="pl-k">async</span> <span class="pl-k">def</span> <span class="pl-en">qatask</span>(<span class="pl-s1">request</span>: <span class="pl-s1">str</span>):
<span class="pl-k">return</span> <span class="pl-v">Answers</span>()
<span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">"__main__"</span>:
<span class="pl-k">import</span> <span class="pl-s1">uvicorn</span>
<span class="pl-s1">uvicorn</span>.<span class="pl-en">run</span>(<span class="pl-s">"bugfind:app"</span>, <span class="pl-s1">host</span><span class="pl-c1">=</span><span class="pl-s">"0.0.0.0"</span>, <span class="pl-s1">port</span><span class="pl-c1">=</span><span class="pl-c1">5000</span>, <span class="pl-s1">reload</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,
<span class="pl-s1">workers</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-c"># , debug=True)</span></pre></div>
<h3 dir="auto">Description</h3>
<p dir="auto">open <a href="http://localhost:5000/docs" rel="nofollow">http://localhost:5000/docs</a> or <a href="http://localhost:5000/openapi.json" rel="nofollow">http://localhost:5000/openapi.json</a> and you will see the error in the logs.</p>
<h3 dir="auto">Operating System</h3>
<p dir="auto">Linux</p>
<h3 dir="auto">Operating System Details</h3>
<p dir="auto">ubuntu 20.04</p>
<h3 dir="auto">FastAPI Version</h3>
<p dir="auto">0.68.1</p>
<h3 dir="auto">Python Version</h3>
<p dir="auto">3.8.10</p>
<h3 dir="auto">Additional Context</h3>
<p dir="auto">There was a bug <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="467220323" data-permission-text="Title is private" data-url="https://github.com/tiangolo/fastapi/issues/383" data-hovercard-type="issue" data-hovercard-url="/tiangolo/fastapi/issues/383/hovercard" href="https://github.com/tiangolo/fastapi/issues/383">#383</a> a while ago reporting the same problem but closed. This new issue here is in order to reopen that bug as it still isn't solved or reappeared since then. Fell free to close this new issue and reopen the old bug if that is preferred.</p>
<p dir="auto">this is the error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "//home/name/.local/lib/python3.8/site-packages/uvicorn/protocols/http/h11_impl.py", line 373, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "//home/name/.local/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 75, in __call__
return await self.app(scope, receive, send)
File "//home/name/.local/lib/python3.8/site-packages/fastapi/applications.py", line 208, in __call__
await super().__call__(scope, receive, send)
File "//home/name/.local/lib/python3.8/site-packages/starlette/applications.py", line 112, in __call__
await self.middleware_stack(scope, receive, send)
File "//home/name/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 181, in __call__
raise exc from None
File "//home/name/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "//home/name/.local/lib/python3.8/site-packages/starlette/exceptions.py", line 82, in __call__
raise exc from None
File "//home/name/.local/lib/python3.8/site-packages/starlette/exceptions.py", line 71, in __call__
await self.app(scope, receive, sender)
File "//home/name/.local/lib/python3.8/site-packages/starlette/routing.py", line 580, in __call__
await route.handle(scope, receive, send)
File "//home/name/.local/lib/python3.8/site-packages/starlette/routing.py", line 241, in handle
await self.app(scope, receive, send)
File "//home/name/.local/lib/python3.8/site-packages/starlette/routing.py", line 52, in app
response = await func(request)
File "//home/name/.local/lib/python3.8/site-packages/fastapi/applications.py", line 161, in openapi
return JSONResponse(self.openapi())
File "//home/name/.local/lib/python3.8/site-packages/fastapi/applications.py", line 136, in openapi
self.openapi_schema = get_openapi(
File "//home/name/.local/lib/python3.8/site-packages/fastapi/openapi/utils.py", line 410, in get_openapi
return jsonable_encoder(OpenAPI(**output), by_alias=True, exclude_none=True) # type: ignore
File "pydantic/main.py", line 406, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 4 validation errors for OpenAPI
components -> schemas -> Answers -> properties -> answers -> additionalProperties -> items -> items
value is not a valid dict (type=type_error.dict)
components -> schemas -> Answers -> properties -> answers -> additionalProperties -> $ref
field required (type=value_error.missing)
components -> schemas -> Answers -> properties -> answers -> additionalProperties
value could not be parsed to a boolean (type=type_error.bool)
components -> schemas -> Answers -> $ref
field required (type=value_error.missing)"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "//home/name/.local/lib/python3.8/site-packages/uvicorn/protocols/http/h11_impl.py", line 373, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "//home/name/.local/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 75, in __call__
return await self.app(scope, receive, send)
File "//home/name/.local/lib/python3.8/site-packages/fastapi/applications.py", line 208, in __call__
await super().__call__(scope, receive, send)
File "//home/name/.local/lib/python3.8/site-packages/starlette/applications.py", line 112, in __call__
await self.middleware_stack(scope, receive, send)
File "//home/name/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 181, in __call__
raise exc from None
File "//home/name/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "//home/name/.local/lib/python3.8/site-packages/starlette/exceptions.py", line 82, in __call__
raise exc from None
File "//home/name/.local/lib/python3.8/site-packages/starlette/exceptions.py", line 71, in __call__
await self.app(scope, receive, sender)
File "//home/name/.local/lib/python3.8/site-packages/starlette/routing.py", line 580, in __call__
await route.handle(scope, receive, send)
File "//home/name/.local/lib/python3.8/site-packages/starlette/routing.py", line 241, in handle
await self.app(scope, receive, send)
File "//home/name/.local/lib/python3.8/site-packages/starlette/routing.py", line 52, in app
response = await func(request)
File "//home/name/.local/lib/python3.8/site-packages/fastapi/applications.py", line 161, in openapi
return JSONResponse(self.openapi())
File "//home/name/.local/lib/python3.8/site-packages/fastapi/applications.py", line 136, in openapi
self.openapi_schema = get_openapi(
File "//home/name/.local/lib/python3.8/site-packages/fastapi/openapi/utils.py", line 410, in get_openapi
return jsonable_encoder(OpenAPI(**output), by_alias=True, exclude_none=True) # type: ignore
File "pydantic/main.py", line 406, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 4 validation errors for OpenAPI
components -> schemas -> Answers -> properties -> answers -> additionalProperties -> items -> items
value is not a valid dict (type=type_error.dict)
components -> schemas -> Answers -> properties -> answers -> additionalProperties -> $ref
field required (type=value_error.missing)
components -> schemas -> Answers -> properties -> answers -> additionalProperties
value could not be parsed to a boolean (type=type_error.bool)
components -> schemas -> Answers -> $ref
field required (type=value_error.missing)
</code></pre></div> | <h3 dir="auto">First Check</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I added a very descriptive title to this issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I used the GitHub search to find a similar issue and didn't find it.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I searched the FastAPI documentation, with the integrated search.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already searched in Google "How to X in FastAPI" and didn't find any information.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already read and followed all the tutorial in the docs and didn't find an answer.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/samuelcolvin/pydantic">Pydantic</a>.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/swagger-api/swagger-ui">Swagger UI</a>.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/Redocly/redoc">ReDoc</a>.</li>
</ul>
<h3 dir="auto">Commit to Help</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I commit to help with one of those options <g-emoji class="g-emoji" alias="point_up_2" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f446.png">👆</g-emoji></li>
</ul>
<h3 dir="auto">Example Code</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# main.py
import uvicorn
from fastapi import FastAPI, Form
app = FastAPI()
@app.post("/")
def hello(arg: tuple[int, int] = Form(...)) -> str:
pass
if __name__ == "__main__":
uvicorn.run("main:app", port=8080)"><pre class="notranslate"><span class="pl-c"># main.py</span>
<span class="pl-k">import</span> <span class="pl-s1">uvicorn</span>
<span class="pl-k">from</span> <span class="pl-s1">fastapi</span> <span class="pl-k">import</span> <span class="pl-v">FastAPI</span>, <span class="pl-v">Form</span>
<span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">FastAPI</span>()
<span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">post</span>(<span class="pl-s">"/"</span>)</span>
<span class="pl-k">def</span> <span class="pl-en">hello</span>(<span class="pl-s1">arg</span>: <span class="pl-s1">tuple</span>[<span class="pl-s1">int</span>, <span class="pl-s1">int</span>] <span class="pl-c1">=</span> <span class="pl-v">Form</span>(...)) <span class="pl-c1">-></span> <span class="pl-s1">str</span>:
<span class="pl-k">pass</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">uvicorn</span>.<span class="pl-en">run</span>(<span class="pl-s">"main:app"</span>, <span class="pl-s1">port</span><span class="pl-c1">=</span><span class="pl-c1">8080</span>)</pre></div>
<h3 dir="auto">Description</h3>
<ol dir="auto">
<li>Run <code class="notranslate">pip install uvicorn fastapi==0.68.0</code>.</li>
<li>Run <code class="notranslate">python ./main.py</code></li>
<li>Hit <code class="notranslate">localhost:8080/docs</code>, observe internal server error with below validation errors:</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pydantic.error_wrappers.ValidationError: 2 validation errors for OpenAPI
components -> schemas -> Body_hello__post -> properties -> arg -> items
value is not a valid dict (type=type_error.dict)
components -> schemas -> Body_hello__post -> $ref
field required (type=value_error.missing)"><pre class="notranslate"><code class="notranslate">pydantic.error_wrappers.ValidationError: 2 validation errors for OpenAPI
components -> schemas -> Body_hello__post -> properties -> arg -> items
value is not a valid dict (type=type_error.dict)
components -> schemas -> Body_hello__post -> $ref
field required (type=value_error.missing)
</code></pre></div>
<ol start="4" dir="auto">
<li>Run <code class="notranslate">pip install fastapi==0.67.0</code></li>
<li>Hit <code class="notranslate">localhost:8080/docs</code>, observe that endpoint documentation is successfully generated.</li>
</ol>
<h3 dir="auto">Operating System</h3>
<p dir="auto">Linux</p>
<h3 dir="auto">Operating System Details</h3>
<p dir="auto">Ubuntu 20.04</p>
<h3 dir="auto">FastAPI Version</h3>
<p dir="auto">0.68.0 has bug, 0.67.0 does not have bug.</p>
<h3 dir="auto">Python Version</h3>
<p dir="auto">3.9</p>
<h3 dir="auto">Additional Context</h3>
<p dir="auto">Any use of <code class="notranslate">tuple</code> in an input (<code class="notranslate">Form</code>, and <code class="notranslate">BaseModel</code> as JSON) or output (<code class="notranslate">BaseModel</code> as JSON) results in above error.</p> | 1 |
<p dir="auto"><strong>Apache Airflow version</strong>:</p>
<p dir="auto"><strong>Kubernetes version (if you are using kubernetes)</strong> (use <code class="notranslate">kubectl version</code>): 1.18+</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: GCP</li>
<li><strong>OS</strong> (e.g. from /etc/os-release):</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>:<br>
Tried to trigger a dag with config but got an error saying "Invalid JSON configuration, must be a dict"<br>
This worked in 2.1.0<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8545525/125070083-eaed7680-e0b7-11eb-954b-c3e149a98bd8.png"><img src="https://user-images.githubusercontent.com/8545525/125070083-eaed7680-e0b7-11eb-954b-c3e149a98bd8.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto"><strong>How to reproduce it</strong>:<br>
Running airflow 2.1.1 try trigger a dag with config</p>
<p dir="auto"><strong>Anything else we need to know</strong>:<br>
How often does this problem occur? Once? Every time etc?<br>
Always<br>
Any relevant logs to include? Put them here in side a detail tag:</p>
<details><summary>webserver_logs</summary>
```
10.60.7.19 - - [09/Jul/2021:10:00:46 +0000] "POST /trigger?dag_id={dag_id}&origin=%2Ftree%3Fdag_id%3D{dag_id}HTTP/1.1" 200 19096 "https://{airflow-domain}/trigger?dag_id={dag_id}&origin=%2Ftree%3Fdag_id%3D{dag_id}" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
10.60.7.19 - - [09/Jul/2021:10:00:46 +0000] "GET /static/dist/lint.css HTTP/1.1" 304 0 "https://{airflow-domain}/trigger?dag_id={dag_id}&origin=%2Ftree%3Fdag_id%3D{dag_id}" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
10.60.7.19 - - [09/Jul/2021:10:00:46 +0000] "GET /static/dist/codemirror.css HTTP/1.1" 304 0 "https://{airflow-domain}/trigger?dag_id={dag_id}&origin=%2Ftree%3Fdag_id%3D{dag_id}" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
```
</details> | <p dir="auto"><strong>Apache Airflow version</strong>: 2.1.1</p>
<p dir="auto"><strong>Kubernetes version (if you are using kubernetes)</strong> (use <code class="notranslate">kubectl version</code>): NO</p>
<p dir="auto"><strong>Environment</strong>: local (docker + ubuntu)</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>:</li>
<li><strong>OS</strong> (e.g. from /etc/os-release): Debian GNU/Linux 10 (buster)</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): linux</li>
</ul>
<p dir="auto"><strong>What happened</strong>:<br>
airflow is not accepting configuration from Admin UI</p>
<p dir="auto">when I submit a DAG configuration from UI, it is giving me error <code class="notranslate">Invalid JSON configuration, must be a dict</code></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1611331/124464058-56320280-ddb1-11eb-9cba-4656263761ba.png"><img src="https://user-images.githubusercontent.com/1611331/124464058-56320280-ddb1-11eb-9cba-4656263761ba.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">the same workflow is working in airflow 2.1.0 version<br>
I think this issue occurred in this PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="842710273" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/15057" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/15057/hovercard" href="https://github.com/apache/airflow/pull/15057">#15057</a></p>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
Airflow admin should accept the conf from UI and trigger the dag</p>
<p dir="auto"><strong>How to reproduce it</strong>:<br>
It can be reproduced for all cases, we have to put any valid JSON into the configuration window on a DAG</p>
<p dir="auto"><strong>Willing to submit PR</strong><br>
YES</p> | 1 |
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-manipulate-arrays-with-shift" rel="nofollow">Waypoint: Manipulate Arrays With shift</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var ourArray = ["Stimpson", "J", ["cat"]];
removedFromOurArray = ourArray.shift(); // removedFromOurArray now equals "Stimpson" and ourArray now equals ["J", ["cat"]].
var myArray = ["John", 23, ["dog", 3]];
// Only change code below this line.
var removedFromMyArray;
// Only change code above this line.
(function(y, z){return 'myArray = ' + JSON.stringify(y) + ' & removedFromMyArray = ' + JSON.stringify(z);})(myArray, removedFromMyArray);
"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">ourArray</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-s">"Stimpson"</span><span class="pl-kos">,</span> <span class="pl-s">"J"</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">"cat"</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-s1">removedFromOurArray</span> <span class="pl-c1">=</span> <span class="pl-s1">ourArray</span><span class="pl-kos">.</span><span class="pl-en">shift</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// removedFromOurArray now equals "Stimpson" and ourArray now equals ["J", ["cat"]].</span>
<span class="pl-k">var</span> <span class="pl-s1">myArray</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-s">"John"</span><span class="pl-kos">,</span> <span class="pl-c1">23</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">"dog"</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-c">// Only change code below this line.</span>
<span class="pl-k">var</span> <span class="pl-s1">removedFromMyArray</span><span class="pl-kos">;</span>
<span class="pl-c">// Only change code above this line.</span>
<span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">y</span><span class="pl-kos">,</span> <span class="pl-s1">z</span><span class="pl-kos">)</span><span class="pl-kos">{</span><span class="pl-k">return</span> <span class="pl-s">'myArray = '</span> <span class="pl-c1">+</span> <span class="pl-c1">JSON</span><span class="pl-kos">.</span><span class="pl-en">stringify</span><span class="pl-kos">(</span><span class="pl-s1">y</span><span class="pl-kos">)</span> <span class="pl-c1">+</span> <span class="pl-s">' & removedFromMyArray = '</span> <span class="pl-c1">+</span> <span class="pl-c1">JSON</span><span class="pl-kos">.</span><span class="pl-en">stringify</span><span class="pl-kos">(</span><span class="pl-s1">z</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">myArray</span><span class="pl-kos">,</span> <span class="pl-s1">removedFromMyArray</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">As you can see the removedFromOurArray variable was used but not declared , if the user doesn't realise that then he won't be able to move forward and it might discourage him.</p> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-manipulate-arrays-with-shift?solution=var%20ourArray%20%3D%20%5B%22Stimpson%22%2C%20%22J%22%2C%20%5B%22cat%22%5D%5D%3B%0A%0AremovedFromOurArray%20%3D%20ourArray.shift%28%29%3B%20%2F%2F%20removedFromOurArray%20now%20equals%20%22Stimpson%22%20and%20ourArray%20now%20equals%20%5B%22J%22%2C%20%5B%22cat%22%5D%5D.%0A%0Avar%20myArray%20%3D%20%5B%22John%22%2C%2023%2C%20%5B%22dog%22%2C%203%5D%5D%3B%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line.%0A%0Avar%20removedFromMyArray%20%3D%20myArray.shift%28%29%3B%0A%0A%2F%2F%20Only%20change%20code%20above%20this%20line.%0A%0A%0A%28function%28y%2C%20z%29%7Breturn%20%27myArray%20%3D%20%27%20%2B%20JSON.stringify%28y%29%20%2B%20%27%20%26%20removedFromMyArray%20%3D%20%27%20%2B%20JSON.stringify%28z%29%3B%7D%29%28myArray%2C%20removedFromMyArray%29%3B%0A" rel="nofollow">Waypoint: Manipulate Arrays With shift</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var ourArray = ["Stimpson", "J", ["cat"]];
removedFromOurArray = ourArray.shift(); // removedFromOurArray now equals "Stimpson" and ourArray now equals ["J", ["cat"]].
var myArray = ["John", 23, ["dog", 3]];
// Only change code below this line.
var removedFromMyArray = myArray.shift();
// Only change code above this line.
(function(y, z){return 'myArray = ' + JSON.stringify(y) + ' & removedFromMyArray = ' + JSON.stringify(z);})(myArray, removedFromMyArray);
"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">ourArray</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-s">"Stimpson"</span><span class="pl-kos">,</span> <span class="pl-s">"J"</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">"cat"</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-s1">removedFromOurArray</span> <span class="pl-c1">=</span> <span class="pl-s1">ourArray</span><span class="pl-kos">.</span><span class="pl-en">shift</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// removedFromOurArray now equals "Stimpson" and ourArray now equals ["J", ["cat"]].</span>
<span class="pl-k">var</span> <span class="pl-s1">myArray</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-s">"John"</span><span class="pl-kos">,</span> <span class="pl-c1">23</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">"dog"</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-c">// Only change code below this line.</span>
<span class="pl-k">var</span> <span class="pl-s1">removedFromMyArray</span> <span class="pl-c1">=</span> <span class="pl-s1">myArray</span><span class="pl-kos">.</span><span class="pl-en">shift</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// Only change code above this line.</span>
<span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">y</span><span class="pl-kos">,</span> <span class="pl-s1">z</span><span class="pl-kos">)</span><span class="pl-kos">{</span><span class="pl-k">return</span> <span class="pl-s">'myArray = '</span> <span class="pl-c1">+</span> <span class="pl-c1">JSON</span><span class="pl-kos">.</span><span class="pl-en">stringify</span><span class="pl-kos">(</span><span class="pl-s1">y</span><span class="pl-kos">)</span> <span class="pl-c1">+</span> <span class="pl-s">' & removedFromMyArray = '</span> <span class="pl-c1">+</span> <span class="pl-c1">JSON</span><span class="pl-kos">.</span><span class="pl-en">stringify</span><span class="pl-kos">(</span><span class="pl-s1">z</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">myArray</span><span class="pl-kos">,</span> <span class="pl-s1">removedFromMyArray</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | 1 |
<h3 dir="auto">Description</h3>
<p dir="auto">[test_deprecated_attribute_spiders is flaky it fails randomly in different environments.<br>
see https://travis-ci.org/scrapy/scrapy/jobs/590415988 ]</p>
<h3 dir="auto">Steps to Reproduce</h3>
<ol dir="auto">
<li>[just run the test in travis ci environment build]</li>
<li>[re trigger the build and you can see the test being flaky]</li>
</ol>
<p dir="auto"><strong>Expected behavior:</strong> [the test should pass reliably ]</p>
<p dir="auto"><strong>Actual behavior:</strong> [test is flaky]</p>
<p dir="auto"><strong>Reproduces how often:</strong> [for me it happened twice in 3 times but I don't have a concrete number. I see it happening in other pulls as well]</p>
<h3 dir="auto">Versions</h3>
<p dir="auto">1.7.0</p> | <p dir="auto">Every now and then the Travis build fails on <a href="https://github.com/scrapy/scrapy/blob/1.7.3/tests/test_crawler.py#L173"><code class="notranslate">tests.test_crawler.CrawlerRunnerTestCase.test_deprecated_attribute_spiders</code></a>, I'm not sure why.<br>
Some examples:</p>
<ul dir="auto">
<li><a href="https://travis-ci.org/scrapy/scrapy/jobs/582184413#L407" rel="nofollow">https://travis-ci.org/scrapy/scrapy/jobs/582184413#L407</a></li>
<li><a href="https://travis-ci.org/scrapy/scrapy/jobs/580207692#L419" rel="nofollow">https://travis-ci.org/scrapy/scrapy/jobs/580207692#L419</a></li>
<li><a href="https://travis-ci.org/scrapy/scrapy/jobs/584701732#L415" rel="nofollow">https://travis-ci.org/scrapy/scrapy/jobs/584701732#L415</a></li>
<li><a href="https://travis-ci.org/scrapy/scrapy/jobs/584762868#L418" rel="nofollow">https://travis-ci.org/scrapy/scrapy/jobs/584762868#L418</a></li>
</ul>
<p dir="auto">PS: Sorry, I feel bad for ignoring the bug report template, but I felt like it didn't apply in this case.</p> | 1 |
<p dir="auto">I think many would greatly appreciate if you added SASS/Compass support for Bootstrap. The use of Less is holding us back to use your otherwise very great framework :(</p>
<p dir="auto">Oh and drag&drop support via jquery would be awesome too :D</p> | <p dir="auto">I'm using the Bootstrap v3.0.3.</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" <div class="form-group">
<label class="sr-only" for="searchZipcode">Zipcode</label>
<input type="text" class="form-control input-lg input-search" id="searchZipcode" placeholder="Zipcode of home?">
</div>"><pre class="notranslate"> <span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">form-group</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span> <span class="pl-c1">class</span>="<span class="pl-s">sr-only</span>" <span class="pl-c1">for</span>="<span class="pl-s">searchZipcode</span>"<span class="pl-kos">></span>Zipcode<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">text</span>" <span class="pl-c1">class</span>="<span class="pl-s">form-control input-lg input-search</span>" <span class="pl-c1">id</span>="<span class="pl-s">searchZipcode</span>" <span class="pl-c1">placeholder</span>="<span class="pl-s">Zipcode of home?</span>"<span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div>
<p dir="auto">My expectation is that when the viewport shrinks that the input form field would take on the default settings, but that is not the case. The only way I have been able to solve this issue is by writing my own media query, but I dont know the default input form field settings. Is there a better way to handle? Does Bootstrap handle this scenario?</p> | 0 |
<p dir="auto"><strong>I am using Glide in my app to display the images (like photo app), when i do the lazy loading of images from server my app is getting crash.</strong></p>
<p dir="auto">Pls find the crash log</p>
<p dir="auto"><code class="notranslate">E/StrictMode: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks. java.lang.Throwable: Explicit termination method 'close' not called at dalvik.system.CloseGuard.open(CloseGuard.java:180) at java.net.AbstractPlainSocketImpl.create(AbstractPlainSocketImpl.java:103) at java.net.Socket.createImpl(Socket.java:451) at java.net.Socket.getImpl(Socket.java:517) at java.net.Socket.setSoTimeout(Socket.java:1108) at com.android.okhttp.Connection.connectSocket(Connection.java:195) at com.android.okhttp.Connection.connect(Connection.java:172) at com.android.okhttp.Connection.connectAndSetOwner(Connection.java:367) at com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:130) at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:329) at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:246) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:457) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:126) at com.bumptech.glide.load.data.HttpUrlFetcher.loadDataWithRedirects(HttpUrlFetcher.java:101) at com.bumptech.glide.load.data.HttpUrlFetcher.loadData(HttpUrlFetcher.java:53) at com.bumptech.glide.load.model.MultiModelLoader$MultiFetcher.loadData(MultiModelLoader.java:95) at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:61) at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:282) at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:252) at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:222) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:347)</code></p> | <p dir="auto">Glide Version 4.9.0 does not support AndrdoidX?,Only version 4.8 supports Androidx? Why does version 4.8 support version 4.9 not support Android X?</p> | 0 |
<p dir="auto">I am trying to do least squares with a rank deficient matrix using <a href="http://docs.julialang.org/en/release-0.4/stdlib/linalg/" rel="nofollow">the / operator</a>. It works in the general case, but fails when applied on a square symmetric matrix with duplicate rows (and columns).</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="> n, p = 99, 8;
> y = randn(n);
> X = randn(n, p);
> X[:, 1] = 1;
# Rank deficient. X[:, 1] = X[:, 2] + X[:, 3]
> X[:, 3] = 1 - X[:, 2];
> (X\y)'
1x8 Array{Float64,2}:
-0.0643163 -0.123173 0.0588565 0.0812868 -0.0363878 -0.0676099 -0.0715549 0.0175931
> ((X'*X)\(X'*y))'
1x8 Array{Float64,2}:
-0.124538 -0.0629509 0.119078 0.0812868 -0.0363878 -0.0676099 -0.0715549 0.0175931
# Duplicate column. X[:, 1] = X[:, 3] = 1
> X[:, 3] = 1;
> (X\y)'
1x8 Array{Float64,2}:
-0.00272991 -0.182029 -0.00272991 0.0812868 -0.0363878 -0.0676099 -0.0715549 0.0175931
> (X'*X)\(X'*y)
ERROR: Base.LinAlg.SingularException(8)
in \ at linalg/factorization.jl:25
in \ at linalg/dense.jl:448"><pre class="notranslate"><span class="pl-k">></span> n, p <span class="pl-k">=</span> <span class="pl-c1">99</span>, <span class="pl-c1">8</span>;
<span class="pl-k">></span> y <span class="pl-k">=</span> <span class="pl-c1">randn</span>(n);
<span class="pl-k">></span> X <span class="pl-k">=</span> <span class="pl-c1">randn</span>(n, p);
<span class="pl-k">></span> X[:, <span class="pl-c1">1</span>] <span class="pl-k">=</span> <span class="pl-c1">1</span>;
<span class="pl-c"><span class="pl-c">#</span> Rank deficient. X[:, 1] = X[:, 2] + X[:, 3] </span>
<span class="pl-k">></span> X[:, <span class="pl-c1">3</span>] <span class="pl-k">=</span> <span class="pl-c1">1</span> <span class="pl-k">-</span> X[:, <span class="pl-c1">2</span>];
<span class="pl-k">></span> (X<span class="pl-k">\</span>y)<span class="pl-k">'</span>
<span class="pl-c1">1</span>x8 Array{Float64,<span class="pl-c1">2</span>}<span class="pl-k">:</span>
<span class="pl-k">-</span><span class="pl-c1">0.0643163</span> <span class="pl-k">-</span><span class="pl-c1">0.123173</span> <span class="pl-c1">0.0588565</span> <span class="pl-c1">0.0812868</span> <span class="pl-k">-</span><span class="pl-c1">0.0363878</span> <span class="pl-k">-</span><span class="pl-c1">0.0676099</span> <span class="pl-k">-</span><span class="pl-c1">0.0715549</span> <span class="pl-c1">0.0175931</span>
<span class="pl-k">></span> ((X<span class="pl-k">'</span><span class="pl-k">*</span>X)<span class="pl-k">\</span>(X<span class="pl-k">'</span><span class="pl-k">*</span>y))<span class="pl-k">'</span>
<span class="pl-c1">1</span>x8 Array{Float64,<span class="pl-c1">2</span>}<span class="pl-k">:</span>
<span class="pl-k">-</span><span class="pl-c1">0.124538</span> <span class="pl-k">-</span><span class="pl-c1">0.0629509</span> <span class="pl-c1">0.119078</span> <span class="pl-c1">0.0812868</span> <span class="pl-k">-</span><span class="pl-c1">0.0363878</span> <span class="pl-k">-</span><span class="pl-c1">0.0676099</span> <span class="pl-k">-</span><span class="pl-c1">0.0715549</span> <span class="pl-c1">0.0175931</span>
<span class="pl-c"><span class="pl-c">#</span> Duplicate column. X[:, 1] = X[:, 3] = 1</span>
<span class="pl-k">></span> X[:, <span class="pl-c1">3</span>] <span class="pl-k">=</span> <span class="pl-c1">1</span>;
<span class="pl-k">></span> (X<span class="pl-k">\</span>y)<span class="pl-k">'</span>
<span class="pl-c1">1</span>x8 Array{Float64,<span class="pl-c1">2</span>}<span class="pl-k">:</span>
<span class="pl-k">-</span><span class="pl-c1">0.00272991</span> <span class="pl-k">-</span><span class="pl-c1">0.182029</span> <span class="pl-k">-</span><span class="pl-c1">0.00272991</span> <span class="pl-c1">0.0812868</span> <span class="pl-k">-</span><span class="pl-c1">0.0363878</span> <span class="pl-k">-</span><span class="pl-c1">0.0676099</span> <span class="pl-k">-</span><span class="pl-c1">0.0715549</span> <span class="pl-c1">0.0175931</span>
<span class="pl-k">></span> (X<span class="pl-k">'</span><span class="pl-k">*</span>X)<span class="pl-k">\</span>(X<span class="pl-k">'</span><span class="pl-k">*</span>y)
ERROR<span class="pl-k">:</span> Base<span class="pl-k">.</span>LinAlg<span class="pl-k">.</span><span class="pl-c1">SingularException</span>(<span class="pl-c1">8</span>)
<span class="pl-k">in</span> <span class="pl-k">\</span> at linalg<span class="pl-k">/</span>factorization<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">25</span>
<span class="pl-k">in</span> <span class="pl-k">\</span> at linalg<span class="pl-k">/</span>dense<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">448</span></pre></div> | <p dir="auto">I propose adding methods for <code class="notranslate">all</code> and <code class="notranslate">any</code> to allow for convenient testing of nary predicates. The behavior would be equivalent to that given by</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="myall(f,itrs...) = all(map(args->f(args...),zip(itrs...)))"><pre class="notranslate"><span class="pl-en">myall</span>(f,itrs<span class="pl-k">...</span>) <span class="pl-k">=</span> <span class="pl-c1">all</span>(<span class="pl-c1">map</span>(args<span class="pl-k">-></span><span class="pl-c1">f</span>(args<span class="pl-k">...</span>),<span class="pl-c1">zip</span>(itrs<span class="pl-k">...</span>)))</pre></div>
<p dir="auto">but with an efficient implementation along the lines of the current <code class="notranslate">all(f,itr)</code> method (same thing for <code class="notranslate">any</code>). This additional signature is directly analogous to the extant generalization for <code class="notranslate">map</code> methods and allows for things like</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> xs,Xs = 1:3,[Set([1,2]),Set([2,5]),Set([3])]
julia> myall(in,xs,Xs)
true"><pre class="notranslate">julia<span class="pl-k">></span> xs,Xs <span class="pl-k">=</span> <span class="pl-c1">1</span><span class="pl-k">:</span><span class="pl-c1">3</span>,[<span class="pl-c1">Set</span>([<span class="pl-c1">1</span>,<span class="pl-c1">2</span>]),<span class="pl-c1">Set</span>([<span class="pl-c1">2</span>,<span class="pl-c1">5</span>]),<span class="pl-c1">Set</span>([<span class="pl-c1">3</span>])]
julia<span class="pl-k">></span> <span class="pl-c1">myall</span>(in,xs,Xs)
<span class="pl-c1">true</span></pre></div>
<p dir="auto">which saves one from having to zip and splat for nary functions.</p> | 0 |
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report
[ ] feature request
[ ] support request "><pre class="notranslate"><code class="notranslate">[x] bug report
[ ] feature request
[ ] support request
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
When a <code class="notranslate"><select></code> is bound with <code class="notranslate">[ngModel])</code> the binding is not refreshed when the options are reloaded as can happen when the options are loaded from the server asynchronously.</p>
<p dir="auto">In the repro provided below, given this HTML template,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" State:
<select [(ngModel)]="address.state">
<option *ngFor="let state of states">{{state}}</option>
</select>"><pre class="notranslate"><code class="notranslate"> State:
<select [(ngModel)]="address.state">
<option *ngFor="let state of states">{{state}}</option>
</select>
</code></pre></div>
<p dir="auto">the state selection for the address "Chicaco, Illinois" is shown as "California" rather than "Illinois"</p>
<p dir="auto"><strong>Expected behavior</strong><br>
Should be "Illinois" as shown in the workaround</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br>
<a href="https://plnkr.co/edit/NnnXJWz1oJuSgJLFtZWw?p=preview" rel="nofollow">https://plnkr.co/edit/NnnXJWz1oJuSgJLFtZWw?p=preview</a></p>
<p dir="auto"><strong>Please tell us about your environment:</strong><br>
Windows, Chrome</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 2.3.0</p>
</li>
<li>
<p dir="auto"><strong>Language:</strong> [all]</p>
</li>
</ul> | <p dir="auto">The two-way data binding was already broken before in Firefox in the sense that user input did not modify the model (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="150713786" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/8215" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/8215/hovercard" href="https://github.com/angular/angular/issues/8215">#8215</a>). This was fixed.</p>
<p dir="auto">However in the recent version there is now the problem that the initial model value (which is assigned to a <code class="notranslate">Control</code> in its constructor) is not applied to the view and instead the view initially displays the first possible select option. The bug occurs in Firefox as well as Chrome. Maybe the fix for <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="150713786" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/8215" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/8215/hovercard" href="https://github.com/angular/angular/issues/8215">#8215</a> introduced this new other bug.</p>
<p dir="auto">Reproducer: <a href="http://plnkr.co/edit/EGBoO2xRDJXByZykgiHF?p=info" rel="nofollow">http://plnkr.co/edit/EGBoO2xRDJXByZykgiHF?p=info</a><br>
You can see that <code class="notranslate">bCtrl</code> initially displays the value AA although CC is stored in the model.</p> | 1 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">Ansible play-book randomly fails with error message ERROR[Timeout (12s) waiting for privilege escalation prompt: ]</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Ansible version: 2.3"><pre class="notranslate"><code class="notranslate">Ansible version: 2.3
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">[defaults]<br>
inventory = ./hosts<br>
log_path = /dev/null<br>
remote_user = ansible<br>
host_key_checking = False<br>
retry_files_enabled = False</p>
<p dir="auto">[ssh_connection]<br>
pipelining = True<br>
ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o UserKnownHostsFile=/dev/null</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">DISTRIB_ID=Ubuntu<br>
DISTRIB_RELEASE=16.04<br>
DISTRIB_CODENAME=xenial<br>
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">ansible runs in our environment every hour and randomly on different hosts we get Timeout (12s) waiting for privilege escalation prompt, I have repeated the test on the environment which all hosts where on local network and I saw the exact error.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate">
</code></pre></div> | <h5 dir="auto">Issue Type:</h5>
<p dir="auto">Bug Report</p>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">ansible 1.9.2<br>
configured module search path = None</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">Arch Linux</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">Taken from my Post here: <a href="https://groups.google.com/forum/#!topic/ansible-project/lsFr9tAUdUE" rel="nofollow">https://groups.google.com/forum/#!topic/ansible-project/lsFr9tAUdUE</a><br>
Yesterday i took another try on the role dependency feature and realize that this doesn't work as i expect this as the dependencies are not multiple executed with the "allow_duplicates: yes" feature enabled and also not executed when i use Tags on the roles.</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">I try to explain what i mean with an sample playbook/roles:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cat play-test.yml
---
- name: dependency test
gather_facts: false
hosts: localhost
roles:
- { role: feature1 }
- { role: feature2 }
$ cat roles/feature1/tasks/main.yml
---
- name: in feature1
debug: msg="here we are in feature1"
$ cat roles/feature1/meta/main.yml
---
allow_duplicates: yes
dependencies:
- { role: base }
$ cat roles/feature2/tasks/main.yml
---
- name: in feature2
debug: msg="here we are in feature2"
$ cat roles/feature2/meta/main.yml
---
allow_duplicates: yes
dependencies:
- { role: base }
$ cat roles/base/tasks/main.yml
---
- name: in base
debug: msg="here we are in base""><pre class="notranslate"><code class="notranslate">$ cat play-test.yml
---
- name: dependency test
gather_facts: false
hosts: localhost
roles:
- { role: feature1 }
- { role: feature2 }
$ cat roles/feature1/tasks/main.yml
---
- name: in feature1
debug: msg="here we are in feature1"
$ cat roles/feature1/meta/main.yml
---
allow_duplicates: yes
dependencies:
- { role: base }
$ cat roles/feature2/tasks/main.yml
---
- name: in feature2
debug: msg="here we are in feature2"
$ cat roles/feature2/meta/main.yml
---
allow_duplicates: yes
dependencies:
- { role: base }
$ cat roles/base/tasks/main.yml
---
- name: in base
debug: msg="here we are in base"
</code></pre></div>
<p dir="auto">I would expect because of the allow_duplicates: yes that the basic role is executed twice but that doesn't happen:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-playbook play-test.yml
PLAY [dependency test] ********************************************************
TASK: [base | in base] ********************************************************
ok: [localhost] => {
"msg": "here we are in base"
}
TASK: [feature1 | in feature1] ************************************************
ok: [localhost] => {
"msg": "here we are in feature1"
}
TASK: [feature2 | in feature2] ************************************************
ok: [localhost] => {
"msg": "here we are in feature2"
}
PLAY RECAP ********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=0"><pre class="notranslate"><code class="notranslate">$ ansible-playbook play-test.yml
PLAY [dependency test] ********************************************************
TASK: [base | in base] ********************************************************
ok: [localhost] => {
"msg": "here we are in base"
}
TASK: [feature1 | in feature1] ************************************************
ok: [localhost] => {
"msg": "here we are in feature1"
}
TASK: [feature2 | in feature2] ************************************************
ok: [localhost] => {
"msg": "here we are in feature2"
}
PLAY RECAP ********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=0
</code></pre></div>
<p dir="auto">After that I extend the example with another pice named tags:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cat play-test.yml
---
- name: dependency test
gather_facts: false
hosts: localhost
roles:
- { role: feature1, tags: feature1 }
- { role: feature2, tags: feature2 }"><pre class="notranslate"><code class="notranslate">$ cat play-test.yml
---
- name: dependency test
gather_facts: false
hosts: localhost
roles:
- { role: feature1, tags: feature1 }
- { role: feature2, tags: feature2 }
</code></pre></div>
<p dir="auto">This gives me another strage behavior if you look at the following output (i used --list-tags for simplicity):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-playbook play-test.yml --list-tasks
playbook: play-test.yml
play #1 (dependency test): TAGS: []
in base TAGS: [feature1]
in feature1 TAGS: [feature1]
in feature2 TAGS: [feature2]"><pre class="notranslate"><code class="notranslate">$ ansible-playbook play-test.yml --list-tasks
playbook: play-test.yml
play #1 (dependency test): TAGS: []
in base TAGS: [feature1]
in feature1 TAGS: [feature1]
in feature2 TAGS: [feature2]
</code></pre></div>
<p dir="auto">As there is still "allow_duplicates: yes" active, i would expect the execution of base 2 times.<br>
So i try the following (as this is my initial intention to use role dependencys and tags):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-playbook play-test.yml --list-tasks -t feature1
playbook: play-test.yml
play #1 (dependency test): TAGS: []
in base TAGS: [feature1]
in feature1 TAGS: [feature1]"><pre class="notranslate"><code class="notranslate">$ ansible-playbook play-test.yml --list-tasks -t feature1
playbook: play-test.yml
play #1 (dependency test): TAGS: []
in base TAGS: [feature1]
in feature1 TAGS: [feature1]
</code></pre></div>
<p dir="auto">Looks OK to me, but then:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-playbook play-test.yml --list-tasks -t feature2
playbook: play-test.yml
play #1 (dependency test): TAGS: []
in feature2 TAGS: [feature2]"><pre class="notranslate"><code class="notranslate">$ ansible-playbook play-test.yml --list-tasks -t feature2
playbook: play-test.yml
play #1 (dependency test): TAGS: []
in feature2 TAGS: [feature2]
</code></pre></div>
<p dir="auto">So in the second try the base role isn't run at all.<br>
This is definitely not the expected behavior. In the role "feature2" the dependency is set to the "basic" role and in my eyes if i specify an role with an tag the dependency should run (like the first one).</p>
<p dir="auto">Did i miss something?</p>
<p dir="auto">BTW: This is the inverse behavior as i realized in this bug: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="49353641" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/9578" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/9578/hovercard" href="https://github.com/ansible/ansible/issues/9578">#9578</a><br>
This was closed with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="this is expected, the 'no duplicates' is not just on role name but on the role 'signature' so by passing different tags you make them 'differnt roles'.""><pre class="notranslate"><code class="notranslate">this is expected, the 'no duplicates' is not just on role name but on the role 'signature' so by passing different tags you make them 'differnt roles'."
</code></pre></div>
<p dir="auto">It seems that this breaks on the way from 1.7.2 to 1.9.2</p>
<p dir="auto">All in all i'm really confused about the actual behavior with the meta - dependency stuff and the tags stuff.</p>
<p dir="auto">In the docs the Tags feature is described with "If you have a large playbook it may become useful to be able to run a specific part of the configuration without running the whole playbook."<br>
But when someone try to use it together with the dependency feature this is broken.</p>
<ul dir="auto">
<li>the old behavior is to run the dependency for every Tag Keyword (witch it is not what i expect from the combination)</li>
<li>actually the dependency is only run once on the first role defined in playbook which depends on the role</li>
</ul> | 0 |
<p dir="auto">While packaging Julia 0.4.1 for Debian, we experienced a <a href="https://buildd.debian.org/status/fetch.php?pkg=julia&arch=i386&ver=0.4.1-1&stamp=1448544177" rel="nofollow">build failure on x86</a> caused by a timeout.</p>
<p dir="auto">I performed a series of test builds in a Debian unstable i386 chroot, building the latest <code class="notranslate">release-0.4</code> using various LLVM versions from 3.3 to 3.7. Please inspect the complete <a href="https://gist.github.com/d9f0ddab9658f57c762e">build and test suite logs</a> with</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git clone https://gist.github.com/d9f0ddab9658f57c762e julia-llvm-linux-x86-tests"><pre class="notranslate"><code class="notranslate">git clone https://gist.github.com/d9f0ddab9658f57c762e julia-llvm-linux-x86-tests
</code></pre></div>
<p dir="auto">These are the run-times of the test suite obtained with <code class="notranslate">time</code>:</p>
<table role="table">
<thead>
<tr>
<th>arch</th>
<th>julia</th>
<th>llvm</th>
<th align="right">elapsed</th>
</tr>
</thead>
<tbody>
<tr>
<td>x86</td>
<td><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce/hovercard" href="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce"><tt>eb31eef</tt></a></td>
<td>3.3</td>
<td align="right">5:59.55</td>
</tr>
<tr>
<td>x86</td>
<td><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce/hovercard" href="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce"><tt>eb31eef</tt></a></td>
<td>3.4</td>
<td align="right"><em>segfault</em></td>
</tr>
<tr>
<td>x86</td>
<td><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce/hovercard" href="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce"><tt>eb31eef</tt></a></td>
<td>3.5</td>
<td align="right"><em>segfault</em></td>
</tr>
<tr>
<td>x86</td>
<td><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce/hovercard" href="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce"><tt>eb31eef</tt></a></td>
<td>3.6</td>
<td align="right"><em>segfault</em></td>
</tr>
<tr>
<td>x86</td>
<td><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce/hovercard" href="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce"><tt>eb31eef</tt></a></td>
<td>3.7</td>
<td align="right"><strong>1:04:29</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">On x86 the Julia test suite is an <strong>order of magnitude slower</strong> using LLVM 3.7, compared to LLVM 3.3.</p>
<p dir="auto">(Using LLVM 3.4, 3.5, or 3.6 the test suite aborts with a segmentation fault.)</p>
<p dir="auto">For comparison I performed the same series of test builds in a Debian unstable amd64 chroot on the same machine. The test suite takes longer with LLVM versions > 3.3, but the increase is still tolerable:</p>
<table role="table">
<thead>
<tr>
<th>arch</th>
<th>julia</th>
<th>llvm</th>
<th align="right">elapsed</th>
</tr>
</thead>
<tbody>
<tr>
<td>x86_64</td>
<td><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce/hovercard" href="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce"><tt>eb31eef</tt></a></td>
<td>3.3</td>
<td align="right">5:22.86</td>
</tr>
<tr>
<td>x86_64</td>
<td><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce/hovercard" href="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce"><tt>eb31eef</tt></a></td>
<td>3.4</td>
<td align="right">8:41.82</td>
</tr>
<tr>
<td>x86_64</td>
<td><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce/hovercard" href="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce"><tt>eb31eef</tt></a></td>
<td>3.5</td>
<td align="right">10:01.84</td>
</tr>
<tr>
<td>x86_64</td>
<td><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce/hovercard" href="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce"><tt>eb31eef</tt></a></td>
<td>3.6</td>
<td align="right">10:11.50</td>
</tr>
<tr>
<td>x86_64</td>
<td><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce/hovercard" href="https://github.com/JuliaLang/julia/commit/eb31eef9b8db897be0921b73f1469f8180e15cce"><tt>eb31eef</tt></a></td>
<td>3.7</td>
<td align="right">9:56.67</td>
</tr>
</tbody>
</table>
<p dir="auto">Unfortunately I cannot provide more detail regarding the x86 performance regression, but it appears to affect all tests across the board. This issue is blocking Julia 0.4 from entering Debian. The Julia version currently in Debian unstable, 0.3.12, does not exhibit this issue when using LLVM ≥ 3.4.</p>
<p dir="auto">I wish I had better news to report so shortly before the 0.4.2 release (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="119389323" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/14186" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/14186/hovercard" href="https://github.com/JuliaLang/julia/pull/14186">#14186</a>).</p> | <p dir="auto">this is an umbrella issue for tracking known issues with switching to LLVM35 as default. please edit this post or add a comment below. close when someone edits <code class="notranslate">deps/Versions.make</code> to <del><code class="notranslate">3.6.0</code></del> <code class="notranslate">3.7.0</code></p>
<p dir="auto">current known issues:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> requires editing deps/Versions.make - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="125800095" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/14623" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/14623/hovercard" href="https://github.com/JuliaLang/julia/pull/14623">#14623</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="39789408" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/7910" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/7910/hovercard" href="https://github.com/JuliaLang/julia/issues/7910">#7910</a> (<a href="http://reviews.llvm.org/D6961" rel="nofollow">upstream patch</a> committed to 3.7 -- only an issue on Mac)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> figure out performance regression (perhaps only run passes once <del>(requires writing a <code class="notranslate">TargetMachine</code> wrapper and overloading <code class="notranslate">addPassesToEmitMC</code>)</del> (requires changes to LLVM to expose passes))</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> requires leaving behind LLVM33</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> would eliminate content from the "fixed in LLVM 3.5" issue label</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="41171385" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/8137" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/8137/hovercard" href="https://github.com/JuliaLang/julia/issues/8137">#8137</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="48613003" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/8999" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/8999/hovercard" href="https://github.com/JuliaLang/julia/issues/8999">#8999</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="51424119" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/9280" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/9280/hovercard" href="https://github.com/JuliaLang/julia/issues/9280">#9280</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="51882263" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/9339" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/9339/hovercard" href="https://github.com/JuliaLang/julia/issues/9339">#9339</a> <del>(LLVM36-only issue)</del></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="55996164" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/9967" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/9967/hovercard" href="https://github.com/JuliaLang/julia/issues/9967">#9967</a> (fixed in LLVM36)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="59502482" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/10377" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/10377/hovercard" href="https://github.com/JuliaLang/julia/issues/10377">#10377</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="59712802" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/10394" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/10394/hovercard" href="https://github.com/JuliaLang/julia/issues/10394">#10394</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="72480548" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/11085" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/11085/hovercard" href="https://github.com/JuliaLang/julia/issues/11085">#11085</a> linalg/arnoldi test on win64</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="72464823" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/11083" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/11083/hovercard" href="https://github.com/JuliaLang/julia/issues/11083">#11083</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <del><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="68233081" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/10806" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/10806/hovercard" href="https://github.com/JuliaLang/julia/issues/10806">#10806</a></del> (afaict, this is a non-fatal issue in valgrind. jwn)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="70869528" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/11003" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/11003/hovercard" href="https://github.com/JuliaLang/julia/issues/11003">#11003</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <del><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="106224074" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/13106" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/13106/hovercard" href="https://github.com/JuliaLang/julia/issues/13106">#13106</a></del> (this issue is a non-fatal performance regression. jwn)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> re-disable FPO</li>
</ul>
<p dir="auto">related:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="39001785" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/7779" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/7779/hovercard" href="https://github.com/JuliaLang/julia/issues/7779">#7779</a> coverage flags are broken with LLVM 3.5 on master</li>
</ul>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Keno/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Keno">@Keno</a></p> | 1 |
<p dir="auto">Example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> import transformers
>>> t_fast = transformers.AutoTokenizer.from_pretrained("bert-base-cased", use_fast=True, add_special_tokens=False)
>>> sentence = "A, naïve [MASK] AllenNLP sentence."
>>> tokenized = t_fast.encode_plus(sentence, add_special_tokens=False, return_offsets_mapping=True)
>>> for start, end in tokenized['offset_mapping']:
... print(repr(sentence[start:end]))
'A'
','
'naïve'
' [MASK'
' Alle'
'nN'
'L'
' sentenc'
'e'"><pre class="notranslate"><code class="notranslate">>>> import transformers
>>> t_fast = transformers.AutoTokenizer.from_pretrained("bert-base-cased", use_fast=True, add_special_tokens=False)
>>> sentence = "A, naïve [MASK] AllenNLP sentence."
>>> tokenized = t_fast.encode_plus(sentence, add_special_tokens=False, return_offsets_mapping=True)
>>> for start, end in tokenized['offset_mapping']:
... print(repr(sentence[start:end]))
'A'
','
'naïve'
' [MASK'
' Alle'
'nN'
'L'
' sentenc'
'e'
</code></pre></div>
<p dir="auto">As you can see, after the word "naïve", the offsets go off the rails.</p> | <h1 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h1>
<h2 dir="auto">Information</h2>
<p dir="auto">Model I am using (Bert, XLNet ...): Bert (could happen with other ones, don't know)</p>
<p dir="auto">Language I am using the model on (English, Chinese ...): English</p>
<p dir="auto">The problem arises when using:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> the official example scripts: (give details below)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> my own modified scripts: (give details below)</li>
</ul>
<p dir="auto">The tasks I am working on is:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> an official GLUE/SQUaD task: (give the name)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> my own task or dataset: (give details below)</li>
</ul>
<h2 dir="auto">To reproduce</h2>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from transformers import AutoTokenizer
pretrained_model_name = "bert-base-cased"
fast_tokenizer = AutoTokenizer.from_pretrained(pretrained_model_name)
slow_tokenizer = AutoTokenizer.from_pretrained(pretrained_model_name, use_fast=False)
text = "naïve"
assert fast_tokenizer.encode(text) == slow_tokenizer.encode(text)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">transformers</span> <span class="pl-k">import</span> <span class="pl-v">AutoTokenizer</span>
<span class="pl-s1">pretrained_model_name</span> <span class="pl-c1">=</span> <span class="pl-s">"bert-base-cased"</span>
<span class="pl-s1">fast_tokenizer</span> <span class="pl-c1">=</span> <span class="pl-v">AutoTokenizer</span>.<span class="pl-en">from_pretrained</span>(<span class="pl-s1">pretrained_model_name</span>)
<span class="pl-s1">slow_tokenizer</span> <span class="pl-c1">=</span> <span class="pl-v">AutoTokenizer</span>.<span class="pl-en">from_pretrained</span>(<span class="pl-s1">pretrained_model_name</span>, <span class="pl-s1">use_fast</span><span class="pl-c1">=</span><span class="pl-c1">False</span>)
<span class="pl-s1">text</span> <span class="pl-c1">=</span> <span class="pl-s">"naïve"</span>
<span class="pl-k">assert</span> <span class="pl-s1">fast_tokenizer</span>.<span class="pl-en">encode</span>(<span class="pl-s1">text</span>) <span class="pl-c1">==</span> <span class="pl-s1">slow_tokenizer</span>.<span class="pl-en">encode</span>(<span class="pl-s1">text</span>)</pre></div>
<p dir="auto">With the slow, it only strips accents if lowercase is enabled (maybe a bug?):</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/huggingface/transformers/blob/e67676424191e5935362e5fe7e04b5c317d706a9/src/transformers/tokenization_bert.py#L346">transformers/src/transformers/tokenization_bert.py</a>
</p>
<p class="mb-0 color-fg-muted">
Line 346
in
<a data-pjax="true" class="commit-tease-sha" href="/huggingface/transformers/commit/e67676424191e5935362e5fe7e04b5c317d706a9">e676764</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="L346" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="346"></td>
<td id="LC346" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">token</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_run_strip_accents</span>(<span class="pl-s1">token</span>) </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">With the fast one, it'd never strip accents:</p>
<p dir="auto"><a href="https://github.com/huggingface/tokenizers/blob/python-v0.5.0/bindings/python/tokenizers/implementations/bert_wordpiece.py#L23">https://github.com/huggingface/tokenizers/blob/python-v0.5.0/bindings/python/tokenizers/implementations/bert_wordpiece.py#L23</a></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/huggingface/transformers/blob/e67676424191e5935362e5fe7e04b5c317d706a9/src/transformers/tokenization_bert.py#L557-L565">transformers/src/transformers/tokenization_bert.py</a>
</p>
<p class="mb-0 color-fg-muted">
Lines 557 to 565
in
<a data-pjax="true" class="commit-tease-sha" href="/huggingface/transformers/commit/e67676424191e5935362e5fe7e04b5c317d706a9">e676764</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="L557" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="557"></td>
<td id="LC557" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-v">BertWordPieceTokenizer</span>( </td>
</tr>
<tr class="border-0">
<td id="L558" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="558"></td>
<td id="LC558" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">vocab_file</span><span class="pl-c1">=</span><span class="pl-s1">vocab_file</span>, </td>
</tr>
<tr class="border-0">
<td id="L559" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="559"></td>
<td id="LC559" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">add_special_tokens</span><span class="pl-c1">=</span><span class="pl-s1">add_special_tokens</span>, </td>
</tr>
<tr class="border-0">
<td id="L560" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="560"></td>
<td id="LC560" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">unk_token</span><span class="pl-c1">=</span><span class="pl-s1">unk_token</span>, </td>
</tr>
<tr class="border-0">
<td id="L561" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="561"></td>
<td id="LC561" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">sep_token</span><span class="pl-c1">=</span><span class="pl-s1">sep_token</span>, </td>
</tr>
<tr class="border-0">
<td id="L562" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="562"></td>
<td id="LC562" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">cls_token</span><span class="pl-c1">=</span><span class="pl-s1">cls_token</span>, </td>
</tr>
<tr class="border-0">
<td id="L563" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="563"></td>
<td id="LC563" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">handle_chinese_chars</span><span class="pl-c1">=</span><span class="pl-s1">tokenize_chinese_chars</span>, </td>
</tr>
<tr class="border-0">
<td id="L564" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="564"></td>
<td id="LC564" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">lowercase</span><span class="pl-c1">=</span><span class="pl-s1">do_lower_case</span>, </td>
</tr>
<tr class="border-0">
<td id="L565" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="565"></td>
<td id="LC565" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> ), </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">I'd be cool to have that flag also, in both tokenizers.</p>
<p dir="auto">Finally, this warning seems odd for the simple code from above:</p>
<div class="highlight highlight-text-python-console notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> assert fast_tokenizer.encode(text) == slow_tokenizer.encode(text)
Disabled padding because no padding token set (pad_token: [PAD], pad_token_id: 0).
To remove this error, you can add a new pad token and then resize model embedding:
tokenizer.pad_token = '<PAD>'
model.resize_token_embeddings(len(tokenizer))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AssertionError"><pre class="notranslate">>>> <span class="pl-k">assert</span> fast_tokenizer.encode(text) <span class="pl-k">==</span> slow_tokenizer.encode(text)
Disabled padding because no padding token set (pad_token: [PAD], pad_token_id: 0).
To remove this error, you can add a new pad token and then resize model embedding:
tokenizer.pad_token = '<PAD>'
model.resize_token_embeddings(len(tokenizer))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AssertionError</pre></div>
<p dir="auto">Maybe here the <code class="notranslate">if pad_to_max_length</code> should be nesting the rest of the if?</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/huggingface/transformers/blob/e67676424191e5935362e5fe7e04b5c317d706a9/src/transformers/tokenization_utils.py#L80-L95">transformers/src/transformers/tokenization_utils.py</a>
</p>
<p class="mb-0 color-fg-muted">
Lines 80 to 95
in
<a data-pjax="true" class="commit-tease-sha" href="/huggingface/transformers/commit/e67676424191e5935362e5fe7e04b5c317d706a9">e676764</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="L80" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="80"></td>
<td id="LC80" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">if</span> <span class="pl-s1">pad_to_max_length</span> <span class="pl-c1">and</span> (<span class="pl-s1">pad_token</span> <span class="pl-c1">and</span> <span class="pl-s1">pad_token_id</span> <span class="pl-c1">>=</span> <span class="pl-c1">0</span>): </td>
</tr>
<tr class="border-0">
<td id="L81" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="81"></td>
<td id="LC81" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">tokenizer</span>.<span class="pl-en">enable_padding</span>( </td>
</tr>
<tr class="border-0">
<td id="L82" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="82"></td>
<td id="LC82" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">max_length</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, </td>
</tr>
<tr class="border-0">
<td id="L83" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="83"></td>
<td id="LC83" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">direction</span><span class="pl-c1">=</span><span class="pl-s1">padding_side</span>, </td>
</tr>
<tr class="border-0">
<td id="L84" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="84"></td>
<td id="LC84" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">pad_id</span><span class="pl-c1">=</span><span class="pl-s1">pad_token_id</span>, </td>
</tr>
<tr class="border-0">
<td id="L85" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="85"></td>
<td id="LC85" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">pad_type_id</span><span class="pl-c1">=</span><span class="pl-s1">pad_token_type_id</span>, </td>
</tr>
<tr class="border-0">
<td id="L86" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="86"></td>
<td id="LC86" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">pad_token</span><span class="pl-c1">=</span><span class="pl-s1">pad_token</span>, </td>
</tr>
<tr class="border-0">
<td id="L87" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="87"></td>
<td id="LC87" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> ) </td>
</tr>
<tr class="border-0">
<td id="L88" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="88"></td>
<td id="LC88" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">else</span>: </td>
</tr>
<tr class="border-0">
<td id="L89" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="89"></td>
<td id="LC89" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">logger</span>.<span class="pl-en">warning</span>( </td>
</tr>
<tr class="border-0">
<td id="L90" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="90"></td>
<td id="LC90" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s">"Disabled padding because no padding token set (pad_token: {}, pad_token_id: {}).<span class="pl-cce">\n</span>"</span> </td>
</tr>
<tr class="border-0">
<td id="L91" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="91"></td>
<td id="LC91" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s">"To remove this error, you can add a new pad token and then resize model embedding:<span class="pl-cce">\n</span>"</span> </td>
</tr>
<tr class="border-0">
<td id="L92" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="92"></td>
<td id="LC92" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s">"<span class="pl-cce">\t</span>tokenizer.pad_token = '<PAD>'<span class="pl-cce">\n</span><span class="pl-cce">\t</span>model.resize_token_embeddings(len(tokenizer))"</span>.<span class="pl-en">format</span>( </td>
</tr>
<tr class="border-0">
<td id="L93" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="93"></td>
<td id="LC93" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">pad_token</span>, <span class="pl-s1">pad_token_id</span> </td>
</tr>
<tr class="border-0">
<td id="L94" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="94"></td>
<td id="LC94" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> ) </td>
</tr>
<tr class="border-0">
<td id="L95" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="95"></td>
<td id="LC95" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> ) </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">Didn't check in the other transformer models.</p>
<h2 dir="auto">Expected behavior</h2>
<ol dir="auto">
<li>The 2 tokenizer outputs (slow and fast) should be the same.</li>
<li>The tokenizers should allow you to choose if to strip accents or not.</li>
<li>That warning shouldn't appear, IMHO.</li>
</ol>
<h2 dir="auto">Environment info</h2>
<ul dir="auto">
<li><code class="notranslate">transformers</code> version: 2.5.0</li>
<li>Platform: Linux-4.15.0-76-generic-x86_64-with-debian-buster-sid</li>
<li>Python version: 3.7.4</li>
<li>PyTorch version (GPU?): 1.4.0 (True)</li>
<li>Tensorflow version (GPU?): 2.0.0 (False)</li>
<li>Using GPU in script?: No</li>
<li>Using distributed or parallel set-up in script?: No</li>
</ul> | 1 |
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/birkskyum/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/birkskyum">@birkskyum</a>: About duplicate content. I think the Accounts module nested in meteor/accounts-base is necessary, in order to match the javascript, but can the global Accounts module be removed?</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fullflavedave/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/fullflavedave">@fullflavedave</a>: It would be great to remove all the duplication. This was created when Meteor added support for ES2015 modules (the global modules were the original). Does Meteor 1.4 still support global modules (e.g. for super quick prototyping)? If so, then the global module definitions probably need to be there for backwards compatibility. However, it would be great if the global Accounts module and the one nested in meteor/accounts-base referenced one set of definitions (and all other modules too). My TypeScript skills are a little out-dated, and I haven't fooled around to see if it's possible -- want to give it a try <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/birkskyum/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/birkskyum">@birkskyum</a>? Let's add a separate issue and continue discussion there.</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/birkskyum/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/birkskyum">@birkskyum</a>: Sure, I'll have a look at it.</p> | <p dir="auto">The <code class="notranslate">convert</code> function that should be available on each <code class="notranslate">lodash/fp</code> exported member is not typed correctly for <code class="notranslate">mapValues</code> (the only one I checked but probably others too)</p>
<p dir="auto">I should be able to do the following:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { mapValues } from 'lodash/fp'
const mapValuesUncapped = mapValues.convert({ cap: false })
// I get the error => `[ts] Property 'convert' does not exist on type 'LodashMapValues'.`"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">mapValues</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'lodash/fp'</span>
<span class="pl-k">const</span> <span class="pl-s1">mapValuesUncapped</span> <span class="pl-c1">=</span> <span class="pl-s1">mapValues</span><span class="pl-kos">.</span><span class="pl-en">convert</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">cap</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-c">// I get the error => `[ts] Property 'convert' does not exist on type 'LodashMapValues'.`</span></pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/xxxx</code> package and had problems.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>. (Please ask any appropriate questions there).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond.
<ul dir="auto">
<li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bczengel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bczengel">@bczengel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chrootsu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chrootsu">@chrootsu</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/stepancar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/stepancar">@stepancar</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aj-r/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aj-r">@aj-r</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Ailrun/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Ailrun">@Ailrun</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/e-cloud/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/e-cloud">@e-cloud</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thorn0/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thorn0">@thorn0</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jtmthf/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jtmthf">@jtmthf</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/DomiR/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/DomiR">@DomiR</a></li>
</ul>
</li>
</ul> | 0 |
<p dir="auto">Referencing this <a href="http://stackoverflow.com/questions/40370866/tf-corrupted-record-while-training/40396754#40396754" rel="nofollow">post</a> on stackoverflow.</p>
<p dir="auto">There may be situations when we write huge databases of images into a TFRecord (or at least a few TFRecords). It would be good if there's an option to check every write to prevent such cases of corrupted data happening during training.</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/allenlavoie/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/allenlavoie">@allenlavoie</a></p> | <p dir="auto">Hi,</p>
<ul dir="auto">
<li>Have I written custom code: <strong>NO</strong></li>
<li>OS Platform and Distribution: <strong>Ubuntu 18.0.4 LTS</strong></li>
<li>TensorFlow installed from: <strong>Github 1.9 release branch</strong></li>
<li>TensorFlow version: <strong>1.9</strong></li>
<li>Bazel version: <strong>0.16.0</strong></li>
<li>CUDA/cuDNN version: <strong>9.1 / 7.0</strong></li>
<li>GPU model and memory: <strong>GTX 1070 Ti, 8 Go</strong></li>
<li>Exact command to reproduce: <strong>see below</strong></li>
</ul>
<p dir="auto">I'm working on a FCN (Fully Convolutional Network <a href="https://people.eecs.berkeley.edu/~jonlong/long_shelhamer_fcn.pdf" rel="nofollow">https://people.eecs.berkeley.edu/~jonlong/long_shelhamer_fcn.pdf</a>) and wanted to make it work on mobile. The advantage of this type of network is that we can use any dimensions as input, the network still work. (for example, an image 512x512 or 512x384 or 612x358...)</p>
<p dir="auto">TfLite allow us to convert a freezed graph (.pb) to Tflite format (.tflite), but we need to put a fixed size for "input_shape".</p>
<p dir="auto">bazel-bin/tensorflow/contrib/lite/toco/toco --input_file=frozen.pb --input_format=TENSORFLOW_GRAPHDEF --output_format=TFLITE --output_file=/tmp/test.tflite --inference_input_type=FLOAT --input_arrays=input_image --output_arrays=output_image --input_shapes="1,<strong>384,512</strong>,3"</p>
<p dir="auto">And this what I would like:</p>
<p dir="auto">bazel-bin/tensorflow/contrib/lite/toco/toco --input_file=frozen.pb --input_format=TENSORFLOW_GRAPHDEF --output_format=TFLITE --output_file=/tmp/test.tflite --inference_input_type=FLOAT --input_arrays=input_image --output_arrays=output_image --input_shapes="1,<strong>None,None</strong>,3"</p>
<p dir="auto">I'm wondering if anyone is working on this feature, because I think it can be very useful for a lot of people.</p>
<p dir="auto">Thank you for your time, and sorry if I duplicate any thread, I didn't find this feature request.</p> | 0 |
Subsets and Splits