text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<p dir="auto">Hi many times people need to use Twitter Bootstrap on only part of a web page or to otherwise have a prefix class to reduce the scope of the Bootstrap CSS. This can be accomplished in LESS , see <a href="http://stackoverflow.com/questions/11831346/applying-css-styles-only-to-certain-elements" rel="nofollow">http://stackoverflow.com/questions/11831346/applying-css-styles-only-to-certain-elements</a></p>
<pre class="notranslate">.bootstrap-container {
@import "/path-to-bootstrap-less.less"
@import "/path-to-bootstrap-responsive-less.less"
}
</pre>
<p dir="auto">It would be great if there was an option on the bootstrap customization page to add an optional prefix to all css elements. Thanks!</p> | <p dir="auto">To prevent random mixing of styles maybe we should use prefix?</p>
<p dir="auto">For example, <code class="notranslate">.tb-span6</code> or <code class="notranslate">.tb-row</code> instead <code class="notranslate">.span6</code> or <code class="notranslate">.row</code>?</p>
<p dir="auto"><code class="notranslate">.menu</code>, <code class="notranslate">.navbar</code> is so common class names so it may a little confusing without prefix</p> | 1 |
<p dir="auto">VSCode 10.8, OSX El Capitan, MBP<br>
Given the following scenario:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1798835/13054608/a61b950e-d402-11e5-9ffc-c717ec5b2fff.png"><img src="https://cloud.githubusercontent.com/assets/1798835/13054608/a61b950e-d402-11e5-9ffc-c717ec5b2fff.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Pressing tab now produces this:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1798835/13054623/b335ee60-d402-11e5-95ac-d07f74be53cf.png"><img src="https://cloud.githubusercontent.com/assets/1798835/13054623/b335ee60-d402-11e5-95ac-d07f74be53cf.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">The undo buffer is empty.</p>
<p dir="auto">Potential regression in 0.10.8, this feature worked fine in 0.10.7</p>
<p dir="auto">UPDATE: this behavior is not predictable. If there are tab characters in the selection, or tab has been used already in the page other places, then it looks like working, but then again, not always.</p>
<p dir="auto">Please consider this rather serious, as it can actually cause loss of code - if you have unsaved changes, since you cant undo.</p> | <p dir="auto">I wanted to indent multiple lines at once but it failed. This is how it looks like when I select some lines and press <kbd>Tab</kbd>. Sometimes it works though, like when creating an untitled file in split screen.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1913805/12911690/8a6cd162-cf14-11e5-8bba-8ff1210c10f5.gif"><img src="https://cloud.githubusercontent.com/assets/1913805/12911690/8a6cd162-cf14-11e5-8bba-8ff1210c10f5.gif" alt="indent" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">Quite important bug <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/egamma/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/egamma">@egamma</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jrieken/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jrieken">@jrieken</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bpasero/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bpasero">@bpasero</a></p> | 1 |
<p dir="auto">The doumentation mentions at <a href="http://electron.atom.io/docs/v0.27.0/tutorial/application-distribution/" rel="nofollow">http://electron.atom.io/docs/v0.27.0/tutorial/application-distribution/</a></p>
<blockquote>
<p dir="auto">you can also package your app into an asar archive to avoid exposing your app's source code to users.</p>
</blockquote>
<p dir="auto">I was able to view the source code at \resources\app.asar after installation. Was able to even edit the file (used Notepad++). (e.g. "Welcome to" edited to "to Welcome") and the app worked normally.</p> | <p dir="auto">It appears to have been a while since the last discussions on source code protection with snapshots. NW.js and enclosejs have found ways to do snapshots without including the source code. I was wondering if this could be looked at again, thank you!</p> | 1 |
<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">Recently, I plan to implement Kalman filter with pytorch. I tried to obtain the batch processing capability through torch. However, when I call "torch.cholesky (covariance)" and run it on the GPU, I randomly encounter an incomprehensible error. " CUDA error: an illegal memory access was encountered ", but it does not happen when it is processed through the loop. At the same time, what is even more surprising is that this will not have any problems on window10.</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">If i combine the covariances like this, the error will happen randomly.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" means = []
covariances = []
for row, track_idx in enumerate(track_indices):
track = tracks[track_idx]
means.append(track.mean)
covariances.append(track.covariance)
means = torch.cat(means, dim=0)
covariances = torch.cat(covariances, dim=0)
gating_distance = kf.gating_distance(means, covariances, measurements, only_position)"><pre class="notranslate"><code class="notranslate"> means = []
covariances = []
for row, track_idx in enumerate(track_indices):
track = tracks[track_idx]
means.append(track.mean)
covariances.append(track.covariance)
means = torch.cat(means, dim=0)
covariances = torch.cat(covariances, dim=0)
gating_distance = kf.gating_distance(means, covariances, measurements, only_position)
</code></pre></div>
<p dir="auto">What <code class="notranslate"> kf.gating_distance</code> does is call <code class="notranslate">torch.cholesky(covariance)</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" def gating_distance(self, mean, covariance, measurements, only_position=False):
mean, covariance = self.project(mean, covariance)
# (n, 4, 4)
cholesky_factor = torch.cholesky(covariance)
d = - mean + measurements # (n, m, 4)
z = torch.triangular_solve(d.permute(0, 2, 1), cholesky_factor, upper=False)[0]
squared_maha = torch.sum(z ** 2, dim=1) # (n, m)
return squared_maha
def project(self, mean, covariance):
"""Project state distribution to measurement space.
std = torch.tensor([[
self._std_weight_position,
self._std_weight_position,
1e-1,
self._std_weight_position]], device=mean.device)
std = mean[:, 3:4] * std # (*, 4)
std[:, 2] = 1e-1 # (*, 4)
# (*, 4, 4)
innovation_cov = torch.diag_embed(torch.pow(std, 2))
update_mat_t = self._update_mat.t()
# (4, 8) dot (*, 8)
mean = torch.mm(mean, update_mat_t) # (*, 4)
# (*, 4, 4)
covariance = torch.matmul(torch.matmul(covariance.permute(0, 2, 1), update_mat_t).permute(0, 2, 1),
update_mat_t)
return mean, covariance + innovation_cov"><pre class="notranslate"><code class="notranslate"> def gating_distance(self, mean, covariance, measurements, only_position=False):
mean, covariance = self.project(mean, covariance)
# (n, 4, 4)
cholesky_factor = torch.cholesky(covariance)
d = - mean + measurements # (n, m, 4)
z = torch.triangular_solve(d.permute(0, 2, 1), cholesky_factor, upper=False)[0]
squared_maha = torch.sum(z ** 2, dim=1) # (n, m)
return squared_maha
def project(self, mean, covariance):
"""Project state distribution to measurement space.
std = torch.tensor([[
self._std_weight_position,
self._std_weight_position,
1e-1,
self._std_weight_position]], device=mean.device)
std = mean[:, 3:4] * std # (*, 4)
std[:, 2] = 1e-1 # (*, 4)
# (*, 4, 4)
innovation_cov = torch.diag_embed(torch.pow(std, 2))
update_mat_t = self._update_mat.t()
# (4, 8) dot (*, 8)
mean = torch.mm(mean, update_mat_t) # (*, 4)
# (*, 4, 4)
covariance = torch.matmul(torch.matmul(covariance.permute(0, 2, 1), update_mat_t).permute(0, 2, 1),
update_mat_t)
return mean, covariance + innovation_cov
</code></pre></div>
<p dir="auto">The complete code is here <a href="https://github.com/GlassyWing/sort_torch/blob/master/deep_sort/sort/kalman_filter.py">kalman_filter.py</a></p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">There should be no problem。</p>
<h2 dir="auto">Environment</h2>
<p dir="auto">The runtime is from docker image: pytorch/pytorch:1.5-cuda10.1-cudnn7-runtime</p>
<p dir="auto">Collecting environment information...<br>
PyTorch version: 1.5.0<br>
Is debug build: No<br>
CUDA used to build PyTorch: 10.1</p>
<p dir="auto">OS: Ubuntu 18.04.4 LTS<br>
GCC version: Could not collect<br>
CMake version: Could not collect</p>
<p dir="auto">Python version: 3.7<br>
Is CUDA available: Yes<br>
CUDA runtime version: Could not collect<br>
GPU models and configuration: GPU 0: TITAN Xp<br>
Nvidia driver version: 418.56<br>
cuDNN version: Could not collect</p>
<p dir="auto">Versions of relevant libraries:<br>
[pip] numpy==1.18.1<br>
[pip] torch==1.5.0<br>
[pip] torchvision==0.6.0a0+82fd1c8<br>
[conda] blas 1.0 mkl<br>
[conda] cudatoolkit 10.1.243 h6bb024c_0<br>
[conda] mkl 2020.0 166<br>
[conda] mkl-service 2.3.0 py37he904b0f_0<br>
[conda] mkl_fft 1.0.15 py37ha843d7b_0<br>
[conda] mkl_random 1.1.0 py37hd6b4f25_0<br>
[conda] numpy 1.18.1 py37h4f9e942_0<br>
[conda] numpy-base 1.18.1 py37hde5b4d6_1<br>
[conda] pytorch 1.5.0 py3.7_cuda10.1.243_cudnn7.6.3_0 pytorch<br>
[conda] torchvision 0.6.0 py37_cu101 pytorch</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/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> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ngimel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ngimel">@ngimel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vincentqb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vincentqb">@vincentqb</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vishwakftw/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vishwakftw">@vishwakftw</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ssnl/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ssnl">@ssnl</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jianyuh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jianyuh">@jianyuh</a></p> | <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>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> import torch
>>> t = torch.Tensor([[0.5]])
>>> model = torch.nn.Linear(1, 1).cuda()
>>> model(t)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/private/home/tbirch/.conda/envs/torch160/lib/python3.7/site-packages/torch/tensor.py", line 153, in __repr__
return torch._tensor_str._str(self)
File "/private/home/tbirch/.conda/envs/torch160/lib/python3.7/site-packages/torch/_tensor_str.py", line 371, in _str
return _str_intern(self)
File "/private/home/tbirch/.conda/envs/torch160/lib/python3.7/site-packages/torch/_tensor_str.py", line 351, in _str_intern
tensor_str = _tensor_str(self, indent)
File "/private/home/tbirch/.conda/envs/torch160/lib/python3.7/site-packages/torch/_tensor_str.py", line 241, in _tensor_str
formatter = _Formatter(get_summarized_data(self) if summarize else self)
File "/private/home/tbirch/.conda/envs/torch160/lib/python3.7/site-packages/torch/_tensor_str.py", line 89, in __init__
nonzero_finite_vals = torch.masked_select(tensor_view, torch.isfinite(tensor_view) & tensor_view.ne(0))
RuntimeError: copy_if failed to synchronize: cudaErrorIllegalAddress: an illegal memory access was encountered"><pre class="notranslate"><code class="notranslate">>>> import torch
>>> t = torch.Tensor([[0.5]])
>>> model = torch.nn.Linear(1, 1).cuda()
>>> model(t)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/private/home/tbirch/.conda/envs/torch160/lib/python3.7/site-packages/torch/tensor.py", line 153, in __repr__
return torch._tensor_str._str(self)
File "/private/home/tbirch/.conda/envs/torch160/lib/python3.7/site-packages/torch/_tensor_str.py", line 371, in _str
return _str_intern(self)
File "/private/home/tbirch/.conda/envs/torch160/lib/python3.7/site-packages/torch/_tensor_str.py", line 351, in _str_intern
tensor_str = _tensor_str(self, indent)
File "/private/home/tbirch/.conda/envs/torch160/lib/python3.7/site-packages/torch/_tensor_str.py", line 241, in _tensor_str
formatter = _Formatter(get_summarized_data(self) if summarize else self)
File "/private/home/tbirch/.conda/envs/torch160/lib/python3.7/site-packages/torch/_tensor_str.py", line 89, in __init__
nonzero_finite_vals = torch.masked_select(tensor_view, torch.isfinite(tensor_view) & tensor_view.ne(0))
RuntimeError: copy_if failed to synchronize: cudaErrorIllegalAddress: an illegal memory access was encountered
</code></pre></div>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">Print out the value of the tensor and not crash</p>
<h2 dir="auto">Environment</h2>
<p dir="auto">Collecting environment information...<br>
PyTorch version: 1.6.0<br>
Is debug build: No<br>
CUDA used to build PyTorch: 10.1</p>
<p dir="auto">OS: Ubuntu 18.04.3 LTS<br>
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0<br>
CMake version: version 3.10.2</p>
<p dir="auto">Python version: 3.7<br>
Is CUDA available: Yes<br>
CUDA runtime version: 10.1.105<br>
GPU models and configuration:<br>
GPU 0: Quadro GP100<br>
GPU 1: Quadro GP100</p>
<p dir="auto">Nvidia driver version: 418.116.00<br>
cuDNN version: Could not collect</p>
<p dir="auto">Versions of relevant libraries:<br>
[pip3] numpy==1.18.5<br>
[pip3] torch==1.6.0<br>
[pip3] torchvision==0.7.0<br>
[conda] blas 1.0 mkl<br>
[conda] cudatoolkit 10.1.243 h6bb024c_0<br>
[conda] mkl 2020.1 217<br>
[conda] mkl-service 2.3.0 py37he904b0f_0<br>
[conda] mkl_fft 1.1.0 py37h23d657b_0<br>
[conda] mkl_random 1.1.1 py37h0da4684_0 conda-forge<br>
[conda] numpy 1.18.5 py37ha1c710e_0<br>
[conda] numpy-base 1.18.5 py37hde5b4d6_0<br>
[conda] pytorch 1.6.0 py3.7_cuda10.1.243_cudnn7.6.3_0 pytorch<br>
[conda] torchvision 0.7.0 py37_cu101 pytorch</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/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> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ngimel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ngimel">@ngimel</a></p> | 1 |
<p dir="auto">When I start atom for the first time I have a very high disc io. I've started iotop and found 4 apps running:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2288 be/4 user 717.17 K/s 0.00 B/s 0.00 % 98.51 % atom --eval require('/usr/local/share/atom/resources/app/node_modules/coffee-cash/lib/~ee/source-maps');
2291 be/4 user 679.23 K/s 0.00 B/s 0.00 % 97.91 % atom --eval require('/usr/local/share/atom/resources/app/node_modules/coffee-cash/lib/~ee/source-maps');
2290 be/4 user 694.40 K/s 0.00 B/s 0.00 % 97.41 % atom --eval require('/usr/local/share/atom/resources/app/node_modules/coffee-cash/lib/~ee/source-maps');
2289 be/4 user 599.54 K/s 0.00 B/s 0.00 % 96.19 % atom --eval require('/usr/local/share/atom/resources/app/node_modules/coffee-cash/lib/~ee/source-maps');"><pre class="notranslate"><code class="notranslate">2288 be/4 user 717.17 K/s 0.00 B/s 0.00 % 98.51 % atom --eval require('/usr/local/share/atom/resources/app/node_modules/coffee-cash/lib/~ee/source-maps');
2291 be/4 user 679.23 K/s 0.00 B/s 0.00 % 97.91 % atom --eval require('/usr/local/share/atom/resources/app/node_modules/coffee-cash/lib/~ee/source-maps');
2290 be/4 user 694.40 K/s 0.00 B/s 0.00 % 97.41 % atom --eval require('/usr/local/share/atom/resources/app/node_modules/coffee-cash/lib/~ee/source-maps');
2289 be/4 user 599.54 K/s 0.00 B/s 0.00 % 96.19 % atom --eval require('/usr/local/share/atom/resources/app/node_modules/coffee-cash/lib/~ee/source-maps');
</code></pre></div>
<p dir="auto">its running for about a minute with 4 times almos 100% disc write usage. After a minute they are finished and no disc io</p>
<p dir="auto">atom 0.180.0-ac7057b<br>
Dell M4500 Notebook<br>
Fedora 21</p> | <p dir="auto">Hi, i have used Textmate for a loong long time. But also as a big fan of new things, i decided to try Atom for curiosity purposes.</p>
<p dir="auto">It turns out that i found Atom a great platform for day-by-day development, and im using it Atom now. But theres one thing annoying me:</p>
<p dir="auto">I usually open Atom using the Shell command "atom [filename]", and compared to "mate [filename]" (the same command Textmate use for open files using Shell), Atom is incredible slow (i feel i have to wait twice of the time, like 1s~2s).<br>
I know this performance also is related to machine specs, processors, memory and etc. But its the exactly same task executed for different tools.</p>
<p dir="auto">I can record a video showing that behavior if you like.<br>
Also, if this is a un-prioritize known issue, i can submit a pull request if theres noone working on it. I just need to know where to start looking.</p>
<p dir="auto">][`s</p> | 1 |
<p dir="auto">When trying out the <code class="notranslate">form-control-feedback</code> css class, I noticed that if you don't have a corresponding label element or if that label element is hidden and the the form does not have the <code class="notranslate">form-horizontal</code> class the span element is inserted below the input element.</p>
<p dir="auto"><a href="http://jsfiddle.net/h73ZL/" rel="nofollow">http://jsfiddle.net/h73ZL/</a></p> | <p dir="auto">When using the has-feedback class on a form and if the label on the form group is not specified then it does not render correctly.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<form>
<div class="form-group has-success has-feedback">
<input type="text" class="form-control" id="inputSuccess2">
<span class="glyphicon glyphicon-ok form-control-feedback"></span>
</div>
</form>"><pre class="notranslate"><code class="notranslate"><form>
<div class="form-group has-success has-feedback">
<input type="text" class="form-control" id="inputSuccess2">
<span class="glyphicon glyphicon-ok form-control-feedback"></span>
</div>
</form>
</code></pre></div>
<p dir="auto">The above code renders like this.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/ffad285c2097690809a7cd5a04208d3a2aa5fa0e7aac88337c2773ddd0752499/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313633393330322f323239303330322f33616434653435652d613031392d313165332d393865392d3832303464663561373137642e706e67"><img src="https://camo.githubusercontent.com/ffad285c2097690809a7cd5a04208d3a2aa5fa0e7aac88337c2773ddd0752499/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313633393330322f323239303330322f33616434653435652d613031392d313165332d393865392d3832303464663561373137642e706e67" alt="bootstrap_feedback_issue" data-canonical-src="https://f.cloud.github.com/assets/1639302/2290302/3ad4e45e-a019-11e3-98e9-8204df5a717d.png" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">Can we introduce a new postfix operator for the transpose, like <code class="notranslate">A^⊤</code> or <code class="notranslate">A̕</code> ?</p>
<p dir="auto">It would of great help to us who write expressions with a lot of transposes. For example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a = (transpose(s)*A*s)\s*(Q-transpose(s)*p+U*transpose(R)*κ)"><pre class="notranslate"><code class="notranslate">a = (transpose(s)*A*s)\s*(Q-transpose(s)*p+U*transpose(R)*κ)
</code></pre></div>
<p dir="auto">and it would more true to form if the multiple calls to <code class="notranslate">transpose()</code> were replaced with something more terse. Even if the language defaulted to transpose for <code class="notranslate">A'</code> unless it knew a complex data type was used when the adoint is more appropriate.</p> | <p dir="auto">Now that <code class="notranslate">.op</code> is generally the vectorized form of <code class="notranslate">op</code>, it's very confusing that <code class="notranslate">.'</code> means transpose rather than the vectorized form of <code class="notranslate">'</code> (adjoint, aka ctranspose). This issue is for discussing alternative syntaxes for transpose and/or adjoint.</p> | 1 |
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">Setting font as Computer Modern Roman (<code class="notranslate">matplotlib.rcParams.update({'font.family': 'cmr10'})</code>) results in negative signs in ticklabels not rendering. Oddly, negative signs in titles & labels render fine.</p>
<p dir="auto"><strong>Code for reproduction</strong></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib
matplotlib.rcParams.update({
#'mathtext.fontset': 'cm',
'font.family': 'cmr10'
})
import matplotlib.pyplot as plt
plt.figure()
plt.plot(range(-1, 1), range(-1, 1))
plt.title(r"dash (-) $mathtext:negative (-)\bf{mathtext.bf:negative (-)}$")
plt.xlabel(r"dash (-) $mathtext:negative (-)\bf{mathtext.bf:negative (-)}$")"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>
<span class="pl-s1">matplotlib</span>.<span class="pl-s1">rcParams</span>.<span class="pl-en">update</span>({
<span class="pl-c">#'mathtext.fontset': 'cm',</span>
<span class="pl-s">'font.family'</span>: <span class="pl-s">'cmr10'</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">plt</span>.<span class="pl-en">figure</span>()
<span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-en">range</span>(<span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-c1">1</span>), <span class="pl-en">range</span>(<span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-c1">1</span>))
<span class="pl-s1">plt</span>.<span class="pl-en">title</span>(<span class="pl-s">r"dash (-) $mathtext:negative (-)\bf{mathtext.bf:negative (-)}$"</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">xlabel</span>(<span class="pl-s">r"dash (-) $mathtext:negative (-)\bf{mathtext.bf:negative (-)}$"</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="/usr/local/lib/python3.6/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 8722 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.6/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 8722 missing from current font.
font.set_text(s, 0, flags=flags)"><pre class="notranslate"><code class="notranslate">/usr/local/lib/python3.6/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 8722 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.6/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 8722 missing from current font.
font.set_text(s, 0, flags=flags)
</code></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/10780059/86539114-19a79e80-bef2-11ea-964a-76f4ef80e04f.png"><img src="https://user-images.githubusercontent.com/10780059/86539114-19a79e80-bef2-11ea-964a-76f4ef80e04f.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Operating system: ubuntu</li>
<li>Matplotlib version: 3.2.1</li>
<li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): module://ipykernel.pylab.backend_inline</li>
<li>Python version: 3.6.9</li>
<li>Jupyter version (if applicable):</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="jupyter core : 4.6.3
jupyter-notebook : 6.0.3
qtconsole : not installed
ipython : 7.13.0
ipykernel : 5.2.0
jupyter client : 6.1.3
jupyter lab : not installed
nbconvert : 5.6.1
ipywidgets : 7.5.1
nbformat : 5.0.6
traitlets : 4.3.3"><pre class="notranslate"><code class="notranslate">jupyter core : 4.6.3
jupyter-notebook : 6.0.3
qtconsole : not installed
ipython : 7.13.0
ipykernel : 5.2.0
jupyter client : 6.1.3
jupyter lab : not installed
nbconvert : 5.6.1
ipywidgets : 7.5.1
nbformat : 5.0.6
traitlets : 4.3.3
</code></pre></div>
<p dir="auto">Installed via <code class="notranslate">conda</code> channel <code class="notranslate">conda-forge</code></p> | <p dir="auto">Hello ,It's very nice to use it ! Someday when I run my code I got a Warning:<br>
RuntimeWarning: Glyph XXX missing from current font.<br>
font.set_text(s, 0.0, flags=flags)<br>
XXX is some numbers, such as 8722 、25329 etc.<br>
Although it doesn't influence the result, I really want to slove this warning. What can I do?<br>
Thanks and best wishes!</p> | 1 |
<p dir="auto">I understand that when it comes to property initializers, there might be a need to perform some hocus-pocus with the <code class="notranslate">initializer</code> property, which effectively prevents modifying descriptor's <code class="notranslate">value</code> (it is overwritten by the result of the <code class="notranslate">initializer</code> function in the end).</p>
<p dir="auto">But for plain objects descriptor's <code class="notranslate">value</code> can be left intact. Accessing it by a decorator is currently unnecessarily prevented.</p>
<p dir="auto">Could it be not so? If yes, then I volunteer to create a PR with a fix for that :)</p> | <p dir="auto">Feature request:</p>
<p dir="auto"><a href="https://twitter.com/bradleymeck/status/906572163519578112" rel="nofollow">Recommendation</a> from Node core is to output mjs alongside js files so that the package.json <code class="notranslate">main</code> field can be ambiguous. Since babel only outputs <code class="notranslate">.js</code> files when used with the <code class="notranslate">-d</code> directory flag, it becomes complicated to make this work. I'd like to see an option available to specify the extension the same as with parsing/consuming mjs.</p>
<h3 dir="auto">Current Behavior</h3>
<p dir="auto">This is the most elegant solution I've found so far, which involves building all files into a temporary directory, renaming all the files to mjs, copying them into the <code class="notranslate">dist/node</code> destination, and then removing the temp directory.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""build-node-esm": "babel lib -d dist/node-es && rename -v .js .mjs dist/node-es/*.js && rename -v .js .mjs dist/node-es/**/*.js && cp -R dist/node-es/* dist/node && rm -rf dist/node-es","><pre class="notranslate"><span class="pl-s"><span class="pl-pds">"</span>build-node-esm<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>babel lib -d dist/node-es && rename -v .js .mjs dist/node-es/*.js && rename -v .js .mjs dist/node-es/**/*.js && cp -R dist/node-es/* dist/node && rm -rf dist/node-es<span class="pl-pds">"</span></span>,</pre></div>
<h3 dir="auto">Possible Solution</h3>
<p dir="auto">My suggestion would be to add a new CLI flag option to specify the output extension. This will allow developers to easily support both Node-based ESM/CJS.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="babel lib -d dist/node --ext ".mjs""><pre class="notranslate">babel lib -d dist/node --ext <span class="pl-s"><span class="pl-pds">"</span>.mjs<span class="pl-pds">"</span></span></pre></div>
<h3 dir="auto">Context</h3>
<p dir="auto">I'm trying to figure out how to build a library that will be ready to take advantage of the new Node ESM semantics.</p>
<h3 dir="auto">Your Environment</h3>
<table role="table">
<thead>
<tr>
<th>software</th>
<th>version(s)</th>
</tr>
</thead>
<tbody>
<tr>
<td>node</td>
<td>v9.0.0-pre</td>
</tr>
</tbody>
</table> | 0 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Feature Idea</li>
</ul>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.0.1.0"><pre class="notranslate"><code class="notranslate">ansible 2.0.1.0
</code></pre></div>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">--check currently is only available as command line option and sometimes people forget so it would be nice if there is something like <code class="notranslate">check_mode: True</code> in playbook so we don't have to worry about command line options.</p>
<p dir="auto">The output of check mode run should be more obvious to indicate that this is a check only.</p>
<p dir="auto">Thanks</p> | <p dir="auto">Ansible check_mode allows determining if a task <em>would</em> have changed something, but only on the level of an entire play.</p>
<p dir="auto">But there are obvious cases where idempotency requires being able to change the order of events - i.e. check if a file would be changed, if so, stop a daemon and change the file - otherwise do nothing.</p>
<p dir="auto">This can be replicated by comparing mtimes locally and remotely, but leads to complicated syntax for something the existing feature can already provide.</p>
<p dir="auto">Ideally something like this would be possible:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- hosts: webservers
tasks:
- copy: src=monitoredfile dest=monitoredfile
check_mode: true
register: copy_check
- service: name=webserver state=stopped
when: copy_check.changed
- copy: src=monitoredfile dest=monitoredfile
when: copy_check.changed
- service: name=webserver state=started
when: copy_check.changed"><pre class="notranslate">- <span class="pl-ent">hosts</span>: <span class="pl-s">webservers</span>
<span class="pl-ent">tasks</span>:
- <span class="pl-ent">copy</span>: <span class="pl-s">src=monitoredfile dest=monitoredfile</span>
<span class="pl-ent">check_mode</span>: <span class="pl-c1">true</span>
<span class="pl-ent">register</span>: <span class="pl-s">copy_check</span>
- <span class="pl-ent">service</span>: <span class="pl-s">name=webserver state=stopped</span>
<span class="pl-ent">when</span>: <span class="pl-s">copy_check.changed</span>
- <span class="pl-ent">copy</span>: <span class="pl-s">src=monitoredfile dest=monitoredfile</span>
<span class="pl-ent">when</span>: <span class="pl-s">copy_check.changed</span>
- <span class="pl-ent">service</span>: <span class="pl-s">name=webserver state=started</span>
<span class="pl-ent">when</span>: <span class="pl-s">copy_check.changed</span></pre></div>
<p dir="auto">This is simple and readable, and helps in dealing with services which may be monitoring config directories for new files but which would might like to try and avert for changes like that (exim with a perl interpreter can be a problem in this regard).</p> | 1 |
<ol dir="auto">
<li>the system allows you to delete a replicationController whose replicas > 0</li>
<li>when the replicationController is deleted - it leaves the orphaned pods running</li>
</ol> | <p dir="auto">After I delete a replicationController, its pods are still getting replicated when I try to delete the pods.</p>
<p dir="auto">Create two replication controllers:<br>
<code class="notranslate">cluster/kubecfg.sh -p 8080:80 run dockerfile/nginx 3 myNginx</code><br>
<code class="notranslate">cluster/kubecfg.sh -p 6379:6379 run dockerfile/redis 3 myRedis</code></p>
<p dir="auto">Wait until everything is running then delete one of the controller:<br>
<code class="notranslate">cluster/kubecfg.sh delete /replicationControllers/myNginx</code></p>
<p dir="auto">Reports success, it's gone from the list.</p>
<p dir="auto">Then try to remove its pods:<br>
<code class="notranslate">cluster/kubecfg.sh delete /pods/{podID}</code></p>
<p dir="auto">Result: It will recreate the removed pod, it also appears in the log of master:<br>
<code class="notranslate">I0812 11:47:26.242463 06745 replication_controller.go:152] Too few replicas, creating 3</code></p>
<p dir="auto">I'm on c6dcfd5 and did a fresh vagrant up today after destroyed my previous cluster.</p> | 1 |
<p dir="auto">This should compile without errors:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="declare function getDBObjectById(id: number): DBObject;
declare function bar(arg: DBObject): void;
function foo(arg: number | DBObject) {
if (arg instanceof DBObject) {
bar(arg)
} else {
bar(getDBObjectById(arg) // error TS2345: Argument of type 'number | DBObject' is not assignable to parameter of type 'number'.
// Type 'DBObject' is not assignable to type 'number'.
}
}"><pre class="notranslate"><span class="pl-k">declare</span> <span class="pl-k">function</span> <span class="pl-s1">getDBObjectById</span><span class="pl-kos">(</span><span class="pl-s1">id</span>: <span class="pl-smi">number</span><span class="pl-kos">)</span>: <span class="pl-smi">DBObject</span><span class="pl-kos">;</span>
<span class="pl-k">declare</span> <span class="pl-k">function</span> <span class="pl-s1">bar</span><span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">DBObject</span><span class="pl-kos">)</span>: <span class="pl-smi"><span class="pl-k">void</span></span><span class="pl-kos">;</span>
<span class="pl-k">function</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-smi">number</span> <span class="pl-c1">|</span> <span class="pl-smi">DBObject</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">arg</span> <span class="pl-k">instanceof</span> <span class="pl-smi">DBObject</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">bar</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">else</span> <span class="pl-kos">{</span>
<span class="pl-c1">bar</span><span class="pl-kos">(</span><span class="pl-en">getDBObjectById</span><span class="pl-kos">(</span><span class="pl-s1">arg</span><span class="pl-kos">)</span> <span class="pl-c">// error TS2345: Argument of type 'number | DBObject' is not assignable to parameter of type 'number'.</span>
<span class="pl-c">// Type 'DBObject' is not assignable to type 'number'.</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div> | <p dir="auto">Hi,</p>
<p dir="auto"><strong>TS Version</strong>: 1.4</p>
<p dir="auto">In the following:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Bar {
bar ='bar';
}
class Foo {
foo = 100;
}
function f1(x: Bar|Foo) {
if(x instanceof Bar){
console.log(x.bar);
}
else {
console.log(x.foo); // Error: inferred as Bar|Foo
}
}
f1(new Bar()); // bar
f1(new Foo()); // 100"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">Bar</span> <span class="pl-kos">{</span>
<span class="pl-c1">bar</span> <span class="pl-c1">=</span><span class="pl-s">'bar'</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">class</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span>
<span class="pl-c1">foo</span> <span class="pl-c1">=</span> <span class="pl-c1">100</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">function</span> <span class="pl-en">f1</span><span class="pl-kos">(</span><span class="pl-s1">x</span>: <span class="pl-smi">Bar</span><span class="pl-c1">|</span><span class="pl-smi">Foo</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">x</span> <span class="pl-k">instanceof</span> <span class="pl-smi">Bar</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">.</span><span class="pl-c1">bar</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">else</span> <span class="pl-kos">{</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">.</span><span class="pl-c1">foo</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Error: inferred as Bar|Foo</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-en">f1</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-smi">Bar</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">// bar</span>
<span class="pl-en">f1</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-smi">Foo</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">// 100</span></pre></div>
<p dir="auto">is there any reason why in the <code class="notranslate">else</code> block we are failing to narrow the type to <code class="notranslate">Foo</code>?</p> | 1 |
<p dir="auto">To make sure that Flutter can always bring up the keyboard I made the window of virtual display's presentation non focusable.<br>
As a result the embedded Android views cannot bring up the keyboard.</p>
<p dir="auto">We should figure out if there's some window trickery we can do to let the unfocused window bring up the keyboard. Alternatively see if it's possible to dynamically select the focused window when delivering input events.</p> | <p dir="auto">I am trying to write an integration test for my flutter application. I have a custom widget which I am using to create a <code class="notranslate">TextField</code> with rounded borders. I have created a <a href="https://gist.github.com/ajilo297/3ed500a40267e4d255938567f3d87fa7">gist</a> for the widget if you want to have a look. But I am having some problem running integration test with this widget.</p>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">As part of my integration test, I need to tap on this <code class="notranslate">RoundTextField</code> and enter some text into it. When adding the widget to my application, I also add a key to it</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="RoundTextField(
key: Key('loginKeyString'),
icon: Icon(Icons.add),
hint: 'Some data',
)"><pre class="notranslate"><span class="pl-c1">RoundTextField</span>(
key<span class="pl-k">:</span> <span class="pl-c1">Key</span>(<span class="pl-s">'loginKeyString'</span>),
icon<span class="pl-k">:</span> <span class="pl-c1">Icon</span>(<span class="pl-c1">Icons</span>.add),
hint<span class="pl-k">:</span> <span class="pl-s">'Some data'</span>,
)</pre></div>
<p dir="auto">Now, in my integration test this is what I am trying to do</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
void main() {
group('Test', (){
FlutterDriver driver;
setUpAll(() async {
driver = await FlutterDriver.connect();
});
tearDownAll(() async {
if (driver != null) {
await driver.close();
}
});
test('Click test', () async {
await driver.tap(find.byValueKey('loginKeyString'));
});
});
}"><pre class="notranslate"><span class="pl-k">void</span> <span class="pl-en">main</span>() {
<span class="pl-en">group</span>(<span class="pl-s">'Test'</span>, (){
<span class="pl-c1">FlutterDriver</span> driver;
<span class="pl-en">setUpAll</span>(() <span class="pl-k">async</span> {
driver <span class="pl-k">=</span> <span class="pl-k">await</span> <span class="pl-c1">FlutterDriver</span>.<span class="pl-en">connect</span>();
});
<span class="pl-en">tearDownAll</span>(() <span class="pl-k">async</span> {
<span class="pl-k">if</span> (driver <span class="pl-k">!=</span> <span class="pl-c1">null</span>) {
<span class="pl-k">await</span> driver.<span class="pl-en">close</span>();
}
});
<span class="pl-en">test</span>(<span class="pl-s">'Click test'</span>, () <span class="pl-k">async</span> {
<span class="pl-k">await</span> driver.<span class="pl-en">tap</span>(find.<span class="pl-en">byValueKey</span>(<span class="pl-s">'loginKeyString'</span>));
});
});
}</pre></div>
<p dir="auto">And when I run it, this is the error that comes up.</p>
<blockquote>
<p dir="auto">DriverError: Error in Flutter application: Uncaught extension error while executing tap: Bad state: Too many elements</p>
</blockquote>
<p dir="auto"><strong>Note</strong><br>
This error only comes up when I use my custom widget. If I use a <code class="notranslate">TextField</code> this integration test passes.</p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[+4306 ms] 00:00 +0: Test (setUpAll)
[ +46 ms] [info ] FlutterDriver: Connecting to Flutter application at http://127.0.0.1:49681/
[ +306 ms] [trace] FlutterDriver: Isolate found with number: 287964734
[ +91 ms] [trace] FlutterDriver: Isolate is paused at start.
[ +13 ms] [trace] FlutterDriver: Attempting to resume isolate
[ +5 ms] [trace] FlutterDriver: Waiting for service extension
[ +700 ms] [info ] FlutterDriver: Connected to Flutter application.
[ +8 ms] 00:01 +0: Test Click test
[ +554 ms] 00:01 +0 -1: Test Click test [E]
[ +4 ms] DriverError: Error in Flutter application: Uncaught extension error while executing tap: Bad state: Too many elements
[ ] #0 Iterable.single (dart:core/iterable.dart:554:24)
[ ] #1 WidgetController._getElementPoint (package:flutter_test/src/controller.dart:511:47)
[ ] #2 WidgetController.getCenter (package:flutter_test/src/controller.dart:483:12)
[ ] #3 WidgetController.tap (package:flutter_test/src/controller.dart:260:18)
[ ] #4 FlutterDriverExtension._tap (package:flutter_driver/src/extension/extension.dart:304:19)
[ ] <asynchronous suspension>
[ ] #5 FlutterDriverExtension.call (package:flutter_driver/src/extension/extension.dart:180:51)
[ ] <asynchronous suspension>
[ ] #6 BindingBase.registerServiceExtension.<anonymous closure> (package:flutter/src/foundation/binding.dart:392:32)
[ ] <asynchronous suspension>
[ ] #7 _runExtension (dart:developer/runtime/libdeveloper.dart:86:23)
[ ] #8 RenderView.performLayout (package:flutter/src/rendering/view.dart:140:3)
[ ] #9 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1506:7)
[ +2 ms] #10 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:765:18)
[ ] #11 __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding&GestureBinding&PaintingBinding&SemanticsBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:270:19)
[ ] #12 __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding&GestureBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:671:13)
[ ] #13 __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding&GestureBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
[ ] #14 __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
[ ] #15 __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
[ ] #16 __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
[ ] #17 Timer._createTimer.<anonymous closure> (dart:async/runtime/libtimer_patch.dart:21:15)
[ ] #18 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
[ ] #19 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
[ ] #20 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
[ ] Original error: null
[ ] Original stack trace:
[ ] null
[ +35 ms] package:flutter_driver/src/driver/driver.dart 405:7 FlutterDriver._sendCommand
[ ] ===== asynchronous gap ===========================
[ ] dart:async/future_impl.dart 22:43 _Completer.completeError
[ ] dart:async/runtime/libasync_patch.dart 40:18 _AsyncAwaitCompleter.completeError
[ ] package:flutter_driver/src/driver/driver.dart FlutterDriver._sendCommand
[ ] ===== asynchronous gap ===========================
[ ] dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback
[ ] dart:async/runtime/libasync_patch.dart 77:23 _asyncThenWrapperHelper
[ ] package:flutter_driver/src/driver/driver.dart FlutterDriver._sendCommand
[ ] package:flutter_driver/src/driver/driver.dart 431:11 FlutterDriver.tap
[ ] ===== asynchronous gap ===========================
[ ] dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback
[ ] dart:async/runtime/libasync_patch.dart 77:23 _asyncThenWrapperHelper
[ ] package:test/src/backend/declarer.dart Declarer.test.<fn>.<fn>.<fn>
[ +14 ms] package:test/src/backend/invoker.dart 250:15 Invoker.waitForOutstandingCallbacks.<fn>
[ ] ===== asynchronous gap ===========================
[ ] dart:async/zone.dart 1045:19 _CustomZone.registerCallback
[ ] dart:async/zone.dart 962:22 _CustomZone.bindCallbackGuarded
[ ] dart:async/timer.dart 52:45 new Timer
[ +3 ms] dart:async/timer.dart 87:9 Timer.run
[ +1 ms] dart:async/future.dart 174:11 new Future
[ ] package:test/src/backend/invoker.dart 402:11 Invoker._onRun.<fn>.<fn>.<fn>
[ ] 00:01 +0 -1: Test (tearDownAll)
[ +68 ms] 00:01 +0 -1: Some tests failed.
[ +2 ms] Unhandled exception:
[ ] Dummy exception to set exit code.
[ ] #0 _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:1112:29)
[ ] #1 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
[ ] #2 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
[ ] #3 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:391:30)
[ ] #4 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
[ ] #5 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
[ +67 ms] Stopping application instance.
[ ] Stopping application.
[ +7 ms] "flutter drive" took 38,787ms.
Driver tests failed: 255
#0 throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1 _runTests (package:flutter_tools/src/commands/drive.dart:300:5)
<asynchronous suspension>
#2 DriveCommand.runCommand (package:flutter_tools/src/commands/drive.dart:124:23)
<asynchronous suspension>
#3 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:375:18)
#4 _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#5 _rootRunUnary (dart:async/zone.dart:1132:38)
#6 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#7 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#8 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#9 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#10 Future._complete (dart:async/future_impl.dart:476:7)
#11 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#12 _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#13 _rootRun (dart:async/zone.dart:1124:13)
#14 _CustomZone.run (dart:async/zone.dart:1021:19)
#15 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#18 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#19 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)"><pre class="notranslate"><code class="notranslate">[+4306 ms] 00:00 +0: Test (setUpAll)
[ +46 ms] [info ] FlutterDriver: Connecting to Flutter application at http://127.0.0.1:49681/
[ +306 ms] [trace] FlutterDriver: Isolate found with number: 287964734
[ +91 ms] [trace] FlutterDriver: Isolate is paused at start.
[ +13 ms] [trace] FlutterDriver: Attempting to resume isolate
[ +5 ms] [trace] FlutterDriver: Waiting for service extension
[ +700 ms] [info ] FlutterDriver: Connected to Flutter application.
[ +8 ms] 00:01 +0: Test Click test
[ +554 ms] 00:01 +0 -1: Test Click test [E]
[ +4 ms] DriverError: Error in Flutter application: Uncaught extension error while executing tap: Bad state: Too many elements
[ ] #0 Iterable.single (dart:core/iterable.dart:554:24)
[ ] #1 WidgetController._getElementPoint (package:flutter_test/src/controller.dart:511:47)
[ ] #2 WidgetController.getCenter (package:flutter_test/src/controller.dart:483:12)
[ ] #3 WidgetController.tap (package:flutter_test/src/controller.dart:260:18)
[ ] #4 FlutterDriverExtension._tap (package:flutter_driver/src/extension/extension.dart:304:19)
[ ] <asynchronous suspension>
[ ] #5 FlutterDriverExtension.call (package:flutter_driver/src/extension/extension.dart:180:51)
[ ] <asynchronous suspension>
[ ] #6 BindingBase.registerServiceExtension.<anonymous closure> (package:flutter/src/foundation/binding.dart:392:32)
[ ] <asynchronous suspension>
[ ] #7 _runExtension (dart:developer/runtime/libdeveloper.dart:86:23)
[ ] #8 RenderView.performLayout (package:flutter/src/rendering/view.dart:140:3)
[ ] #9 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1506:7)
[ +2 ms] #10 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:765:18)
[ ] #11 __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding&GestureBinding&PaintingBinding&SemanticsBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:270:19)
[ ] #12 __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding&GestureBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:671:13)
[ ] #13 __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding&GestureBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
[ ] #14 __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
[ ] #15 __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
[ ] #16 __DriverBinding&BindingBase&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
[ ] #17 Timer._createTimer.<anonymous closure> (dart:async/runtime/libtimer_patch.dart:21:15)
[ ] #18 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
[ ] #19 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
[ ] #20 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
[ ] Original error: null
[ ] Original stack trace:
[ ] null
[ +35 ms] package:flutter_driver/src/driver/driver.dart 405:7 FlutterDriver._sendCommand
[ ] ===== asynchronous gap ===========================
[ ] dart:async/future_impl.dart 22:43 _Completer.completeError
[ ] dart:async/runtime/libasync_patch.dart 40:18 _AsyncAwaitCompleter.completeError
[ ] package:flutter_driver/src/driver/driver.dart FlutterDriver._sendCommand
[ ] ===== asynchronous gap ===========================
[ ] dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback
[ ] dart:async/runtime/libasync_patch.dart 77:23 _asyncThenWrapperHelper
[ ] package:flutter_driver/src/driver/driver.dart FlutterDriver._sendCommand
[ ] package:flutter_driver/src/driver/driver.dart 431:11 FlutterDriver.tap
[ ] ===== asynchronous gap ===========================
[ ] dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback
[ ] dart:async/runtime/libasync_patch.dart 77:23 _asyncThenWrapperHelper
[ ] package:test/src/backend/declarer.dart Declarer.test.<fn>.<fn>.<fn>
[ +14 ms] package:test/src/backend/invoker.dart 250:15 Invoker.waitForOutstandingCallbacks.<fn>
[ ] ===== asynchronous gap ===========================
[ ] dart:async/zone.dart 1045:19 _CustomZone.registerCallback
[ ] dart:async/zone.dart 962:22 _CustomZone.bindCallbackGuarded
[ ] dart:async/timer.dart 52:45 new Timer
[ +3 ms] dart:async/timer.dart 87:9 Timer.run
[ +1 ms] dart:async/future.dart 174:11 new Future
[ ] package:test/src/backend/invoker.dart 402:11 Invoker._onRun.<fn>.<fn>.<fn>
[ ] 00:01 +0 -1: Test (tearDownAll)
[ +68 ms] 00:01 +0 -1: Some tests failed.
[ +2 ms] Unhandled exception:
[ ] Dummy exception to set exit code.
[ ] #0 _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:1112:29)
[ ] #1 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
[ ] #2 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
[ ] #3 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:391:30)
[ ] #4 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
[ ] #5 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
[ +67 ms] Stopping application instance.
[ ] Stopping application.
[ +7 ms] "flutter drive" took 38,787ms.
Driver tests failed: 255
#0 throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1 _runTests (package:flutter_tools/src/commands/drive.dart:300:5)
<asynchronous suspension>
#2 DriveCommand.runCommand (package:flutter_tools/src/commands/drive.dart:124:23)
<asynchronous suspension>
#3 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:375:18)
#4 _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#5 _rootRunUnary (dart:async/zone.dart:1132:38)
#6 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#7 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#8 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#9 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#10 Future._complete (dart:async/future_impl.dart:476:7)
#11 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#12 _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#13 _rootRun (dart:async/zone.dart:1124:13)
#14 _CustomZone.run (dart:async/zone.dart:1021:19)
#15 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#18 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#19 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)
</code></pre></div>
<h3 dir="auto">flutter analyze</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Analyzing flutter_integrations...
No issues found! (ran in 6.1s)"><pre class="notranslate"><code class="notranslate">Analyzing flutter_integrations...
No issues found! (ran in 6.1s)
</code></pre></div>
<h3 dir="auto">flutter doctor -v</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel master, v0.9.7-pre.79, on Mac OS X 10.13.6 17G65, locale en-IN)
• Flutter version 0.9.7-pre.79 at /Users/Ajil/Development/flutter
• Framework revision e4111b804b (13 hours ago), 2018-10-08 23:27:20 -0400
• Engine revision bfcdad8557
• Dart version 2.1.0-dev.6.0.flutter-c6254163dc
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/Ajil/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.0, Build version 10A255
• ios-deploy 2.0.0
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 29.0.2
• Dart plugin version 181.5616
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] VS Code (version 1.27.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.19.0
[✓] Connected device (1 available)
• iPhone 8 • 8444C14E-ADCA-4634-BC25-3816F4EA3041 • ios • iOS 12.0 (simulator)
• No issues found!
"><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel master, v0.9.7-pre.79, on Mac OS X 10.13.6 17G65, locale en-IN)
• Flutter version 0.9.7-pre.79 at /Users/Ajil/Development/flutter
• Framework revision e4111b804b (13 hours ago), 2018-10-08 23:27:20 -0400
• Engine revision bfcdad8557
• Dart version 2.1.0-dev.6.0.flutter-c6254163dc
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/Ajil/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.0, Build version 10A255
• ios-deploy 2.0.0
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 29.0.2
• Dart plugin version 181.5616
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] VS Code (version 1.27.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.19.0
[✓] Connected device (1 available)
• iPhone 8 • 8444C14E-ADCA-4634-BC25-3816F4EA3041 • ios • iOS 12.0 (simulator)
• No issues found!
</code></pre></div> | 0 |
<p dir="auto">Add charts to Tabbed Dashboard<br>
Scenario:</p>
<ul dir="auto">
<li>I have used the Tabs feature to segregate various dashboards (Say Tab 1 and Tab 2).</li>
<li>I have a couple of charts that are common to multiple dashboards(say date filter) and would like to add this multiple tabs.<br>
<strong>Current issue:</strong></li>
<li>Charts used once in a tabbed dashboard cannot be used again in another tab.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/67837651/94039303-65911380-fd7c-11ea-809f-b83752bb8b7b.png"><img src="https://user-images.githubusercontent.com/67837651/94039303-65911380-fd7c-11ea-809f-b83752bb8b7b.png" alt="Screen Shot 2020-09-18 at 2 19 34 PM" style="max-width: 100%;"></a></li>
</ul>
<p dir="auto">(post on behalf)</p> | <p dir="auto">Make sure these boxes are checked before submitting your issue - thank you!</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the superset logs for python stacktraces and included it here as text if there are any.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have reproduced the issue with at least the latest released version of superset.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the issue tracker for the same issue and I haven't found one similar.</li>
</ul>
<h3 dir="auto">Superset version</h3>
<p dir="auto">Master</p>
<h3 dir="auto">Expected results</h3>
<p dir="auto">Mapbox to work fine</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">mapbox makes the chart view disappear also does the same if it is inside a dashboard</p>
<p dir="auto">here is the error trace in chrome</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="webpack-internal:///./node_modules/prop-types/checkPropTypes.js:19 Warning: Failed prop type: Invalid prop `bsSize` of value `md` supplied to `FormControl`, expected one of ["sm","small","lg","large"].
in FormControl (created by VizTypeControl)
in VizTypeControl (created by Control)
in div (created by Control)
in Control (created by ControlPanelsContainer)
in div (created by ControlSetRow)
in div (created by ControlSetRow)
in ControlSetRow (created by ControlPanelsContainer)
in div (created by Panel)
in div (created by Panel)
in Transition (created by Collapse)
in Collapse (created by Panel)
in div (created by Panel)
in Panel (created by ControlPanelSection)
in ControlPanelSection (created by ControlPanelsContainer)
in div (created by TabPane)
in Transition (created by Fade)
in Fade (created by TabPane)
in TabPane (created by Tab)
in Tab (created by ControlPanelsContainer)
in div (created by TabContent)
in TabContent (created by Tabs)
in div (created by Tabs)
in TabContainer (created by Tabs)
in Tabs (created by Uncontrolled(Tabs))
in Uncontrolled(Tabs) (created by ControlPanelsContainer)
in div (created by ControlPanelsContainer)
in div (created by ControlPanelsContainer)
in ControlPanelsContainer (created by Connect(ControlPanelsContainer))
in Connect(ControlPanelsContainer) (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in ExploreViewContainer (created by Connect(ExploreViewContainer))
in Connect(ExploreViewContainer) (created by App)
in div (created by App)
in Provider (created by App)
in App (created by HotExportedApp)
in AppContainer (created by HotExportedApp)
in HotExportedApp
printWarning @ webpack-internal:///./node_modules/prop-types/checkPropTypes.js:19
webpack-internal:///./node_modules/react/cjs/react.development.js:241 Warning: CreatableSelect: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)
warningWithoutStack @ webpack-internal:///./node_modules/react/cjs/react.development.js:241
webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:117 Uncaught TypeError: transform is not a function
at eval (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:117)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:75)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:35)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:89)
at ProxyComponent.eval [as processChartProps] (webpack-internal:///./node_modules/reselect/es/index.js:35)
at ProxyComponent.renderChart (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:178)
at ProxyComponent.renderChart (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:580)
at ProxyComponent.render (webpack-internal:///./node_modules/react-loadable/lib/index.js:241)
at ProxyComponent.hotComponentRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:620)
at ProxyComponent.proxiedRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:635)
webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:14550 The above error occurred in the <LoadableComponent> component:
in LoadableComponent (created by SuperChart)
in div (created by SuperChart)
in SuperChart (created by Chart)
in div (created by Chart)
in Chart (created by Connect(Chart))
in Connect(Chart) (created by ParentSize)
in div (created by ParentSize)
in ParentSize (created by ExploreChartPanel)
in div (created by Panel)
in div (created by Panel)
in Panel (created by ExploreChartPanel)
in div (created by ExploreChartPanel)
in ExploreChartPanel (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in ExploreViewContainer (created by Connect(ExploreViewContainer))
in Connect(ExploreViewContainer) (created by App)
in div (created by App)
in Provider (created by App)
in App (created by HotExportedApp)
in AppContainer (created by HotExportedApp)
in HotExportedApp
React will try to recreate this component tree from scratch using the error boundary you provided, AppContainer.
logCapturedError @ webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:14550
webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:188 TypeError: transform is not a function
at eval (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:117)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:75)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:35)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:89)
at ProxyComponent.eval [as processChartProps] (webpack-internal:///./node_modules/reselect/es/index.js:35)
at ProxyComponent.renderChart (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:178)
at ProxyComponent.renderChart (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:580)
at ProxyComponent.render (webpack-internal:///./node_modules/react-loadable/lib/index.js:241)
at ProxyComponent.hotComponentRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:620)
at ProxyComponent.proxiedRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:635)
error @ webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:188
webpack-internal:///./src/logger.js:36 Duplicate event handler for event 'mount_explorer'
(anonymous) @ webpack-internal:///./src/logger.js:36
webpack-internal:///./src/logger.js:36 Duplicate event handler for event 'load_chart_data'
(anonymous) @ webpack-internal:///./src/logger.js:36
webpack-internal:///./src/logger.js:36 Duplicate event handler for event 'render_chart'
(anonymous) @ webpack-internal:///./src/logger.js:36
webpack-internal:///./src/logger.js:36 Duplicate event handler for event 'force_refresh_chart'
(anonymous) @ webpack-internal:///./src/logger.js:36
webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:117 Uncaught TypeError: transform is not a function
at eval (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:117)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:75)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:35)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:89)
at ProxyComponent.eval [as processChartProps] (webpack-internal:///./node_modules/reselect/es/index.js:35)
at ProxyComponent.renderChart (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:178)
at ProxyComponent.renderChart (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:580)
at ProxyComponent.render (webpack-internal:///./node_modules/react-loadable/lib/index.js:241)
at ProxyComponent.hotComponentRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:620)
at ProxyComponent.proxiedRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:635)
webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:14550 The above error occurred in the <LoadableComponent> component:
in LoadableComponent (created by SuperChart)
in div (created by SuperChart)
in SuperChart (created by Chart)
in div (created by Chart)
in Chart (created by Connect(Chart))
in Connect(Chart) (created by ParentSize)
in div (created by ParentSize)
in ParentSize (created by ExploreChartPanel)
in div (created by Panel)
in div (created by Panel)
in Panel (created by ExploreChartPanel)
in div (created by ExploreChartPanel)
in ExploreChartPanel (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in ExploreViewContainer (created by Connect(ExploreViewContainer))
in Connect(ExploreViewContainer) (created by App)
in div (created by App)
in Provider (created by App)
in App (created by HotExportedApp)
in AppContainer (created by HotExportedApp)
in HotExportedApp
React will try to recreate this component tree from scratch using the error boundary you provided, AppContainer.
logCapturedError @ webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:14550
webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:188 TypeError: transform is not a function
at eval (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:117)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:75)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:35)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:89)
at ProxyComponent.eval [as processChartProps] (webpack-internal:///./node_modules/reselect/es/index.js:35)
at ProxyComponent.renderChart (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:178)
at ProxyComponent.renderChart (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:580)
at ProxyComponent.render (webpack-internal:///./node_modules/react-loadable/lib/index.js:241)
at ProxyComponent.hotComponentRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:620)
at ProxyComponent.proxiedRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:635)"><pre class="notranslate"><code class="notranslate">webpack-internal:///./node_modules/prop-types/checkPropTypes.js:19 Warning: Failed prop type: Invalid prop `bsSize` of value `md` supplied to `FormControl`, expected one of ["sm","small","lg","large"].
in FormControl (created by VizTypeControl)
in VizTypeControl (created by Control)
in div (created by Control)
in Control (created by ControlPanelsContainer)
in div (created by ControlSetRow)
in div (created by ControlSetRow)
in ControlSetRow (created by ControlPanelsContainer)
in div (created by Panel)
in div (created by Panel)
in Transition (created by Collapse)
in Collapse (created by Panel)
in div (created by Panel)
in Panel (created by ControlPanelSection)
in ControlPanelSection (created by ControlPanelsContainer)
in div (created by TabPane)
in Transition (created by Fade)
in Fade (created by TabPane)
in TabPane (created by Tab)
in Tab (created by ControlPanelsContainer)
in div (created by TabContent)
in TabContent (created by Tabs)
in div (created by Tabs)
in TabContainer (created by Tabs)
in Tabs (created by Uncontrolled(Tabs))
in Uncontrolled(Tabs) (created by ControlPanelsContainer)
in div (created by ControlPanelsContainer)
in div (created by ControlPanelsContainer)
in ControlPanelsContainer (created by Connect(ControlPanelsContainer))
in Connect(ControlPanelsContainer) (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in ExploreViewContainer (created by Connect(ExploreViewContainer))
in Connect(ExploreViewContainer) (created by App)
in div (created by App)
in Provider (created by App)
in App (created by HotExportedApp)
in AppContainer (created by HotExportedApp)
in HotExportedApp
printWarning @ webpack-internal:///./node_modules/prop-types/checkPropTypes.js:19
webpack-internal:///./node_modules/react/cjs/react.development.js:241 Warning: CreatableSelect: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)
warningWithoutStack @ webpack-internal:///./node_modules/react/cjs/react.development.js:241
webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:117 Uncaught TypeError: transform is not a function
at eval (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:117)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:75)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:35)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:89)
at ProxyComponent.eval [as processChartProps] (webpack-internal:///./node_modules/reselect/es/index.js:35)
at ProxyComponent.renderChart (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:178)
at ProxyComponent.renderChart (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:580)
at ProxyComponent.render (webpack-internal:///./node_modules/react-loadable/lib/index.js:241)
at ProxyComponent.hotComponentRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:620)
at ProxyComponent.proxiedRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:635)
webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:14550 The above error occurred in the <LoadableComponent> component:
in LoadableComponent (created by SuperChart)
in div (created by SuperChart)
in SuperChart (created by Chart)
in div (created by Chart)
in Chart (created by Connect(Chart))
in Connect(Chart) (created by ParentSize)
in div (created by ParentSize)
in ParentSize (created by ExploreChartPanel)
in div (created by Panel)
in div (created by Panel)
in Panel (created by ExploreChartPanel)
in div (created by ExploreChartPanel)
in ExploreChartPanel (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in ExploreViewContainer (created by Connect(ExploreViewContainer))
in Connect(ExploreViewContainer) (created by App)
in div (created by App)
in Provider (created by App)
in App (created by HotExportedApp)
in AppContainer (created by HotExportedApp)
in HotExportedApp
React will try to recreate this component tree from scratch using the error boundary you provided, AppContainer.
logCapturedError @ webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:14550
webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:188 TypeError: transform is not a function
at eval (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:117)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:75)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:35)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:89)
at ProxyComponent.eval [as processChartProps] (webpack-internal:///./node_modules/reselect/es/index.js:35)
at ProxyComponent.renderChart (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:178)
at ProxyComponent.renderChart (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:580)
at ProxyComponent.render (webpack-internal:///./node_modules/react-loadable/lib/index.js:241)
at ProxyComponent.hotComponentRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:620)
at ProxyComponent.proxiedRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:635)
error @ webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:188
webpack-internal:///./src/logger.js:36 Duplicate event handler for event 'mount_explorer'
(anonymous) @ webpack-internal:///./src/logger.js:36
webpack-internal:///./src/logger.js:36 Duplicate event handler for event 'load_chart_data'
(anonymous) @ webpack-internal:///./src/logger.js:36
webpack-internal:///./src/logger.js:36 Duplicate event handler for event 'render_chart'
(anonymous) @ webpack-internal:///./src/logger.js:36
webpack-internal:///./src/logger.js:36 Duplicate event handler for event 'force_refresh_chart'
(anonymous) @ webpack-internal:///./src/logger.js:36
webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:117 Uncaught TypeError: transform is not a function
at eval (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:117)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:75)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:35)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:89)
at ProxyComponent.eval [as processChartProps] (webpack-internal:///./node_modules/reselect/es/index.js:35)
at ProxyComponent.renderChart (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:178)
at ProxyComponent.renderChart (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:580)
at ProxyComponent.render (webpack-internal:///./node_modules/react-loadable/lib/index.js:241)
at ProxyComponent.hotComponentRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:620)
at ProxyComponent.proxiedRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:635)
webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:14550 The above error occurred in the <LoadableComponent> component:
in LoadableComponent (created by SuperChart)
in div (created by SuperChart)
in SuperChart (created by Chart)
in div (created by Chart)
in Chart (created by Connect(Chart))
in Connect(Chart) (created by ParentSize)
in div (created by ParentSize)
in ParentSize (created by ExploreChartPanel)
in div (created by Panel)
in div (created by Panel)
in Panel (created by ExploreChartPanel)
in div (created by ExploreChartPanel)
in ExploreChartPanel (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in ExploreViewContainer (created by Connect(ExploreViewContainer))
in Connect(ExploreViewContainer) (created by App)
in div (created by App)
in Provider (created by App)
in App (created by HotExportedApp)
in AppContainer (created by HotExportedApp)
in HotExportedApp
React will try to recreate this component tree from scratch using the error boundary you provided, AppContainer.
logCapturedError @ webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:14550
webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:188 TypeError: transform is not a function
at eval (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:117)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:75)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:35)
at eval (webpack-internal:///./node_modules/reselect/es/index.js:89)
at ProxyComponent.eval [as processChartProps] (webpack-internal:///./node_modules/reselect/es/index.js:35)
at ProxyComponent.renderChart (webpack-internal:///./src/visualizations/core/components/SuperChart.jsx:178)
at ProxyComponent.renderChart (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:580)
at ProxyComponent.render (webpack-internal:///./node_modules/react-loadable/lib/index.js:241)
at ProxyComponent.hotComponentRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:620)
at ProxyComponent.proxiedRender (webpack-internal:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js:635)
</code></pre></div>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">just create a mapbox chart or open <code class="notranslate">Mapbox Long/Lat</code> example</p> | 0 |
<p dir="auto">Let the user set a global setting to have the terminal re-open with whatever profiles were last open.</p>
<p dir="auto">Thoughts:</p>
<ul dir="auto">
<li>what happens when a user has two windows open, closes one with 3 tabs, then opens a new window? Should it open the 3 tabs? Or should it start a fresh, single tabbed window?</li>
<li>how do we persist the last session?</li>
<li>Do we only persist the last tabs open when the last terminal window is closed?</li>
<li>Do we add a "quit terminal" option that closes all open windows, and persists all their open profiles?</li>
</ul>
<p dir="auto"><strong>THIS IS NOT A DISCUSSION OF PRESERVING WINDOW <em>CONTENT</em>, ONLY OPEN WINDOW PROFILES</strong></p>
<p dir="auto">This also includes restoring things like previous window positions.</p> | <h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable): "><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable):
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ul dir="auto">
<li>Open the new terminal</li>
<li>press <code class="notranslate">Win + =</code> to open magnifier.exe</li>
<li>press the + button to create a new tab in terminal</li>
</ul>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">the window should scale correctly when zoomed. Here is an example of what it should look like from Fluent Terminal<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/18226001/65818974-45f30800-e25a-11e9-995f-8355dff1049e.png"><img src="https://user-images.githubusercontent.com/18226001/65818974-45f30800-e25a-11e9-995f-8355dff1049e.png" alt="image" style="max-width: 100%;"></a></p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The menu is scaled inappropriately<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/18226001/65818955-03313000-e25a-11e9-9372-1e4cb0adc99f.png"><img src="https://user-images.githubusercontent.com/18226001/65818955-03313000-e25a-11e9-9372-1e4cb0adc99f.png" alt="image" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto">This is slow mainly because a CSR data structure is created that allocates a vector of size 100 million, before creating the CSC.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> @time sparse([1;100000000], [1;1], [1;1])
2.237388 seconds (20 allocations: 2.235 GB, 8.30% gc time)
100000000x1 sparse matrix with 2 Int64 entries:
[1 , 1] = 1
[100000000, 1] = 1"><pre class="notranslate"><code class="notranslate">julia> @time sparse([1;100000000], [1;1], [1;1])
2.237388 seconds (20 allocations: 2.235 GB, 8.30% gc time)
100000000x1 sparse matrix with 2 Int64 entries:
[1 , 1] = 1
[100000000, 1] = 1
</code></pre></div> | <p dir="auto">I have just installed a new version of linux (Manjaro) and am trying to get julia up and running again.<br>
When using Pkg to install, I am hit with the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Cloning default registries into /home/tharsis/.julia/registries
Cloning registry General from "https://github.com/JuliaRegistries/General.git"
ERROR: LoadError: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:SSL, SSL error: 0xffff8880 - SSL - A fatal alert message was received from our peer)
Stacktrace:
[1] pkgerror(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:120
[2] #clone#2(::String, ::Base.Iterators.Pairs{Symbol,LibGit2.CachedCredentials,Tuple{Symbol},NamedTuple{(:credentials,),Tuple{LibGit2.CachedCredentials}}}, ::Function, ::String, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GitTools.jl:107
[3] #clone at ./none:0 [inlined]
[4] (::getfield(Pkg.Types, Symbol("##51#55")))(::LibGit2.CachedCredentials) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:937
[5] shred!(::getfield(Pkg.Types, Symbol("##51#55")), ::LibGit2.CachedCredentials) at ./secretbuffer.jl:184
[6] #registries#50(::Bool, ::Function) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:933
[7] registries at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:917 [inlined]
[8] #find_registered!#59(::Bool, ::Function, ::Pkg.Types.EnvCache, ::Array{String,1}, ::Array{Base.UUID,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:999
[9] find_registered! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:968 [inlined]
[10] registry_resolve!(::Pkg.Types.EnvCache, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:839
[11] #add_or_develop#13(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:57
[12] #add_or_develop at ./none:0 [inlined]
[13] #add_or_develop#12 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:29 [inlined]
[14] #add_or_develop at ./none:0 [inlined]
[15] #add_or_develop#11 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:28 [inlined]
[16] #add_or_develop at ./none:0 [inlined]
[17] #add_or_develop#10 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:27 [inlined]
[18] #add_or_develop at ./none:0 [inlined]
[19] #add#18 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:69 [inlined]
[20] add(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:69
[21] top-level scope at /home/tharsis/.atom/packages/julia-client/script/boot_repl.jl:22
[22] include at ./boot.jl:317 [inlined]
[23] include_relative(::Module, ::String) at ./loading.jl:1044
[24] include(::Module, ::String) at ./sysimg.jl:29
[25] exec_options(::Base.JLOptions) at ./client.jl:266
[26] _start() at ./client.jl:425
in expression starting at /home/tharsis/.atom/packages/julia-client/script/boot_repl.jl:1
Julia has exited. Press Enter to start a new session."><pre class="notranslate"><code class="notranslate">Cloning default registries into /home/tharsis/.julia/registries
Cloning registry General from "https://github.com/JuliaRegistries/General.git"
ERROR: LoadError: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:SSL, SSL error: 0xffff8880 - SSL - A fatal alert message was received from our peer)
Stacktrace:
[1] pkgerror(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:120
[2] #clone#2(::String, ::Base.Iterators.Pairs{Symbol,LibGit2.CachedCredentials,Tuple{Symbol},NamedTuple{(:credentials,),Tuple{LibGit2.CachedCredentials}}}, ::Function, ::String, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GitTools.jl:107
[3] #clone at ./none:0 [inlined]
[4] (::getfield(Pkg.Types, Symbol("##51#55")))(::LibGit2.CachedCredentials) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:937
[5] shred!(::getfield(Pkg.Types, Symbol("##51#55")), ::LibGit2.CachedCredentials) at ./secretbuffer.jl:184
[6] #registries#50(::Bool, ::Function) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:933
[7] registries at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:917 [inlined]
[8] #find_registered!#59(::Bool, ::Function, ::Pkg.Types.EnvCache, ::Array{String,1}, ::Array{Base.UUID,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:999
[9] find_registered! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:968 [inlined]
[10] registry_resolve!(::Pkg.Types.EnvCache, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:839
[11] #add_or_develop#13(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:57
[12] #add_or_develop at ./none:0 [inlined]
[13] #add_or_develop#12 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:29 [inlined]
[14] #add_or_develop at ./none:0 [inlined]
[15] #add_or_develop#11 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:28 [inlined]
[16] #add_or_develop at ./none:0 [inlined]
[17] #add_or_develop#10 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:27 [inlined]
[18] #add_or_develop at ./none:0 [inlined]
[19] #add#18 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:69 [inlined]
[20] add(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:69
[21] top-level scope at /home/tharsis/.atom/packages/julia-client/script/boot_repl.jl:22
[22] include at ./boot.jl:317 [inlined]
[23] include_relative(::Module, ::String) at ./loading.jl:1044
[24] include(::Module, ::String) at ./sysimg.jl:29
[25] exec_options(::Base.JLOptions) at ./client.jl:266
[26] _start() at ./client.jl:425
in expression starting at /home/tharsis/.atom/packages/julia-client/script/boot_repl.jl:1
Julia has exited. Press Enter to start a new session.
</code></pre></div>
<p dir="auto">`<br>
I got a similar problem to the first using Pkg.clone() on my previous installation - all issues I could find were using a proxy of some kind - I am not.</p>
<p dir="auto">I manually cloned the registries, and tried again, and was able to successfully install a few packages.<br>
But when I try to install Atom, I am hit with the following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Pkg.add("Atom")
ERROR: The following package names could not be resolved:
* Atom (not found in project, manifest or registry)
Please specify by known 'name=uuid'."><pre class="notranslate"><code class="notranslate">Pkg.add("Atom")
ERROR: The following package names could not be resolved:
* Atom (not found in project, manifest or registry)
Please specify by known 'name=uuid'.
</code></pre></div>
<p dir="auto">I used a <a href="https://discourse.julialang.org/t/atom-not-found-in-project-manifest-or-registry/13380" rel="nofollow">workaround</a> that others had used in previous versions to avoid this issue, but when I try to continue I get the first error message again.</p>
<p dir="auto">Any help would be greatly appreciated, I have very much enjoyed learning and programming Julia, and am excited to get back to it :)</p> | 0 |
<p dir="auto">I am using tranform_graph to quantize darkflow's tiny-yolo-v2 *.pb<br>
<a href="https://github.com/thtrieu/darkflow">https://github.com/thtrieu/darkflow</a></p>
<p dir="auto">found several issues</p>
<ol dir="auto">
<li>
<p dir="auto">when i use video to do inference (or images) the performance drops to very low with gpu enable<br>
from <strong>5.xx fps to 1.xx fps</strong>, and i can feel the images inference speed drops, by input with lots of pictures.</p>
</li>
<li>
<p dir="auto">after use tranform_graph's quantization, the mAP drops from <strong>68% to 13%</strong> (with my 500 pics selcted from pascal_voc2012)<br>
the function i used list below</p>
</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="../tensorflow-src/tensorflow/bazel-bin/tensorflow/tools/graph_transforms/transform_graph --in_graph=_151875_12_28_02_36_51_tiny-yolo-v2.pb --inputs='input' --outputs='output' --out_graph=_151875_12_28_02_36_51_tiny-yolo-v2.quantize_node.pb --transforms='remove_nodes(op=Identity, op=CheckNumerics)
fold_constants(ignore_errors=true)
fold_batch_norms
fold_old_batch_norms
quantize_weights
quantize_nodes
strip_unused_nodes
merge_duplicate_nodes
sort_by_execution_order'"><pre class="notranslate"><code class="notranslate">../tensorflow-src/tensorflow/bazel-bin/tensorflow/tools/graph_transforms/transform_graph --in_graph=_151875_12_28_02_36_51_tiny-yolo-v2.pb --inputs='input' --outputs='output' --out_graph=_151875_12_28_02_36_51_tiny-yolo-v2.quantize_node.pb --transforms='remove_nodes(op=Identity, op=CheckNumerics)
fold_constants(ignore_errors=true)
fold_batch_norms
fold_old_batch_norms
quantize_weights
quantize_nodes
strip_unused_nodes
merge_duplicate_nodes
sort_by_execution_order'
</code></pre></div>
<ol start="3" dir="auto">
<li>
<p dir="auto">after quantize mAP drops, i use "insert_logging" & "freeze_requantization_ranges"<br>
tried to bring back mAP with that pascal_voc selected 500 pictures<br>
but the mAP drops to <strong>0%.</strong></p>
</li>
<li>
<p dir="auto">i wrote a script try to fix the logging file<br>
I go thorough logging with single image, one by one<br>
if the mAP goes up, i merge with the last highest mAP ...<br>
until the last image<br>
so comes out with a valid logging file, which bring back the mAP to <strong>62%</strong></p>
</li>
</ol>
<p dir="auto">now the questions are</p>
<ol dir="auto">
<li>is that possible to quantize yolo-tiny-v2?<br>
because the mAP and performance drops so much (even thou the mAP can be adjust back)</li>
<li>are there any other neural network models that you suggest me to use?<br>
my target is to create some quantized small models for running on ic chips</li>
<li>does that means logging and freeze_requantization_ranges might not suitable for tiny-yolo-v2?</li>
</ol>
<p dir="auto">Thanks for your time for reading this</p>
<p dir="auto">== cat /etc/issue ===============================================<br>
Linux 8fbb96ca119d 4.15.0-34-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115956927" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/37" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/37/hovercard" href="https://github.com/tensorflow/tensorflow/issues/37">#37</a>~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux<br>
VERSION="16.04.5 LTS (Xenial Xerus)"<br>
VERSION_ID="16.04"<br>
VERSION_CODENAME=xenial</p>
<p dir="auto">== are we in docker =============================================<br>
Yes</p>
<p dir="auto">== compiler =====================================================<br>
c++ (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609<br>
Copyright (C) 2015 Free Software Foundation, Inc.<br>
This is free software; see the source for copying conditions. There is NO<br>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p>
<p dir="auto">== uname -a =====================================================<br>
Linux 8fbb96ca119d 4.15.0-34-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115956927" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/37" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/37/hovercard" href="https://github.com/tensorflow/tensorflow/issues/37">#37</a>~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux</p>
<p dir="auto">== check pips ===================================================<br>
numpy 1.15.4<br>
protobuf 3.6.1<br>
tensorflow-gpu 1.12.0</p>
<p dir="auto">== check for virtualenv =========================================<br>
False</p>
<p dir="auto">== tensorflow import ============================================<br>
tf.VERSION = 1.12.0<br>
tf.GIT_VERSION = v1.12.0-0-ga6d8ffae09<br>
tf.COMPILER_VERSION = v1.12.0-0-ga6d8ffae09<br>
Sanity check: array([1], dtype=int32)</p>
<p dir="auto">== env ==========================================================<br>
LD_LIBRARY_PATH /usr/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64<br>
DYLD_LIBRARY_PATH is unset</p>
<p dir="auto">== nvidia-smi ===================================================<br>
Sat Jan 26 05:56:00 2019<br>
+-----------------------------------------------------------------------------+<br>
| NVIDIA-SMI 390.87 Driver Version: 390.87 |<br>
|-------------------------------+----------------------+----------------------+<br>
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |<br>
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |<br>
|===============================+======================+======================|<br>
| 0 Quadro GV100 Off | 00000000:18:00.0 Off | Off |<br>
| 40% 54C P0 50W / 250W | 1MiB / 32508MiB | 0% Default |<br>
+-------------------------------+----------------------+----------------------+<br>
| 1 Quadro GV100 Off | 00000000:3B:00.0 Off | Off |<br>
| 40% 54C P0 50W / 250W | 0MiB / 32508MiB | 5% Default |<br>
+-------------------------------+----------------------+----------------------+</p>
<p dir="auto">+-----------------------------------------------------------------------------+<br>
| Processes: GPU Memory |<br>
| GPU PID Type Process name Usage |<br>
|=============================================================================|<br>
| No running processes found |<br>
+-----------------------------------------------------------------------------+</p>
<p dir="auto">== cuda libs ===================================================<br>
/usr/local/cuda-9.0/targets/x86_64-linux/lib/libcudart_static.a<br>
/usr/local/cuda-9.0/targets/x86_64-linux/lib/libcudart.so.9.0.176</p> | <h3 dir="auto">System information</h3>
<ul dir="auto">
<li><strong>Have I written custom code</strong>: yes</li>
<li><strong>OS Platform and Distribution</strong>: Linux Fedora 16.04</li>
<li><strong>TensorFlow installed from</strong>: binary</li>
<li><strong>TensorFlow version</strong>: v1.4.0-19-ga52c8d9, 1.4.1</li>
<li><strong>Python version</strong>: 2.7</li>
<li><strong>Bazel version</strong>: N/A</li>
<li><strong>CUDA/cuDNN version</strong>: cuda_8.0.61, cudnnv5</li>
<li><strong>GPU model and memory</strong>: GeForce GTX TITAN X , 12207MiB</li>
<li><strong>Exact command to reproduce</strong>:</li>
</ul>
<p dir="auto">We have a computer cluster that some of the machines have GPU and others don't. I have installed tensorflow-gpu-1.4 from wheel file in a virtualenv in a folder on the file-server which means that it is accessible on all the machines in the cluster.<br>
My program is a distributed software which means that some of the tasks are done on all the cluster nodes. (data generation and configuration) and the machine learning part is only done on the machines with GPU. I activate the aforementioned virtualenv before running the servers on nodes of the cluster so all the nodes are running inside the same virtual environment.<br>
On the machines that have a GPU when I import tensorflow everything works fine, but when I import the tensorflow on the machines that do not have the gpu (and Cuda is not installed on them) I get following error:</p>
<blockquote>
<p dir="auto">In [1]: import tensorflow as tf<br>
ImportError Traceback (most recent call last)<br>
in ()<br>
----> 1 import tensorflow as tf</p>
<p dir="auto">/virtualenv/lib/python2.7/site-packages/tensorflow/<strong>init</strong>.py in ()<br>
22<br>
23 # pylint: disable=wildcard-import<br>
---> 24 from tensorflow.python import *<br>
25 # pylint: enable=wildcard-import<br>
26</p>
<p dir="auto">/virtualenv/lib/python2.7/site-packages/tensorflow/python/<strong>init</strong>.py in ()<br>
47 import numpy as np<br>
48<br>
---> 49 from tensorflow.python import pywrap_tensorflow<br>
50<br>
51 # Protocol buffers</p>
<p dir="auto">/virtualenv/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py in ()<br>
70 for some common reasons and solutions. Include the entire stack trace<br>
71 above this error message when asking for help.""" % traceback.format_exc()<br>
---> 72 raise ImportError(msg)<br>
73<br>
74 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long</p>
<p dir="auto">ImportError: Traceback (most recent call last):<br>
File "virtualenv/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "/virtualenv/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "/virtualenv/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper<br>
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)<br>
ImportError: libcuda.so.1: cannot open shared object file: No such file or directory</p>
<p dir="auto">Failed to load the native TensorFlow runtime.</p>
<p dir="auto">See <a href="https://www.tensorflow.org/install/install_sources#common_installation_problems" rel="nofollow">https://www.tensorflow.org/install/install_sources#common_installation_problems</a></p>
<p dir="auto">for some common reasons and solutions. Include the entire stack trace<br>
above this error message when asking for help.</p>
</blockquote>
<p dir="auto">I am aware that tensorflow-gpu is statically linked to the Cuda libraries and I installed a local version of Cuda using the runfile in a folder on the file-server (accessible to all the nodes) and added its path to the LD_LIBRARY_PATH and PATH and now importing tf gives me the following error:</p>
<blockquote>
<p dir="auto">2018-02-15 01:41:58.519693: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU</p>
</blockquote>
<blockquote>
<p dir="auto">supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA<br>
2018-02-15 01:41:58.519972: E tensorflow/stream_executor/cuda/cuda_driver.cc:406] failed call to cuInit: CUresult(-1)<br>
2018-02-15 01:41:58.520007: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:158] retrieving CUDA diagnostic information for host: maserati<br>
2018-02-15 01:41:58.520017: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:165] hostname: maserati<br>
2018-02-15 01:41:58.520140: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:189] libcuda reported version is: Not found: was unable to find libcuda.so DSO loaded into this program<br>
2018-02-15 01:41:58.520167: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:369] driver version file contents: """NVRM version: NVIDIA UNIX x86_64 Kernel Module 384.111 Tue Dec 19 23:51:45 PST 2017<br>
GCC version: gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)<br>
"""<br>
2018-02-15 01:41:58.520191: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:193] kernel reported version is: 384.111.0</p>
</blockquote>
<p dir="auto">And when i run a hello world script it gives me the following error (which clearly means it cant run anything on gpu because of previous error):</p>
<blockquote>
<p dir="auto">In [5]: with tf.device("/GPU:0"):<br>
...: hello = tf.constant('Hello, TensorFlow!')<br>
...: sess = tf.Session()<br>
...: print(sess.run(hello))<br>
...:<br>
InvalidArgumentError Traceback (most recent call last)<br>
in ()<br>
2 hello = tf.constant('Hello, TensorFlow!')<br>
3 sess = tf.Session()<br>
----> 4 print(sess.run(hello))<br>
5</p>
<p dir="auto">/virtualenv/lib/python2.7/site-packages/tensorflow/python/client/session.pyc in run(self, fetches, feed_dict, options, run_metadata)<br>
887 try:<br>
888 result = self._run(None, fetches, feed_dict, options_ptr,<br>
--> 889 run_metadata_ptr)<br>
890 if run_metadata:<br>
891 proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)</p>
<p dir="auto">/virtualenv/lib/python2.7/site-packages/tensorflow/python/client/session.pyc in _run(self, handle, fetches, feed_dict, options, run_metadata)<br>
1118 if final_fetches or final_targets or (handle and feed_dict_tensor):<br>
1119 results = self._do_run(handle, final_targets, final_fetches,<br>
-> 1120 feed_dict_tensor, options, run_metadata)<br>
1121 else:<br>
1122 results = []</p>
<p dir="auto">/virtualenv/lib/python2.7/site-packages/tensorflow/python/client/session.pyc in _do_run(self, handle, target_list, fetch_list, feed_dict, options, run_metadata)<br>
1315 if handle is None:<br>
1316 return self._do_call(_run_fn, self._session, feeds, fetches, targets,<br>
-> 1317 options, run_metadata)<br>
1318 else:<br>
1319 return self._do_call(_prun_fn, self._session, handle, feeds, fetches)</p>
<p dir="auto">/virtualenv/lib/python2.7/site-packages/tensorflow/python/client/session.pyc in _do_call(self, fn, *args)<br>
1334 except KeyError:<br>
1335 pass<br>
-> 1336 raise type(e)(node_def, op, message)<br>
1337<br>
1338 def _extend_graph(self):</p>
<p dir="auto">InvalidArgumentError: Cannot assign a device for operation 'Const_1': Operation was explicitly assigned to /device:GPU:0 but available devices are [ /job:localhost/replica:0/task:0/device:CPU:0 ]. Make sure the device specification refers to a valid device.<br>
[[Node: Const_1 = Const<a href="">dtype=DT_STRING, value=Tensor<type: string shape: [] values: Hello, TensorFlow!>, _device="/device:GPU:0"</a>]]</p>
<p dir="auto">Caused by op u'Const_1', defined at:<br>
File "/virtualenv/bin/ipython", line 11, in <br>
sys.exit(start_ipython())<br>
File "/virtualenv/lib/python2.7/site-packages/IPython/<strong>init</strong>.py", line 119, in start_ipython<br>
return launch_new_instance(argv=argv, **kwargs)<br>
File "/virtualenv/lib/python2.7/site-packages/traitlets/config/application.py", line 658, in launch_instance<br>
app.start()<br>
File "/virtualenv/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 355, in start<br>
self.shell.mainloop()<br>
File "/virtualenv/lib/python2.7/site-packages/IPython/terminal/interactiveshell.py", line 493, in mainloop<br>
self.interact()<br>
File "/virtualenv/lib/python2.7/site-packages/IPython/terminal/interactiveshell.py", line 484, in interact<br>
self.run_cell(code, store_history=True)<br>
File "/virtualenv/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2718, in run_cell<br>
interactivity=interactivity, compiler=compiler, result=result)<br>
File "/virtualenv/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2822, in run_ast_nodes<br>
if self.run_code(code, result):<br>
File "/virtualenv/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2882, in run_code<br>
exec(code_obj, self.user_global_ns, self.user_ns)<br>
File "", line 2, in <br>
hello = tf.constant('Hello, TensorFlow!')<br>
File "/virtualenv/lib/python2.7/site-packages/tensorflow/python/framework/constant_op.py", line 214, in constant<br>
name=name).outputs[0]<br>
File "/virtualenv/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2956, in create_op<br>
op_def=op_def)<br>
File "/virtualenv/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1470, in <strong>init</strong><br>
self._traceback = self._graph._extract_stack() # pylint: disable=protected-access</p>
<p dir="auto">InvalidArgumentError (see above for traceback): Cannot assign a device for operation 'Const_1': Operation was explicitly assigned to /device:GPU:0 but available devices are [ /job:localhost/replica:0/task:0/device:CPU:0 ]. Make sure the device specification refers to a valid device.<br>
[[Node: Const_1 = Const<a href="">dtype=DT_STRING, value=Tensor<type: string shape: [] values: Hello, TensorFlow!>, _device="/device:GPU:0"</a>]]</p>
</blockquote>
<p dir="auto">I dont wan't/ can't install cuda on non-gpu machines is there any work around for this issue?</p> | 0 |
<p dir="auto">by <strong>yoann.gini</strong>:</p>
<pre class="notranslate">What steps will reproduce the problem?
1. Get an vanilla OS X system with Xcode
2. Run Xcode from you session and accept the license like anyone do
3. Try to install Go from go1.1.2.darwin-amd64.pkg
What is the expected output?
Install should success without any problems
What do you see instead?
Install failed, when looking at the install log, it's because of the xcode license who
haven't been accepted from the root account, which is absolutely unusual.
Which operating system are you using?
OS X 10.8.4
Which version are you using? (run 'go version')
go version go1.1.2 darwin/amd64
Please provide any additional information below.
Using root account is something we never do on OS X, even as software developer.</pre>
<p dir="auto">Attachments:</p>
<ol dir="auto">
<li><a href="https://storage.googleapis.com/go-attachment/6256/0/install.log" rel="nofollow">install.log</a> (9879 bytes)</li>
</ol> | <p dir="auto">by <strong>benjamin.heatwole</strong>:</p>
<pre class="notranslate">$GOOS = linux
$GOARCH = amd64
hg identify = f7e1cbc5ce28 tip
Code demonstrating the problem:
func main() {
var min float32 = math.MinFloat32
var minPlusOne float32 = min + 1.0
var negOne float32 = -1.0
var zero float32 = 0.0
var one float32 = 1.0
// All these should be true, but only the comparison with a positive number works
fmt.Println("Testing comparisons using math.MinFloat32 ... ")
fmt.Printf("%v > %v = %v\n", negOne, min, negOne > min)
fmt.Printf("%v > %v = %v\n", zero, min, zero > min)
fmt.Printf("%v > %v = %v\n", one, min, one > min)
fmt.Println()
// Adding one to MinFloat32 doesn't help
fmt.Println("Testing comparisons using math.MinFloat32 + 1 ... ")
fmt.Printf("%v > %v = %v\n", negOne, minPlusOne, negOne > minPlusOne)
fmt.Printf("%v > %v = %v\n", zero, minPlusOne, zero > minPlusOne)
fmt.Printf("%v > %v = %v\n", one, minPlusOne, one > minPlusOne)
fmt.Println()
// Using another small value works
var small float32 = -999999.0
fmt.Println("Testing comparisons using -999999.0 ... ")
fmt.Printf("%v > %v = %v\n", negOne, small, negOne > small)
fmt.Printf("%v > %v = %v\n", zero, small, zero > small)
fmt.Printf("%v > %v = %v\n", one, small, one > small)
fmt.Println()
// One final test
fmt.Println("Testing 0 == MinFloat32 ... ")
fmt.Printf("%v == %v = %v\n", zero, min, zero == min)
}
Output is:
Testing comparisons using math.MinFloat32 ...
-1 > 1e-45 = false
0 > 1e-45 = false
1 > 1e-45 = true
Testing comparisons using math.MinFloat32 + 1 ...
-1 > 1 = false
0 > 1 = false
1 > 1 = false
Testing comparisons using -999999.0 ...
-1 > -999999 = true
0 > -999999 = true
1 > -999999 = true
Testing 0 == MinFloat32 ...
0 == 1e-45 = false
As you can see from the tests, MinFloat32 is being printed as "1e-45" but
internally its treating the
value as "0" in some cases (the second test with MinFloat32+1 prints as
"1"), but not in others (the
last test of 0 == MinFloat32 is false).
I'm not sure entirely what's going on, but something is goofy.</pre> | 0 |
<p dir="auto">Running Atom 120.<br>
Windows 8.1 (64bit).<br>
Node.js v0.10.30</p>
<p dir="auto">I am using the grunt-runner plugin to run grunt within atom. With my own fix to actually let the plugin work (issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="39768537" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/3200" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/3200/hovercard" href="https://github.com/atom/atom/issues/3200">#3200</a> fix: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="39884025" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/3208" data-hovercard-type="pull_request" data-hovercard-url="/atom/atom/pull/3208/hovercard" href="https://github.com/atom/atom/pull/3208">#3208</a>), I can see in the task manager that a separate node process is being started for the grunt task I am executing. However, stoppping the grunt task, which on this line of code <a href="https://github.com/nickclaw/atom-grunt-runner/blob/master/lib/grunt-runner-view.coffee#L71">https://github.com/nickclaw/atom-grunt-runner/blob/master/lib/grunt-runner-view.coffee#L71</a> happens, doesn't kill the node process (that call to kill() is simply the kill call in BufferedProcess, so it's not a plugin issue).</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/4b6cad80dd4a0e7ea9c313ea9640fdc3ebca52595b3080dc729b53ee5dc80598/68747470733a2f2f646c2e64726f70626f7875736572636f6e74656e742e636f6d2f752f33373233373538302f566172696f75732d50696374757265732f6e6f745f6b696c6c65645f6e6f64655f70726f636573732e676966"><img src="https://camo.githubusercontent.com/4b6cad80dd4a0e7ea9c313ea9640fdc3ebca52595b3080dc729b53ee5dc80598/68747470733a2f2f646c2e64726f70626f7875736572636f6e74656e742e636f6d2f752f33373233373538302f566172696f75732d50696374757265732f6e6f745f6b696c6c65645f6e6f64655f70726f636573732e676966" alt="gif" data-animated-image="" data-canonical-src="https://dl.dropboxusercontent.com/u/37237580/Various-Pictures/not_killed_node_process.gif" style="max-width: 100%;"></a></p> | <p dir="auto">I'm using the NEO2 keyboard layout, an optimized German layout. In particular, it offers arrow keys directly on the home row, as well as a few other useful keys (ESC, Enter, ..). Most of those are not recognized by atom, i.e. nothing happens when you press them.</p>
<p dir="auto">The standard arrows, enter and escape all work. (But are hard to reach on a physical keyboard)</p>
<p dir="auto">The keys are situated on the forth layer of the layout, a picture can be found on: <a href="http://neo-layout.org/grafik/tastatur3d/tastatur_neo_Ebene4.png" rel="nofollow">http://neo-layout.org/grafik/tastatur3d/tastatur_neo_Ebene4.png</a><br>
The whole layout is presented on <a href="http://www.neo-layout.org/" rel="nofollow">http://www.neo-layout.org/</a>. Unfortunately, that page is in German.</p>
<p dir="auto">It would be great to have the duplicate keys work exactly like the original ones.</p> | 0 |
<p dir="auto">Debian GNU/Linux 6.0.10 (squeeze) and OSX 10.11.4, Python 3.5.1, matplotlib 1.5.1 (anaconda 4.0.5)</p>
<p dir="auto">Setting the prop_cycle for an axis breaks the usage of keyword aliases in the plot function. In the following snippets the keyword <code class="notranslate">lw=0.1</code> is ignored, but <code class="notranslate">linewidth=0.1</code> produces the wanted result.</p>
<p dir="auto">Maybe it is worth mentioning that <code class="notranslate">color</code> is still accessible via its alias <code class="notranslate">c</code> after setting a prop_cycle.</p>
<p dir="auto">If it seems weird to set the prop_cycle to just ignore it: I stumbled across this problem while playing around with stylesheets to set a default cycle through different linestyles. But sometimes you want to explicitly change this behaviour.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fig, ax = plt.subplots()
ax.set_prop_cycle('linewidth', [2, 3, 4])
for c in range(5):
ax.plot(np.arange(10), c * np.arange(10), lw=0.1)"><pre class="notranslate"><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">ax</span>.<span class="pl-en">set_prop_cycle</span>(<span class="pl-s">'linewidth'</span>, [<span class="pl-c1">2</span>, <span class="pl-c1">3</span>, <span class="pl-c1">4</span>])
<span class="pl-k">for</span> <span class="pl-s1">c</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">5</span>):
<span class="pl-s1">ax</span>.<span class="pl-en">plot</span>(<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">10</span>), <span class="pl-s1">c</span> <span class="pl-c1">*</span> <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">10</span>), <span class="pl-s1">lw</span><span class="pl-c1">=</span><span class="pl-c1">0.1</span>)</pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/9482218/14878368/67b54a4e-0d23-11e6-8c1e-5e5f2d777a0b.png"><img src="https://cloud.githubusercontent.com/assets/9482218/14878368/67b54a4e-0d23-11e6-8c1e-5e5f2d777a0b.png" alt="broken" style="max-width: 100%;"></a></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fig, ax = plt.subplots()
ax.set_prop_cycle('linewidth', [2, 3, 4])
for c in range(5):
ax.plot(np.arange(10), c * np.arange(10), linewidth=0.1)"><pre class="notranslate"><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">ax</span>.<span class="pl-en">set_prop_cycle</span>(<span class="pl-s">'linewidth'</span>, [<span class="pl-c1">2</span>, <span class="pl-c1">3</span>, <span class="pl-c1">4</span>])
<span class="pl-k">for</span> <span class="pl-s1">c</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">5</span>):
<span class="pl-s1">ax</span>.<span class="pl-en">plot</span>(<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">10</span>), <span class="pl-s1">c</span> <span class="pl-c1">*</span> <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">10</span>), <span class="pl-s1">linewidth</span><span class="pl-c1">=</span><span class="pl-c1">0.1</span>)</pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/9482218/14878374/6bc90d00-0d23-11e6-8f82-5e939869f28a.png"><img src="https://cloud.githubusercontent.com/assets/9482218/14878374/6bc90d00-0d23-11e6-8f82-5e939869f28a.png" alt="working" style="max-width: 100%;"></a></p> | <p dir="auto">If the <code class="notranslate">axes.prop_cycle</code> contains the label 'ls' it is not possible to manually specify a linestyle in a plot. However, if <code class="notranslate">axes.prop_cycle</code> contains the label 'linestyle', everything seems to work as expected.</p>
<p dir="auto">An example showing the problem:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from cycler import cycler
import matplotlib as mpl
import matplotlib.pyplot as plt
import numpy as np
mpl.__version__ # ==1.5.1
linestyle_cycle = cycler('linestyle', ['-', '--'])
ls_cycle = cycler('ls', ['-', '--'])
x = np.arange(10)
mpl.rcParams['axes.prop_cycle'] = linestyle_cycle
plt.figure()
for k in range(1, 6):
plt.plot(x, k * x)
plt.plot(x, x**2, 'k:') # Black dotted as expected
plt.title('linestyle_cycle')
mpl.rcParams['axes.prop_cycle'] = ls_cycle
plt.figure()
for k in range(1, 6):
plt.plot(x, k * x)
plt.plot(x, x**2, 'k:') # Black dashed - not expected
plt.title('ls_cycle')"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">cycler</span> <span class="pl-k">import</span> <span class="pl-s1">cycler</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">as</span> <span class="pl-s1">mpl</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-s1">mpl</span>.<span class="pl-s1">__version__</span> <span class="pl-c"># ==1.5.1</span>
<span class="pl-s1">linestyle_cycle</span> <span class="pl-c1">=</span> <span class="pl-en">cycler</span>(<span class="pl-s">'linestyle'</span>, [<span class="pl-s">'-'</span>, <span class="pl-s">'--'</span>])
<span class="pl-s1">ls_cycle</span> <span class="pl-c1">=</span> <span class="pl-en">cycler</span>(<span class="pl-s">'ls'</span>, [<span class="pl-s">'-'</span>, <span class="pl-s">'--'</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">10</span>)
<span class="pl-s1">mpl</span>.<span class="pl-s1">rcParams</span>[<span class="pl-s">'axes.prop_cycle'</span>] <span class="pl-c1">=</span> <span class="pl-s1">linestyle_cycle</span>
<span class="pl-s1">plt</span>.<span class="pl-en">figure</span>()
<span class="pl-k">for</span> <span class="pl-s1">k</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">1</span>, <span class="pl-c1">6</span>):
<span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">k</span> <span class="pl-c1">*</span> <span class="pl-s1">x</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">x</span><span class="pl-c1">**</span><span class="pl-c1">2</span>, <span class="pl-s">'k:'</span>) <span class="pl-c"># Black dotted as expected</span>
<span class="pl-s1">plt</span>.<span class="pl-en">title</span>(<span class="pl-s">'linestyle_cycle'</span>)
<span class="pl-s1">mpl</span>.<span class="pl-s1">rcParams</span>[<span class="pl-s">'axes.prop_cycle'</span>] <span class="pl-c1">=</span> <span class="pl-s1">ls_cycle</span>
<span class="pl-s1">plt</span>.<span class="pl-en">figure</span>()
<span class="pl-k">for</span> <span class="pl-s1">k</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">1</span>, <span class="pl-c1">6</span>):
<span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">k</span> <span class="pl-c1">*</span> <span class="pl-s1">x</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">x</span><span class="pl-c1">**</span><span class="pl-c1">2</span>, <span class="pl-s">'k:'</span>) <span class="pl-c"># Black dashed - not expected</span>
<span class="pl-s1">plt</span>.<span class="pl-en">title</span>(<span class="pl-s">'ls_cycle'</span>)</pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5367057/12392263/f2a97cd6-bded-11e5-93fe-5c480e4b7e7f.png"><img src="https://cloud.githubusercontent.com/assets/5367057/12392263/f2a97cd6-bded-11e5-93fe-5c480e4b7e7f.png" alt="linestyle_cycle" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5367057/12392264/f2aa189e-bded-11e5-8c3b-e0db4465c1c1.png"><img src="https://cloud.githubusercontent.com/assets/5367057/12392264/f2aa189e-bded-11e5-8c3b-e0db4465c1c1.png" alt="ls_cycle" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">I'm fairly new to keras, but it seems to me that the best way to do validation with fit_generator is to create 2 generators for generating training and validation data separately, but this requires some careful orchestrating. I propose to add a validation_split parameter to model.fit_generator that would behave similarly to the same parameter in model.fit.</p>
<p dir="auto">For example with validation_split=0.1, fit_generator would train from the generator until it has seen (0.9 * samples_per_epoch) samples and then perform validation from the same generator until the end of the epoch.</p> | <p dir="auto">When calling MaxPooling2D with pool_size=(2,2) on inputs with an odd dimension (say 1x4x5) the output dimension is 1x2x2. Thus the pooling operator is not utilizing the information in the last column of the input. The code that produces the size of the output: conv_output_length does an integer divide operation giving the floor of the required number of dimensions.</p>
<p dir="auto">How can I rectify this? The simplest idea I have would be to zero pad another column making the input (1x4x6) and not messing with the pooling operation at all, but I don't think non-symmetric padding is allowed in keras. Is this right?</p> | 0 |
<h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">I think it might very useful to have something like settings file (see <code class="notranslate">settings.json</code> in Windows Terminal) where you can declare custom commands you'd like to run (for instance you can declare custom CLI flags/args there and/or even create something like "Reboot"/"Shutdown" command requested in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="607101599" data-permission-text="Title is private" data-url="https://github.com/microsoft/PowerToys/issues/2408" data-hovercard-type="issue" data-hovercard-url="/microsoft/PowerToys/issues/2408/hovercard" href="https://github.com/microsoft/PowerToys/issues/2408">#2408</a>).</p> | <h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">Currently when I'm using more than one monitor, it is not possible to set individual Zones for each monitor. It would be a nice feature if i coud set up fancy zones for each Monitor.</p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1> | 0 |
<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">Sorry if a duplicate of existing bug-report (can't easily find it)</p>
<h2 dir="auto">To Reproduce</h2>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="torch.zeros((16*2**20 - 512)//2 + 1, 1, dtype=torch.float16, device='cuda:0') @ torch.zeros(1, 2, dtype=torch.float16, device='cuda:0')"><pre class="notranslate"><span class="pl-s1">torch</span>.<span class="pl-en">zeros</span>((<span class="pl-c1">16</span><span class="pl-c1">*</span><span class="pl-c1">2</span><span class="pl-c1">**</span><span class="pl-c1">20</span> <span class="pl-c1">-</span> <span class="pl-c1">512</span>)<span class="pl-c1">//</span><span class="pl-c1">2</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">torch</span>.<span class="pl-s1">float16</span>, <span class="pl-s1">device</span><span class="pl-c1">=</span><span class="pl-s">'cuda:0'</span>) @ <span class="pl-s1">torch</span>.<span class="pl-en">zeros</span>(<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">torch</span>.<span class="pl-s1">float16</span>, <span class="pl-s1">device</span><span class="pl-c1">=</span><span class="pl-s">'cuda:0'</span>)</pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RuntimeError: cublas runtime error : the GPU program failed to execute at /opt/conda/conda-bld/pytorch_1556653114079/work/aten/src/THC/THCBlas.cu:315"><pre class="notranslate"><code class="notranslate">RuntimeError: cublas runtime error : the GPU program failed to execute at /opt/conda/conda-bld/pytorch_1556653114079/work/aten/src/THC/THCBlas.cu:315
</code></pre></div>
<p dir="auto">It also fails if cublasGemmEx called via pytorch extension, with stacktrace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x45 (0x7fe8d5a44dc5 in /opt/anaconda3/lib/python3.7/site-packages/torch/lib/libc10.so)
frame #1: mm_fp16_fp16_acc32(at::Tensor, at::Tensor, at::Tensor) + 0x7dd (0x7fe884d2873d in /mnt/live/research/hffx/SharedCodes/python/xtx/nn/gemm_11/gemm_bind.cpython-37m-x86_64-linux-gnu.so)
frame #2: <unknown function> + 0x199f0 (0x7fe884d389f0 in /mnt/live/research/hffx/SharedCodes/python/xtx/nn/gemm_11/gemm_bind.cpython-37m-x86_64-linux-gnu.so)
frame #3: <unknown function> + 0x19eda (0x7fe884d38eda in /mnt/live/research/hffx/SharedCodes/python/xtx/nn/gemm_11/gemm_bind.cpython-37m-x86_64-linux-gnu.so)
frame #4: <unknown function> + 0x16a79 (0x7fe884d35a79 in /mnt/live/research/hffx/SharedCodes/python/xtx/nn/gemm_11/gemm_bind.cpython-37m-x86_64-linux-gnu.so)
frame #5: _PyMethodDef_RawFastCallKeywords + 0x264 (0x5632b1b5f494 in /opt/anaconda3/bin/python)
frame #6: _PyCFunction_FastCallKeywords + 0x21 (0x5632b1b5f5b1 in /opt/anaconda3/bin/python)
frame #7: _PyEval_EvalFrameDefault + 0x4f32 (0x5632b1bbb5b2 in /opt/anaconda3/bin/python)
frame #8: _PyEval_EvalCodeWithName + 0x2f8 (0x5632b1afba38 in /opt/anaconda3/bin/python)
frame #9: PyEval_EvalCodeEx + 0x44 (0x5632b1afc8a4 in /opt/anaconda3/bin/python)
frame #10: PyEval_EvalCode + 0x1c (0x5632b1afc8cc in /opt/anaconda3/bin/python)
frame #11: <unknown function> + 0x1e140d (0x5632b1bc640d in /opt/anaconda3/bin/python)
frame #12: _PyMethodDef_RawFastCallKeywords + 0xe9 (0x5632b1b5f319 in /opt/anaconda3/bin/python)
frame #13: _PyCFunction_FastCallKeywords + 0x21 (0x5632b1b5f5b1 in /opt/anaconda3/bin/python)
frame #14: _PyEval_EvalFrameDefault + 0x47e3 (0x5632b1bbae63 in /opt/anaconda3/bin/python)
frame #15: _PyEval_EvalCodeWithName + 0x2f8 (0x5632b1afba38 in /opt/anaconda3/bin/python)
frame #16: _PyFunction_FastCallKeywords + 0x325 (0x5632b1b5e765 in /opt/anaconda3/bin/python)
frame #17: _PyEval_EvalFrameDefault + 0x6f5 (0x5632b1bb6d75 in /opt/anaconda3/bin/python)
frame #18: _PyEval_EvalCodeWithName + 0x2f8 (0x5632b1afba38 in /opt/anaconda3/bin/python)
frame #19: _PyFunction_FastCallKeywords + 0x387 (0x5632b1b5e7c7 in /opt/anaconda3/bin/python)
frame #20: _PyEval_EvalFrameDefault + 0x14e3 (0x5632b1bb7b63 in /opt/anaconda3/bin/python)
frame #21: _PyEval_EvalCodeWithName + 0xb99 (0x5632b1afc2d9 in /opt/anaconda3/bin/python)
frame #22: _PyFunction_FastCallKeywords + 0x387 (0x5632b1b5e7c7 in /opt/anaconda3/bin/python)
frame #23: _PyEval_EvalFrameDefault + 0x6f5 (0x5632b1bb6d75 in /opt/anaconda3/bin/python)
frame #24: _PyEval_EvalCodeWithName + 0x2f8 (0x5632b1afba38 in /opt/anaconda3/bin/python)
frame #25: _PyFunction_FastCallKeywords + 0x387 (0x5632b1b5e7c7 in /opt/anaconda3/bin/python)
frame #26: _PyEval_EvalFrameDefault + 0x14e3 (0x5632b1bb7b63 in /opt/anaconda3/bin/python)
frame #27: _PyFunction_FastCallKeywords + 0xfb (0x5632b1b5e53b in /opt/anaconda3/bin/python)
frame #28: _PyEval_EvalFrameDefault + 0x6f5 (0x5632b1bb6d75 in /opt/anaconda3/bin/python)
frame #29: _PyFunction_FastCallKeywords + 0xfb (0x5632b1b5e53b in /opt/anaconda3/bin/python)
frame #30: _PyEval_EvalFrameDefault + 0x6f5 (0x5632b1bb6d75 in /opt/anaconda3/bin/python)
frame #31: _PyEval_EvalCodeWithName + 0x2f8 (0x5632b1afba38 in /opt/anaconda3/bin/python)
frame #32: _PyFunction_FastCallKeywords + 0x325 (0x5632b1b5e765 in /opt/anaconda3/bin/python)
frame #33: _PyEval_EvalFrameDefault + 0x6f5 (0x5632b1bb6d75 in /opt/anaconda3/bin/python)
frame #34: _PyFunction_FastCallKeywords + 0xfb (0x5632b1b5e53b in /opt/anaconda3/bin/python)
frame #35: _PyEval_EvalFrameDefault + 0x466 (0x5632b1bb6ae6 in /opt/anaconda3/bin/python)
frame #36: _PyFunction_FastCallKeywords + 0xfb (0x5632b1b5e53b in /opt/anaconda3/bin/python)
frame #37: _PyEval_EvalFrameDefault + 0x4b54 (0x5632b1bbb1d4 in /opt/anaconda3/bin/python)
frame #38: _PyEval_EvalCodeWithName + 0x2f8 (0x5632b1afba38 in /opt/anaconda3/bin/python)
frame #39: PyEval_EvalCodeEx + 0x44 (0x5632b1afc8a4 in /opt/anaconda3/bin/python)
frame #40: PyEval_EvalCode + 0x1c (0x5632b1afc8cc in /opt/anaconda3/bin/python)
frame #41: <unknown function> + 0x230f24 (0x5632b1c15f24 in /opt/anaconda3/bin/python)
frame #42: PyRun_FileExFlags + 0xa1 (0x5632b1c20111 in /opt/anaconda3/bin/python)
frame #43: PyRun_SimpleFileExFlags + 0x1c3 (0x5632b1c20303 in /opt/anaconda3/bin/python)
frame #44: <unknown function> + 0x23c41b (0x5632b1c2141b in /opt/anaconda3/bin/python)
frame #45: _Py_UnixMain + 0x3c (0x5632b1c214fc in /opt/anaconda3/bin/python)
frame #46: __libc_start_main + 0xf5 (0x7fe8f24b33d5 in /lib64/libc.so.6)
frame #47: <unknown function> + 0x1e14e2 (0x5632b1bc64e2 in /opt/anaconda3/bin/python)"><pre class="notranslate"><code class="notranslate">frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x45 (0x7fe8d5a44dc5 in /opt/anaconda3/lib/python3.7/site-packages/torch/lib/libc10.so)
frame #1: mm_fp16_fp16_acc32(at::Tensor, at::Tensor, at::Tensor) + 0x7dd (0x7fe884d2873d in /mnt/live/research/hffx/SharedCodes/python/xtx/nn/gemm_11/gemm_bind.cpython-37m-x86_64-linux-gnu.so)
frame #2: <unknown function> + 0x199f0 (0x7fe884d389f0 in /mnt/live/research/hffx/SharedCodes/python/xtx/nn/gemm_11/gemm_bind.cpython-37m-x86_64-linux-gnu.so)
frame #3: <unknown function> + 0x19eda (0x7fe884d38eda in /mnt/live/research/hffx/SharedCodes/python/xtx/nn/gemm_11/gemm_bind.cpython-37m-x86_64-linux-gnu.so)
frame #4: <unknown function> + 0x16a79 (0x7fe884d35a79 in /mnt/live/research/hffx/SharedCodes/python/xtx/nn/gemm_11/gemm_bind.cpython-37m-x86_64-linux-gnu.so)
frame #5: _PyMethodDef_RawFastCallKeywords + 0x264 (0x5632b1b5f494 in /opt/anaconda3/bin/python)
frame #6: _PyCFunction_FastCallKeywords + 0x21 (0x5632b1b5f5b1 in /opt/anaconda3/bin/python)
frame #7: _PyEval_EvalFrameDefault + 0x4f32 (0x5632b1bbb5b2 in /opt/anaconda3/bin/python)
frame #8: _PyEval_EvalCodeWithName + 0x2f8 (0x5632b1afba38 in /opt/anaconda3/bin/python)
frame #9: PyEval_EvalCodeEx + 0x44 (0x5632b1afc8a4 in /opt/anaconda3/bin/python)
frame #10: PyEval_EvalCode + 0x1c (0x5632b1afc8cc in /opt/anaconda3/bin/python)
frame #11: <unknown function> + 0x1e140d (0x5632b1bc640d in /opt/anaconda3/bin/python)
frame #12: _PyMethodDef_RawFastCallKeywords + 0xe9 (0x5632b1b5f319 in /opt/anaconda3/bin/python)
frame #13: _PyCFunction_FastCallKeywords + 0x21 (0x5632b1b5f5b1 in /opt/anaconda3/bin/python)
frame #14: _PyEval_EvalFrameDefault + 0x47e3 (0x5632b1bbae63 in /opt/anaconda3/bin/python)
frame #15: _PyEval_EvalCodeWithName + 0x2f8 (0x5632b1afba38 in /opt/anaconda3/bin/python)
frame #16: _PyFunction_FastCallKeywords + 0x325 (0x5632b1b5e765 in /opt/anaconda3/bin/python)
frame #17: _PyEval_EvalFrameDefault + 0x6f5 (0x5632b1bb6d75 in /opt/anaconda3/bin/python)
frame #18: _PyEval_EvalCodeWithName + 0x2f8 (0x5632b1afba38 in /opt/anaconda3/bin/python)
frame #19: _PyFunction_FastCallKeywords + 0x387 (0x5632b1b5e7c7 in /opt/anaconda3/bin/python)
frame #20: _PyEval_EvalFrameDefault + 0x14e3 (0x5632b1bb7b63 in /opt/anaconda3/bin/python)
frame #21: _PyEval_EvalCodeWithName + 0xb99 (0x5632b1afc2d9 in /opt/anaconda3/bin/python)
frame #22: _PyFunction_FastCallKeywords + 0x387 (0x5632b1b5e7c7 in /opt/anaconda3/bin/python)
frame #23: _PyEval_EvalFrameDefault + 0x6f5 (0x5632b1bb6d75 in /opt/anaconda3/bin/python)
frame #24: _PyEval_EvalCodeWithName + 0x2f8 (0x5632b1afba38 in /opt/anaconda3/bin/python)
frame #25: _PyFunction_FastCallKeywords + 0x387 (0x5632b1b5e7c7 in /opt/anaconda3/bin/python)
frame #26: _PyEval_EvalFrameDefault + 0x14e3 (0x5632b1bb7b63 in /opt/anaconda3/bin/python)
frame #27: _PyFunction_FastCallKeywords + 0xfb (0x5632b1b5e53b in /opt/anaconda3/bin/python)
frame #28: _PyEval_EvalFrameDefault + 0x6f5 (0x5632b1bb6d75 in /opt/anaconda3/bin/python)
frame #29: _PyFunction_FastCallKeywords + 0xfb (0x5632b1b5e53b in /opt/anaconda3/bin/python)
frame #30: _PyEval_EvalFrameDefault + 0x6f5 (0x5632b1bb6d75 in /opt/anaconda3/bin/python)
frame #31: _PyEval_EvalCodeWithName + 0x2f8 (0x5632b1afba38 in /opt/anaconda3/bin/python)
frame #32: _PyFunction_FastCallKeywords + 0x325 (0x5632b1b5e765 in /opt/anaconda3/bin/python)
frame #33: _PyEval_EvalFrameDefault + 0x6f5 (0x5632b1bb6d75 in /opt/anaconda3/bin/python)
frame #34: _PyFunction_FastCallKeywords + 0xfb (0x5632b1b5e53b in /opt/anaconda3/bin/python)
frame #35: _PyEval_EvalFrameDefault + 0x466 (0x5632b1bb6ae6 in /opt/anaconda3/bin/python)
frame #36: _PyFunction_FastCallKeywords + 0xfb (0x5632b1b5e53b in /opt/anaconda3/bin/python)
frame #37: _PyEval_EvalFrameDefault + 0x4b54 (0x5632b1bbb1d4 in /opt/anaconda3/bin/python)
frame #38: _PyEval_EvalCodeWithName + 0x2f8 (0x5632b1afba38 in /opt/anaconda3/bin/python)
frame #39: PyEval_EvalCodeEx + 0x44 (0x5632b1afc8a4 in /opt/anaconda3/bin/python)
frame #40: PyEval_EvalCode + 0x1c (0x5632b1afc8cc in /opt/anaconda3/bin/python)
frame #41: <unknown function> + 0x230f24 (0x5632b1c15f24 in /opt/anaconda3/bin/python)
frame #42: PyRun_FileExFlags + 0xa1 (0x5632b1c20111 in /opt/anaconda3/bin/python)
frame #43: PyRun_SimpleFileExFlags + 0x1c3 (0x5632b1c20303 in /opt/anaconda3/bin/python)
frame #44: <unknown function> + 0x23c41b (0x5632b1c2141b in /opt/anaconda3/bin/python)
frame #45: _Py_UnixMain + 0x3c (0x5632b1c214fc in /opt/anaconda3/bin/python)
frame #46: __libc_start_main + 0xf5 (0x7fe8f24b33d5 in /lib64/libc.so.6)
frame #47: <unknown function> + 0x1e14e2 (0x5632b1bc64e2 in /opt/anaconda3/bin/python)
</code></pre></div>
<p dir="auto">It all works as expected for fp32, it also works for fp16 <em>if</em> matrix is slightly smaller:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="torch.zeros((16*2**20 - 512)//2, 1, dtype=torch.float16, device='cuda:0') @ torch.zeros(1, 2, dtype=torch.float16, device='cuda:0')"><pre class="notranslate"><span class="pl-s1">torch</span>.<span class="pl-en">zeros</span>((<span class="pl-c1">16</span><span class="pl-c1">*</span><span class="pl-c1">2</span><span class="pl-c1">**</span><span class="pl-c1">20</span> <span class="pl-c1">-</span> <span class="pl-c1">512</span>)<span class="pl-c1">//</span><span class="pl-c1">2</span>, <span class="pl-c1">1</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">torch</span>.<span class="pl-s1">float16</span>, <span class="pl-s1">device</span><span class="pl-c1">=</span><span class="pl-s">'cuda:0'</span>) @ <span class="pl-s1">torch</span>.<span class="pl-en">zeros</span>(<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">torch</span>.<span class="pl-s1">float16</span>, <span class="pl-s1">device</span><span class="pl-c1">=</span><span class="pl-s">'cuda:0'</span>)</pre></div>
<h2 dir="auto">Environment</h2>
<ul dir="auto">
<li>PyTorch: 1.1.0</li>
<li>OS: Linux</li>
<li>Python version: 3.7</li>
<li>CUDA/cuDNN version: 10.0.130</li>
<li>GPU: V-100</li>
</ul> | <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">Error using the pytorch.hub API:<br>
code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="entrypoints = torch.hub.list('pytorch/vision', force_reload=True)"><pre class="notranslate"><code class="notranslate">entrypoints = torch.hub.list('pytorch/vision', force_reload=True)
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Downloading: "https://github.com/pytorch/vision/archive/master.zip" to .../.cache\torch\hub\master.zip
Traceback (most recent call last):
File "..../test.py", line 2, in <module>
entrypoints = torch.hub.list('pytorch/vision', force_reload=True)
File "...\.conda\envs\hackaton\lib\site-packages\torch\hub.py", line 285, in list
hub_module = import_module(MODULE_HUBCONF, repo_dir + '/' + MODULE_HUBCONF)
File "..\.conda\envs\hackaton\lib\site-packages\torch\hub.py", line 72, in import_module
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File ".../.cache\torch\hub\pytorch_vision_master/hubconf.py", line 4, in <module>
from torchvision.models.alexnet import alexnet
File "..../.cache\torch\hub\pytorch_vision_master\torchvision\__init__.py", line 1, in <module>
from torchvision import models
File "...../.cache\torch\hub\pytorch_vision_master\torchvision\models\__init__.py", line 6, in <module>
from .densenet import *
File "...../.cache\torch\hub\pytorch_vision_master\torchvision\models\densenet.py", line 22, in <module>
class _DenseLayer(nn.Module):
File ".../.cache\torch\hub\pytorch_vision_master\torchvision\models\densenet.py", line 52, in _DenseLayer
@torch.jit.unused # noqa: T484
AttributeError: module 'torch.jit' has no attribute 'unused'
Process finished with exit code 1"><pre class="notranslate"><code class="notranslate">Downloading: "https://github.com/pytorch/vision/archive/master.zip" to .../.cache\torch\hub\master.zip
Traceback (most recent call last):
File "..../test.py", line 2, in <module>
entrypoints = torch.hub.list('pytorch/vision', force_reload=True)
File "...\.conda\envs\hackaton\lib\site-packages\torch\hub.py", line 285, in list
hub_module = import_module(MODULE_HUBCONF, repo_dir + '/' + MODULE_HUBCONF)
File "..\.conda\envs\hackaton\lib\site-packages\torch\hub.py", line 72, in import_module
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File ".../.cache\torch\hub\pytorch_vision_master/hubconf.py", line 4, in <module>
from torchvision.models.alexnet import alexnet
File "..../.cache\torch\hub\pytorch_vision_master\torchvision\__init__.py", line 1, in <module>
from torchvision import models
File "...../.cache\torch\hub\pytorch_vision_master\torchvision\models\__init__.py", line 6, in <module>
from .densenet import *
File "...../.cache\torch\hub\pytorch_vision_master\torchvision\models\densenet.py", line 22, in <module>
class _DenseLayer(nn.Module):
File ".../.cache\torch\hub\pytorch_vision_master\torchvision\models\densenet.py", line 52, in _DenseLayer
@torch.jit.unused # noqa: T484
AttributeError: module 'torch.jit' has no attribute 'unused'
Process finished with exit code 1
</code></pre></div>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/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> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ailzhang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ailzhang">@ailzhang</a> <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> | 0 |
<p dir="auto"><strong>Apache Airflow version</strong>: 2.0.1</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Helm Chart</strong>: <a href="https://github.com/apache/airflow/tree/master/chart">https://github.com/apache/airflow/tree/master/chart</a></li>
<li><strong>Install tools</strong>: helm3</li>
</ul>
<p dir="auto"><strong>What happened</strong>:<br>
worker ip address is missing</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="*** Log file does not exist: /opt/airflow/logs/example-task/snapshot/2021-05-12T12:00:46.658485+00:00/1.log
*** Fetching from: http://:8793/log/example-task/snapshot/2021-05-12T12:00:46.658485+00:00/1.log
*** Failed to fetch log file from worker. Invalid URL 'http://:8793/log/example-task/snapshot/2021-05-12T12:00:46.658485+00:00/1.log': No host supplied"><pre class="notranslate"><code class="notranslate">*** Log file does not exist: /opt/airflow/logs/example-task/snapshot/2021-05-12T12:00:46.658485+00:00/1.log
*** Fetching from: http://:8793/log/example-task/snapshot/2021-05-12T12:00:46.658485+00:00/1.log
*** Failed to fetch log file from worker. Invalid URL 'http://:8793/log/example-task/snapshot/2021-05-12T12:00:46.658485+00:00/1.log': No host supplied
</code></pre></div>
<p dir="auto"><strong>Config</strong>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" core:
load_examples: 'False'
hostname_callable: 'airflow.utils.net:get_host_ip_address'
webserver:
workers: '4'
enable_proxy_fix: 'True'
base_url: 'http://localhost:8080'
authenticate: 'True'
log_fetch_timeout_sec: '60'
cli:
endpoint_url: 'http://localhost:8080'"><pre class="notranslate"><code class="notranslate"> core:
load_examples: 'False'
hostname_callable: 'airflow.utils.net:get_host_ip_address'
webserver:
workers: '4'
enable_proxy_fix: 'True'
base_url: 'http://localhost:8080'
authenticate: 'True'
log_fetch_timeout_sec: '60'
cli:
endpoint_url: 'http://localhost:8080'
</code></pre></div> | <p dir="auto"><strong>Apache Airflow version</strong>: 2.0.0</p>
<p dir="auto"><strong>Kubernetes version (if you are using kubernetes)</strong> (use <code class="notranslate">kubectl version</code>):</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: tencent cloud</li>
<li><strong>OS</strong> (e.g. from /etc/os-release): centos7</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): 3.10</li>
<li><strong>Install tools</strong>:</li>
<li><strong>Others</strong>: Server version: 8.0.22 MySQL Community Server - GPL</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">Task is in the <strong>failed</strong> state. I found the log file on one of the worker node and the task is actually success. And in the <strong>task instance details</strong> tab, the hostname field is null.</p>
<p dir="auto">And the logs are as follows:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="*** Log file does not exist: /data/app/epic-airflow/logs/tiny_demo80677608236/task_0/2021-01-15T09:04:00+00:00/1.log
*** Fetching from: http://:8793/log/tiny_demo80677608236/task_0/2021-01-15T09:04:00+00:00/1.log
*** Failed to fetch log file from worker. Invalid URL 'http://:8793/log/tiny_demo80677608236/task_0/2021-01-15T09:04:00+00:00/1.log': No host supplied"><pre class="notranslate"><code class="notranslate">*** Log file does not exist: /data/app/epic-airflow/logs/tiny_demo80677608236/task_0/2021-01-15T09:04:00+00:00/1.log
*** Fetching from: http://:8793/log/tiny_demo80677608236/task_0/2021-01-15T09:04:00+00:00/1.log
*** Failed to fetch log file from worker. Invalid URL 'http://:8793/log/tiny_demo80677608236/task_0/2021-01-15T09:04:00+00:00/1.log': No host supplied
</code></pre></div>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">Task should be success.</p>
<p dir="auto"><strong>How to reproduce it</strong>:</p>
<p dir="auto">I don't know how to reproduce it steadyly. It happened sometimes.</p>
<p dir="auto"><strong>Anything else we need to know</strong>:</p>
<p dir="auto">No</p> | 1 |
<p dir="auto">The github extension fails doing push with (authentication failed) 35 characters only alphanumeric password, the git bash client in cmd does the push (and the authentication) correctly.</p> | <p dir="auto">I have configured my git remote like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[remote "origin"]
url = http://MY-HOST.../branch-locatlocator-select-ui.git"><pre class="notranslate"><code class="notranslate">[remote "origin"]
url = http://MY-HOST.../branch-locatlocator-select-ui.git
</code></pre></div>
<p dir="auto">And when i do a push show me an error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal: Authentication failed for 'http://MY-HOST.../branch-locatlocator-select-ui.git/'"><pre class="notranslate"><code class="notranslate">fatal: Authentication failed for 'http://MY-HOST.../branch-locatlocator-select-ui.git/'
</code></pre></div>
<p dir="auto">Why Visual Studio Code add the final slash? :(</p> | 1 |
<p dir="auto">It would be really nice to have an AST that was a tree with <code class="notranslate">~</code>. This would have countless advantages, like the ast-fold could consume the AST and only allocate if it is actually creating a new node, and we'd generally not have the problems associated with <code class="notranslate">Gc</code> (the GC might be able to land!).</p>
<p dir="auto">However, there are a few areas that are very tricky; mainly the <a href="https://github.com/mozilla/rust/blob/master/src/libsyntax/ast_map.rs#L64-L81">AST map</a>, which maps <code class="notranslate">node_id</code> to actual AST nodes of various types, the only safe way to do this with an <code class="notranslate">~</code> tree is with <code class="notranslate">&</code> references... which freezes the AST for the remainder of the program, so no transformations like constant evaluation, and no consuming of the AST by trans.</p> | <p dir="auto">As <a href="https://internals.rust-lang.org/t/new-crater-reports-1-1-stable-vs-beta-2015-07-10-and-nightly-2015-07-10/2358" rel="nofollow">reported by crater</a>, Rust 1.3 nightlies appear to have <a href="https://tools.taskcluster.net/task-inspector/#cuF_XQCSRQafsszsN6-0qw" rel="nofollow">introduced a regression in lifetime elision</a>, probably related to default trait bounds.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nikomatsakis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nikomatsakis">@nikomatsakis</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nrc/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nrc">@nrc</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pnkfelix/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pnkfelix">@pnkfelix</a></p>
<p dir="auto">Nominating in hopes a fix for this will appear before 1.3 beta.</p> | 0 |
<p dir="auto">When using the Transition slide in I.E. the child component is not moved off of the screen. It seems like the css styles are not added at all for the default state.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>v1.0.0-beta.11</td>
</tr>
<tr>
<td>browser</td>
<td>IE 11</td>
</tr>
</tbody>
</table>
<h2 dir="auto">Chrome Element</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<div class="c238" direction="left" style="transform: translate3d(calc(100vw - 307.2px), 0px, 0px); transition: -webkit-transform 500ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;"></div>"><pre class="notranslate"><code class="notranslate"><div class="c238" direction="left" style="transform: translate3d(calc(100vw - 307.2px), 0px, 0px); transition: -webkit-transform 500ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;"></div>
</code></pre></div>
<h2 dir="auto">IE 11 Element</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<div class="c179" direction="left"></div>"><pre class="notranslate"><code class="notranslate"><div class="c179" direction="left"></div>
</code></pre></div> | <p dir="auto">Here is the take. Our class names aren't predictable. This is allowing us to shrink the class names in production, hence, improving the performance. But it comes with a drawback. It's making overriding, snapshot testing, writing a theme harder.</p>
<p dir="auto">Hopefully, we can technically make the class names deterministic. So, I think that documenting how to do so will make prototyping and writing reusable theme easier. For instance, It's something you can do with Bootstrap. It's structurally very important. At the same time. It can be used as a quick escape hatch to the duplicated class names issue—I have seen the issue too many times to ignore it.</p> | 0 |
<p dir="auto">I found this warning in my apache log:</p>
<p dir="auto"><code class="notranslate">PHP Warning: SessionHandler::close(): Parent session handler is not open in app/cache/prod/classes.php</code></p>
<p dir="auto">It's look likes the issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="7944383" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/5868" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/5868/hovercard" href="https://github.com/symfony/symfony/issues/5868">#5868</a>.</p>
<p dir="auto">I use <strong>php 5.4.8</strong> and <strong>apache 2.2.23</strong> on <strong>gentoo</strong>.</p>
<p dir="auto">I don't know how to test for reproduce this error, if someone can give me some help... :)</p>
<p dir="auto">Thanks.</p> | <p dir="auto">Working through some tests using the bundled Security functionality, and we have noticed that on a logout action we are getting in our server logs:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[Mon Oct 29 16:43:14 2012] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Uncaught exception 'ErrorException' with message 'Warning: SessionHandler::write(): Parent session handler is not open in /web_dir/app/cache/dev/classes.php line 558' in /web_dir/app/cache/dev/classes.php:558\nStack trace:\n#0 [internal function]: Symfony\\Component\\HttpKernel\\Debug\\ErrorHandler->handle(2, 'SessionHandler:...', '/web_dir...', 558, Array)\n#1 /web_dir/app/cache/dev/classes.php(558): SessionHandler->write('e0ua5bnj0vneq97...', '_sf2_attributes...')\n#2 [internal function]: Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\SessionHandlerProxy->write('e0ua5bnj0vneq97...', '_sf2_attributes...')\n#3 [internal function]: session_write_close()\n#4 {main}\n thrown in /web_dir/app/cache/dev/classes.php on line 558"><pre class="notranslate"><code class="notranslate">[Mon Oct 29 16:43:14 2012] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Uncaught exception 'ErrorException' with message 'Warning: SessionHandler::write(): Parent session handler is not open in /web_dir/app/cache/dev/classes.php line 558' in /web_dir/app/cache/dev/classes.php:558\nStack trace:\n#0 [internal function]: Symfony\\Component\\HttpKernel\\Debug\\ErrorHandler->handle(2, 'SessionHandler:...', '/web_dir...', 558, Array)\n#1 /web_dir/app/cache/dev/classes.php(558): SessionHandler->write('e0ua5bnj0vneq97...', '_sf2_attributes...')\n#2 [internal function]: Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\SessionHandlerProxy->write('e0ua5bnj0vneq97...', '_sf2_attributes...')\n#3 [internal function]: session_write_close()\n#4 {main}\n thrown in /web_dir/app/cache/dev/classes.php on line 558
</code></pre></div>
<p dir="auto">It seems this issue isn't unique to us as seen at:</p>
<p dir="auto"><a href="https://groups.google.com/forum/?fromgroups=#!topic/symfony-devs/Q-f0lKT7OZ8" rel="nofollow">https://groups.google.com/forum/?fromgroups=#!topic/symfony-devs/Q-f0lKT7OZ8</a></p>
<p dir="auto">We are running a centos 6 machine running <strong>PHP v5.4.7</strong> and <strong>Apache/2.2.15</strong>.</p>
<p dir="auto">Anyone have any suggestions as to what is causing this and how we can eliminate this message on every log out?</p> | 1 |
<p dir="auto">This just tripped me but I'm not sure if it's intended behavior. Feel free to close if it's not an issue.</p>
<p dir="auto">Basically I re-export a few functions in my lib's <code class="notranslate">index.js</code>:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export { default as DragDropContext } from './DragDropContext';
export { default as DragLayer } from './DragLayer';
export { default as DragSource } from './DragSource';
export { default as DropTarget } from './DropTarget';"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-kos">{</span> <span class="pl-s1">default</span> <span class="pl-k">as</span> <span class="pl-v">DragDropContext</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./DragDropContext'</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-kos">{</span> <span class="pl-s1">default</span> <span class="pl-k">as</span> <span class="pl-v">DragLayer</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./DragLayer'</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-kos">{</span> <span class="pl-s1">default</span> <span class="pl-k">as</span> <span class="pl-v">DragSource</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./DragSource'</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-kos">{</span> <span class="pl-s1">default</span> <span class="pl-k">as</span> <span class="pl-v">DropTarget</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./DropTarget'</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">In my app, I import them:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { DragLayer } from 'react-dnd';"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">DragLayer</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react-dnd'</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">I just realized that this assigns them implicit context of <code class="notranslate">index.js</code>'s <code class="notranslate">exports</code> object because when I use them later, they are invoked “on it”:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export default DragLayer(...)"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-v">DragLayer</span><span class="pl-kos">(</span>...<span class="pl-kos">)</span></pre></div>
<p dir="auto">becomes</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="exports['default']) = _reactDnd.DragLayer(...)"><pre class="notranslate"><span class="pl-s1">exports</span><span class="pl-kos">[</span><span class="pl-s">'default'</span><span class="pl-kos">]</span><span class="pl-kos">)</span> <span class="pl-c1">=</span> <span class="pl-s1">_reactDnd</span><span class="pl-kos">.</span><span class="pl-en">DragLayer</span><span class="pl-kos">(</span>...<span class="pl-kos">)</span></pre></div>
<p dir="auto">and thus <code class="notranslate">this</code> inside <code class="notranslate">DragLayer</code> points to <code class="notranslate">exports</code> in <code class="notranslate">index.js</code>.</p>
<p dir="auto">How do I solve this?</p> | <p dir="auto">Currently when an <code class="notranslate">import</code> statement is used the imported items are stored in a object, is it possible to store them in own variables?</p>
<p dir="auto">For instance, this snippet:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import {b} from 'foo';
b();"><pre class="notranslate"><code class="notranslate">import {b} from 'foo';
b();
</code></pre></div>
<p dir="auto">is compiled to:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="...
_b.b();"><pre class="notranslate"><code class="notranslate">...
_b.b();
</code></pre></div>
<p dir="auto">For import default it's even worse:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import b from 'foo';
b();
↓
...
_b2['default']();"><pre class="notranslate"><code class="notranslate">import b from 'foo';
b();
↓
...
_b2['default']();
</code></pre></div>
<p dir="auto">This has bad performance consequences as a function call like this works slower than a normal call — <code class="notranslate">b()</code>: <a href="http://jsperf.com/obj-default-vs-fn" rel="nofollow">http://jsperf.com/obj-default-vs-fn</a></p> | 1 |
<p dir="auto">Try to use ChoiceQuestion. Failure in any case<br>
State:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="> php --version
> PHP 5.5.9-1ubuntu4.11 (cli) (built: Jul 2 2015 15:23:08) "><pre class="notranslate"><code class="notranslate">> php --version
> PHP 5.5.9-1ubuntu4.11 (cli) (built: Jul 2 2015 15:23:08)
</code></pre></div>
<p dir="auto">How to reproduce:<br>
create directory<br>
<code class="notranslate">mkdir /tmp/cons && cd /tmp/cons</code><br>
install console component<br>
<code class="notranslate">composer require "symfony/console:^2.7" </code><br>
create <code class="notranslate">test.php</code></p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<?php
require_once 'vendor/autoload.php';
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Question\ChoiceQuestion;
class ColorCommand extends Command {
protected function configure() {
$this->setName('color');
}
protected function execute(InputInterface $input, OutputInterface $output) {
$helper = $this->getHelper('question');
$question = new ChoiceQuestion(
'Please select your favorite color (defaults to red)',
array('red', 'blue', 'yellow')
);
$question->setMultiselect(true);
$question->setErrorMessage('Color %s is invalid.');
$color = $helper->ask($input, $output, $question);
$output->writeln('You have just selected: ' . $color);
}
}
$application = new Application();
$application->add(new ColorCommand());
$application->run();"><pre class="notranslate"><span class="pl-ent"><?php</span>
<span class="pl-k">require_once</span> <span class="pl-s">'vendor/autoload.php'</span>;
<span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Console</span>\<span class="pl-v">Application</span>;
<span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Console</span>\<span class="pl-v">Command</span>\<span class="pl-v">Command</span>;
<span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Console</span>\<span class="pl-v">Input</span>\<span class="pl-v">InputInterface</span>;
<span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Console</span>\<span class="pl-v">Output</span>\<span class="pl-v">OutputInterface</span>;
<span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Console</span>\<span class="pl-v">Question</span>\<span class="pl-v">ChoiceQuestion</span>;
<span class="pl-k">class</span> <span class="pl-v">ColorCommand</span> <span class="pl-k">extends</span> <span class="pl-v">Command</span> {
<span class="pl-k">protected</span> <span class="pl-k">function</span> <span class="pl-en">configure</span>() {
<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-en">setName</span>(<span class="pl-s">'color'</span>);
}
<span class="pl-k">protected</span> <span class="pl-k">function</span> <span class="pl-en">execute</span>(<span class="pl-smi"><span class="pl-smi">InputInterface</span></span> <span class="pl-s1"><span class="pl-c1">$</span>input</span>, <span class="pl-smi"><span class="pl-smi">OutputInterface</span></span> <span class="pl-s1"><span class="pl-c1">$</span>output</span>) {
<span class="pl-s1"><span class="pl-c1">$</span>helper</span> = <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-en">getHelper</span>(<span class="pl-s">'question'</span>);
<span class="pl-s1"><span class="pl-c1">$</span>question</span> = <span class="pl-k">new</span> <span class="pl-v">ChoiceQuestion</span>(
<span class="pl-s">'Please select your favorite color (defaults to red)'</span>,
<span class="pl-en">array</span>(<span class="pl-s">'red'</span>, <span class="pl-s">'blue'</span>, <span class="pl-s">'yellow'</span>)
);
<span class="pl-s1"><span class="pl-c1">$</span>question</span>-><span class="pl-en">setMultiselect</span>(<span class="pl-c1">true</span>);
<span class="pl-s1"><span class="pl-c1">$</span>question</span>-><span class="pl-en">setErrorMessage</span>(<span class="pl-s">'Color %s is invalid.'</span>);
<span class="pl-s1"><span class="pl-c1">$</span>color</span> = <span class="pl-s1"><span class="pl-c1">$</span>helper</span>-><span class="pl-en">ask</span>(<span class="pl-s1"><span class="pl-c1">$</span>input</span>, <span class="pl-s1"><span class="pl-c1">$</span>output</span>, <span class="pl-s1"><span class="pl-c1">$</span>question</span>);
<span class="pl-s1"><span class="pl-c1">$</span>output</span>-><span class="pl-en">writeln</span>(<span class="pl-s">'You have just selected: '</span> . <span class="pl-s1"><span class="pl-c1">$</span>color</span>);
}
}
<span class="pl-s1"><span class="pl-c1">$</span>application</span> = <span class="pl-k">new</span> <span class="pl-v">Application</span>();
<span class="pl-s1"><span class="pl-c1">$</span>application</span>-><span class="pl-en">add</span>(<span class="pl-k">new</span> <span class="pl-v">ColorCommand</span>());
<span class="pl-s1"><span class="pl-c1">$</span>application</span>-><span class="pl-en">run</span>();</pre></div>
<p dir="auto">Run <code class="notranslate">php test.php color</code><br>
Select any color.</p>
<p dir="auto">My result:<br>
<code class="notranslate">Notice: Undefined index: yellow in /tmp/cons/vendor/symfony/console/Question/ChoiceQuestion.php on line 165</code><br>
More backtrace:<br>
<a href="http://i.imgur.com/8hsLIwe.png" rel="nofollow">http://i.imgur.com/8hsLIwe.png</a><br>
<a href="http://i.imgur.com/UDyRsS4.png" rel="nofollow">http://i.imgur.com/UDyRsS4.png</a></p> | <p dir="auto"><a href="http://symfony.com/doc/current/components/console/helpers/questionhelper.html#let-the-user-choose-from-a-list-of-answers" rel="nofollow">The code sample</a> from the documentation produces the following errror.<br>
<code class="notranslate">PHP Notice: Undefined index: blue in vendor/symfony/console/Question/ChoiceQuestion.php on line 165</code></p>
<p dir="auto">This error does not appear on 2.6 version.</p> | 1 |
<p dir="auto">I have a <code class="notranslate"><side-menu></code> component in 2.0.0-alpha.13. Currently, to set the <code class="notranslate">open</code> class on the side menu to show/hide it, I have to manually manipulate the dom element:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import {Component, Template, NgElement} from 'angular2/angular2';
@Component({
selector: 'side-menu'
})
@Template({
inline: `<div class="scroll-area">
<content></content>
</div>`
})
class SideMenu {
constructor(@NgElement() el: NgElement) {
this.element = el;
}
//drag logic ommitted...
setOpen(isOpen) {
this.isOpen = isOpen;
this.element.domElement.classList[isOpen ? 'add' : 'remove']('open');
}
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-v">Component</span><span class="pl-kos">,</span> <span class="pl-v">Template</span><span class="pl-kos">,</span> <span class="pl-v">NgElement</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'angular2/angular2'</span><span class="pl-kos">;</span>
@<span class="pl-v">Component</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">selector</span>: <span class="pl-s">'side-menu'</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span>
@<span class="pl-v">Template</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">inline</span>: <span class="pl-s">`<div class="scroll-area"></span>
<span class="pl-s"> <content></content></span>
<span class="pl-s"> </div>`</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-k">class</span> <span class="pl-v">SideMenu</span> <span class="pl-kos">{</span>
<span class="pl-c1">constructor</span><span class="pl-kos">(</span>@<span class="pl-v">NgElement</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">el</span>: <span class="pl-c1">NgElement</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">element</span> <span class="pl-c1">=</span> <span class="pl-c1">el</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-c">//drag logic ommitted...</span>
<span class="pl-en">setOpen</span><span class="pl-kos">(</span><span class="pl-s1">isOpen</span><span class="pl-kos">)</span><span class="pl-kos"></span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">isOpen</span> <span class="pl-c1">=</span> <span class="pl-s1">isOpen</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">element</span><span class="pl-kos">.</span><span class="pl-c1">domElement</span><span class="pl-kos">.</span><span class="pl-c1">classList</span><span class="pl-kos">[</span><span class="pl-s1">isOpen</span> ? <span class="pl-s">'add'</span> : <span class="pl-s">'remove'</span><span class="pl-kos">]</span><span class="pl-kos">(</span><span class="pl-s">'open'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">I'd like to be able to setup a <code class="notranslate">[class.open]="isOpen"</code> binding on my component's element instead of having to do this.</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mhevery/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mhevery">@mhevery</a> suggested injecting <code class="notranslate">@PropertySetter('class.open') setter: Function</code> into the constructor, but that errors when used because the actual <code class="notranslate">setter</code> function tries to set <code class="notranslate">domElement.class.open</code>. And <code class="notranslate">domElement.class</code> does not exist.</p> | <p dir="auto">I read the parent child routing in angular2 docs. It is pretty good, but my requirement is to create multilevel routes using angular2. And loading of the component is completely Lazy, means when we require it then only load the components and routes so i used AsyncRoute. So scenario is given below:</p>
<p dir="auto">TopLinks: Home | Admin<br>
Admin ChildLinks: SecurityMgmt | SystemConfig</p>
<p dir="auto">Where Home & SecurityMgmt are the default routes, means when user clicks on Admin link or specify the correct url (i.e. <a href="http://localhost:8080/myapp/#/admin/securitymgmt" rel="nofollow">http://localhost:8080/myapp/#/admin/securitymgmt</a>) then Admin & SecurityMgmt links should be selected and security management page should be displayed under the child links.</p>
<p dir="auto">Along with that when user clicks on Admin link then only the Admin.ts and Admin.html files should be loaded. Since SecurityMgmt link is the default so it should also select SecurityMgmt link and load SecurityMgmt.ts and SecurityMgmt.html files. This same behavior should be applicable if user specify the correct url on web browser i.e.</p>
<ol dir="auto">
<li><a href="http://localhost:8080/myapp/#/admin" rel="nofollow">http://localhost:8080/myapp/#/admin</a> - After using this URL router should convert this to <a href="http://localhost:8080/myapp/#/admin/securitymgmt" rel="nofollow">http://localhost:8080/myapp/#/admin/securitymgmt</a> because of the default behavior and display the same page as specified using <a href="http://localhost:8080/myapp/#/admin/securitymgmt" rel="nofollow">http://localhost:8080/myapp/#/admin/securitymgmt</a> url.</li>
<li><a href="http://localhost:8080/myapp/#/admin/securitymgmt" rel="nofollow">http://localhost:8080/myapp/#/admin/securitymgmt</a></li>
</ol>
<p dir="auto">I just want to know how can we define this kind of routing using angular2 async routing.</p>
<p dir="auto">I did my own way using angular2 Async routing, it is working but my solution is not so clean because i am duplicating the route configuration(As AsyncRoute does not provide all these features). If anybody have good solution to that, please share the same.<br>
Thanks</p> | 0 |
<h4 dir="auto">Description</h4>
<p dir="auto">I try to 30 fit times a Random Forest Regressor (sklearn.ensemble.RandomForestRegressor) on different sets of data.<br>
In order to do it I use a for loop. But every-times, I run my script the python kernel died unexpectedly.<br>
I run this script on different machines, the power of the machine (RAM and CPU) only delays the moment when the kernel die.<br>
I write a minimal case of my script without my personal data and of the other thinks I want to do normally. In my complete and original script in which I read the data in a csv file and write the prediction in an other csv file, the kernel die even quickly.</p>
<h4 dir="auto">Steps/Code to Reproduce</h4>
<p dir="auto">Example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""""
@author: Nicolas
The goal of this script is too highlight a problem that make crash the python
kernel on Windows and Linux machine by using RandomForestRegressor
With scikit learn 0.18.
"""
import numpy as np
from sklearn.ensemble import RandomForestRegressor
def main():
NumberOfRandomForest = 30
# We create a random forest regressor
RFR = RandomForestRegressor(n_estimators=100, criterion='mae', max_depth=None,min_samples_split=2, min_samples_leaf=1)
print("Start the for loop")
for i in range(NumberOfRandomForest):
print(i)
X = np.random.rand(150, 30)
y = np.random.rand(150, 10)
RFR.fit(X,y)
if __name__ == "__main__":
main()"><pre class="notranslate"><code class="notranslate">"""
@author: Nicolas
The goal of this script is too highlight a problem that make crash the python
kernel on Windows and Linux machine by using RandomForestRegressor
With scikit learn 0.18.
"""
import numpy as np
from sklearn.ensemble import RandomForestRegressor
def main():
NumberOfRandomForest = 30
# We create a random forest regressor
RFR = RandomForestRegressor(n_estimators=100, criterion='mae', max_depth=None,min_samples_split=2, min_samples_leaf=1)
print("Start the for loop")
for i in range(NumberOfRandomForest):
print(i)
X = np.random.rand(150, 30)
y = np.random.rand(150, 10)
RFR.fit(X,y)
if __name__ == "__main__":
main()
</code></pre></div>
<h4 dir="auto">Versions</h4>
<p dir="auto">I try my script on two different machines.</p>
<p dir="auto">On the first one the script crash after only 3 iterations whereas on the second the script can reach 25 iterations.<br>
The setup of the first machine :<br>
Windows-10-10.0.14393-SP0<br>
Python 3.5.2 |Anaconda 4.2.0 (32-bit)| (default, Jul 5 2016, 11:45:57) [MSC v.1900 32 bit (Intel)]<br>
NumPy 1.11.1<br>
SciPy 0.18.1<br>
Scikit-Learn 0.18</p>
<p dir="auto">The setup of the second one :<br>
Linux-3.10.0-327.28.2.el7.x86_64-x86_64-with-centos-7.2.1511-Core<br>
Python 3.5.2 |Anaconda 4.2.0 (64-bit)| (default, Jul 2 2016, 17:53:06)<br>
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]<br>
NumPy 1.11.1<br>
SciPy 0.18.1<br>
Scikit-Learn 0.18.1</p> | <h4 dir="auto">Description</h4>
<p dir="auto">DecisionTree with mae criterion does not free used memory.<br>
As a result that kind of trees is unusable in cycle, forests and cross-validation.<br>
(originally i encoutered this problem while trying use grid search with mae forest)</p>
<h4 dir="auto">Steps/Code to Reproduce</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import sklearn
params = dict(max_depth=range(1, 10))
params = sklearn.model_selection.ParameterGrid(params)
reg = sklearn.tree.DecisionTreeRegressor(criterion='mae')
# repeated several times in jupyter cell
for p in params:
print p
for i in range(100):
reg.set_params(**p)
reg.fit(xxx, yyy)"><pre class="notranslate"><code class="notranslate">import sklearn
params = dict(max_depth=range(1, 10))
params = sklearn.model_selection.ParameterGrid(params)
reg = sklearn.tree.DecisionTreeRegressor(criterion='mae')
# repeated several times in jupyter cell
for p in params:
print p
for i in range(100):
reg.set_params(**p)
reg.fit(xxx, yyy)
</code></pre></div>
<h4 dir="auto">Expected Results</h4>
<p dir="auto">No additional memory usage after first completion of cycle.<br>
Cell with 'for' cycle is runnable unlimited times.</p>
<p dir="auto">Replacing 'mae' with 'mse' does give expected result.</p>
<h4 dir="auto">Actual Results</h4>
<p dir="auto">Additional memory is used after each cell execution.<br>
Deleteing tree with 'del' and enforcing 'gc.collect()' does not help.<br>
When there is no memory left OS (windows) shuts down python process.</p>
<p dir="auto">My guess is that there is memory leak in cython.</p>
<h4 dir="auto">Versions</h4>
<p dir="auto">Windows-7-6.1.7601-SP1<br>
('Python', '2.7.12 | packaged by conda-forge | (default, Aug 12 2016, 18:53:38) [MSC v.1500 64 bit (AMD64)]')<br>
('NumPy', '1.11.2')<br>
('SciPy', '0.18.0')<br>
('Scikit-Learn', '0.18')</p> | 1 |
<p dir="auto">If I use the new <code class="notranslate">cause</code> property and throw an Error in a <code class="notranslate">.ts</code> file it doesn't show the expected output when using <code class="notranslate">deno run</code></p>
<p dir="auto">code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="throw new Error("main error", { cause: new TypeError("caused by this") });"><pre class="notranslate"><code class="notranslate">throw new Error("main error", { cause: new TypeError("caused by this") });
</code></pre></div>
<p dir="auto">expected:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught Error: main error
at <anonymous>:2:7
Caused by TypeError: caused by this
at <anonymous>:3:12"><pre class="notranslate"><code class="notranslate">Uncaught Error: main error
at <anonymous>:2:7
Caused by TypeError: caused by this
at <anonymous>:3:12
</code></pre></div>
<p dir="auto">actual:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: Uncaught Error: main error
throw new Error("main error", { cause: new TypeError("caused by this") });
^
at file:///path/to/my/file.ts:1:7"><pre class="notranslate"><code class="notranslate">error: Uncaught Error: main error
throw new Error("main error", { cause: new TypeError("caused by this") });
^
at file:///path/to/my/file.ts:1:7
</code></pre></div>
<p dir="auto">It does work if I <code class="notranslate">console.log</code> the error or if I <code class="notranslate">throw</code> one using the REPL though.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="deno --version
deno 1.16.0 (release, x86_64-unknown-linux-gnu)
v8 9.7.106.2
typescript 4.4.2"><pre class="notranslate"><code class="notranslate">deno --version
deno 1.16.0 (release, x86_64-unknown-linux-gnu)
v8 9.7.106.2
typescript 4.4.2
</code></pre></div> | <p dir="auto">Since Deno 1.13.0, Error Cause Proposal is supported, so the <code class="notranslate">Error</code> object can hold inner errors. However, their contents are usually not displayed and I need to explicitly access the <code class="notranslate">cause</code> property.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function bar() {
throw new Error("bar");
}
function foo() {
try {
bar();
} catch (e) {
throw new Error("foo", { cause: e });
}
}
foo();"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">bar</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-v">Error</span><span class="pl-kos">(</span><span class="pl-s">"bar"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">function</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">try</span> <span class="pl-kos">{</span>
<span class="pl-en">bar</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span> <span class="pl-k">catch</span> <span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-v">Error</span><span class="pl-kos">(</span><span class="pl-s">"foo"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">cause</span>: <span class="pl-s1">e</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2622837/135757916-44ea1fd0-8f35-43fd-aa43-678dc466fc24.png"><img width="448" alt="terminal" src="https://user-images.githubusercontent.com/2622837/135757916-44ea1fd0-8f35-43fd-aa43-678dc466fc24.png" style="max-width: 100%;"></a></p>
<p dir="auto">I think it should also show inner errors, just like Firefox does.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2622837/135758170-4d4f379f-3e56-4ce6-b5a6-1c59a8cd9094.png"><img width="316" alt="Firefox console" src="https://user-images.githubusercontent.com/2622837/135758170-4d4f379f-3e56-4ce6-b5a6-1c59a8cd9094.png" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">Atom recently updated with a different version of CEF causing this issue to occur (mouse dragging is broken).</p>
<p dir="auto">Issue was first spotted here about the CEF bug:<br>
<a href="https://www.virtualbox.org/ticket/13968" rel="nofollow">https://www.virtualbox.org/ticket/13968</a></p>
<p dir="auto">Workaround for Chromium here: <a href="https://code.google.com/p/chromium/issues/detail?id=456222#c82" rel="nofollow">https://code.google.com/p/chromium/issues/detail?id=456222#c82</a><br>
Chromium made a fix at this version: <a href="https://code.google.com/p/chromium/issues/detail?id=456222#c133" rel="nofollow">https://code.google.com/p/chromium/issues/detail?id=456222#c133</a></p> | <p dir="auto">There is a <a href="https://code.google.com/p/chromium/issues/detail?id=456222" rel="nofollow">known issue</a> with Chrome41 engine running on Linux in VirtualBox. It actually became a show-stopper for Chrome42. <strong>TL;DR</strong>: in VB Chrome41 engine <em>always</em> runs in touch-screen mode, even on desktops.</p>
<p dir="auto">Hotfix in Chrome41 is to pass <code class="notranslate">--touch-devices=123</code> to the chrome command line.</p>
<p dir="auto">Is it possible to pass parameters to Atom’s command line so that chrome engine will understand them?</p> | 1 |
<p dir="auto">泛化执行cs架构发布的dubbo接口异常,调用其他dubbo接口没有问题</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.8.4</li>
<li>Operating System version: xxx</li>
<li>Java version: xxx</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>xxx</li>
<li>xxx</li>
<li>xxx</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="### 13:46:22.408 [main] DEBUG org.springframework.remoting.rmi.RmiProxyFactoryBean - Located RMI stub with URL [rmi://1xxx.xx.xx.xx:9901/com.uc56.core.server.opt.service.IBillService]
13:46:22.408 [main] DEBUG org.springframework.remoting.rmi.RmiProxyFactoryBean - RMI stub [rmi://1xxx.xx.xx.xx:9901/com.uc56.core.server.opt.service.IBillService] is an RMI invoker
13:46:22.450 [main] DEBUG org.springframework.aop.framework.JdkDynamicAopProxy - Creating JDK dynamic proxy: target source is EmptyTargetSource: no target class, static
13:46:29.501 [main] ERROR cn.uce.atp.executor.utils.DubboServiceFactoryUtil - dubbo接口调用异常:
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method $invoke in the service com.alibaba.dubbo.rpc.service.GenericService. Tried 3 times of the providers [1xxx.xx.xx.xx:9901] (1/1) from the registry 10.xx.xx.117:2181 on the consumer 10.xx.xx.66 using the dubbo version 2.8.4. Last error is: Failed to invoke remote service: interface com.alibaba.dubbo.rpc.service.GenericService, method: $invoke, cause: Invocation of method [public abstract java.lang.Object com.alibaba.dubbo.rpc.service.GenericService.$invoke(java.lang.String,java.lang.String[],java.lang.Object[]) throws com.alibaba.dubbo.rpc.service.GenericException] failed in RMI service [rmi://1xxx.xx.xx.xx:9901/com.uc56.core.server.opt.service.IBillService]; nested exception is java.lang.NoSuchMethodException: com.sun.proxy.$Proxy425.$invoke(java.lang.String, [Ljava.lang.String;, [Ljava.lang.Object;)
at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:101)
at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:227)
at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:72)
at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
at com.alibaba.dubbo.common.bytecode.proxy0.$invoke(proxy0.java)
at cn.uce.atp.executor.utils.DubboServiceFactoryUtil.invoke(DubboServiceFactoryUtil.java:97)
at cn.uce.atp.executor.utils.InterfaceParamsUtils.main(InterfaceParamsUtils.java:225)"><pre class="notranslate"><code class="notranslate">### 13:46:22.408 [main] DEBUG org.springframework.remoting.rmi.RmiProxyFactoryBean - Located RMI stub with URL [rmi://1xxx.xx.xx.xx:9901/com.uc56.core.server.opt.service.IBillService]
13:46:22.408 [main] DEBUG org.springframework.remoting.rmi.RmiProxyFactoryBean - RMI stub [rmi://1xxx.xx.xx.xx:9901/com.uc56.core.server.opt.service.IBillService] is an RMI invoker
13:46:22.450 [main] DEBUG org.springframework.aop.framework.JdkDynamicAopProxy - Creating JDK dynamic proxy: target source is EmptyTargetSource: no target class, static
13:46:29.501 [main] ERROR cn.uce.atp.executor.utils.DubboServiceFactoryUtil - dubbo接口调用异常:
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method $invoke in the service com.alibaba.dubbo.rpc.service.GenericService. Tried 3 times of the providers [1xxx.xx.xx.xx:9901] (1/1) from the registry 10.xx.xx.117:2181 on the consumer 10.xx.xx.66 using the dubbo version 2.8.4. Last error is: Failed to invoke remote service: interface com.alibaba.dubbo.rpc.service.GenericService, method: $invoke, cause: Invocation of method [public abstract java.lang.Object com.alibaba.dubbo.rpc.service.GenericService.$invoke(java.lang.String,java.lang.String[],java.lang.Object[]) throws com.alibaba.dubbo.rpc.service.GenericException] failed in RMI service [rmi://1xxx.xx.xx.xx:9901/com.uc56.core.server.opt.service.IBillService]; nested exception is java.lang.NoSuchMethodException: com.sun.proxy.$Proxy425.$invoke(java.lang.String, [Ljava.lang.String;, [Ljava.lang.Object;)
at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:101)
at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:227)
at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:72)
at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
at com.alibaba.dubbo.common.bytecode.proxy0.$invoke(proxy0.java)
at cn.uce.atp.executor.utils.DubboServiceFactoryUtil.invoke(DubboServiceFactoryUtil.java:97)
at cn.uce.atp.executor.utils.InterfaceParamsUtils.main(InterfaceParamsUtils.java:225)
</code></pre></div>
<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> | <p dir="auto">consume端发送URL时,怎么给URL添加自定义参数?</p>
<p dir="auto">查阅官方文档,发现有个“信息交换扩展(exchanger)”貌似可以实现在发送的URL里添加自定义参数。<br>
但,网上没有相关自定义扩展的案例,不知道如何实现?</p>
<p dir="auto">我期望的是:<br>
consume端,在发送URL时,携带sessionId一起发送,http请求。(求解)<br>
provider端,配有Spring Session的请求拦截器,通过URL获取到sessionId,以达到session共享的目的。(这部分已经扩展,可以从Cookie和URL里拦截请求获取sessionId)</p>
<p dir="auto">信息交换扩展<br>
扩展说明<br>
基于传输层之上,实现 Request-Response 信息交换语义。</p>
<p dir="auto">扩展接口<br>
com.alibaba.dubbo.remoting.exchange.Exchanger<br>
com.alibaba.dubbo.remoting.exchange.ExchangeServer<br>
com.alibaba.dubbo.remoting.exchange.ExchangeClient</p>
<p dir="auto">扩展配置<br>
<dubbo:protocol exchanger="xxx" /></p>
<p dir="auto"><dubbo:provider exchanger="xxx" /></p>
<p dir="auto">已知扩展<br>
com.alibaba.dubbo.remoting.exchange.exchanger.HeaderExchanger</p> | 0 |
<p dir="auto">We tried integrating Glide with our project. After adding glide as dependencies in build.gradle, project compilation started failing. It throws an error saying</p>
<blockquote>
<p dir="auto">Cannot find symbol class KeyEventCompat</p>
</blockquote>
<p dir="auto">build.gradle<br>
<code class="notranslate">implementation 'com.github.bumptech.glide:glide:4.4.0'</code><br>
<code class="notranslate">annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'</code></p>
<p dir="auto"><strong>Glide Version 4.4.0</strong></p> | <p dir="auto"><strong>Glide Version</strong>:4.4.0</p>
<p dir="auto"><strong>Integration libraries</strong>:No</p>
<p dir="auto"><strong>Device/Android Version</strong>: Google Pixel</p>
<p dir="auto"><strong>Issue details / Repro steps / Use case background</strong>:<br>
The activity has a textview & imageview & imageview is using glide to load image, when the activity launches, it'll crash.</p>
<p dir="auto"><strong>Glide load line / <code class="notranslate">GlideModule</code> (if any) / list Adapter code (if any)</strong>:GlideModule</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="GlideApp.with(imageView.getContext())
.load(url)
.placeholder(placeholder)
.error(error)
.into(imageView);"><pre class="notranslate"><span class="pl-smi">GlideApp</span>.<span class="pl-en">with</span>(<span class="pl-s1">imageView</span>.<span class="pl-en">getContext</span>())
.<span class="pl-en">load</span>(<span class="pl-s1">url</span>)
.<span class="pl-en">placeholder</span>(<span class="pl-s1">placeholder</span>)
.<span class="pl-en">error</span>(<span class="pl-s1">error</span>)
.<span class="pl-en">into</span>(<span class="pl-s1">imageView</span>);</pre></div>
<p dir="auto"><strong>Stack trace / LogCat</strong>:</p>
<div class="highlight highlight-source-ruby notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="java.lang.NoSuchMethodError: No static method getFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroid/widget/TextView;)Landroid/graphics/Typeface; in class Landroid/support/v4/content/res/ResourcesCompat; or its super classes (declaration of 'android.support.v4.content.res.ResourcesCompat'
at android.support.v7.widget.TintTypedArray.getFont(TintTypedArray.java:119)"><pre class="notranslate"><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">NoSuchMethodError</span>: <span class="pl-en">No</span> <span class="pl-en">static</span> <span class="pl-en">method</span> <span class="pl-en">getFont</span><span class="pl-kos">(</span><span class="pl-v">Landroid</span>/<span class="pl-en">content</span>/<span class="pl-v">Context</span><span class="pl-kos"></span><span class="pl-kos">;</span><span class="pl-v">ILandroid</span>/<span class="pl-en">util</span>/<span class="pl-v">TypedValue</span><span class="pl-kos">;</span><span class="pl-v">ILandroid</span>/<span class="pl-en">widget</span>/<span class="pl-v">TextView</span><span class="pl-kos">;</span><span class="pl-kos">)</span><span class="pl-v">Landroid</span>/<span class="pl-en">graphics</span>/<span class="pl-v">Typeface</span><span class="pl-kos">;</span> <span class="pl-en">in</span> <span class="pl-k">class</span> <span class="pl-v">Landroid</span>/<span class="pl-en">support</span>/<span class="pl-en">v4</span>/<span class="pl-en">content</span>/<span class="pl-en">res</span>/<span class="pl-v">ResourcesCompat</span><span class="pl-kos">;</span> <span class="pl-en">or</span> <span class="pl-en">its</span> <span class="pl-smi">super</span> <span class="pl-en">classes</span> <span class="pl-kos">(</span><span class="pl-en">declaration</span> <span class="pl-en">of</span> <span class="pl-s">'android.support.v4.content.res.ResourcesCompat'</span>
<span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">widget</span><span class="pl-kos">.</span><span class="pl-en">TintTypedArray</span><span class="pl-kos">.</span><span class="pl-en">getFont</span><span class="pl-kos">(</span><span class="pl-v">TintTypedArray</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:119</span><span class="pl-kos">)</span></pre></div> | 1 |
<h3 dir="auto">Is there an existing issue for this?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the existing issues</li>
</ul>
<h3 dir="auto">This issue exists in the latest npm version</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I am using the latest npm</li>
</ul>
<h3 dir="auto">Current Behavior</h3>
<p dir="auto">see that ticket : <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1264886817" data-permission-text="Title is private" data-url="https://github.com/nodejs/node/issues/43348" data-hovercard-type="issue" data-hovercard-url="/nodejs/node/issues/43348/hovercard" href="https://github.com/nodejs/node/issues/43348">nodejs/node#43348</a></p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">see that ticket : <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1264886817" data-permission-text="Title is private" data-url="https://github.com/nodejs/node/issues/43348" data-hovercard-type="issue" data-hovercard-url="/nodejs/node/issues/43348/hovercard" href="https://github.com/nodejs/node/issues/43348">nodejs/node#43348</a></p>
<h3 dir="auto">Steps To Reproduce</h3>
<p dir="auto">see that ticket : <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1264886817" data-permission-text="Title is private" data-url="https://github.com/nodejs/node/issues/43348" data-hovercard-type="issue" data-hovercard-url="/nodejs/node/issues/43348/hovercard" href="https://github.com/nodejs/node/issues/43348">nodejs/node#43348</a></p>
<h3 dir="auto">Environment</h3>
<p dir="auto">see that ticket : <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1264886817" data-permission-text="Title is private" data-url="https://github.com/nodejs/node/issues/43348" data-hovercard-type="issue" data-hovercard-url="/nodejs/node/issues/43348/hovercard" href="https://github.com/nodejs/node/issues/43348">nodejs/node#43348</a></p> | <p dir="auto"><strong>Expected Behavior:</strong></p>
<p dir="auto">NPM produces a valid tarball with no duplicated slashes on npm pack or npm publish.</p>
<p dir="auto"><strong>Actual Results</strong></p>
<p dir="auto">I get a 415 - "no package.json found in tarball"</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/640101/142471757-9c540123-adf7-4475-8447-9a56cd55a395.png"><img src="https://user-images.githubusercontent.com/640101/142471757-9c540123-adf7-4475-8447-9a56cd55a395.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">If I open the tarball in xarchiver I get a massive failure (application will crash ~15% of the time) but the CLI shows the issue. There are double slashes after the "package" root directory name.</p>
<p dir="auto"><strong>WORKAROUND</strong></p>
<p dir="auto">Opening the archive in file-roller and moving the files out of the dir with no name, into the "package" dir allows me to publish by specifying the archive explicitly.</p> | 0 |
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p>
<p dir="auto">(original reporter: d0ugal) When using</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Index('content_index', 'content', postgresql_using="gin")"><pre class="notranslate"><code class="notranslate">Index('content_index', 'content', postgresql_using="gin")
</code></pre></div>
<p dir="auto">I get</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sqlalchemy.exc.ProgrammingError: (ProgrammingError) data type text has no default operator class for access method "gin"
HINT: You must specify an operator class for the index or define a default operator class for the data type.
'CREATE INDEX content_index ON post USING gin (content)' {}"><pre class="notranslate"><code class="notranslate">sqlalchemy.exc.ProgrammingError: (ProgrammingError) data type text has no default operator class for access method "gin"
HINT: You must specify an operator class for the index or define a default operator class for the data type.
'CREATE INDEX content_index ON post USING gin (content)' {}
</code></pre></div>
<p dir="auto">because postgres expects something like</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="CREATE INDEX content_index ON post USING gin(to_tsvector('english', content));"><pre class="notranslate"><code class="notranslate">CREATE INDEX content_index ON post USING gin(to_tsvector('english', content));
</code></pre></div>
<p dir="auto"><a href="http://www.postgresql.org/docs/9.1/static/textsearch-tables.html#TEXTSEARCH-TABLES-INDEX" rel="nofollow">http://www.postgresql.org/docs/9.1/static/textsearch-tables.html#TEXTSEARCH-TABLES-INDEX</a></p> | <p dir="auto"><strong>Migrated issue, originally created by jek (<a href="https://github.com/jek">@jek</a>)</strong></p>
<p dir="auto">indexes (postgres and mysql, at least) can be defined as expressions as well as simple column lists.</p>
<p dir="auto">the mysql case isn't really free-form expressions ala postgres, it's 2 options (substring length, sort order) and that can be composed as an expression. so, alternately, indexes could be definable with expressions and/or per-column meta data.</p>
<p dir="auto">a survey of other dialects would be handy, i'm a pretty rusty on their ddl.</p>
<hr>
<p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/695/695.patch">695.patch</a></p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: xxx</li>
<li>Operating System version: xxx</li>
<li>Java version: xxx</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>xxx</li>
<li>xxx</li>
<li>xxx</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps?</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | <p dir="auto"><em>Bow-</em> [ ] I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</p>
<ul class="contains-task-list">
<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: <code class="notranslate">2.7.9-SNAPSHOT</code></li>
<li>Operating System version: travis ci</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">Add a pr ,and is is built successful</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">We can see the coverage report commented by codecov</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">Now codecov doesn't comment</p> | 0 |
<p dir="auto">Please answer these questions before submitting your issue. Thanks!<br>
第一次使用 , 求教 :</p>
<h3 dir="auto">Which version of Sharding-Jdbc do you using?</h3>
<p dir="auto">1.5.4 1.5.4.1 ... 等 都有</p>
<h3 dir="auto">Expected behavior</h3>
<h3 dir="auto">Actual behavior</h3>
<h3 dir="auto">Steps to reproduce the behavior</h3>
<h3 dir="auto">Please provide the reproduce example codes (such as github link) if possible.</h3>
<p dir="auto">使用官方提供的jdbc用例,<br>
private static void executeUpdate(final DataSource dataSource, final String sql) throws SQLException {<br>
Connection conn = null;<br>
PreparedStatement preparedStatement = null;<br>
try {<br>
conn = dataSource.getConnection();<br>
preparedStatement = conn.prepareStatement(sql);<br>
System.out.println(sql);<br>
preparedStatement.executeUpdate();<br>
} catch (Exception e) {<br>
e.printStackTrace();<br>
} finally {<br>
// DDL 操作不会释放 可能是分表时DDL操作 改写的问题。<br>
System.out.println("----------------------");<br>
preparedStatement.close();<br>
conn.close();<br>
}<br>
}</p>
<p dir="auto">场景: 仅分表 。<br>
DML类型的SQL 可以正常释放 归还到连接池。<br>
DDL类型的SQL 没有正常释放。</p> | <h2 dir="auto">Bug Report</h2>
<p dir="auto">in version 5.1.2,The SQL clause 'LIKE' is unsupported in encrypt rule,I dont konw why</p>
<h3 dir="auto">Which version of ShardingSphere did you use?</h3>
<p dir="auto">5.1.2</p>
<h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3>
<p dir="auto">ShardingSphere-JDBC</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">support 'like'</p>
<h3 dir="auto">Actual behavior</h3>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Caused by: org.apache.shardingsphere.infra.exception.ShardingSphereException: The SQL clause 'LIKE' is unsupported in encrypt rule.
at org.apache.shardingsphere.encrypt.rewrite.condition.EncryptConditionEngine.createBinaryEncryptCondition(EncryptConditionEngine.java:143)
at org.apache.shardingsphere.encrypt.rewrite.condition.EncryptConditionEngine.createEncryptCondition(EncryptConditionEngine.java:126)
at org.apache.shardingsphere.encrypt.rewrite.condition.EncryptConditionEngine.addEncryptConditions(EncryptConditionEngine.java:119)
at org.apache.shardingsphere.encrypt.rewrite.condition.EncryptConditionEngine.addEncryptConditions(EncryptConditionEngine.java:107)
at org.apache.shardingsphere.encrypt.rewrite.condition.EncryptConditionEngine.createEncryptConditions(EncryptConditionEngine.java:97)
at org.apache.shardingsphere.encrypt.rewrite.context.EncryptSQLRewriteContextDecorator.createEncryptConditions(EncryptSQLRewriteContextDecorator.java:73)
at org.apache.shardingsphere.encrypt.rewrite.context.EncryptSQLRewriteContextDecorator.decorate(EncryptSQLRewriteContextDecorator.java:53)
at org.apache.shardingsphere.encrypt.rewrite.context.EncryptSQLRewriteContextDecorator.decorate(EncryptSQLRewriteContextDecorator.java:44)
at org.apache.shardingsphere.infra.rewrite.SQLRewriteEntry.decorate(SQLRewriteEntry.java:86)
at org.apache.shardingsphere.infra.rewrite.SQLRewriteEntry.createSQLRewriteContext(SQLRewriteEntry.java:78)
at org.apache.shardingsphere.infra.rewrite.SQLRewriteEntry.rewrite(SQLRewriteEntry.java:67)
at org.apache.shardingsphere.infra.context.kernel.KernelProcessor.rewrite(KernelProcessor.java:59)
at org.apache.shardingsphere.infra.context.kernel.KernelProcessor.generateExecutionContext(KernelProcessor.java:47)
at org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement.createExecutionContext(ShardingSpherePreparedStatement.java:471)
at org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement.execute(ShardingSpherePreparedStatement.java:364)
at sun.reflect.GeneratedMethodAccessor339.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59)
at com.sun.proxy.$Proxy680.execute(Unknown Source)
at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
at sun.reflect.GeneratedMethodAccessor347.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
at com.sun.proxy.$Proxy678.query(Unknown Source)
at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.doQuery(MybatisSimpleExecutor.java:69)
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
at com.baomidou.mybatisplus.core.executor.MybatisCachingExecutor.query(MybatisCachingExecutor.java:165)
at com.baomidou.mybatisplus.core.executor.MybatisCachingExecutor.query(MybatisCachingExecutor.java:92)
at sun.reflect.GeneratedMethodAccessor329.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
at com.sun.proxy.$Proxy677.query(Unknown Source)
at sun.reflect.GeneratedMethodAccessor329.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
at com.sun.proxy.$Proxy677.query(Unknown Source)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147)"><pre class="notranslate"><span class="pl-smi">Caused</span> <span class="pl-s1">by</span>: <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">infra</span>.<span class="pl-s1">exception</span>.<span class="pl-s1">ShardingSphereException</span>: <span class="pl-s1">The</span> <span class="pl-c1">SQL</span> <span class="pl-s1">clause</span> <span class="pl-s">'LIKE'</span> <span class="pl-s1">is</span> <span class="pl-s1">unsupported</span> <span class="pl-s1">in</span> <span class="pl-s1">encrypt</span> <span class="pl-s1">rule</span>.
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">encrypt</span>.<span class="pl-s1">rewrite</span>.<span class="pl-s1">condition</span>.<span class="pl-s1">EncryptConditionEngine</span>.<span class="pl-en">createBinaryEncryptCondition</span>(<span class="pl-smi">EncryptConditionEngine</span>.<span class="pl-smi">java</span>:<span class="pl-c1">143</span>)
<span class="pl-smi">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">encrypt</span>.<span class="pl-s1">rewrite</span>.<span class="pl-s1">condition</span>.<span class="pl-s1">EncryptConditionEngine</span>.<span class="pl-s1">createEncryptCondition</span>(<span class="pl-smi">EncryptConditionEngine</span>.<span class="pl-smi">java</span>:<span class="pl-c1">126</span>)
<span class="pl-smi">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">encrypt</span>.<span class="pl-s1">rewrite</span>.<span class="pl-s1">condition</span>.<span class="pl-s1">EncryptConditionEngine</span>.<span class="pl-en">addEncryptConditions</span>(<span class="pl-smi">EncryptConditionEngine</span>.<span class="pl-smi">java</span>:<span class="pl-c1">119</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">encrypt</span>.<span class="pl-s1">rewrite</span>.<span class="pl-s1">condition</span>.<span class="pl-s1">EncryptConditionEngine</span>.<span class="pl-en">addEncryptConditions</span>(<span class="pl-smi">EncryptConditionEngine</span>.<span class="pl-smi">java</span>:<span class="pl-c1">107</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">encrypt</span>.<span class="pl-s1">rewrite</span>.<span class="pl-s1">condition</span>.<span class="pl-s1">EncryptConditionEngine</span>.<span class="pl-en">createEncryptConditions</span>(<span class="pl-smi">EncryptConditionEngine</span>.<span class="pl-smi">java</span>:<span class="pl-c1">97</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">encrypt</span>.<span class="pl-s1">rewrite</span>.<span class="pl-s1">context</span>.<span class="pl-s1">EncryptSQLRewriteContextDecorator</span>.<span class="pl-en">createEncryptConditions</span>(<span class="pl-smi">EncryptSQLRewriteContextDecorator</span>.<span class="pl-smi">java</span>:<span class="pl-c1">73</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">encrypt</span>.<span class="pl-s1">rewrite</span>.<span class="pl-s1">context</span>.<span class="pl-s1">EncryptSQLRewriteContextDecorator</span>.<span class="pl-en">decorate</span>(<span class="pl-smi">EncryptSQLRewriteContextDecorator</span>.<span class="pl-smi">java</span>:<span class="pl-c1">53</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">encrypt</span>.<span class="pl-s1">rewrite</span>.<span class="pl-s1">context</span>.<span class="pl-s1">EncryptSQLRewriteContextDecorator</span>.<span class="pl-en">decorate</span>(<span class="pl-smi">EncryptSQLRewriteContextDecorator</span>.<span class="pl-smi">java</span>:<span class="pl-c1">44</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">infra</span>.<span class="pl-s1">rewrite</span>.<span class="pl-s1">SQLRewriteEntry</span>.<span class="pl-en">decorate</span>(<span class="pl-smi">SQLRewriteEntry</span>.<span class="pl-smi">java</span>:<span class="pl-c1">86</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">infra</span>.<span class="pl-s1">rewrite</span>.<span class="pl-s1">SQLRewriteEntry</span>.<span class="pl-en">createSQLRewriteContext</span>(<span class="pl-smi">SQLRewriteEntry</span>.<span class="pl-smi">java</span>:<span class="pl-c1">78</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">infra</span>.<span class="pl-s1">rewrite</span>.<span class="pl-s1">SQLRewriteEntry</span>.<span class="pl-en">rewrite</span>(<span class="pl-smi">SQLRewriteEntry</span>.<span class="pl-smi">java</span>:<span class="pl-c1">67</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">infra</span>.<span class="pl-s1">context</span>.<span class="pl-s1">kernel</span>.<span class="pl-s1">KernelProcessor</span>.<span class="pl-en">rewrite</span>(<span class="pl-smi">KernelProcessor</span>.<span class="pl-smi">java</span>:<span class="pl-c1">59</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">infra</span>.<span class="pl-s1">context</span>.<span class="pl-s1">kernel</span>.<span class="pl-s1">KernelProcessor</span>.<span class="pl-en">generateExecutionContext</span>(<span class="pl-smi">KernelProcessor</span>.<span class="pl-smi">java</span>:<span class="pl-c1">47</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">driver</span>.<span class="pl-s1">jdbc</span>.<span class="pl-s1">core</span>.<span class="pl-s1">statement</span>.<span class="pl-s1">ShardingSpherePreparedStatement</span>.<span class="pl-en">createExecutionContext</span>(<span class="pl-smi">ShardingSpherePreparedStatement</span>.<span class="pl-smi">java</span>:<span class="pl-c1">471</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">shardingsphere</span>.<span class="pl-s1">driver</span>.<span class="pl-s1">jdbc</span>.<span class="pl-s1">core</span>.<span class="pl-s1">statement</span>.<span class="pl-s1">ShardingSpherePreparedStatement</span>.<span class="pl-en">execute</span>(<span class="pl-smi">ShardingSpherePreparedStatement</span>.<span class="pl-smi">java</span>:<span class="pl-c1">364</span>)
<span class="pl-s1">at</span> <span class="pl-s1">sun</span>.<span class="pl-s1">reflect</span>.<span class="pl-s1">GeneratedMethodAccessor339</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">Unknown</span> <span class="pl-s1">Source</span>)
<span class="pl-s1">at</span> <span class="pl-s1">sun</span>.<span class="pl-s1">reflect</span>.<span class="pl-s1">DelegatingMethodAccessorImpl</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">DelegatingMethodAccessorImpl</span>.<span class="pl-smi">java</span>:<span class="pl-c1">43</span>)
<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">lang</span>.<span class="pl-s1">reflect</span>.<span class="pl-s1">Method</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">Method</span>.<span class="pl-smi">java</span>:<span class="pl-c1">498</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">ibatis</span>.<span class="pl-s1">logging</span>.<span class="pl-s1">jdbc</span>.<span class="pl-s1">PreparedStatementLogger</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">PreparedStatementLogger</span>.<span class="pl-smi">java</span>:<span class="pl-c1">59</span>)
<span class="pl-s1">at</span> <span class="pl-s1">com</span>.<span class="pl-s1">sun</span>.<span class="pl-s1">proxy</span>.<span class="pl-s1">$Proxy680</span>.<span class="pl-en">execute</span>(<span class="pl-smi">Unknown</span> <span class="pl-s1">Source</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">ibatis</span>.<span class="pl-s1">executor</span>.<span class="pl-s1">statement</span>.<span class="pl-s1">PreparedStatementHandler</span>.<span class="pl-en">query</span>(<span class="pl-smi">PreparedStatementHandler</span>.<span class="pl-smi">java</span>:<span class="pl-c1">64</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">ibatis</span>.<span class="pl-s1">executor</span>.<span class="pl-s1">statement</span>.<span class="pl-s1">RoutingStatementHandler</span>.<span class="pl-en">query</span>(<span class="pl-smi">RoutingStatementHandler</span>.<span class="pl-smi">java</span>:<span class="pl-c1">79</span>)
<span class="pl-s1">at</span> <span class="pl-s1">sun</span>.<span class="pl-s1">reflect</span>.<span class="pl-s1">GeneratedMethodAccessor347</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">Unknown</span> <span class="pl-s1">Source</span>)
<span class="pl-s1">at</span> <span class="pl-s1">sun</span>.<span class="pl-s1">reflect</span>.<span class="pl-s1">DelegatingMethodAccessorImpl</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">DelegatingMethodAccessorImpl</span>.<span class="pl-smi">java</span>:<span class="pl-c1">43</span>)
<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">lang</span>.<span class="pl-s1">reflect</span>.<span class="pl-s1">Method</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">Method</span>.<span class="pl-smi">java</span>:<span class="pl-c1">498</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">ibatis</span>.<span class="pl-s1">plugin</span>.<span class="pl-s1">Plugin</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">Plugin</span>.<span class="pl-smi">java</span>:<span class="pl-c1">63</span>)
<span class="pl-s1">at</span> <span class="pl-s1">com</span>.<span class="pl-s1">sun</span>.<span class="pl-s1">proxy</span>.<span class="pl-s1">$Proxy678</span>.<span class="pl-en">query</span>(<span class="pl-smi">Unknown</span> <span class="pl-s1">Source</span>)
<span class="pl-s1">at</span> <span class="pl-s1">com</span>.<span class="pl-s1">baomidou</span>.<span class="pl-s1">mybatisplus</span>.<span class="pl-s1">core</span>.<span class="pl-s1">executor</span>.<span class="pl-s1">MybatisSimpleExecutor</span>.<span class="pl-en">doQuery</span>(<span class="pl-smi">MybatisSimpleExecutor</span>.<span class="pl-smi">java</span>:<span class="pl-c1">69</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">ibatis</span>.<span class="pl-s1">executor</span>.<span class="pl-s1">BaseExecutor</span>.<span class="pl-en">queryFromDatabase</span>(<span class="pl-smi">BaseExecutor</span>.<span class="pl-smi">java</span>:<span class="pl-c1">325</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">ibatis</span>.<span class="pl-s1">executor</span>.<span class="pl-s1">BaseExecutor</span>.<span class="pl-en">query</span>(<span class="pl-smi">BaseExecutor</span>.<span class="pl-smi">java</span>:<span class="pl-c1">156</span>)
<span class="pl-s1">at</span> <span class="pl-s1">com</span>.<span class="pl-s1">baomidou</span>.<span class="pl-s1">mybatisplus</span>.<span class="pl-s1">core</span>.<span class="pl-s1">executor</span>.<span class="pl-s1">MybatisCachingExecutor</span>.<span class="pl-en">query</span>(<span class="pl-smi">MybatisCachingExecutor</span>.<span class="pl-smi">java</span>:<span class="pl-c1">165</span>)
<span class="pl-s1">at</span> <span class="pl-s1">com</span>.<span class="pl-s1">baomidou</span>.<span class="pl-s1">mybatisplus</span>.<span class="pl-s1">core</span>.<span class="pl-s1">executor</span>.<span class="pl-s1">MybatisCachingExecutor</span>.<span class="pl-en">query</span>(<span class="pl-smi">MybatisCachingExecutor</span>.<span class="pl-smi">java</span>:<span class="pl-c1">92</span>)
<span class="pl-s1">at</span> <span class="pl-s1">sun</span>.<span class="pl-s1">reflect</span>.<span class="pl-s1">GeneratedMethodAccessor329</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">Unknown</span> <span class="pl-s1">Source</span>)
<span class="pl-s1">at</span> <span class="pl-s1">sun</span>.<span class="pl-s1">reflect</span>.<span class="pl-s1">DelegatingMethodAccessorImpl</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">DelegatingMethodAccessorImpl</span>.<span class="pl-smi">java</span>:<span class="pl-c1">43</span>)
<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">lang</span>.<span class="pl-s1">reflect</span>.<span class="pl-s1">Method</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">Method</span>.<span class="pl-smi">java</span>:<span class="pl-c1">498</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">ibatis</span>.<span class="pl-s1">plugin</span>.<span class="pl-s1">Plugin</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">Plugin</span>.<span class="pl-smi">java</span>:<span class="pl-c1">63</span>)
<span class="pl-s1">at</span> <span class="pl-s1">com</span>.<span class="pl-s1">sun</span>.<span class="pl-s1">proxy</span>.<span class="pl-s1">$Proxy677</span>.<span class="pl-en">query</span>(<span class="pl-smi">Unknown</span> <span class="pl-s1">Source</span>)
<span class="pl-s1">at</span> <span class="pl-s1">sun</span>.<span class="pl-s1">reflect</span>.<span class="pl-s1">GeneratedMethodAccessor329</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">Unknown</span> <span class="pl-s1">Source</span>)
<span class="pl-s1">at</span> <span class="pl-s1">sun</span>.<span class="pl-s1">reflect</span>.<span class="pl-s1">DelegatingMethodAccessorImpl</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">DelegatingMethodAccessorImpl</span>.<span class="pl-smi">java</span>:<span class="pl-c1">43</span>)
<span class="pl-s1">at</span> <span class="pl-s1">java</span>.<span class="pl-s1">lang</span>.<span class="pl-s1">reflect</span>.<span class="pl-s1">Method</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">Method</span>.<span class="pl-smi">java</span>:<span class="pl-c1">498</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">ibatis</span>.<span class="pl-s1">plugin</span>.<span class="pl-s1">Plugin</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">Plugin</span>.<span class="pl-smi">java</span>:<span class="pl-c1">63</span>)
<span class="pl-s1">at</span> <span class="pl-s1">com</span>.<span class="pl-s1">sun</span>.<span class="pl-s1">proxy</span>.<span class="pl-s1">$Proxy677</span>.<span class="pl-en">query</span>(<span class="pl-smi">Unknown</span> <span class="pl-s1">Source</span>)
<span class="pl-s1">at</span> <span class="pl-s1">org</span>.<span class="pl-s1">apache</span>.<span class="pl-s1">ibatis</span>.<span class="pl-s1">session</span>.<span class="pl-s1">defaults</span>.<span class="pl-s1">DefaultSqlSession</span>.<span class="pl-en">selectList</span>(<span class="pl-smi">DefaultSqlSession</span>.<span class="pl-smi">java</span>:<span class="pl-c1">147</span>)</pre></div>
<h3 dir="auto">Reason analyze (If you can)</h3>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="static {
LOGICAL_OPERATOR.add("AND");
LOGICAL_OPERATOR.add("&&");
LOGICAL_OPERATOR.add("OR");
LOGICAL_OPERATOR.add("||");
SUPPORTED_COMPARE_OPERATOR.add("=");
SUPPORTED_COMPARE_OPERATOR.add("<>");
SUPPORTED_COMPARE_OPERATOR.add("!=");
SUPPORTED_COMPARE_OPERATOR.add(">");
SUPPORTED_COMPARE_OPERATOR.add("<");
SUPPORTED_COMPARE_OPERATOR.add(">=");
SUPPORTED_COMPARE_OPERATOR.add("<=");
SUPPORTED_COMPARE_OPERATOR.add("IS");
}
private Optional<EncryptCondition> createBinaryEncryptCondition(final BinaryOperationExpression expression, final String tableName) {
String operator = expression.getOperator();
if (!LOGICAL_OPERATOR.contains(operator)) {
if (SUPPORTED_COMPARE_OPERATOR.contains(operator)) {
return createCompareEncryptCondition(tableName, expression, expression.getRight());
}
throw new ShardingSphereException("The SQL clause '%s' is unsupported in encrypt rule.", operator);
}
return Optional.empty();
}"><pre class="notranslate"><span class="pl-k">static</span> {
<span class="pl-smi">LOGICAL_OPERATOR</span>.<span class="pl-en">add</span>(<span class="pl-s">"AND"</span>);
<span class="pl-smi">LOGICAL_OPERATOR</span>.<span class="pl-en">add</span>(<span class="pl-s">"&&"</span>);
<span class="pl-smi">LOGICAL_OPERATOR</span>.<span class="pl-en">add</span>(<span class="pl-s">"OR"</span>);
<span class="pl-smi">LOGICAL_OPERATOR</span>.<span class="pl-en">add</span>(<span class="pl-s">"||"</span>);
<span class="pl-smi">SUPPORTED_COMPARE_OPERATOR</span>.<span class="pl-en">add</span>(<span class="pl-s">"="</span>);
<span class="pl-smi">SUPPORTED_COMPARE_OPERATOR</span>.<span class="pl-en">add</span>(<span class="pl-s">"<>"</span>);
<span class="pl-smi">SUPPORTED_COMPARE_OPERATOR</span>.<span class="pl-en">add</span>(<span class="pl-s">"!="</span>);
<span class="pl-smi">SUPPORTED_COMPARE_OPERATOR</span>.<span class="pl-en">add</span>(<span class="pl-s">">"</span>);
<span class="pl-smi">SUPPORTED_COMPARE_OPERATOR</span>.<span class="pl-en">add</span>(<span class="pl-s">"<"</span>);
<span class="pl-smi">SUPPORTED_COMPARE_OPERATOR</span>.<span class="pl-en">add</span>(<span class="pl-s">">="</span>);
<span class="pl-smi">SUPPORTED_COMPARE_OPERATOR</span>.<span class="pl-en">add</span>(<span class="pl-s">"<="</span>);
<span class="pl-smi">SUPPORTED_COMPARE_OPERATOR</span>.<span class="pl-en">add</span>(<span class="pl-s">"IS"</span>);
}
<span class="pl-k">private</span> <span class="pl-smi">Optional</span><<span class="pl-smi">EncryptCondition</span>> <span class="pl-s1">createBinaryEncryptCondition</span>(<span class="pl-k">final</span> <span class="pl-smi">BinaryOperationExpression</span> <span class="pl-s1">expression</span>, <span class="pl-k">final</span> <span class="pl-smi">String</span> <span class="pl-s1">tableName</span>) {
<span class="pl-smi">String</span> <span class="pl-s1">operator</span> = <span class="pl-s1">expression</span>.<span class="pl-en">getOperator</span>();
<span class="pl-k">if</span> (!<span class="pl-smi">LOGICAL_OPERATOR</span>.<span class="pl-en">contains</span>(<span class="pl-s1">operator</span>)) {
<span class="pl-k">if</span> (<span class="pl-smi">SUPPORTED_COMPARE_OPERATOR</span>.<span class="pl-en">contains</span>(<span class="pl-s1">operator</span>)) {
<span class="pl-k">return</span> <span class="pl-en">createCompareEncryptCondition</span>(<span class="pl-s1">tableName</span>, <span class="pl-s1">expression</span>, <span class="pl-s1">expression</span>.<span class="pl-en">getRight</span>());
}
<span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-smi">ShardingSphereException</span>(<span class="pl-s">"The SQL clause '%s' is unsupported in encrypt rule."</span>, <span class="pl-s1">operator</span>);
}
<span class="pl-k">return</span> <span class="pl-smi">Optional</span>.<span class="pl-en">empty</span>();
}</pre></div>
<h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.</h3>
<h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3> | 0 |
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">Here is the code I am using :</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const mode = process.env.NODE_ENV;
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const TerserPlugin = require('terser-webpack-plugin');
const CompressionPlugin = require('compression-webpack-plugin');
const md5 = require('md5');
module.exports = {
publicPath: '/',
outputDir: 'dist',
css: {
extract: mode === 'production'
},
productionSourceMap: mode !== 'production',
chainWebpack: config => {
// remove the prefetch plugin
config.plugins.delete('prefetch')
if(mode === 'production') config.module.rules.delete('eslint');
config.plugin('CompressionPlugin').use(CompressionPlugin);
},
configureWebpack: {
// Define the asset compression properties
optimization: {
minimizer: [
new OptimizeCSSAssetsPlugin({
cssProcessorPluginOptions: {
preset: [ 'default', { discardComments: { removeAll: true } } ]
}
}),
new TerserPlugin({
parallel: true,
extractComments: {
condition: true,
filename: (fileData) => {
return `${fileData.filename}.LICENSE.txt${fileData.query}`;
},
banner: () => ''
}
})
],
splitChunks: {
chunks: 'all',
maxInitialRequests: Infinity,
minSize: 0,
cacheGroups: {
vendors: {
test: /[\\/]node_modules[\\/].*\.js$/,
chunks: 'all',
name: module => {
const packageName = module.context.match(/[\\/]node_modules[\\/](.*?)([\\/]|$)/)[1];
return md5(`npm.${packageName}`)
.substring(0, 8);
}
}
}
}
},
plugins: [
// new BundleAnalyzerPlugin()
]
}
}"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">mode</span> <span class="pl-c1">=</span> <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">NODE_ENV</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-v">BundleAnalyzerPlugin</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'webpack-bundle-analyzer'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">BundleAnalyzerPlugin</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-v">OptimizeCSSAssetsPlugin</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'optimize-css-assets-webpack-plugin'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-v">TerserPlugin</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'terser-webpack-plugin'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-v">CompressionPlugin</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'compression-webpack-plugin'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">md5</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'md5'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">publicPath</span>: <span class="pl-s">'/'</span><span class="pl-kos">,</span>
<span class="pl-c1">outputDir</span>: <span class="pl-s">'dist'</span><span class="pl-kos">,</span>
<span class="pl-c1">css</span>: <span class="pl-kos">{</span>
<span class="pl-c1">extract</span>: <span class="pl-s1">mode</span> <span class="pl-c1">===</span> <span class="pl-s">'production'</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">productionSourceMap</span>: <span class="pl-s1">mode</span> <span class="pl-c1">!==</span> <span class="pl-s">'production'</span><span class="pl-kos">,</span>
<span class="pl-en">chainWebpack</span>: <span class="pl-s1">config</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-c">// remove the prefetch plugin</span>
<span class="pl-s1">config</span><span class="pl-kos">.</span><span class="pl-c1">plugins</span><span class="pl-kos">.</span><span class="pl-en">delete</span><span class="pl-kos">(</span><span class="pl-s">'prefetch'</span><span class="pl-kos">)</span>
<span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-s1">mode</span> <span class="pl-c1">===</span> <span class="pl-s">'production'</span><span class="pl-kos">)</span> <span class="pl-s1">config</span><span class="pl-kos">.</span><span class="pl-c1">module</span><span class="pl-kos">.</span><span class="pl-c1">rules</span><span class="pl-kos">.</span><span class="pl-en">delete</span><span class="pl-kos">(</span><span class="pl-s">'eslint'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">config</span><span class="pl-kos">.</span><span class="pl-en">plugin</span><span class="pl-kos">(</span><span class="pl-s">'CompressionPlugin'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">use</span><span class="pl-kos">(</span><span class="pl-v">CompressionPlugin</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">configureWebpack</span>: <span class="pl-kos">{</span>
<span class="pl-c">// Define the asset compression properties</span>
<span class="pl-c1">optimization</span>: <span class="pl-kos">{</span>
<span class="pl-c1">minimizer</span>: <span class="pl-kos">[</span>
<span class="pl-k">new</span> <span class="pl-v">OptimizeCSSAssetsPlugin</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">cssProcessorPluginOptions</span>: <span class="pl-kos">{</span>
<span class="pl-c1">preset</span>: <span class="pl-kos">[</span> <span class="pl-s">'default'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">discardComments</span>: <span class="pl-kos">{</span> <span class="pl-c1">removeAll</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">]</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-k">new</span> <span class="pl-v">TerserPlugin</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">parallel</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">extractComments</span>: <span class="pl-kos">{</span>
<span class="pl-c1">condition</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-en">filename</span>: <span class="pl-kos">(</span><span class="pl-s1">fileData</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-s">`<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">fileData</span><span class="pl-kos">.</span><span class="pl-c1">filename</span><span class="pl-kos">}</span></span>.LICENSE.txt<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">fileData</span><span class="pl-kos">.</span><span class="pl-c1">query</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-en">banner</span>: <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-s">''</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">splitChunks</span>: <span class="pl-kos">{</span>
<span class="pl-c1">chunks</span>: <span class="pl-s">'all'</span><span class="pl-kos">,</span>
<span class="pl-c1">maxInitialRequests</span>: <span class="pl-v">Infinity</span><span class="pl-kos">,</span>
<span class="pl-c1">minSize</span>: <span class="pl-c1">0</span><span class="pl-kos">,</span>
<span class="pl-c1">cacheGroups</span>: <span class="pl-kos">{</span>
<span class="pl-c1">vendors</span>: <span class="pl-kos">{</span>
<span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-kos">[</span><span class="pl-cce">\\</span>/<span class="pl-kos">]</span>node_modules<span class="pl-kos">[</span><span class="pl-cce">\\</span>/<span class="pl-kos">]</span>.<span class="pl-c1">*</span><span class="pl-cce">\.</span>js<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
<span class="pl-c1">chunks</span>: <span class="pl-s">'all'</span><span class="pl-kos">,</span>
<span class="pl-en">name</span>: <span class="pl-smi">module</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">packageName</span> <span class="pl-c1">=</span> <span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">context</span><span class="pl-kos">.</span><span class="pl-en">match</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span><span class="pl-kos">[</span><span class="pl-cce">\\</span>/<span class="pl-kos">]</span>node_modules<span class="pl-kos">[</span><span class="pl-cce">\\</span>/<span class="pl-kos">]</span><span class="pl-kos">(</span>.<span class="pl-c1">*</span>?<span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-cce">\\</span>/<span class="pl-kos">]</span><span class="pl-c1">|</span><span class="pl-cce">$</span><span class="pl-kos">)</span><span class="pl-c1">/</span></span><span class="pl-kos">)</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-s1">md5</span><span class="pl-kos">(</span><span class="pl-s">`npm.<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">packageName</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</span>
<span class="pl-kos">.</span><span class="pl-en">substring</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">8</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">plugins</span>: <span class="pl-kos">[</span>
<span class="pl-c">// new BundleAnalyzerPlugin()</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">This is what I have in <code class="notranslate">package.json</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""serve": "rimraf -rf ./node_modules/.cache/vue-loader && node --max_old_space_size=4096 ./node_modules/@vue/cli-service/bin/vue-cli-service.js serve --open","><pre class="notranslate"><code class="notranslate">"serve": "rimraf -rf ./node_modules/.cache/vue-loader && node --max_old_space_size=4096 ./node_modules/@vue/cli-service/bin/vue-cli-service.js serve --open",
</code></pre></div>
<p dir="auto">After running <code class="notranslate">npm run serve</code>, all looks fine. If I hit <code class="notranslate">ctrl+s</code> to save something I changed, it builts again, but exits from terminal with the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const removedModules = records.chunkModuleIds[chunkId].filter(
^
TypeError: Cannot read property 'filter' of undefined
"><pre class="notranslate"><code class="notranslate">const removedModules = records.chunkModuleIds[chunkId].filter(
^
TypeError: Cannot read property 'filter' of undefined
</code></pre></div>
<p dir="auto">The file that this happens is <code class="notranslate">HotModuleReplacementPlugin.js:272</code>.</p>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
Expected behaviour is that after saving file , it should rebuilt without any errors.</p>
<p dir="auto">I'd appreciate if you give me the direction of why this happens. Maybe this is solely related to vue-cli doing something in the nutshell.</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: Whatever vue-cli-service is using. Vue-cli version is <code class="notranslate">^4.4.6"</code><br>
Node.js version: 12.14.1<br>
Operating System: MacOs<br>
Additional tools:</p> | <p dir="auto"><strong>Bug</strong></p>
<p dir="auto">HMR is currently throwing the following exception, and crashing the webpack dev server:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: Uncaught exception, exiting api server. Error TypeError: Cannot read property 'filter' of undefined
at Compilation.<anonymous> (.../node_modules/webpack/lib/HotModuleReplacementPlugin.js:115:43)
at Array.forEach (native)
at Compilation.<anonymous> (.../node_modules/webpack/lib/HotModuleReplacementPlugin.js:111:36)
at Compilation.applyPlugins1 (.../node_modules/webpack/node_modules/tapable/lib/Tapable.js:75:14)
at sealPart2 (.../node_modules/webpack/lib/Compilation.js:622:9)
at Compilation.applyPluginsAsyncSeries (.../node_modules/webpack/node_modules/tapable/lib/Tapable.js:131:46)
at Compilation.seal (.../node_modules/webpack/lib/Compilation.js:575:8)
at .../node_modules/webpack/lib/Compiler.js:488:16
at .../node_modules/webpack/node_modules/tapable/lib/Tapable.js:225:11
at _addModuleChain (.../node_modules/webpack/lib/Compilation.js:477:11)
at processModuleDependencies.err (.../node_modules/webpack/lib/Compilation.js:448:13)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickDomainCallback (internal/process/next_tick.js:128:9)"><pre class="notranslate"><code class="notranslate">error: Uncaught exception, exiting api server. Error TypeError: Cannot read property 'filter' of undefined
at Compilation.<anonymous> (.../node_modules/webpack/lib/HotModuleReplacementPlugin.js:115:43)
at Array.forEach (native)
at Compilation.<anonymous> (.../node_modules/webpack/lib/HotModuleReplacementPlugin.js:111:36)
at Compilation.applyPlugins1 (.../node_modules/webpack/node_modules/tapable/lib/Tapable.js:75:14)
at sealPart2 (.../node_modules/webpack/lib/Compilation.js:622:9)
at Compilation.applyPluginsAsyncSeries (.../node_modules/webpack/node_modules/tapable/lib/Tapable.js:131:46)
at Compilation.seal (.../node_modules/webpack/lib/Compilation.js:575:8)
at .../node_modules/webpack/lib/Compiler.js:488:16
at .../node_modules/webpack/node_modules/tapable/lib/Tapable.js:225:11
at _addModuleChain (.../node_modules/webpack/lib/Compilation.js:477:11)
at processModuleDependencies.err (.../node_modules/webpack/lib/Compilation.js:448:13)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickDomainCallback (internal/process/next_tick.js:128:9)
</code></pre></div>
<p dir="auto">This corresponds to this line:<br>
<code class="notranslate">var newModules = currentChunk.modules.filter(...</code></p>
<p dir="auto">Webpack is [email protected], I'll post my full wepack config at the end.</p>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto"><strong>If this is a feature request, what is motivation or use case for changing the behavior?</strong></p>
<p dir="auto"><strong>Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.</strong></p>
<p dir="auto">[email protected], full config:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
cache: true,
// debug: true,
devtool: 'inline-source-map', // more info:https://webpack.github.io/docs/build-performance.html#sourcemaps and https://webpack.github.io/docs/configuration.html#devtool
resolve: {
extensions: ['.js', '.jsx'],
modules: ['node_modules'],
alias: {
"ag-grid-root": path.resolve(rootDir, 'node_modules/ag-grid/dist')
}
},
node: {
fs: "empty"
},
// noInfo: true, // set to false to see a list of every file being bundled.
entry: [
// must be first entry to properly set public path
'./src/webpack-public-path',
'react-hot-loader/patch',
'webpack-hot-middleware/client?reload=true',
'./src/index'
],
target: 'web', // necessary per https://webpack.github.io/docs/testing.html#compile-and-test
output: {
path: path.join(rootDir, 'dist', 'client'), // Note: Physical files are only output by the production build task `npm run build`.
publicPath: '/',
filename: 'bundle.js'
},
plugins: [
new StatsPlugin('stats.json'),
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('development'), // Tells React to build in either dev or prod modes. https://facebook.github.io/react/downloads.html (See bottom)
__DEV__: true
}),
new webpack.HotModuleReplacementPlugin(),
new webpack.NoEmitOnErrorsPlugin(),
new HtmlWebpackPlugin({ // Create HTML file that includes references to bundled CSS and JS.
template: 'src/templates/index.ejs',
filename: 'index.html',
minify: {
removeComments: true,
collapseWhitespace: true
},
inject: true
}),
new webpack.LoaderOptionsPlugin({
options: {
minimize: false,
debug: true,
noInfo: true,
context: '/',
postcss: [
autoprefixer(),
]
}
})
],
resolveLoader: {
moduleExtensions: ['-loader']
},
module: {
rules: [
{test: /\.jsx?$/, exclude: /node_modules/, use: {loader: 'babel', options: {cacheDirectory: true}}},
{test: /\.eot(\?v=\d+.\d+.\d+)?$/, loader: 'file'},
{test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, use: {loader: 'url', options: {limit: 10000, mimetype: 'application/font-woff'}}},
{test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, use: {loader: 'url', options: {limit: 10000, mimetype: 'application/octet-stream'}}},
{test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, use: {loader: 'url', options: {limit: 10000, mimetype: 'image/svg+xml'}}},
{test: /\.(jpe?g|png|gif)$/i, use: {loader: 'file', options: {name: '[name].[ext]'}}},
{test: /\.ico$/, use: {loader: 'file', options: {name: '[name].[ext]'}}},
{
test: /\.(css|scss)$/,
use: [
{ loader: 'style' },
{ loader: 'css', query: { sourceMap: true } },
{ loader: 'postcss' },
{ loader: 'sass', options: { includePaths: [stylesDir], sourceMap: true } }
]
}
]
}
}"><pre class="notranslate"><code class="notranslate">{
cache: true,
// debug: true,
devtool: 'inline-source-map', // more info:https://webpack.github.io/docs/build-performance.html#sourcemaps and https://webpack.github.io/docs/configuration.html#devtool
resolve: {
extensions: ['.js', '.jsx'],
modules: ['node_modules'],
alias: {
"ag-grid-root": path.resolve(rootDir, 'node_modules/ag-grid/dist')
}
},
node: {
fs: "empty"
},
// noInfo: true, // set to false to see a list of every file being bundled.
entry: [
// must be first entry to properly set public path
'./src/webpack-public-path',
'react-hot-loader/patch',
'webpack-hot-middleware/client?reload=true',
'./src/index'
],
target: 'web', // necessary per https://webpack.github.io/docs/testing.html#compile-and-test
output: {
path: path.join(rootDir, 'dist', 'client'), // Note: Physical files are only output by the production build task `npm run build`.
publicPath: '/',
filename: 'bundle.js'
},
plugins: [
new StatsPlugin('stats.json'),
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('development'), // Tells React to build in either dev or prod modes. https://facebook.github.io/react/downloads.html (See bottom)
__DEV__: true
}),
new webpack.HotModuleReplacementPlugin(),
new webpack.NoEmitOnErrorsPlugin(),
new HtmlWebpackPlugin({ // Create HTML file that includes references to bundled CSS and JS.
template: 'src/templates/index.ejs',
filename: 'index.html',
minify: {
removeComments: true,
collapseWhitespace: true
},
inject: true
}),
new webpack.LoaderOptionsPlugin({
options: {
minimize: false,
debug: true,
noInfo: true,
context: '/',
postcss: [
autoprefixer(),
]
}
})
],
resolveLoader: {
moduleExtensions: ['-loader']
},
module: {
rules: [
{test: /\.jsx?$/, exclude: /node_modules/, use: {loader: 'babel', options: {cacheDirectory: true}}},
{test: /\.eot(\?v=\d+.\d+.\d+)?$/, loader: 'file'},
{test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, use: {loader: 'url', options: {limit: 10000, mimetype: 'application/font-woff'}}},
{test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, use: {loader: 'url', options: {limit: 10000, mimetype: 'application/octet-stream'}}},
{test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, use: {loader: 'url', options: {limit: 10000, mimetype: 'image/svg+xml'}}},
{test: /\.(jpe?g|png|gif)$/i, use: {loader: 'file', options: {name: '[name].[ext]'}}},
{test: /\.ico$/, use: {loader: 'file', options: {name: '[name].[ext]'}}},
{
test: /\.(css|scss)$/,
use: [
{ loader: 'style' },
{ loader: 'css', query: { sourceMap: true } },
{ loader: 'postcss' },
{ loader: 'sass', options: { includePaths: [stylesDir], sourceMap: true } }
]
}
]
}
}
</code></pre></div> | 1 |
<p dir="auto">This code highlights an invalid code location:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fn main() {
let x = [1,2,3];
#debug(x);
}"><pre class="notranslate"><code class="notranslate">fn main() {
let x = [1,2,3];
#debug(x);
}
</code></pre></div>
<p dir="auto">Returns this error message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="foo.rs:4:186: 4:187 error: first argument to #fmt must be a string literal.
foo.rs:4 }
^
rust: upcall fail 'explicit failure', ../src/comp/driver/session.rs:71
rust: domain main @0x102029600 root task failed
rust: fatal, 'leaked memory in rust main loop (2 objects)' failed, ../src/rt/memory_region.cpp:158 2 objects"><pre class="notranslate"><code class="notranslate">foo.rs:4:186: 4:187 error: first argument to #fmt must be a string literal.
foo.rs:4 }
^
rust: upcall fail 'explicit failure', ../src/comp/driver/session.rs:71
rust: domain main @0x102029600 root task failed
rust: fatal, 'leaked memory in rust main loop (2 objects)' failed, ../src/rt/memory_region.cpp:158 2 objects
</code></pre></div> | <p dir="auto">If you write something like <code class="notranslate">#debug["%u", 10]</code>, the type error (unsigned vs signed int) gets reported in <code class="notranslate">core.rs</code>, at the definition of <code class="notranslate">#debug</code>, rather than at the point of use. This is very confusing and makes you think something is fundamentally wrong in the Rust libraries (as in, they don't compile) rather than your own code. I think this ought to be fixed before 0.1 so I associated it with that milestone, but others may disagree.</p> | 1 |
<p dir="auto">How to reproduce:</p>
<ol dir="auto">
<li>Have user stylesheet with custom editor font set</li>
<li>Start new editor, previously opened buffers are restored</li>
<li>Cursor and selection position does not match rendered text</li>
</ol>
<p dir="auto">Way to fix:</p>
<ol dir="auto">
<li>When I re-open same buffer again, it works OK.</li>
</ol>
<hr>
<p dir="auto">I am using Atom <code class="notranslate">v0.196.0</code> on GNU Operating System</p> | <p dir="auto">Possibly related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="39772520" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/3201" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/3201/hovercard" href="https://github.com/atom/atom/issues/3201">#3201</a>, if you have fonts loaded through <code class="notranslate">@font-face</code> (e.g. using my fonts package), a reload causes the cursor/selection alignment to misbehave. Switching to the default font (i.e. empty the font family box in settings) restores it. You can then switch back to an <code class="notranslate">@font-face</code> font and it will work properly again.</p>
<p dir="auto">Steps to reproduce:</p>
<ul dir="auto">
<li>Use an <code class="notranslate">@font-face</code> font as outlined here: <a href="https://discuss.atom.io/t/how-do-i-load-google-fonts-into-my-editors-styles/8321/7" rel="nofollow">https://discuss.atom.io/t/how-do-i-load-google-fonts-into-my-editors-styles/8321/7</a> (or by using <a href="http://atom.io/packages/fonts" rel="nofollow">http://atom.io/packages/fonts</a>).</li>
<li>Put the name of the font in settings (e.g. 'aka-coder').</li>
<li>Open a file in Atom: all should look well in the new font.</li>
<li>Choose View > Reload.</li>
<li>Cursor and selection should now misalign. You can check this by double-click-selecting a word or by typing a row of characters.</li>
<li>Switch to settings.</li>
<li>Empty the font-family setting.</li>
<li>Switch to the file and all should look well again in the default font.</li>
<li>Switch to settings.</li>
<li>Put the name of the font in settings (e.g. 'aka-coder').</li>
<li>Switch to the file and all should look well again in aka-coder.</li>
</ul> | 1 |
<p dir="auto">While working on the <code class="notranslate">EXRExporter</code> implementation, I realized that we do not have an option for async readbacks using <code class="notranslate">gl.readPixels</code>. This option becomes available on WebGL2 contexts with specialized fencing for determining when data is ready to be read, and a new buffer type of <code class="notranslate">PIXEL_PACK_BUFFER</code>.</p>
<p dir="auto">I can't overstate how important this feature is. It's used in plenty of real user applications, from gpu-picking, render processing, general purpose GPU computing, so on and so forth. The main setback for most of these is how WebGL1 readPixels blocking nature completely kills performance and use in real-time applications.</p>
<p dir="auto"><a href="https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/WebGL_best_practices#use_non-blocking_async_data_readback" rel="nofollow">MDN WebGL best practices</a> has a great section about how this process can be done. I believe we should be looking into integrating this alternative workflow into our GL2 renderer.</p>
<p dir="auto">The main concern is introducing fences for the first time into threejs' workflow. We could just handle specific fences on methods that expect them. or we could setup a proper internal interface for fences that could be expanded and used in other aspects of the library, like shader linking and compiling, framebuffer completing, etc. However, that's a much larger endeavour.</p>
<p dir="auto">I'm willing to work on a PR for this feature, but I would like to discuss options and decide what's the best course of action. So I encourage others to chime in with suggestions.</p> | <p dir="auto"><strong>Is your feature request related to a problem? Please describe.</strong></p>
<p dir="auto">WebGL2 (which is now supported by all modern browsers) offers powerful General Purpose GPU capabilities. three.js already implements an impressive array of these features (like <code class="notranslate">WebGLMultipleRenderTargets</code>). This GPGPU suite is nearly complete, but it's missing a performant way of reading texture data back from the GPU. <code class="notranslate">renderer.readRenderTargetPixels()</code> waits for a sync with the GPU before the download starts, costing tens of milliseconds per-call on PC and more on mobile.</p>
<p dir="auto"><strong>Describe the solution you'd like</strong></p>
<p dir="auto">WebGL2 adds the ability to bind <code class="notranslate">_gl.PIXEL_PACK_BUFFER</code>s, which allow for asynchronous readback from the GPU Texture Buffers, largely eliminating the performance impact of GPU -> Code. This should open up all kinds of GPU Physics (and other GPGPU) Solutions.</p>
<p dir="auto"><strong>Describe alternatives you've considered</strong></p>
<p dir="auto"><a href="https://github.com/visgl/luma.gl/pull/450" data-hovercard-type="pull_request" data-hovercard-url="/visgl/luma.gl/pull/450/hovercard">Luma.gl implemented async readback a few years ago</a><br>
<a href="https://forum.babylonjs.com/t/speeding-up-readpixels/12739/" rel="nofollow">Babylon.js also has some functionality for this</a><br>
(<a href="https://forum.babylonjs.com/t/read-pixels-from-texture-asynchronously/19371/9" rel="nofollow">One implementation in Babylon...</a>)<br>
<a href="https://docs.unity3d.com/ScriptReference/Rendering.AsyncGPUReadback.html" rel="nofollow">Unity has a similar mechanism for this</a></p>
<p dir="auto"><strong>Additional context</strong></p>
<p dir="auto">My immediate use-case would be to speed up this <a href="https://zalo.github.io/TetSim/" rel="nofollow">GPU Finite Element Modelling simulation</a>.<br>
If I can get everything running fast a stable on all platforms, I'd also like to contribute a new GPUComputationRenderer (which would support <code class="notranslate">WebGLMultipleRenderTargets</code> and separate the concept of "passes" from "variables", allowing for multiple passes over the same data).</p> | 1 |
<h1 dir="auto">Steps to reproduce</h1>
<ul dir="auto">
<li>set "Maxium number of results" to 10</li>
<li>open powerlauncher and type something</li>
<li>set "Maxium number of results" to 2</li>
<li>open Powerlauncher</li>
</ul>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Lanucher size matches number of elements</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Launcher is still sized for 10 elements</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/61138537/81798196-0ab6f800-9510-11ea-8db6-f719dd2bbb2e.png"><img src="https://user-images.githubusercontent.com/61138537/81798196-0ab6f800-9510-11ea-8db6-f719dd2bbb2e.png" alt="Untitled" style="max-width: 100%;"></a></p> | <ol dir="auto">
<li>Via settings, reduce the number of shown results</li>
<li>the search result is not resized properly.</li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8364748/80542386-bc2b2a80-8961-11ea-9795-13f885e86829.png"><img src="https://user-images.githubusercontent.com/8364748/80542386-bc2b2a80-8961-11ea-9795-13f885e86829.png" alt="image" style="max-width: 100%;"></a></p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto">请上传到maven长裤 自己编译不通过</p> | <p dir="auto">Dubbo选用http协议,consume发送的URL,如何添加自定义参数?</p>
<p dir="auto">查阅官方文档,发现有个“信息交换扩展(exchanger)”貌似可以实现在发送的URL里添加自定义参数。<br>
但,网上没有相关自定义扩展的案例,不知道如何实现?</p>
<p dir="auto">我期望的是:<br>
consume端,在发送URL时,携带sessionId一起发送,http请求。(求解)<br>
provider端,配有Spring Session的请求拦截器,通过URL获取到sessionId,以达到session共享的目的。(这部分已经扩展,可以从Cookie和URL里拦截请求获取sessionId)</p>
<p dir="auto">信息交换扩展<br>
扩展说明<br>
基于传输层之上,实现 Request-Response 信息交换语义。</p>
<p dir="auto">扩展接口<br>
com.alibaba.dubbo.remoting.exchange.Exchanger<br>
com.alibaba.dubbo.remoting.exchange.ExchangeServer<br>
com.alibaba.dubbo.remoting.exchange.ExchangeClient</p>
<p dir="auto">扩展配置<br>
<dubbo:protocol exchanger="xxx" /></p>
<p dir="auto"><dubbo:provider exchanger="xxx" /></p>
<p dir="auto">已知扩展<br>
com.alibaba.dubbo.remoting.exchange.exchanger.HeaderExchanger</p> | 0 |
<p dir="auto">After a 1-way network partition scenario, two nodes might be stuck in different opinions of which nodes are currently in the cluster.</p>
<p dir="auto">I.e. with 5 nodes:<br>
Node 1 sees node 1, 3 and 5. This is a RED cluster.<br>
Node 2 sees node 1, 2, 4 and 5. This is a GREEN cluster.<br>
All of this according to the <code class="notranslate">nodes</code> endpoint.</p>
<p dir="auto">The cluster is <em>stuck in this state</em>, even when every node could reach every other node (verified with curl on the es http port and binary port).</p>
<p dir="auto">Some of these nodes give an NPE for the <code class="notranslate">_status</code> endpoint:<br>
<code class="notranslate">{"error":"NullPointerException[null]","status":500}</code></p>
<p dir="auto">All nodes are configured to discover all the others through unicast.<br>
Discovered on ES 0.90.13 on RHEL 6.5.</p> | <p dir="auto">G'day,</p>
<p dir="auto">I'm using ElasticSearch 0.19.11 with the unicast Zen discovery protocol.</p>
<p dir="auto">With this setup, I can easily split a 3-node cluster into two 'hemispheres' (continuing with the brain metaphor) with one node acting as a participant in both hemispheres. I believe this to be a significant problem, because now <code class="notranslate">minimum_master_nodes</code> is incapable of preventing certain split-brain scenarios.</p>
<p dir="auto">Here's what my 3-node test cluster looked like before I broke it:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/417a448b9b397878cabc3289a1946f04aa9120ae6be3adefa99bf5e97e75136a/68747470733a2f2f73616a2e626574612e616e63686f7274726f76652e636f6d2f65732d73706c6974627261696e2d312e706e67"><img src="https://camo.githubusercontent.com/417a448b9b397878cabc3289a1946f04aa9120ae6be3adefa99bf5e97e75136a/68747470733a2f2f73616a2e626574612e616e63686f7274726f76652e636f6d2f65732d73706c6974627261696e2d312e706e67" alt="" data-canonical-src="https://saj.beta.anchortrove.com/es-splitbrain-1.png" style="max-width: 100%;"></a></p>
<p dir="auto">Here's what the cluster looked like after simulating a communications failure between nodes (2) and (3):</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/e565d01251307c275f8f677cc4455f0d820aed3d1b77dd1dca9cb82ddd611e6a/68747470733a2f2f73616a2e626574612e616e63686f7274726f76652e636f6d2f65732d73706c6974627261696e2d322e706e67"><img src="https://camo.githubusercontent.com/e565d01251307c275f8f677cc4455f0d820aed3d1b77dd1dca9cb82ddd611e6a/68747470733a2f2f73616a2e626574612e616e63686f7274726f76652e636f6d2f65732d73706c6974627261696e2d322e706e67" alt="" data-canonical-src="https://saj.beta.anchortrove.com/es-splitbrain-2.png" style="max-width: 100%;"></a></p>
<p dir="auto">Here's what seems to have happened immediately after the split:</p>
<ol dir="auto">
<li>Node (2) and (3) lose contact with one another. (<code class="notranslate">zen-disco-node_failed</code> ... <code class="notranslate">reason failed to ping</code>)</li>
<li>Node (2), still master of the left hemisphere, notes the disappearance of node (3) and broadcasts an advisory message to all of its followers. Node (1) takes note of the advisory.</li>
<li>Node (3) has now lost contact with its old master and decides to hold an election. It declares itself winner of the election. On declaring itself, it assumes master role of the right hemisphere, then broadcasts an advisory message to all of its followers. Node (1) takes note of this advisory, too.</li>
</ol>
<p dir="auto">At this point, I can't say I know what to expect to find on node (1). If I query both masters for a list of nodes, I see node (1) in both clusters.</p>
<p dir="auto">Let's look at <code class="notranslate">minimum_master_nodes</code> as it applies to this test cluster. Assume I had set <code class="notranslate">minimum_master_nodes</code> to 2. Had node (3) been completely isolated from nodes (1) and (2), I would not have run into this problem. The left hemisphere would have enough nodes to satisfy the constraint; the right hemisphere would not. This would continue to work for larger clusters (with an appropriately larger value for <code class="notranslate">minimum_master_nodes</code>).</p>
<p dir="auto">The problem with <code class="notranslate">minimum_master_nodes</code> is that it does not work when the split brains are intersecting, as in my example above. Even on a larger cluster of, say, 7 nodes with <code class="notranslate">minimum_master_nodes</code> set to 4, all that needs to happen is for the 'right' two nodes to lose contact with one another (a master election has to take place) for the cluster to split.</p>
<p dir="auto">Is there anything that can be done to detect the intersecting split on node (1)?</p>
<p dir="auto">Would <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1101739" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/1057" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/1057/hovercard" href="https://github.com/elastic/elasticsearch/pull/1057">#1057</a> help?</p>
<p dir="auto">Am I missing something obvious? :)</p> | 1 |
<p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/louy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/louy">@louy</a> on December 26, 2015 11:41</em></p>
<p dir="auto">There's a very annoying issue when hitting "format code" in a TS file. Here's an example:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[{
}, {
}]
// or
fn({
}, {
})"><pre class="notranslate"><span class="pl-kos">[</span><span class="pl-kos">{</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span><span class="pl-kos">]</span>
<span class="pl-c">// or</span>
<span class="pl-en">fn</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">becomes:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
[{
}, {
}]
// or
fn({
}, {
})"><pre class="notranslate"><span class="pl-kos">[</span><span class="pl-kos">{</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span><span class="pl-kos">]</span>
<span class="pl-c">// or</span>
<span class="pl-en">fn</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">This gets really annoying when you have large nested objects containing things like functions etc...</p>
<p dir="auto"><em>Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="123925824" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/1661" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/1661/hovercard" href="https://github.com/microsoft/vscode/issues/1661">microsoft/vscode#1661</a></em></p> | <p dir="auto">A number of times recently I've run into problems when I search for a function in TypeScript, deleted it and find that I'm not getting errors for the missing references. Turns out it found the generated .JS not the source. This is VS2015 fully updated.</p>
<p dir="auto">How do I prevent it from stumbling into the .JS code.</p>
<p dir="auto">Or is this a bug one one of the addins for Visual Studio? If so which one?</p> | 0 |
<pre class="notranslate">What steps will reproduce the problem?
Run this program:
package main
import (
"fmt"
"os"
"text/template"
)
type Foo struct {
}
func (foo Foo) Greeting() string {
return "Hello"
}
type Bar struct {
Foo
}
func main() {
t := template.Must(template.New("").Parse("{{.Greeting}}\n{{.Foo.Greeting}}\n"))
var bar Bar
var unnamed struct{
Foo
}
if err := t.Execute(os.Stdout, bar); err != nil {
fmt.Println(err)
}
fmt.Println("===========")
fmt.Println(bar.Greeting())
fmt.Println(unnamed.Greeting())
fmt.Println("===========")
if err := t.Execute(os.Stdout, unnamed); err != nil {
fmt.Println(err)
}
}
What is the expected output?
Hello
Hello
===========
Hello
Hello
===========
Hello
Hello
What do you see instead?
Hello
Hello
===========
Hello
Hello
===========
template: :1: can't evaluate field Greeting in type struct { main.Foo }
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
Linux
Which revision are you using? (hg identify)
96bd78e7d35e weekly/weekly.2012-02-22
Please provide any additional information below.</pre> | <pre class="notranslate">What does 'go version' print?
go version devel +ff82d3107ab3 Sun Aug 31 22:49:14 2014 -0400 windows/amd64
What steps reproduce the problem?
Create a program that uses math.h / pow function in two separate packages. Try to link
them together into one main program:
1. bug/bug.go: <a href="http://play.golang.org/p/nFkVRN6qN-" rel="nofollow">http://play.golang.org/p/nFkVRN6qN-</a>
2. bug/one/one.go: <a href="http://play.golang.org/p/4e68AXsW1r" rel="nofollow">http://play.golang.org/p/4e68AXsW1r</a>
3. bug/two/two.go: <a href="http://play.golang.org/p/f3pNq-xniD" rel="nofollow">http://play.golang.org/p/f3pNq-xniD</a>
4. go install bug
What happened?
# bug
C:\Users\stephen\Desktop\godev\pkg\windows_amd64/bug/two.a(_all.o): duplicate symbol
reference: pow in both bug/one(.text) and bug/two(.text)
What should have happened instead?
The package should link properly.
Please provide any additional information below.
This is a simplified example of a bug I ran into recently. I have an application that
imports a CGO wrapper to the Chipmunk 2D physics engine and a CGO wrapper to GLFW. The
program links fine on Linux -- but I cannot build it on windows due to this issue.
FWIW I am using (TDM) MinGW-W64 4.8.1 rev2</pre> | 0 |
<h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">2.3.4</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">Upgraded to Airflow 2.3.4 from Airflow 2.3.3.<br>
Ran a DAG.<br>
Auto refresh keeps turning off in grid mode.<br>
Works in graph mode.</p>
<h3 dir="auto">What you think should happen instead</h3>
<p dir="auto">auto refresh should work the same way it did in previous versions (and/or graph mode)</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">Run a dag with multiple steps on Airflow 2.3.4 and monitor progress using grid mode.</p>
<h3 dir="auto">Operating System</h3>
<p dir="auto">Ubuntu 20.04.5 LTS</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="apache-airflow-providers-amazon @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_amazon-5.0.0-py3-none-any.whl
apache-airflow-providers-common-sql @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_common_sql-1.1.0-py3-none-any.whl
apache-airflow-providers-ftp @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_ftp-3.1.0-py3-none-any.whl
apache-airflow-providers-http @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_http-4.0.0-py3-none-any.whl
apache-airflow-providers-imap @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_imap-3.0.0-py3-none-any.whl
apache-airflow-providers-mongo @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_mongo-3.0.0-py3-none-any.whl
apache-airflow-providers-mysql @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_mysql-3.2.0-py3-none-any.whl
apache-airflow-providers-pagerduty @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_pagerduty-3.0.0-py3-none-any.whl
apache-airflow-providers-postgres @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_postgres-5.2.0-py3-none-any.whl
apache-airflow-providers-redis @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_redis-3.0.0-py3-none-any.whl
apache-airflow-providers-sendgrid @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_sendgrid-3.0.0-py3-none-any.whl
apache-airflow-providers-slack @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_slack-5.1.0-py3-none-any.whl
apache-airflow-providers-sqlite @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_sqlite-3.2.0-py3-none-any.whl
apache-airflow-providers-ssh @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_ssh-3.1.0-py3-none-any.whl
apache-airflow-providers-vertica @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_vertica-3.2.0-py3-none-any.whl"><pre class="notranslate"><code class="notranslate">apache-airflow-providers-amazon @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_amazon-5.0.0-py3-none-any.whl
apache-airflow-providers-common-sql @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_common_sql-1.1.0-py3-none-any.whl
apache-airflow-providers-ftp @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_ftp-3.1.0-py3-none-any.whl
apache-airflow-providers-http @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_http-4.0.0-py3-none-any.whl
apache-airflow-providers-imap @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_imap-3.0.0-py3-none-any.whl
apache-airflow-providers-mongo @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_mongo-3.0.0-py3-none-any.whl
apache-airflow-providers-mysql @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_mysql-3.2.0-py3-none-any.whl
apache-airflow-providers-pagerduty @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_pagerduty-3.0.0-py3-none-any.whl
apache-airflow-providers-postgres @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_postgres-5.2.0-py3-none-any.whl
apache-airflow-providers-redis @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_redis-3.0.0-py3-none-any.whl
apache-airflow-providers-sendgrid @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_sendgrid-3.0.0-py3-none-any.whl
apache-airflow-providers-slack @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_slack-5.1.0-py3-none-any.whl
apache-airflow-providers-sqlite @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_sqlite-3.2.0-py3-none-any.whl
apache-airflow-providers-ssh @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_ssh-3.1.0-py3-none-any.whl
apache-airflow-providers-vertica @ file:///home/airflow/deploy/wheelfreeze/wheels/apache_airflow_providers_vertica-3.2.0-py3-none-any.whl
</code></pre></div>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Virtualenv installation</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto">Python 3.8.13</p>
<h3 dir="auto">Anything else</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul> | <h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">2.3.4</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">In PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1304173492" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/25042" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25042/hovercard" href="https://github.com/apache/airflow/pull/25042">#25042</a> a bug was introduced that prevents auto-refresh from working when tasks of type <code class="notranslate">scheduled</code> are running.</p>
<h3 dir="auto">What you think should happen instead</h3>
<p dir="auto">Auto-refresh should work for any running or queued task, rather than only manually-scheduled tasks.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Operating System</h3>
<p dir="auto">linux</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Other</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Anything else</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul> | 1 |
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p>
<p dir="auto">Regression bug - as described here: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="41272580" data-permission-text="Title is private" data-url="https://github.com/webpack/webpack/issues/433" data-hovercard-type="issue" data-hovercard-url="/webpack/webpack/issues/433/hovercard?comment_id=286803302&comment_type=issue_comment" href="https://github.com/webpack/webpack/issues/433#issuecomment-286803302">#433 (comment)</a></p>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">When adding HMR support to a project that has async chunks (was imported using <code class="notranslate">syntax-dynamic-import</code>) webpack does not keep the same name of the changed chunk. Therefore calls to <code class="notranslate">x-undefined.js</code> are being made.</p>
<p dir="auto">For some reason everything seems to be working only when also adding <code class="notranslate">NamedModulesPlugin</code> which is according to the docs optional. It seems it's actually mandatory.</p>
<p dir="auto"><strong>Important Note:</strong> I did NOT test it using the CLI option. Everything has been tested using the <code class="notranslate">WebpackDevServer</code> API.</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto">Just add an HMR support to a project by adding:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" filename: '[name]-[chunkhash].js',
chunkFilename: '[name]-[chunkhash].js',"><pre class="notranslate"> <span class="pl-s1">filename</span>: <span class="pl-s">'[name]-[chunkhash].js'</span><span class="pl-kos">,</span>
<span class="pl-s1">chunkFilename</span>: <span class="pl-s">'[name]-[chunkhash].js'</span><span class="pl-kos">,</span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="config.entry.application.unshift('react-hot-loader/patch');
config.entry.application.unshift('webpack/hot/dev-server');
config.entry.application.unshift(`webpack-dev-server/client?${config.output.publicPath}`);"><pre class="notranslate"><span class="pl-s1">config</span><span class="pl-kos">.</span><span class="pl-c1">entry</span><span class="pl-kos">.</span><span class="pl-c1">application</span><span class="pl-kos">.</span><span class="pl-en">unshift</span><span class="pl-kos">(</span><span class="pl-s">'react-hot-loader/patch'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">config</span><span class="pl-kos">.</span><span class="pl-c1">entry</span><span class="pl-kos">.</span><span class="pl-c1">application</span><span class="pl-kos">.</span><span class="pl-en">unshift</span><span class="pl-kos">(</span><span class="pl-s">'webpack/hot/dev-server'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">config</span><span class="pl-kos">.</span><span class="pl-c1">entry</span><span class="pl-kos">.</span><span class="pl-c1">application</span><span class="pl-kos">.</span><span class="pl-en">unshift</span><span class="pl-kos">(</span><span class="pl-s">`webpack-dev-server/client?<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">config</span><span class="pl-kos">.</span><span class="pl-c1">output</span><span class="pl-kos">.</span><span class="pl-c1">publicPath</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// HMR (Hot Module Replacement) plugins
config.plugins.push(new webpack.HotModuleReplacementPlugin());"><pre class="notranslate"><span class="pl-c">// HMR (Hot Module Replacement) plugins</span>
<span class="pl-s1">config</span><span class="pl-kos">.</span><span class="pl-c1">plugins</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-s1">webpack</span><span class="pl-kos">.</span><span class="pl-c1">HotModuleReplacementPlugin</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">Add <code class="notranslate">hot: true</code> to the <code class="notranslate">WebpackDevServer</code> configurations.</p>
<p dir="auto">The above fails.</p>
<p dir="auto">Now, try also adding:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="config.plugins.push(new webpack.NamedModulesPlugin());"><pre class="notranslate"><span class="pl-s1">config</span><span class="pl-kos">.</span><span class="pl-c1">plugins</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-s1">webpack</span><span class="pl-kos">.</span><span class="pl-c1">NamedModulesPlugin</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">Now everything is working again.</p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">The expected behavior would be that HMR will work without the need to add <code class="notranslate">NamedModulesPlugin</code>.</p>
<p dir="auto"><strong>Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.</strong></p>
<p dir="auto">Webpack version: 2.3.3<br>
Node.js version: 6.10.1<br>
OS: macOS</p> | <h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">Certain chunk requests use <code class="notranslate">undefined</code> instead of the hash. Example of the resulting error in chrome:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught (in promise) Error: Loading chunk 63 failed.
(error: https://{hostname}/app/63.undefined.feasContentHashV1.chunk.js)
at HTMLScriptElement.i ({appName}.d5b0c78176fe6ff82a0f.bundle.js:1)"><pre class="notranslate"><code class="notranslate">Uncaught (in promise) Error: Loading chunk 63 failed.
(error: https://{hostname}/app/63.undefined.feasContentHashV1.chunk.js)
at HTMLScriptElement.i ({appName}.d5b0c78176fe6ff82a0f.bundle.js:1)
</code></pre></div>
<p dir="auto">The request for chunk 63 looks like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="https://{hostname}/app/63.undefined.chunk.js"><pre class="notranslate"><code class="notranslate">https://{hostname}/app/63.undefined.chunk.js
</code></pre></div>
<p dir="auto">Stepping through the webpack build, it appears as though the function <code class="notranslate">getScriptSrcPath</code> in <code class="notranslate">JsonpMainTemplatePlugin.js</code> (<a href="https://github.com/webpack/webpack/blob/a0eab48f3799f5d3528b0c0c3a0e48161a43933c/lib/web/JsonpMainTemplatePlugin.js#L47">link</a>) creates a mapping of chunk Id to hash. Looking at the result, the entry for the chunk Id 63 is missing entirely, resulting in the <code class="notranslate">undefined</code> hash in the request.</p>
<p dir="auto">However, looking through the resulting build, there appears to be a valid chunk 63 with a valid hash in the file name. I'm guessing that somewhere along the line, the reference is lost to this chunk?</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto">This is somewhat difficult to reproduce, I think its related to the total number of async chunks made by <code class="notranslate">splitChunksPlugin</code>, but I'm not 100% sure. I'm unable to reproduce a build that can do this. please let me now what other information would be useful.</p>
<p dir="auto">I think this may be related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="314966779" data-permission-text="Title is private" data-url="https://github.com/webpack/webpack/issues/7061" data-hovercard-type="issue" data-hovercard-url="/webpack/webpack/issues/7061/hovercard" href="https://github.com/webpack/webpack/issues/7061">#7061</a> since the behavior sounds similar. However, according to the maintainers that bug was fixed in 4.6.0. Since we are at a later version (4.29.0) I would expect that fix to be included.</p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">I would expect <code class="notranslate">JsonpMainTemplatePlugin</code> to produce code that has a valid mapping of all chunk Id's to their respective hashes, and for all requests for chunks to have defined hashes.</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: 4.29.0 (I also tried linking to a develop build of webpack)<br>
Node.js version: v8.11.1<br>
Operating System: MacOS<br>
Additional tools:</p> | 1 |
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas as pd
import numpy as np
from datetime import datetime,timedelta
threshold = np.datetime64(datetime.today()+timedelta(weeks=3))
df[threshold < df['date']]
df[df['date'] < threshold]
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">from</span> <span class="pl-s1">datetime</span> <span class="pl-k">import</span> <span class="pl-s1">datetime</span>,<span class="pl-s1">timedelta</span>
<span class="pl-s1">threshold</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">datetime64</span>(<span class="pl-s1">datetime</span>.<span class="pl-en">today</span>()<span class="pl-c1">+</span><span class="pl-en">timedelta</span>(<span class="pl-s1">weeks</span><span class="pl-c1">=</span><span class="pl-c1">3</span>))
<span class="pl-s1">df</span>[<span class="pl-s1">threshold</span> <span class="pl-c1"><</span> <span class="pl-s1">df</span>[<span class="pl-s">'date'</span>]]
<span class="pl-s1">df</span>[<span class="pl-s1">df</span>[<span class="pl-s">'date'</span>] <span class="pl-c1"><</span> <span class="pl-s1">threshold</span>]</pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">As the two comparisons above show, they should present opposite results. Instead, both of them return the same result, as if df['date'] was always the first comparison operand.</p>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">The picture below illustrates the issue. It was expected that the line <code class="notranslate">df[threshold < df['date']]</code> would result in an empty DataFrame.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5377246/27878548-fe104da6-6194-11e7-8f53-a6158d8851df.png"><img src="https://user-images.githubusercontent.com/5377246/27878548-fe104da6-6194-11e7-8f53-a6158d8851df.png" alt="screenshot from 2017-07-05 15-17-58" style="max-width: 100%;"></a></p>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
<h2 dir="auto">INSTALLED VERSIONS</h2>
<p dir="auto">commit: None<br>
python: 2.7.12.final.0<br>
python-bits: 64<br>
OS: Linux<br>
OS-release: 4.4.0-83-generic<br>
machine: x86_64<br>
processor: x86_64<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: en_US.UTF-8<br>
LOCALE: None.None</p>
<p dir="auto">pandas: 0.19.2<br>
nose: None<br>
pip: 9.0.1<br>
setuptools: 34.4.1<br>
Cython: None<br>
numpy: 1.12.1<br>
scipy: None<br>
statsmodels: None<br>
xarray: None<br>
IPython: None<br>
sphinx: None<br>
patsy: None<br>
dateutil: 2.6.0<br>
pytz: 2017.2<br>
blosc: None<br>
bottleneck: None<br>
tables: None<br>
numexpr: None<br>
matplotlib: 2.0.0<br>
openpyxl: None<br>
xlrd: None<br>
xlwt: None<br>
xlsxwriter: None<br>
lxml: None<br>
bs4: 4.5.3<br>
html5lib: None<br>
httplib2: 0.10.3<br>
apiclient: 1.6.2<br>
sqlalchemy: None<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: None<br>
boto: 2.38.0<br>
pandas_datareader: None</p>
</details> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import datetime
s = pd.Series(pd.date_range('20130101',periods=3))
s-pd.Timestamp('20130101')
s-datetime.datetime(2013,1')"><pre class="notranslate"><code class="notranslate">import datetime
s = pd.Series(pd.date_range('20130101',periods=3))
s-pd.Timestamp('20130101')
s-datetime.datetime(2013,1')
</code></pre></div>
<p dir="auto">This fails as the datetime64 is not converted properly (because numpy datetime ops suck)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="s-np.datetime64('20130101')"><pre class="notranslate"><code class="notranslate">s-np.datetime64('20130101')
</code></pre></div>
<p dir="auto">e.g. <code class="notranslate">np.datetime64('20130101').astype('M8[ns]')</code> is a bug, no?</p> | 1 |
<h1 dir="auto">Summary of the new feature/enhancement</h1>
<h1 dir="auto">Proposed technical implementation details (optional)</h1> | <h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18363.836]
PowerToys version: 0.18
PowerToy module for which you are reporting the bug (if applicable): NA"><pre class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18363.836]
PowerToys version: 0.18
PowerToy module for which you are reporting the bug (if applicable): NA
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Further to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="622098354" data-permission-text="Title is private" data-url="https://github.com/microsoft/PowerToys/issues/3372" data-hovercard-type="issue" data-hovercard-url="/microsoft/PowerToys/issues/3372/hovercard" href="https://github.com/microsoft/PowerToys/issues/3372">#3372</a> PowerToys v0.18 notified me via Windows notifications that an update to v0.18.1 was available, but when I clicked on the notification, it brought me to GitHub rather than automatically updating.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">A pop-up to update to version 0.18.1.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">I have to download the installer for v0.18.1 and manually update.</p> | 0 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" body {
background-color: black;
color: green;
font-family: Monospace;
}
</style>
<h1>Hello World</h1>"><pre lang="<style>" class="notranslate"><code class="notranslate"> body {
background-color: black;
color: green;
font-family: Monospace;
}
</style>
<h1>Hello World</h1>
</code></pre></div>
<p dir="auto">This is posted by Sha Duv on Facebook FCC Portland group. We both got this result:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/64c321f20eb1886d6870f4380097ef268d50fd50231e6e8b54638d40c142e693/687474703a2f2f692e696d6775722e636f6d2f7349766c6f384a2e706e67"><img src="https://camo.githubusercontent.com/64c321f20eb1886d6870f4380097ef268d50fd50231e6e8b54638d40c142e693/687474703a2f2f692e696d6775722e636f6d2f7349766c6f384a2e706e67" alt="http://i.imgur.com/sIvlo8J.png" data-canonical-src="http://i.imgur.com/sIvlo8J.png" style="max-width: 100%;"></a></p> | <p dir="auto">This will be the central issue for tracking this problem. So far it appears to be effecting tests that look for the <code class="notranslate">style</code> element or that test for specific style elements on <code class="notranslate">body</code>. Please let us know if you see cases that break from this pattern.</p> | 1 |
<p dir="auto">This is a build at <code class="notranslate">jaxlib-v0.1.76</code> on a <code class="notranslate">ppc64le</code> machine. When running with GPUs, the following program executes without error. However, when running with CPUs, it fails. I have two questions, and thanks in advance for the help!</p>
<ol dir="auto">
<li>What is the cause of the error, and is there any way to fix it? Presumably, this is caused by the use of <code class="notranslate">ppc64le</code> CPUs, but I'm not super familiar with these.</li>
<li>I wouldn't mind having this issue as long as programs run using GPUs. However, would the following issue on the CPU side cause some (silent/subtle) issues when executing on GPUs? Put it in a different way, if I only use GPUs, do I need to worry about the error on the CPUs side?</li>
</ol>
<p dir="auto">Please:</p>
<ul class="contains-task-list">
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate issues.</p>
</li>
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:</p>
</li>
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If applicable, include full error messages/tracebacks.</p>
</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(py38)> ipython
Python 3.8.12 (default, Oct 12 2021, 13:02:29)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.31.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import jax, jax.numpy as jnp
In [2]: jax.config.update("jax_platform_name", "cpu")
In [3]: jnp.zeros([3])
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
LLVM ERROR: 64-bit code requested on a subtarget that doesn't support it!
Aborted (core dumped)"><pre class="notranslate"><code class="notranslate">(py38)> ipython
Python 3.8.12 (default, Oct 12 2021, 13:02:29)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.31.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import jax, jax.numpy as jnp
In [2]: jax.config.update("jax_platform_name", "cpu")
In [3]: jnp.zeros([3])
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
'pwr9' is not a recognized processor for this target (ignoring processor)
LLVM ERROR: 64-bit code requested on a subtarget that doesn't support it!
Aborted (core dumped)
</code></pre></div> | <p dir="auto">Please:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate requests.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Describe your goal, and if possible provide a code snippet with a motivating example.</li>
</ul>
<hr>
<p dir="auto">The docs for <a href="https://jax.readthedocs.io/en/latest/_autosummary/jax.lax.dot_general.html" rel="nofollow"><code class="notranslate">jax.lax.dot_general</code></a> are unclear. In particular, the <code class="notranslate">dimension_numbers</code> argument isn't clear to me.</p> | 0 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 3.4.1:</li>
<li>Operating System / Platform => Ubuntu 16.04:</li>
<li>Compiler => :cmake/gcc:</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">Tried to compile opencv_contrib3.4.1 with opencv repository .But got following error:</p>
<p dir="auto">opencv/modules/core/include/opencv2/core/ptr.inl.hpp:301:26: error: invalid new-expression of abstract class type ‘cv::linemod::Modality’<br>
return Ptr(new T());</p> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 3.4</li>
<li>Operating System / Platform => Ubuntu 16.04 Desktop 64 Bit</li>
<li>Compiler => cmake / gcc</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">I try to compile current version from git with opencv_contrib enabled, but get an compile error associated with python linemod module bindings. I´m used to fix compile issues, but I have no idea how handle this one. Can´t find anything related on goolge...<br>
Here is the output from make</p>
<h4 dir="auto">Steps to reproduce</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cmake ..
-- Looking for ccache - not found
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.8", minimum required is "1.2.3")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Found OpenEXR: /usr/lib/x86_64-linux-gnu/libIlmImf.so
-- Checking for module 'gtk+-3.0'
-- No package 'gtk+-3.0' found
-- Looking for linux/videodev.h
-- Looking for linux/videodev.h - not found
-- Looking for linux/videodev2.h
-- Looking for linux/videodev2.h - found
-- Looking for sys/videoio.h
-- Looking for sys/videoio.h - not found
-- Checking for module 'libavresample'
-- No package 'libavresample' found
-- Checking for module 'libgphoto2'
-- No package 'libgphoto2' found
-- found Intel IPP (ICV version): 2017.0.3 [2017.0.3]
-- at: /home/dan/tools/opencv/build/3rdparty/ippicv/ippicv_lnx
-- found Intel IPP IW sources: 2017.0.3
-- at: /home/dan/tools/opencv/build/3rdparty/ippicv/ippiw_lnx
-- CUDA detected: 9.1
-- CUDA NVCC target flags: -gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-D_FORCE_INLINES
-- Found OpenBLAS libraries: /usr/lib/libopenblas.so
-- Found OpenBLAS include: /usr/include
-- LAPACK(OpenBLAS): LAPACK_LIBRARIES: /usr/lib/libopenblas.so
CMake Warning at cmake/OpenCVFindLAPACK.cmake:29 (message):
LAPACK(OpenBLAS): CBLAS/LAPACK headers are not found in '/usr/include'
Call Stack (most recent call first):
cmake/OpenCVFindLAPACK.cmake:97 (ocv_lapack_check)
CMakeLists.txt:631 (include)
-- Could NOT find Atlas (missing: Atlas_CLAPACK_INCLUDE_DIR)
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
-- Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN)
-- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
-- Caffe: YES
-- Protobuf: NO
-- Glog: YES
-- Module opencv_ovis disabled because OGRE3D was not found
-- Looking for tiny_dnn.h
-- Looking for tiny_dnn.h - found
-- Found tiny-dnn in: /home/dan/tools/opencv/build/3rdparty/tinydnn/tiny-dnn-1.0.0a3
-- The protocol buffer compiler is not found (PROTOBUF_PROTOC_EXECUTABLE='')
-- freetype2: YES
-- harfbuzz: YES
-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
-- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
-- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.
-- Checking SFM deps... TRUE
-- CERES support is disabled. Ceres Solver for reconstruction API is required.
-- Excluding from source files list: /home/dan/tools/opencv/build/modules/imgproc/accum.neon.cpp
-- freetype2: YES
-- harfbuzz: YES
-- Checking for modules 'tesseract;lept'
-- Package 'lept', required by 'tesseract', not found
-- No package 'lept' found
-- Tesseract: NO
-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
-- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
-- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.
-- Checking SFM deps... TRUE
-- CERES support is disabled. Ceres Solver for reconstruction API is required.
--
-- General configuration for OpenCV 3.4.0-dev =====================================
-- Version control: 3.4.0-337-gd56b2b5
--
-- Extra modules:
-- Location (extra): /home/dan/tools/opencv/opencv_contrib/modules
-- Version control (extra): 3.4.0-49-g4cb11f2
--
-- Platform:
-- Timestamp: 2018-02-10T19:28:32Z
-- Host: Linux 4.13.0-32-generic x86_64
-- CMake: 3.5.1
-- CMake generator: Unix Makefiles
-- CMake build tool: /usr/bin/make
-- Configuration: Release
--
-- CPU/HW features:
-- Baseline: SSE SSE2 SSE3
-- requested: SSE3
-- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
-- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
-- SSE4_1 (3 files): + SSSE3 SSE4_1
-- SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2
-- FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
-- AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
-- AVX2 (9 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
-- AVX512_SKX (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_SKX
--
-- C/C++:
-- Built as dynamic libs?: YES
-- C++ Compiler: /usr/bin/c++ (ver 5.4.0)
-- C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
-- C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
-- C Compiler: /usr/bin/cc
-- C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
-- C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
-- Linker flags (Release):
-- Linker flags (Debug):
-- ccache: NO
-- Precompiled headers: YES
-- Extra dependencies: dl m pthread rt cudart nppc nppial nppicc nppicom nppidei nppif nppig nppim nppist nppisu nppitc npps cublas cufft -L/usr/local/cuda/lib64
-- 3rdparty dependencies:
--
-- OpenCV modules:
-- To be built: aruco bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev datasets dnn dnn_objdetect dpm face features2d flann freetype fuzzy hdf hfs highgui img_hash imgcodecs imgproc java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python2 python3 python_bindings_generator reg rgbd saliency sfm shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
-- Disabled: cnn_3dobj js world
-- Disabled by dependency: -
-- Unavailable: cvv dnn_modern java matlab ovis viz
-- Applications: perf_tests apps
-- Documentation: NO
-- Non-free algorithms: YES
--
-- GUI:
-- GTK+: YES (ver 2.24.30)
-- GThread : YES (ver 2.48.2)
-- GtkGlExt: NO
-- VTK support: NO
--
-- Media I/O:
-- ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.8)
-- JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver )
-- WEBP: /usr/lib/x86_64-linux-gnu/libwebp.so (ver encoder: 0x0202)
-- PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.2.54)
-- TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 / 4.0.6)
-- JPEG 2000: /usr/lib/x86_64-linux-gnu/libjasper.so (ver 1.900.1)
-- OpenEXR: /usr/lib/x86_64-linux-gnu/libImath.so /usr/lib/x86_64-linux-gnu/libIlmImf.so /usr/lib/x86_64-linux-gnu/libIex.so /usr/lib/x86_64-linux-gnu/libHalf.so /usr/lib/x86_64-linux-gnu/libIlmThread.so (ver 2.2.0)
--
-- Video I/O:
-- DC1394: YES (ver 2.2.4)
-- FFMPEG: YES
-- avcodec: YES (ver 57.107.100)
-- avformat: YES (ver 57.83.100)
-- avutil: YES (ver 55.78.100)
-- swscale: YES (ver 4.8.100)
-- avresample: NO
-- GStreamer:
-- base: YES (ver 1.13.0.1)
-- video: YES (ver 1.13.0.1)
-- app: YES (ver 1.13.0.1)
-- riff: YES (ver 1.13.0.1)
-- pbutils: YES (ver 1.13.0.1)
-- OpenNI2: YES (ver 2.2.0, build 33)
-- libv4l/libv4l2: NO
-- v4l/v4l2: linux/videodev2.h
-- gPhoto2: NO
--
-- Parallel framework: pthreads
--
-- Trace: YES (with Intel ITT)
--
-- Other third-party libraries:
-- Intel IPP: 2017.0.3 [2017.0.3]
-- at: /home/dan/tools/opencv/build/3rdparty/ippicv/ippicv_lnx
-- Intel IPP IW: sources (2017.0.3)
-- at: /home/dan/tools/opencv/build/3rdparty/ippicv/ippiw_lnx
-- Lapack: NO
-- Eigen: YES (ver 3.2.92)
-- Custom HAL: NO
-- Protobuf: build (3.5.1)
--
-- NVIDIA CUDA: YES (ver 9.1, CUFFT CUBLAS NVCUVID FAST_MATH)
-- NVIDIA GPU arch: 52 60 61 70
-- NVIDIA PTX archs:
--
-- OpenCL: YES (no extra features)
-- Include path: /home/dan/tools/opencv/3rdparty/include/opencl/1.2
-- Link libraries: Dynamic load
--
-- Python 2:
-- Interpreter: /usr/bin/python2.7 (ver 2.7.12)
-- Libraries: /usr/lib/x86_64-linux-gnu/libpython2.7.so (ver 2.7.12)
-- numpy: /usr/local/lib/python2.7/dist-packages/numpy/core/include (ver 1.14.0)
-- packages path: lib/python2.7/dist-packages
--
-- Python 3:
-- Interpreter: /usr/bin/python3 (ver 3.5.2)
-- Libraries: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (ver 3.5.2)
-- numpy: /usr/local/lib/python3.5/dist-packages/numpy/core/include (ver 1.14.0)
-- packages path: lib/python3.5/dist-packages
--
-- Python (for build): /usr/bin/python2.7
--
-- Java:
-- ant: NO
-- JNI: NO
-- Java wrappers: NO
-- Java tests: NO
--
-- Matlab: NO
--
-- Install to: /usr/local
-- -----------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /home/dan/tools/opencv/build"><pre class="notranslate"><code class="notranslate">cmake ..
-- Looking for ccache - not found
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.8", minimum required is "1.2.3")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Found OpenEXR: /usr/lib/x86_64-linux-gnu/libIlmImf.so
-- Checking for module 'gtk+-3.0'
-- No package 'gtk+-3.0' found
-- Looking for linux/videodev.h
-- Looking for linux/videodev.h - not found
-- Looking for linux/videodev2.h
-- Looking for linux/videodev2.h - found
-- Looking for sys/videoio.h
-- Looking for sys/videoio.h - not found
-- Checking for module 'libavresample'
-- No package 'libavresample' found
-- Checking for module 'libgphoto2'
-- No package 'libgphoto2' found
-- found Intel IPP (ICV version): 2017.0.3 [2017.0.3]
-- at: /home/dan/tools/opencv/build/3rdparty/ippicv/ippicv_lnx
-- found Intel IPP IW sources: 2017.0.3
-- at: /home/dan/tools/opencv/build/3rdparty/ippicv/ippiw_lnx
-- CUDA detected: 9.1
-- CUDA NVCC target flags: -gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-D_FORCE_INLINES
-- Found OpenBLAS libraries: /usr/lib/libopenblas.so
-- Found OpenBLAS include: /usr/include
-- LAPACK(OpenBLAS): LAPACK_LIBRARIES: /usr/lib/libopenblas.so
CMake Warning at cmake/OpenCVFindLAPACK.cmake:29 (message):
LAPACK(OpenBLAS): CBLAS/LAPACK headers are not found in '/usr/include'
Call Stack (most recent call first):
cmake/OpenCVFindLAPACK.cmake:97 (ocv_lapack_check)
CMakeLists.txt:631 (include)
-- Could NOT find Atlas (missing: Atlas_CLAPACK_INCLUDE_DIR)
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
-- Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN)
-- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
-- Caffe: YES
-- Protobuf: NO
-- Glog: YES
-- Module opencv_ovis disabled because OGRE3D was not found
-- Looking for tiny_dnn.h
-- Looking for tiny_dnn.h - found
-- Found tiny-dnn in: /home/dan/tools/opencv/build/3rdparty/tinydnn/tiny-dnn-1.0.0a3
-- The protocol buffer compiler is not found (PROTOBUF_PROTOC_EXECUTABLE='')
-- freetype2: YES
-- harfbuzz: YES
-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
-- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
-- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.
-- Checking SFM deps... TRUE
-- CERES support is disabled. Ceres Solver for reconstruction API is required.
-- Excluding from source files list: /home/dan/tools/opencv/build/modules/imgproc/accum.neon.cpp
-- freetype2: YES
-- harfbuzz: YES
-- Checking for modules 'tesseract;lept'
-- Package 'lept', required by 'tesseract', not found
-- No package 'lept' found
-- Tesseract: NO
-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
-- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
-- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.
-- Checking SFM deps... TRUE
-- CERES support is disabled. Ceres Solver for reconstruction API is required.
--
-- General configuration for OpenCV 3.4.0-dev =====================================
-- Version control: 3.4.0-337-gd56b2b5
--
-- Extra modules:
-- Location (extra): /home/dan/tools/opencv/opencv_contrib/modules
-- Version control (extra): 3.4.0-49-g4cb11f2
--
-- Platform:
-- Timestamp: 2018-02-10T19:28:32Z
-- Host: Linux 4.13.0-32-generic x86_64
-- CMake: 3.5.1
-- CMake generator: Unix Makefiles
-- CMake build tool: /usr/bin/make
-- Configuration: Release
--
-- CPU/HW features:
-- Baseline: SSE SSE2 SSE3
-- requested: SSE3
-- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
-- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
-- SSE4_1 (3 files): + SSSE3 SSE4_1
-- SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2
-- FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
-- AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
-- AVX2 (9 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
-- AVX512_SKX (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_SKX
--
-- C/C++:
-- Built as dynamic libs?: YES
-- C++ Compiler: /usr/bin/c++ (ver 5.4.0)
-- C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
-- C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
-- C Compiler: /usr/bin/cc
-- C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
-- C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
-- Linker flags (Release):
-- Linker flags (Debug):
-- ccache: NO
-- Precompiled headers: YES
-- Extra dependencies: dl m pthread rt cudart nppc nppial nppicc nppicom nppidei nppif nppig nppim nppist nppisu nppitc npps cublas cufft -L/usr/local/cuda/lib64
-- 3rdparty dependencies:
--
-- OpenCV modules:
-- To be built: aruco bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev datasets dnn dnn_objdetect dpm face features2d flann freetype fuzzy hdf hfs highgui img_hash imgcodecs imgproc java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python2 python3 python_bindings_generator reg rgbd saliency sfm shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
-- Disabled: cnn_3dobj js world
-- Disabled by dependency: -
-- Unavailable: cvv dnn_modern java matlab ovis viz
-- Applications: perf_tests apps
-- Documentation: NO
-- Non-free algorithms: YES
--
-- GUI:
-- GTK+: YES (ver 2.24.30)
-- GThread : YES (ver 2.48.2)
-- GtkGlExt: NO
-- VTK support: NO
--
-- Media I/O:
-- ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.8)
-- JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver )
-- WEBP: /usr/lib/x86_64-linux-gnu/libwebp.so (ver encoder: 0x0202)
-- PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.2.54)
-- TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 / 4.0.6)
-- JPEG 2000: /usr/lib/x86_64-linux-gnu/libjasper.so (ver 1.900.1)
-- OpenEXR: /usr/lib/x86_64-linux-gnu/libImath.so /usr/lib/x86_64-linux-gnu/libIlmImf.so /usr/lib/x86_64-linux-gnu/libIex.so /usr/lib/x86_64-linux-gnu/libHalf.so /usr/lib/x86_64-linux-gnu/libIlmThread.so (ver 2.2.0)
--
-- Video I/O:
-- DC1394: YES (ver 2.2.4)
-- FFMPEG: YES
-- avcodec: YES (ver 57.107.100)
-- avformat: YES (ver 57.83.100)
-- avutil: YES (ver 55.78.100)
-- swscale: YES (ver 4.8.100)
-- avresample: NO
-- GStreamer:
-- base: YES (ver 1.13.0.1)
-- video: YES (ver 1.13.0.1)
-- app: YES (ver 1.13.0.1)
-- riff: YES (ver 1.13.0.1)
-- pbutils: YES (ver 1.13.0.1)
-- OpenNI2: YES (ver 2.2.0, build 33)
-- libv4l/libv4l2: NO
-- v4l/v4l2: linux/videodev2.h
-- gPhoto2: NO
--
-- Parallel framework: pthreads
--
-- Trace: YES (with Intel ITT)
--
-- Other third-party libraries:
-- Intel IPP: 2017.0.3 [2017.0.3]
-- at: /home/dan/tools/opencv/build/3rdparty/ippicv/ippicv_lnx
-- Intel IPP IW: sources (2017.0.3)
-- at: /home/dan/tools/opencv/build/3rdparty/ippicv/ippiw_lnx
-- Lapack: NO
-- Eigen: YES (ver 3.2.92)
-- Custom HAL: NO
-- Protobuf: build (3.5.1)
--
-- NVIDIA CUDA: YES (ver 9.1, CUFFT CUBLAS NVCUVID FAST_MATH)
-- NVIDIA GPU arch: 52 60 61 70
-- NVIDIA PTX archs:
--
-- OpenCL: YES (no extra features)
-- Include path: /home/dan/tools/opencv/3rdparty/include/opencl/1.2
-- Link libraries: Dynamic load
--
-- Python 2:
-- Interpreter: /usr/bin/python2.7 (ver 2.7.12)
-- Libraries: /usr/lib/x86_64-linux-gnu/libpython2.7.so (ver 2.7.12)
-- numpy: /usr/local/lib/python2.7/dist-packages/numpy/core/include (ver 1.14.0)
-- packages path: lib/python2.7/dist-packages
--
-- Python 3:
-- Interpreter: /usr/bin/python3 (ver 3.5.2)
-- Libraries: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (ver 3.5.2)
-- numpy: /usr/local/lib/python3.5/dist-packages/numpy/core/include (ver 1.14.0)
-- packages path: lib/python3.5/dist-packages
--
-- Python (for build): /usr/bin/python2.7
--
-- Java:
-- ant: NO
-- JNI: NO
-- Java wrappers: NO
-- Java tests: NO
--
-- Matlab: NO
--
-- Install to: /usr/local
-- -----------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /home/dan/tools/opencv/build
</code></pre></div>
<p dir="auto">make</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ 0%] Built target gen-pkgconfig
[ 2%] Built target ippiw
[ 6%] Built target libprotobuf
[ 6%] Built target ittnotify
[ 6%] Built target opencv_cudev
[ 6%] Built target opencv_ts_pch_dephelp
[ 6%] Built target pch_Generate_opencv_ts
[ 6%] Built target opencv_core_pch_dephelp
[ 6%] Built target pch_Generate_opencv_core
[ 10%] Built target opencv_core
[ 10%] Built target opencv_imgproc_pch_dephelp
[ 10%] Built target pch_Generate_opencv_imgproc
[ 14%] Built target opencv_imgproc
[ 14%] Built target opencv_imgcodecs_pch_dephelp
[ 14%] Built target pch_Generate_opencv_imgcodecs
[ 15%] Built target opencv_imgcodecs
[ 15%] Built target opencv_videoio_pch_dephelp
[ 15%] Built target pch_Generate_opencv_videoio
[ 16%] Built target opencv_videoio
[ 16%] Built target opencv_highgui_pch_dephelp
[ 16%] Built target pch_Generate_opencv_highgui
[ 16%] Built target opencv_highgui
[ 17%] Built target opencv_ts
[ 17%] Built target opencv_perf_core_pch_dephelp
[ 17%] Built target pch_Generate_opencv_perf_core
[ 19%] Built target opencv_perf_core
[ 19%] Built target opencv_cudaarithm_pch_dephelp
[ 20%] Built target pch_Generate_opencv_cudaarithm
[ 22%] Built target opencv_cudaarithm
[ 22%] Built target opencv_perf_cudaarithm_pch_dephelp
[ 22%] Built target pch_Generate_opencv_perf_cudaarithm
[ 22%] Built target opencv_perf_cudaarithm
[ 22%] Built target opencv_flann_pch_dephelp
[ 23%] Built target pch_Generate_opencv_flann
[ 23%] Built target opencv_flann
[ 23%] Built target opencv_hdf_pch_dephelp
[ 23%] Built target pch_Generate_opencv_hdf
[ 23%] Built target opencv_hdf
[ 23%] Built target opencv_perf_imgproc_pch_dephelp
[ 23%] Built target pch_Generate_opencv_perf_imgproc
[ 25%] Built target opencv_perf_imgproc
[ 25%] Built target opencv_ml_pch_dephelp
[ 25%] Built target pch_Generate_opencv_ml
[ 26%] Built target opencv_ml
[ 26%] Built target opencv_perf_objdetect_pch_dephelp
[ 26%] Built target pch_Generate_opencv_perf_objdetect
[ 26%] Built target opencv_objdetect_pch_dephelp
[ 26%] Built target pch_Generate_opencv_objdetect
[ 27%] Built target opencv_objdetect
[ 27%] Built target opencv_perf_objdetect
[ 27%] Built target opencv_phase_unwrapping_pch_dephelp
[ 27%] Built target pch_Generate_opencv_phase_unwrapping
[ 27%] Built target opencv_phase_unwrapping
[ 27%] Built target opencv_plot_pch_dephelp
[ 27%] Built target pch_Generate_opencv_plot
[ 27%] Built target opencv_plot
[ 27%] Built target opencv_reg_pch_dephelp
[ 27%] Built target pch_Generate_opencv_reg
[ 28%] Built target opencv_reg
[ 28%] Built target opencv_perf_reg_pch_dephelp
[ 28%] Built target pch_Generate_opencv_perf_reg
[ 28%] Built target opencv_perf_reg
[ 28%] Built target opencv_surface_matching_pch_dephelp
[ 28%] Built target pch_Generate_opencv_surface_matching
[ 29%] Built target opencv_surface_matching
[ 29%] Built target opencv_video_pch_dephelp
[ 29%] Built target pch_Generate_opencv_video
[ 30%] Built target opencv_video
[ 30%] Built target opencv_perf_video_pch_dephelp
[ 30%] Built target pch_Generate_opencv_perf_video
[ 31%] Built target opencv_perf_video
[ 31%] Built target opencv_perf_xphoto_pch_dephelp
[ 31%] Built target pch_Generate_opencv_perf_xphoto
[ 32%] Built target opencv_xphoto
[ 32%] Built target opencv_perf_xphoto
[ 32%] Built target opencv_cudabgsegm_pch_dephelp
[ 32%] Built target pch_Generate_opencv_cudabgsegm
[ 32%] Built target opencv_cudabgsegm
[ 32%] Built target opencv_perf_cudabgsegm_pch_dephelp
[ 33%] Built target pch_Generate_opencv_perf_cudabgsegm
[ 33%] Built target opencv_perf_cudabgsegm
[ 33%] Built target opencv_perf_cudafilters_pch_dephelp
[ 33%] Built target pch_Generate_opencv_perf_cudafilters
[ 33%] Built target opencv_cudafilters_pch_dephelp
[ 33%] Built target pch_Generate_opencv_cudafilters
[ 35%] Built target opencv_cudafilters
[ 35%] Built target opencv_perf_cudafilters
[ 35%] Built target opencv_cudaimgproc_pch_dephelp
[ 35%] Built target pch_Generate_opencv_cudaimgproc
[ 37%] Built target opencv_cudaimgproc
[ 37%] Built target opencv_perf_cudaimgproc_pch_dephelp
[ 37%] Built target pch_Generate_opencv_perf_cudaimgproc
[ 38%] Built target opencv_perf_cudaimgproc
[ 38%] Built target opencv_perf_cudawarping_pch_dephelp
[ 38%] Built target pch_Generate_opencv_perf_cudawarping
[ 38%] Built target opencv_cudawarping_pch_dephelp
[ 38%] Built target pch_Generate_opencv_cudawarping
[ 39%] Built target opencv_cudawarping
[ 40%] Built target opencv_perf_cudawarping
[ 40%] Built target opencv_dnn_pch_dephelp
[ 40%] Built target pch_Generate_opencv_dnn
[ 44%] Built target opencv_dnn
[ 44%] Built target opencv_perf_dnn_pch_dephelp
[ 44%] Built target pch_Generate_opencv_perf_dnn
[ 44%] Built target opencv_perf_dnn
[ 45%] Built target opencv_freetype_pch_dephelp
[ 45%] Built target pch_Generate_opencv_freetype
[ 45%] Built target opencv_freetype
[ 45%] Built target opencv_fuzzy_pch_dephelp
[ 45%] Built target pch_Generate_opencv_fuzzy
[ 45%] Built target opencv_fuzzy
[ 45%] Built target opencv_hfs_pch_dephelp
[ 45%] Built target pch_Generate_opencv_hfs
[ 46%] Built target opencv_hfs
[ 46%] Built target opencv_img_hash_pch_dephelp
[ 46%] Built target pch_Generate_opencv_img_hash
[ 47%] Built target opencv_img_hash
[ 47%] Built target opencv_perf_imgcodecs_pch_dephelp
[ 47%] Built target pch_Generate_opencv_perf_imgcodecs
[ 47%] Built target opencv_perf_imgcodecs
[ 47%] Built target opencv_photo_pch_dephelp
[ 47%] Built target pch_Generate_opencv_photo
[ 49%] Built target opencv_photo
[ 49%] Built target opencv_perf_photo_pch_dephelp
[ 49%] Built target pch_Generate_opencv_perf_photo
[ 49%] Built target opencv_perf_photo
[ 49%] Built target opencv_shape_pch_dephelp
[ 49%] Built target pch_Generate_opencv_shape
[ 50%] Built target opencv_shape
[ 50%] Built target opencv_perf_videoio_pch_dephelp
[ 50%] Built target pch_Generate_opencv_perf_videoio
[ 50%] Built target opencv_perf_videoio
[ 50%] Built target opencv_xobjdetect_pch_dephelp
[ 51%] Built target pch_Generate_opencv_xobjdetect
[ 51%] Built target opencv_xobjdetect
[ 51%] Built target opencv_waldboost_detector
[ 51%] Built target opencv_cudacodec_pch_dephelp
[ 51%] Built target pch_Generate_opencv_cudacodec
[ 52%] Built target opencv_cudacodec
[ 52%] Built target opencv_perf_cudacodec_pch_dephelp
[ 52%] Built target pch_Generate_opencv_perf_cudacodec
[ 53%] Built target opencv_perf_cudacodec
[ 53%] Built target opencv_perf_bioinspired_pch_dephelp
[ 53%] Built target pch_Generate_opencv_perf_bioinspired
[ 53%] Built target opencv_bioinspired_pch_dephelp
[ 53%] Built target pch_Generate_opencv_bioinspired
[ 54%] Built target opencv_bioinspired
[ 54%] Built target opencv_perf_bioinspired
[ 55%] Built target opencv_dnn_objdetect_pch_dephelp
[ 55%] Built target pch_Generate_opencv_dnn_objdetect
[ 55%] Built target opencv_dnn_objdetect
[ 55%] Built target opencv_dpm_pch_dephelp
[ 55%] Built target pch_Generate_opencv_dpm
[ 55%] Built target opencv_dpm
[ 55%] Built target opencv_perf_features2d_pch_dephelp
[ 55%] Built target pch_Generate_opencv_perf_features2d
[ 55%] Built target opencv_features2d_pch_dephelp
[ 55%] Built target pch_Generate_opencv_features2d
[ 57%] Built target opencv_features2d
[ 58%] Built target opencv_perf_features2d
[ 58%] Built target opencv_perf_line_descriptor_pch_dephelp
[ 58%] Built target pch_Generate_opencv_perf_line_descriptor
[ 58%] Built target opencv_line_descriptor_pch_dephelp
[ 59%] Built target pch_Generate_opencv_line_descriptor
[ 59%] Built target opencv_line_descriptor
[ 60%] Built target opencv_perf_line_descriptor
[ 61%] Built target opencv_saliency_pch_dephelp
[ 62%] Built target pch_Generate_opencv_saliency
[ 62%] Built target opencv_saliency
[ 62%] Built target opencv_text_pch_dephelp
[ 63%] Built target pch_Generate_opencv_text
[ 63%] Built target opencv_text
[ 64%] Built target opencv_perf_calib3d_pch_dephelp
[ 64%] Built target pch_Generate_opencv_perf_calib3d
[ 64%] Built target opencv_calib3d_pch_dephelp
[ 64%] Built target pch_Generate_opencv_calib3d
[ 66%] Built target opencv_calib3d
[ 66%] Built target opencv_perf_calib3d
[ 67%] Built target opencv_ccalib_pch_dephelp
[ 67%] Built target pch_Generate_opencv_ccalib
[ 67%] Built target opencv_ccalib
[ 67%] Built target opencv_perf_cudafeatures2d_pch_dephelp
[ 67%] Built target pch_Generate_opencv_perf_cudafeatures2d
[ 67%] Built target opencv_cudafeatures2d_pch_dephelp
[ 67%] Built target pch_Generate_opencv_cudafeatures2d
[ 68%] Built target opencv_cudafeatures2d
[ 68%] Built target opencv_perf_cudafeatures2d
[ 68%] Built target opencv_cudalegacy_pch_dephelp
[ 68%] Built target pch_Generate_opencv_cudalegacy
[ 70%] Built target opencv_cudalegacy
[ 71%] Built target opencv_perf_cudalegacy_pch_dephelp
[ 71%] Built target pch_Generate_opencv_perf_cudalegacy
[ 71%] Built target opencv_perf_cudalegacy
[ 71%] Built target opencv_perf_cudaobjdetect_pch_dephelp
[ 71%] Built target pch_Generate_opencv_perf_cudaobjdetect
[ 71%] Built target opencv_cudaobjdetect_pch_dephelp
[ 71%] Built target pch_Generate_opencv_cudaobjdetect
[ 71%] Built target opencv_cudaobjdetect
[ 71%] Built target opencv_perf_cudaobjdetect
[ 71%] Built target opencv_perf_cudaoptflow_pch_dephelp
[ 71%] Built target pch_Generate_opencv_perf_cudaoptflow
[ 71%] Built target opencv_cudaoptflow_pch_dephelp
[ 72%] Built target pch_Generate_opencv_cudaoptflow
[ 73%] Built target opencv_cudaoptflow
[ 73%] Built target opencv_perf_cudaoptflow
[ 73%] Built target opencv_perf_cudastereo_pch_dephelp
[ 74%] Built target pch_Generate_opencv_perf_cudastereo
[ 74%] Built target opencv_cudastereo_pch_dephelp
[ 74%] Built target pch_Generate_opencv_cudastereo
[ 74%] Built target opencv_cudastereo
[ 74%] Built target opencv_perf_cudastereo
[ 76%] Built target opencv_datasets
[ 77%] Built target opencv_rgbd_pch_dephelp
[ 77%] Built target pch_Generate_opencv_rgbd
[ 77%] Built target opencv_rgbd
[ 77%] Built target opencv_perf_stereo_pch_dephelp
[ 77%] Built target opencv_stereo_pch_dephelp
[ 77%] Built target pch_Generate_opencv_stereo
[ 77%] Built target opencv_stereo
[ 77%] Built target pch_Generate_opencv_perf_stereo
[ 78%] Built target opencv_perf_stereo
[ 79%] Built target opencv_structured_light_pch_dephelp
[ 79%] Built target pch_Generate_opencv_structured_light
[ 79%] Built target opencv_structured_light
[ 79%] Built target opencv_perf_superres_pch_dephelp
[ 79%] Built target pch_Generate_opencv_perf_superres
[ 79%] Built target opencv_superres_pch_dephelp
[ 79%] Built target pch_Generate_opencv_superres
[ 79%] Built target opencv_superres
[ 80%] Built target opencv_perf_superres
[ 80%] Built target opencv_perf_tracking_pch_dephelp
[ 81%] Built target opencv_tracking_pch_dephelp
[ 81%] Built target pch_Generate_opencv_tracking
[ 83%] Built target opencv_tracking
[ 83%] Built target pch_Generate_opencv_perf_tracking
[ 83%] Built target opencv_perf_tracking
[ 83%] Built target opencv_videostab_pch_dephelp
[ 83%] Built target pch_Generate_opencv_videostab
[ 84%] Built target opencv_videostab
[ 84%] Built target opencv_perf_xfeatures2d_pch_dephelp
[ 85%] Built target pch_Generate_opencv_perf_xfeatures2d
[ 85%] Built target opencv_xfeatures2d_pch_dephelp
[ 85%] Built target pch_Generate_opencv_xfeatures2d
[ 87%] Built target opencv_xfeatures2d
[ 88%] Built target opencv_perf_xfeatures2d
[ 88%] Built target opencv_perf_ximgproc_pch_dephelp
[ 88%] Built target pch_Generate_opencv_perf_ximgproc
[ 88%] Built target opencv_ximgproc_pch_dephelp
[ 88%] Built target pch_Generate_opencv_ximgproc
[ 90%] Built target opencv_ximgproc
[ 91%] Built target opencv_perf_ximgproc
[ 91%] Built target opencv_aruco_pch_dephelp
[ 91%] Built target pch_Generate_opencv_aruco
[ 91%] Built target opencv_aruco
[ 91%] Built target opencv_bgsegm_pch_dephelp
[ 91%] Built target pch_Generate_opencv_bgsegm
[ 91%] Built target opencv_bgsegm
[ 91%] Built target opencv_face_pch_dephelp
[ 91%] Built target pch_Generate_opencv_face
[ 92%] Built target opencv_face
[ 92%] Built target opencv_perf_optflow_pch_dephelp
[ 93%] Built target pch_Generate_opencv_perf_optflow
[ 93%] Built target opencv_optflow_pch_dephelp
[ 93%] Built target pch_Generate_opencv_optflow
[ 94%] Built target opencv_optflow
[ 95%] Built target opencv_perf_optflow
[ 95%] Built target numeric
[ 95%] Built target opencv_sfm_pch_dephelp
[ 95%] Built target pch_Generate_opencv_sfm
[ 96%] Built target multiview
[ 96%] Built target correspondence
[ 96%] Built target opencv_sfm
[ 96%] Built target opencv_perf_stitching_pch_dephelp
[ 96%] Built target pch_Generate_opencv_perf_stitching
[ 96%] Built target opencv_stitching_pch_dephelp
[ 96%] Built target pch_Generate_opencv_stitching
[ 97%] Built target opencv_stitching
[ 97%] Built target opencv_perf_stitching
[ 97%] Built target gen_opencv_python_source
[ 97%] Building CXX object modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o
In file included from /home/dan/tools/opencv/build/modules/python_bindings_generator/pyopencv_custom_headers.h:6:0,
from /home/dan/tools/opencv/modules/python/src2/cv2.cpp:1532:
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:4:40: error: ‘linemod’ was not declared in this scope
template<> struct pyopencvVecConverter<linemod::Match>
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:4:54: error: template argument 1 is invalid
template<> struct pyopencvVecConverter<linemod::Match>
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:17:40: error: ‘linemod’ was not declared in this scope
template<> struct pyopencvVecConverter<linemod::Template>
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:17:57: error: template argument 1 is invalid
template<> struct pyopencvVecConverter<linemod::Template>
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:30:44: error: ‘linemod’ was not declared in this scope
template<> struct pyopencvVecConverter<Ptr<linemod::Modality> >
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:30:61: error: template argument 1 is invalid
template<> struct pyopencvVecConverter<Ptr<linemod::Modality> >
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:30:63: error: template argument 1 is invalid
template<> struct pyopencvVecConverter<Ptr<linemod::Modality> >
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:43:21: error: ‘linemod’ was not declared in this scope
typedef std::vector<linemod::Match> vector_Match;
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:43:35: error: template argument 1 is invalid
typedef std::vector<linemod::Match> vector_Match;
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:43:35: error: template argument 2 is invalid
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:44:21: error: ‘linemod’ was not declared in this scope
typedef std::vector<linemod::Template> vector_Template;
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:44:38: error: template argument 1 is invalid
typedef std::vector<linemod::Template> vector_Template;
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:44:38: error: template argument 2 is invalid
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:45:25: error: ‘linemod’ was not declared in this scope
typedef std::vector<Ptr<linemod::Modality> > vector_Ptr_Modality;
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:45:42: error: template argument 1 is invalid
typedef std::vector<Ptr<linemod::Modality> > vector_Ptr_Modality;
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:45:44: error: template argument 1 is invalid
typedef std::vector<Ptr<linemod::Modality> > vector_Ptr_Modality;
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:45:44: error: template argument 2 is invalid
modules/python2/CMakeFiles/opencv_python2.dir/build.make:62: recipe for target 'modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o' failed
make[2]: *** [modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o] Error 1
CMakeFiles/Makefile2:14558: recipe for target 'modules/python2/CMakeFiles/opencv_python2.dir/all' failed
make[1]: *** [modules/python2/CMakeFiles/opencv_python2.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
"><pre class="notranslate"><code class="notranslate">[ 0%] Built target gen-pkgconfig
[ 2%] Built target ippiw
[ 6%] Built target libprotobuf
[ 6%] Built target ittnotify
[ 6%] Built target opencv_cudev
[ 6%] Built target opencv_ts_pch_dephelp
[ 6%] Built target pch_Generate_opencv_ts
[ 6%] Built target opencv_core_pch_dephelp
[ 6%] Built target pch_Generate_opencv_core
[ 10%] Built target opencv_core
[ 10%] Built target opencv_imgproc_pch_dephelp
[ 10%] Built target pch_Generate_opencv_imgproc
[ 14%] Built target opencv_imgproc
[ 14%] Built target opencv_imgcodecs_pch_dephelp
[ 14%] Built target pch_Generate_opencv_imgcodecs
[ 15%] Built target opencv_imgcodecs
[ 15%] Built target opencv_videoio_pch_dephelp
[ 15%] Built target pch_Generate_opencv_videoio
[ 16%] Built target opencv_videoio
[ 16%] Built target opencv_highgui_pch_dephelp
[ 16%] Built target pch_Generate_opencv_highgui
[ 16%] Built target opencv_highgui
[ 17%] Built target opencv_ts
[ 17%] Built target opencv_perf_core_pch_dephelp
[ 17%] Built target pch_Generate_opencv_perf_core
[ 19%] Built target opencv_perf_core
[ 19%] Built target opencv_cudaarithm_pch_dephelp
[ 20%] Built target pch_Generate_opencv_cudaarithm
[ 22%] Built target opencv_cudaarithm
[ 22%] Built target opencv_perf_cudaarithm_pch_dephelp
[ 22%] Built target pch_Generate_opencv_perf_cudaarithm
[ 22%] Built target opencv_perf_cudaarithm
[ 22%] Built target opencv_flann_pch_dephelp
[ 23%] Built target pch_Generate_opencv_flann
[ 23%] Built target opencv_flann
[ 23%] Built target opencv_hdf_pch_dephelp
[ 23%] Built target pch_Generate_opencv_hdf
[ 23%] Built target opencv_hdf
[ 23%] Built target opencv_perf_imgproc_pch_dephelp
[ 23%] Built target pch_Generate_opencv_perf_imgproc
[ 25%] Built target opencv_perf_imgproc
[ 25%] Built target opencv_ml_pch_dephelp
[ 25%] Built target pch_Generate_opencv_ml
[ 26%] Built target opencv_ml
[ 26%] Built target opencv_perf_objdetect_pch_dephelp
[ 26%] Built target pch_Generate_opencv_perf_objdetect
[ 26%] Built target opencv_objdetect_pch_dephelp
[ 26%] Built target pch_Generate_opencv_objdetect
[ 27%] Built target opencv_objdetect
[ 27%] Built target opencv_perf_objdetect
[ 27%] Built target opencv_phase_unwrapping_pch_dephelp
[ 27%] Built target pch_Generate_opencv_phase_unwrapping
[ 27%] Built target opencv_phase_unwrapping
[ 27%] Built target opencv_plot_pch_dephelp
[ 27%] Built target pch_Generate_opencv_plot
[ 27%] Built target opencv_plot
[ 27%] Built target opencv_reg_pch_dephelp
[ 27%] Built target pch_Generate_opencv_reg
[ 28%] Built target opencv_reg
[ 28%] Built target opencv_perf_reg_pch_dephelp
[ 28%] Built target pch_Generate_opencv_perf_reg
[ 28%] Built target opencv_perf_reg
[ 28%] Built target opencv_surface_matching_pch_dephelp
[ 28%] Built target pch_Generate_opencv_surface_matching
[ 29%] Built target opencv_surface_matching
[ 29%] Built target opencv_video_pch_dephelp
[ 29%] Built target pch_Generate_opencv_video
[ 30%] Built target opencv_video
[ 30%] Built target opencv_perf_video_pch_dephelp
[ 30%] Built target pch_Generate_opencv_perf_video
[ 31%] Built target opencv_perf_video
[ 31%] Built target opencv_perf_xphoto_pch_dephelp
[ 31%] Built target pch_Generate_opencv_perf_xphoto
[ 32%] Built target opencv_xphoto
[ 32%] Built target opencv_perf_xphoto
[ 32%] Built target opencv_cudabgsegm_pch_dephelp
[ 32%] Built target pch_Generate_opencv_cudabgsegm
[ 32%] Built target opencv_cudabgsegm
[ 32%] Built target opencv_perf_cudabgsegm_pch_dephelp
[ 33%] Built target pch_Generate_opencv_perf_cudabgsegm
[ 33%] Built target opencv_perf_cudabgsegm
[ 33%] Built target opencv_perf_cudafilters_pch_dephelp
[ 33%] Built target pch_Generate_opencv_perf_cudafilters
[ 33%] Built target opencv_cudafilters_pch_dephelp
[ 33%] Built target pch_Generate_opencv_cudafilters
[ 35%] Built target opencv_cudafilters
[ 35%] Built target opencv_perf_cudafilters
[ 35%] Built target opencv_cudaimgproc_pch_dephelp
[ 35%] Built target pch_Generate_opencv_cudaimgproc
[ 37%] Built target opencv_cudaimgproc
[ 37%] Built target opencv_perf_cudaimgproc_pch_dephelp
[ 37%] Built target pch_Generate_opencv_perf_cudaimgproc
[ 38%] Built target opencv_perf_cudaimgproc
[ 38%] Built target opencv_perf_cudawarping_pch_dephelp
[ 38%] Built target pch_Generate_opencv_perf_cudawarping
[ 38%] Built target opencv_cudawarping_pch_dephelp
[ 38%] Built target pch_Generate_opencv_cudawarping
[ 39%] Built target opencv_cudawarping
[ 40%] Built target opencv_perf_cudawarping
[ 40%] Built target opencv_dnn_pch_dephelp
[ 40%] Built target pch_Generate_opencv_dnn
[ 44%] Built target opencv_dnn
[ 44%] Built target opencv_perf_dnn_pch_dephelp
[ 44%] Built target pch_Generate_opencv_perf_dnn
[ 44%] Built target opencv_perf_dnn
[ 45%] Built target opencv_freetype_pch_dephelp
[ 45%] Built target pch_Generate_opencv_freetype
[ 45%] Built target opencv_freetype
[ 45%] Built target opencv_fuzzy_pch_dephelp
[ 45%] Built target pch_Generate_opencv_fuzzy
[ 45%] Built target opencv_fuzzy
[ 45%] Built target opencv_hfs_pch_dephelp
[ 45%] Built target pch_Generate_opencv_hfs
[ 46%] Built target opencv_hfs
[ 46%] Built target opencv_img_hash_pch_dephelp
[ 46%] Built target pch_Generate_opencv_img_hash
[ 47%] Built target opencv_img_hash
[ 47%] Built target opencv_perf_imgcodecs_pch_dephelp
[ 47%] Built target pch_Generate_opencv_perf_imgcodecs
[ 47%] Built target opencv_perf_imgcodecs
[ 47%] Built target opencv_photo_pch_dephelp
[ 47%] Built target pch_Generate_opencv_photo
[ 49%] Built target opencv_photo
[ 49%] Built target opencv_perf_photo_pch_dephelp
[ 49%] Built target pch_Generate_opencv_perf_photo
[ 49%] Built target opencv_perf_photo
[ 49%] Built target opencv_shape_pch_dephelp
[ 49%] Built target pch_Generate_opencv_shape
[ 50%] Built target opencv_shape
[ 50%] Built target opencv_perf_videoio_pch_dephelp
[ 50%] Built target pch_Generate_opencv_perf_videoio
[ 50%] Built target opencv_perf_videoio
[ 50%] Built target opencv_xobjdetect_pch_dephelp
[ 51%] Built target pch_Generate_opencv_xobjdetect
[ 51%] Built target opencv_xobjdetect
[ 51%] Built target opencv_waldboost_detector
[ 51%] Built target opencv_cudacodec_pch_dephelp
[ 51%] Built target pch_Generate_opencv_cudacodec
[ 52%] Built target opencv_cudacodec
[ 52%] Built target opencv_perf_cudacodec_pch_dephelp
[ 52%] Built target pch_Generate_opencv_perf_cudacodec
[ 53%] Built target opencv_perf_cudacodec
[ 53%] Built target opencv_perf_bioinspired_pch_dephelp
[ 53%] Built target pch_Generate_opencv_perf_bioinspired
[ 53%] Built target opencv_bioinspired_pch_dephelp
[ 53%] Built target pch_Generate_opencv_bioinspired
[ 54%] Built target opencv_bioinspired
[ 54%] Built target opencv_perf_bioinspired
[ 55%] Built target opencv_dnn_objdetect_pch_dephelp
[ 55%] Built target pch_Generate_opencv_dnn_objdetect
[ 55%] Built target opencv_dnn_objdetect
[ 55%] Built target opencv_dpm_pch_dephelp
[ 55%] Built target pch_Generate_opencv_dpm
[ 55%] Built target opencv_dpm
[ 55%] Built target opencv_perf_features2d_pch_dephelp
[ 55%] Built target pch_Generate_opencv_perf_features2d
[ 55%] Built target opencv_features2d_pch_dephelp
[ 55%] Built target pch_Generate_opencv_features2d
[ 57%] Built target opencv_features2d
[ 58%] Built target opencv_perf_features2d
[ 58%] Built target opencv_perf_line_descriptor_pch_dephelp
[ 58%] Built target pch_Generate_opencv_perf_line_descriptor
[ 58%] Built target opencv_line_descriptor_pch_dephelp
[ 59%] Built target pch_Generate_opencv_line_descriptor
[ 59%] Built target opencv_line_descriptor
[ 60%] Built target opencv_perf_line_descriptor
[ 61%] Built target opencv_saliency_pch_dephelp
[ 62%] Built target pch_Generate_opencv_saliency
[ 62%] Built target opencv_saliency
[ 62%] Built target opencv_text_pch_dephelp
[ 63%] Built target pch_Generate_opencv_text
[ 63%] Built target opencv_text
[ 64%] Built target opencv_perf_calib3d_pch_dephelp
[ 64%] Built target pch_Generate_opencv_perf_calib3d
[ 64%] Built target opencv_calib3d_pch_dephelp
[ 64%] Built target pch_Generate_opencv_calib3d
[ 66%] Built target opencv_calib3d
[ 66%] Built target opencv_perf_calib3d
[ 67%] Built target opencv_ccalib_pch_dephelp
[ 67%] Built target pch_Generate_opencv_ccalib
[ 67%] Built target opencv_ccalib
[ 67%] Built target opencv_perf_cudafeatures2d_pch_dephelp
[ 67%] Built target pch_Generate_opencv_perf_cudafeatures2d
[ 67%] Built target opencv_cudafeatures2d_pch_dephelp
[ 67%] Built target pch_Generate_opencv_cudafeatures2d
[ 68%] Built target opencv_cudafeatures2d
[ 68%] Built target opencv_perf_cudafeatures2d
[ 68%] Built target opencv_cudalegacy_pch_dephelp
[ 68%] Built target pch_Generate_opencv_cudalegacy
[ 70%] Built target opencv_cudalegacy
[ 71%] Built target opencv_perf_cudalegacy_pch_dephelp
[ 71%] Built target pch_Generate_opencv_perf_cudalegacy
[ 71%] Built target opencv_perf_cudalegacy
[ 71%] Built target opencv_perf_cudaobjdetect_pch_dephelp
[ 71%] Built target pch_Generate_opencv_perf_cudaobjdetect
[ 71%] Built target opencv_cudaobjdetect_pch_dephelp
[ 71%] Built target pch_Generate_opencv_cudaobjdetect
[ 71%] Built target opencv_cudaobjdetect
[ 71%] Built target opencv_perf_cudaobjdetect
[ 71%] Built target opencv_perf_cudaoptflow_pch_dephelp
[ 71%] Built target pch_Generate_opencv_perf_cudaoptflow
[ 71%] Built target opencv_cudaoptflow_pch_dephelp
[ 72%] Built target pch_Generate_opencv_cudaoptflow
[ 73%] Built target opencv_cudaoptflow
[ 73%] Built target opencv_perf_cudaoptflow
[ 73%] Built target opencv_perf_cudastereo_pch_dephelp
[ 74%] Built target pch_Generate_opencv_perf_cudastereo
[ 74%] Built target opencv_cudastereo_pch_dephelp
[ 74%] Built target pch_Generate_opencv_cudastereo
[ 74%] Built target opencv_cudastereo
[ 74%] Built target opencv_perf_cudastereo
[ 76%] Built target opencv_datasets
[ 77%] Built target opencv_rgbd_pch_dephelp
[ 77%] Built target pch_Generate_opencv_rgbd
[ 77%] Built target opencv_rgbd
[ 77%] Built target opencv_perf_stereo_pch_dephelp
[ 77%] Built target opencv_stereo_pch_dephelp
[ 77%] Built target pch_Generate_opencv_stereo
[ 77%] Built target opencv_stereo
[ 77%] Built target pch_Generate_opencv_perf_stereo
[ 78%] Built target opencv_perf_stereo
[ 79%] Built target opencv_structured_light_pch_dephelp
[ 79%] Built target pch_Generate_opencv_structured_light
[ 79%] Built target opencv_structured_light
[ 79%] Built target opencv_perf_superres_pch_dephelp
[ 79%] Built target pch_Generate_opencv_perf_superres
[ 79%] Built target opencv_superres_pch_dephelp
[ 79%] Built target pch_Generate_opencv_superres
[ 79%] Built target opencv_superres
[ 80%] Built target opencv_perf_superres
[ 80%] Built target opencv_perf_tracking_pch_dephelp
[ 81%] Built target opencv_tracking_pch_dephelp
[ 81%] Built target pch_Generate_opencv_tracking
[ 83%] Built target opencv_tracking
[ 83%] Built target pch_Generate_opencv_perf_tracking
[ 83%] Built target opencv_perf_tracking
[ 83%] Built target opencv_videostab_pch_dephelp
[ 83%] Built target pch_Generate_opencv_videostab
[ 84%] Built target opencv_videostab
[ 84%] Built target opencv_perf_xfeatures2d_pch_dephelp
[ 85%] Built target pch_Generate_opencv_perf_xfeatures2d
[ 85%] Built target opencv_xfeatures2d_pch_dephelp
[ 85%] Built target pch_Generate_opencv_xfeatures2d
[ 87%] Built target opencv_xfeatures2d
[ 88%] Built target opencv_perf_xfeatures2d
[ 88%] Built target opencv_perf_ximgproc_pch_dephelp
[ 88%] Built target pch_Generate_opencv_perf_ximgproc
[ 88%] Built target opencv_ximgproc_pch_dephelp
[ 88%] Built target pch_Generate_opencv_ximgproc
[ 90%] Built target opencv_ximgproc
[ 91%] Built target opencv_perf_ximgproc
[ 91%] Built target opencv_aruco_pch_dephelp
[ 91%] Built target pch_Generate_opencv_aruco
[ 91%] Built target opencv_aruco
[ 91%] Built target opencv_bgsegm_pch_dephelp
[ 91%] Built target pch_Generate_opencv_bgsegm
[ 91%] Built target opencv_bgsegm
[ 91%] Built target opencv_face_pch_dephelp
[ 91%] Built target pch_Generate_opencv_face
[ 92%] Built target opencv_face
[ 92%] Built target opencv_perf_optflow_pch_dephelp
[ 93%] Built target pch_Generate_opencv_perf_optflow
[ 93%] Built target opencv_optflow_pch_dephelp
[ 93%] Built target pch_Generate_opencv_optflow
[ 94%] Built target opencv_optflow
[ 95%] Built target opencv_perf_optflow
[ 95%] Built target numeric
[ 95%] Built target opencv_sfm_pch_dephelp
[ 95%] Built target pch_Generate_opencv_sfm
[ 96%] Built target multiview
[ 96%] Built target correspondence
[ 96%] Built target opencv_sfm
[ 96%] Built target opencv_perf_stitching_pch_dephelp
[ 96%] Built target pch_Generate_opencv_perf_stitching
[ 96%] Built target opencv_stitching_pch_dephelp
[ 96%] Built target pch_Generate_opencv_stitching
[ 97%] Built target opencv_stitching
[ 97%] Built target opencv_perf_stitching
[ 97%] Built target gen_opencv_python_source
[ 97%] Building CXX object modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o
In file included from /home/dan/tools/opencv/build/modules/python_bindings_generator/pyopencv_custom_headers.h:6:0,
from /home/dan/tools/opencv/modules/python/src2/cv2.cpp:1532:
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:4:40: error: ‘linemod’ was not declared in this scope
template<> struct pyopencvVecConverter<linemod::Match>
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:4:54: error: template argument 1 is invalid
template<> struct pyopencvVecConverter<linemod::Match>
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:17:40: error: ‘linemod’ was not declared in this scope
template<> struct pyopencvVecConverter<linemod::Template>
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:17:57: error: template argument 1 is invalid
template<> struct pyopencvVecConverter<linemod::Template>
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:30:44: error: ‘linemod’ was not declared in this scope
template<> struct pyopencvVecConverter<Ptr<linemod::Modality> >
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:30:61: error: template argument 1 is invalid
template<> struct pyopencvVecConverter<Ptr<linemod::Modality> >
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:30:63: error: template argument 1 is invalid
template<> struct pyopencvVecConverter<Ptr<linemod::Modality> >
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:43:21: error: ‘linemod’ was not declared in this scope
typedef std::vector<linemod::Match> vector_Match;
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:43:35: error: template argument 1 is invalid
typedef std::vector<linemod::Match> vector_Match;
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:43:35: error: template argument 2 is invalid
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:44:21: error: ‘linemod’ was not declared in this scope
typedef std::vector<linemod::Template> vector_Template;
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:44:38: error: template argument 1 is invalid
typedef std::vector<linemod::Template> vector_Template;
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:44:38: error: template argument 2 is invalid
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:45:25: error: ‘linemod’ was not declared in this scope
typedef std::vector<Ptr<linemod::Modality> > vector_Ptr_Modality;
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:45:42: error: template argument 1 is invalid
typedef std::vector<Ptr<linemod::Modality> > vector_Ptr_Modality;
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:45:44: error: template argument 1 is invalid
typedef std::vector<Ptr<linemod::Modality> > vector_Ptr_Modality;
^
/home/dan/tools/opencv/opencv_contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp:45:44: error: template argument 2 is invalid
modules/python2/CMakeFiles/opencv_python2.dir/build.make:62: recipe for target 'modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o' failed
make[2]: *** [modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o] Error 1
CMakeFiles/Makefile2:14558: recipe for target 'modules/python2/CMakeFiles/opencv_python2.dir/all' failed
make[1]: *** [modules/python2/CMakeFiles/opencv_python2.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
</code></pre></div> | 1 |
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/2046" rel="nofollow">http://projects.scipy.org/numpy/ticket/2046</a> on 2012-02-10 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alex/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alex">@alex</a>, assigned to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/charris/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/charris">@charris</a>.</em></p>
<p dir="auto">Tested on the latest numpy master from github:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(e268cfc7-ff3f-4d97-a02c-27481c8a8186)alex@alex-gaynor-laptop:~/.virtualenvs/e268cfc7-ff3f-4d97-a02c-27481c8a8186$ python
Python 2.7.2+ (default, Oct 4 2011, 20:06:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> del numpy.arange(5).real
Segmentation fault"><pre class="notranslate"><code class="notranslate">(e268cfc7-ff3f-4d97-a02c-27481c8a8186)alex@alex-gaynor-laptop:~/.virtualenvs/e268cfc7-ff3f-4d97-a02c-27481c8a8186$ python
Python 2.7.2+ (default, Oct 4 2011, 20:06:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> del numpy.arange(5).real
Segmentation fault
</code></pre></div> | <p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/2044" rel="nofollow">http://projects.scipy.org/numpy/ticket/2044</a> on 2012-02-10 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alex/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alex">@alex</a>, assigned to unknown.</em></p>
<p dir="auto">Tested at the latest master of numpy from github:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(e5dd45b0-c56f-4e03-8b53-e3fda8cc68bc)alex@alex-gaynor-laptop:~/.virtualenvs/e5dd45b0-c56f-4e03-8b53-e3fda8cc68bc$ python
Python 2.7.2+ (default, Oct 4 2011, 20:06:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.arange(2)
array([0, 1])
>>> numpy.arange(2).flat
<numpy.flatiter object at 0x2ea3800>
>>> del numpy.arange(2).flat
Segmentation fault"><pre class="notranslate"><code class="notranslate">(e5dd45b0-c56f-4e03-8b53-e3fda8cc68bc)alex@alex-gaynor-laptop:~/.virtualenvs/e5dd45b0-c56f-4e03-8b53-e3fda8cc68bc$ python
Python 2.7.2+ (default, Oct 4 2011, 20:06:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.arange(2)
array([0, 1])
>>> numpy.arange(2).flat
<numpy.flatiter object at 0x2ea3800>
>>> del numpy.arange(2).flat
Segmentation fault
</code></pre></div> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=nuri" rel="nofollow">Nuri</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1779?redirect=false" rel="nofollow">SPR-1779</a></strong> and commented</p>
<p dir="auto">The new FORM tags have acouple issues to be handled in my opinion:</p>
<ul dir="auto">
<li>no getter methods for the fields like onchange so derived tags can access</li>
<li>TagWriter needs to be public not package private so derived tags can override the write writeTagContent</li>
<li>some fields are protected and others are private, should be consistent</li>
<li>HTML readonly and disabled attributes should be added to HtmlInput Tags</li>
<li>TagSupport.release methods should reset local fields</li>
</ul>
<p dir="auto">I think these will help improve the library.<br>
Nuri</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0 M3</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=karldmoore" rel="nofollow">Karl Moore</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3411?redirect=false" rel="nofollow">SPR-3411</a></strong> and commented</p>
<p dir="auto">Lots of people seem to be copying and pasting the XML documents for the Spring reference manual. There are several examples that look like this.</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>"<br>
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>"<br>
xsi:schemaLocation="<a href="http://www.springframework.org/schema/beans/spring-beans-2.0.xsd%22%3E" rel="nofollow">http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"></a></p>
<p dir="auto">org.xml.sax.SAXParseException: SchemaLocation: schemaLocation value = '<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>' must have even number of URI's.</p>
<p dir="auto">People are reporting problems with this and changing to this fixes it.</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>
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.0.xsd%22%3E" rel="nofollow">http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"></a></p>
<p dir="auto">As people are taking this out of the reference manual there are quite a few instances of this problem being raised.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0.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="398077142" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8056" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8056/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8056">#8056</a> Wrong bean configuration xml file header in Spring 2.0.4 PDF Reference Manual : missing data in xsi:schemaLocation (<em><strong>"duplicates"</strong></em>)</li>
</ul> | 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/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">When navigating from one page to another, the new page should have its focus set on <code class="notranslate"><body></code> as the document root.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">It's not like this using <code class="notranslate">next/link</code>. Due to being a single page app the focus remains on the link that has been clicked.<br>
The page scrolls to the top to give a visual indication of a page change, but the focus doesn't change.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">I've created an example app to better demonstrate the problem:<br>
<a href="https://nextjs-focus-problem-zishcmqatc.now.sh/" rel="nofollow">https://nextjs-focus-problem-zishcmqatc.now.sh/</a><br>
Its repo is here: <a href="https://github.com/osartun/example-focus-problem">https://github.com/osartun/example-focus-problem</a></p>
<h2 dir="auto">Context</h2>
<p dir="auto">I've noticed the problem while navigating my site with a screen reader and keyboard input. My site has a <em>Next page</em> link at the bottom of the page (<a href="https://thytos.com/video/programmieren-lernen-mit-javascript/text-schreiben" rel="nofollow">see here</a>, fyi: I fixed the problem with a work around on my site, so you can't reproduce it there).<br>
After clicking and navigating to the next page, tabbing through the links started at the bottom of the page where the <em>Next page</em> link was.</p>
<h2 dir="auto">Proposed solution</h2>
<p dir="auto"><code class="notranslate">next/link</code> scrolls to the top of the page after a successful navigation.<br>
<a href="https://github.com/zeit/next.js/blob/42e21288a91b2f58d90c3cc782766611de30630f/lib/link.js#L77">https://github.com/zeit/next.js/blob/42e21288a91b2f58d90c3cc782766611de30630f/lib/link.js#L77</a><br>
I think that should be extended with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="document.body.focus();"><pre class="notranslate"><code class="notranslate">document.body.focus();
</code></pre></div> | <p dir="auto">The <code class="notranslate">withRouter</code> HOC passes <code class="notranslate">undefined</code> for the <code class="notranslate">router</code> prop in SSR with custom routes. The client render works as expected, causing a React server/client checksum error.</p>
<p dir="auto">I use <a href="https://github.com/fridays/next-routes"><code class="notranslate">next-routes</code></a>, but others <a href="https://zeit-community.slack.com/archives/C2U01UYEA/p1504568123000007?thread_ts=1504520217.000050&cid=C2U01UYEA" rel="nofollow">on Slack</a> are having the same issue when using <code class="notranslate">app.render</code> in <code class="notranslate">server.js</code>.</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">I am attempting to style active links.</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>v3.2.1</td>
</tr>
<tr>
<td>node</td>
<td>v8.4.0</td>
</tr>
</tbody>
</table> | 0 |
<p dir="auto">It seems that Android Studio is not required to do flutter dev (I'm trying to add support for <a href="https://marketplace.visualstudio.com/items?itemName=DanTup.dart-code" rel="nofollow">Dart Code</a>) but the output of <code class="notranslate">flutter doctor</code> makes it seem like it is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[X] Android Studio (not installed)
• Android Studio not found. Download from https://developer.android.com/studio/index.html
(or visit https://flutter.io/setup/#android-setup for detailed instructions)."><pre lang="text" class="notranslate"><code class="notranslate">[X] Android Studio (not installed)
• Android Studio not found. Download from https://developer.android.com/studio/index.html
(or visit https://flutter.io/setup/#android-setup for detailed instructions).
</code></pre></div>
<p dir="auto">I think it'd be better to tweak this to make it clearer that it's optional. I was hoping to use <code class="notranslate">flutter doctor</code> in my IDE integration to help the user get set up, but it doesn't seem right to fail the check and ask them to install another IDE when they've specifically chosen to use Code for development.</p> | <p dir="auto">I use flutter mainly in conjunction with Android Studio. But I get warnings for IntelliJ Community Edition (which I use mainly for java work) and Visual Studio Code (which I use for other languages).</p>
<p dir="auto">So I get output like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[√] Flutter (Channel beta, v1.0.0, on Microsoft Windows [Version 10.0.16299.785], locale en-US)
[√] Android Studio (version 3.2)
[!] IntelliJ IDEA Community Edition (version 2018.2)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code, 64-bit edition (version 1.28.2)
[!] Connected device
! No devices available"><pre class="notranslate"><code class="notranslate">[√] Flutter (Channel beta, v1.0.0, on Microsoft Windows [Version 10.0.16299.785], locale en-US)
[√] Android Studio (version 3.2)
[!] IntelliJ IDEA Community Edition (version 2018.2)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code, 64-bit edition (version 1.28.2)
[!] Connected device
! No devices available
</code></pre></div>
<p dir="auto">So is there a way to remove IntelliJ IDEA from that output?</p> | 1 |
<p dir="auto">How can I insert functions via import into a .js file?</p>
<p dir="auto"><strong>My source test script (test.js):</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import anime from 'animejs';
import flatpickr from "flatpickr";
const eee = 'test-eee';
console.log(eee);"><pre class="notranslate"><code class="notranslate">import anime from 'animejs';
import flatpickr from "flatpickr";
const eee = 'test-eee';
console.log(eee);
</code></pre></div>
<p dir="auto">I use <a href="https://www.npmjs.com/package/gulp-babel" rel="nofollow">gulp-babel</a> as JavaScript Transpiler.</p>
<p dir="auto"><strong>My babel devDependencies.</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" "@babel/core": "^7.2.2",
"@babel/helper-module-imports": "^7.0.0",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@babel/preset-env": "^7.2.3""><pre class="notranslate"><code class="notranslate"> "@babel/core": "^7.2.2",
"@babel/helper-module-imports": "^7.0.0",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@babel/preset-env": "^7.2.3"
</code></pre></div>
<p dir="auto"><strong>My .babelrc:</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"presets": [
[
"@babel/preset-env", {
"debug": true,
"modules": false
}
]
],
"plugins": [
[
"@babel/plugin-transform-modules-commonjs", {
"noInterop": true
}
]
]
}"><pre class="notranslate"><code class="notranslate">{
"presets": [
[
"@babel/preset-env", {
"debug": true,
"modules": false
}
]
],
"plugins": [
[
"@babel/plugin-transform-modules-commonjs", {
"noInterop": true
}
]
]
}
</code></pre></div>
<p dir="auto"><strong>After I started the gulp task I get the following:</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""use strict";
var _animejs = require("animejs");
var _flatpickr = require("flatpickr");
var eee = 'test-eee';
console.log(eee);"><pre class="notranslate"><code class="notranslate">"use strict";
var _animejs = require("animejs");
var _flatpickr = require("flatpickr");
var eee = 'test-eee';
console.log(eee);
</code></pre></div>
<h3 dir="auto">But now animejs and flatpickr should be included in the file.</h3> | <p dir="auto">Ran <code class="notranslate">babel-doctor</code> and am getting these errors. How would I fix this? Not sure where babel-runtime would be.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="✖ Found these duplicate packages:
- babel-runtime x 23
- babel-template x 7
- babel-traverse x 14
- babel-types x 11
- babel-helper-define-map x 1
- babel-helper-function-name x 2
- babel-helper-replace-supers x 1
- babel-helper-regex x 1
- babel-messages x 15
- babel-helper-get-function-arity x 3
- babel-code-frame x 15
- babel-helper-optimise-call-expression x 1
Recommend running `npm dedupe`
✖ We found some outdated packages:
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
Found potential issues on your machine :("><pre class="notranslate"><code class="notranslate">✖ Found these duplicate packages:
- babel-runtime x 23
- babel-template x 7
- babel-traverse x 14
- babel-types x 11
- babel-helper-define-map x 1
- babel-helper-function-name x 2
- babel-helper-replace-supers x 1
- babel-helper-regex x 1
- babel-messages x 15
- babel-helper-get-function-arity x 3
- babel-code-frame x 15
- babel-helper-optimise-call-expression x 1
Recommend running `npm dedupe`
✖ We found some outdated packages:
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
- babel-runtime - Latest is 6.0.14. Local version is 5.8.29
Found potential issues on your machine :(
</code></pre></div> | 0 |
<p dir="auto">Hey all! I started using your type definitions for Hls.js and they're awesome! I ran into a couple of roadblocks with missing types including:</p>
<p dir="auto">Missing from <code class="notranslate">Hls.Events</code>:</p>
<ul dir="auto">
<li><code class="notranslate">NON_NATIVE_TEXT_TRACKS_FOUND</code></li>
<li><code class="notranslate">CUES_PARSED</code></li>
</ul>
<p dir="auto">Missing from <code class="notranslate">Hls</code>:</p>
<ul dir="auto">
<li><code class="notranslate">audioTrack</code></li>
<li><code class="notranslate">audioTracks</code></li>
<li><code class="notranslate">streamController</code></li>
<li><code class="notranslate">manualLevel</code></li>
<li><code class="notranslate">levelController</code></li>
<li><code class="notranslate">removeLevel</code></li>
</ul>
<p dir="auto">Incomplete types:</p>
<ul dir="auto">
<li><code class="notranslate">Hls.Level</code></li>
</ul>
<p dir="auto">Please let me know if there's anything I can do to further clarify the details/assist in getting the types updated. Thanks!</p>
<ul dir="auto">
<li>Check the <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/issues/44317" data-hovercard-type="issue" data-hovercard-url="/DefinitelyTyped/DefinitelyTyped/issues/44317/hovercard">Infrastructure status updates</a> thread for known issues.</li>
<li>Leave a message on the <a href="http://gitter.im/DefinitelyTyped/DefinitelyTyped" rel="nofollow">DefinitelyTyped Gitter</a>.</li>
</ul>
<p dir="auto">If you know how to fix the issue, make a pull request instead.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I tried using the <code class="notranslate">@types/xxxx</code> package and had problems.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I 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" checked=""> <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/jgainfort/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jgainfort">@jgainfort</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/brookback/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/brookback">@brookback</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/adripanico/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/adripanico">@adripanico</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Beraliv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Beraliv">@Beraliv</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/drax98/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/drax98">@drax98</a></li>
</ul>
</li>
</ul>
<p dir="auto">If you do not mention the authors the issue will be ignored.</p> | <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 types-2.0 <code class="notranslate">node/index.d.ts</code> file in this repo and had problems.</li>
</ul>
<p dir="auto">After installing @types/node i got multiple errors:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(1,21): error TS2307: Cannot find module 'fs'.
(3,23): error TS2307: Cannot find module 'path'.
(80,41): error TS2304: Cannot find name 'process'.
(5,12): error TS2304: Cannot find name 'global'.
(6,5): error TS2304: Cannot find name 'require'."><pre class="notranslate"><code class="notranslate">(1,21): error TS2307: Cannot find module 'fs'.
(3,23): error TS2307: Cannot find module 'path'.
(80,41): error TS2304: Cannot find name 'process'.
(5,12): error TS2304: Cannot find name 'global'.
(6,5): error TS2304: Cannot find name 'require'.
</code></pre></div>
<p dir="auto">On master branch version of node definitions everything is ok.</p>
<p dir="auto">For example for <code class="notranslate">fs</code> module i have import like</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import * as fs from 'fs';"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">fs</span> <span class="pl-k">from</span> <span class="pl-s">'fs'</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">For <code class="notranslate">require</code> and <code class="notranslate">global</code> i have no imports.</p> | 0 |
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1522" rel="nofollow">http://projects.scipy.org/numpy/ticket/1522</a> on 2010-06-27 by trac user glub, assigned to unknown.</em></p>
<p dir="auto">I am consistently getting segfaults when I call any() on a particular array of 42364 elements. I will try to attach the array as a text file. There doesn't appear to be anything interesting about the array except that it does not have any zeros and appears to have a lot of smallish, duplicate values. I got the same segfault in 1.3.0, 1.4.1, and r8464 from svn:</p>
<p dir="auto">Program received signal SIGSEGV, Segmentation fault.<br>
0x00007ffff03eac2f in PyUFunc_Reduce (self=, args=, kwds=, operation=)<br>
at numpy/core/src/umath/ufunc_object.c:2785<br>
2785 Py_XINCREF(<em>((PyObject *</em>)loop->castbuf));<br>
(gdb) bt<br>
#0 0x00007ffff03eac2f in PyUFunc_Reduce (self=, args=, kwds=, operation=)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="at numpy/core/src/umath/ufunc_object.c:2785"><pre class="notranslate"><code class="notranslate">at numpy/core/src/umath/ufunc_object.c:2785
</code></pre></div>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="317838" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/1" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/1/hovercard" href="https://github.com/numpy/numpy/pull/1">#1</a> PyUFunc_GenericReduction (self=, args=, kwds=, operation=)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="at numpy/core/src/umath/ufunc_object.c:3352"><pre class="notranslate"><code class="notranslate">at numpy/core/src/umath/ufunc_object.c:3352
</code></pre></div>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="365753" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/2" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/2/hovercard" href="https://github.com/numpy/numpy/pull/2">#2</a> 0x00000035d1043db3 in PyObject_Call () from /usr/lib64/libpython2.6.so.1.0<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="366396" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/3" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/3/hovercard" href="https://github.com/numpy/numpy/pull/3">#3</a> 0x00007ffff065ecbe in PyArray_GenericReduceFunction (m1=, op=, axis=, rtype=, out=0x0)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="at numpy/core/src/multiarray/number.c:173"><pre class="notranslate"><code class="notranslate">at numpy/core/src/multiarray/number.c:173
</code></pre></div>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="368871" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/4" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/4/hovercard" href="https://github.com/numpy/numpy/pull/4">#4</a> 0x00007ffff0682aab in PyArray_Any (self=, axis=0, out=0x0) at numpy/core/src/multiarray/calculation.c:697<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="371012" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/5" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/5/hovercard" href="https://github.com/numpy/numpy/pull/5">#5</a> 0x00007ffff0682b5e in array_any (self=0xd6ae90, args=, kwds=) at numpy/core/src/multiarray/methods.c:1825<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="373712" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/6" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/6/hovercard" href="https://github.com/numpy/numpy/pull/6">#6</a> 0x00000035d10ddae6 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.6.so.1.0<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="374921" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/7" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/7/hovercard" href="https://github.com/numpy/numpy/pull/7">#7</a> 0x00000035d10de312 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.6.so.1.0<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="385452" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/8" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/8/hovercard" href="https://github.com/numpy/numpy/pull/8">#8</a> 0x00000035d10df4e9 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.6.so.1.0<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="395508" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/9" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/9/hovercard" href="https://github.com/numpy/numpy/pull/9">#9</a> 0x00000035d10dd897 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.6.so.1.0<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="401891" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/10" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/10/hovercard" href="https://github.com/numpy/numpy/pull/10">#10</a> 0x00000035d10de312 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.6.so.1.0<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="403627" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/11" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/11/hovercard" href="https://github.com/numpy/numpy/pull/11">#11</a> 0x00000035d10de312 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.6.so.1.0<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="408914" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/12" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/12/hovercard" href="https://github.com/numpy/numpy/pull/12">#12</a> 0x00000035d10df4e9 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.6.so.1.0<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="414487" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/13" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/13/hovercard" href="https://github.com/numpy/numpy/pull/13">#13</a> 0x00000035d10df5b2 in PyEval_EvalCode () from /usr/lib64/libpython2.6.so.1.0<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="415272" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/14" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/14/hovercard" href="https://github.com/numpy/numpy/pull/14">#14</a> 0x00000035d10fa52c in ?? () from /usr/lib64/libpython2.6.so.1.0<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="424462" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/15" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/15/hovercard" href="https://github.com/numpy/numpy/pull/15">#15</a> 0x00000035d10fa600 in PyRun_FileExFlags () from /usr/lib64/libpython2.6.so.1.0<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="425395" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/16" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/16/hovercard" href="https://github.com/numpy/numpy/pull/16">#16</a> 0x00000035d10fb9dc in PyRun_SimpleFileExFlags () from /usr/lib64/libpython2.6.so.1.0<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="429163" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/17" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/17/hovercard" href="https://github.com/numpy/numpy/pull/17">#17</a> 0x00000035d110807d in Py_Main () from /usr/lib64/libpython2.6.so.1.0<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="431565" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/18" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/18/hovercard" href="https://github.com/numpy/numpy/pull/18">#18</a> 0x00000034b341ec5d in __libc_start_main () from /lib64/libc.so.6<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="431837" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/19" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/19/hovercard" href="https://github.com/numpy/numpy/pull/19">#19</a> 0x0000000000400649 in _start ()</p> | <p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1294" rel="nofollow">http://projects.scipy.org/numpy/ticket/1294</a> on 2009-11-09 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nilswagner01/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nilswagner01">@nilswagner01</a>, assigned to unknown.</em></p>
<p dir="auto">The problem file is generated by f2py.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In file included from scipy/integrate/_odepackmodule.c:6:
scipy/integrate/__odepack.h: In function ‘odepack_odeint’:
scipy/integrate/__odepack.h:328: warning: call to function
‘lsoda_’ without a real prototype
scipy/integrate/__odepack.h:31: note: ‘lsoda_’ was
declared here
scipy/integrate/_odepackmodule.c: At top level:
scipy/integrate/multipack.h:114: warning:
‘my_make_numpy_array’ defined but not used
scipy/integrate/__odepack.h: In function ‘odepack_odeint’:
scipy/integrate/__odepack.h:226: warning: ‘tcrit’ may be
used uninitialized in this function
scipy/integrate/__odepack.h:227: warning: ‘wa’ may be used
uninitialized in this function
/usr/bin/gfortran -Wall -Wall -shared
build/temp.linux-x86_64-2.6/scipy/integrate/_odepackmodule.o
-L/home/nwagner/src/ATLAS3.8.2/mybuild/lib -L/usr/lib64
-Lbuild/temp.linux-x86_64-2.6 -lodepack -llinpack_lite
-lmach -lptf77blas -lptcblas -latlas -lpython2.6
-lgfortran -o
build/lib.linux-x86_64-2.6/scipy/integrate/_odepack.so
building 'scipy.integrate.vode' extension
compiling C sources
C compiler: /usr/bin/gcc -fno-strict-aliasing -DNDEBUG
-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g -fwrapv -fPIC
creating
build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/integrate
compile options: '-DATLAS_INFO="\"3.8.2\""
-I/home/nwagner/src/ATLAS3.8.2/include
-Ibuild/src.linux-x86_64-2.6
-I/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/python2.6 -c'
gcc:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_f_in_dvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: (Each undeclared identifier is reported only once
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: for each function it appears in.)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:377:
error: ‘ydot_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:335:
warning: unused variable ‘ipar_5’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:334:
warning: unused variable ‘rpar_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:332:
warning: unused variable ‘n_0’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_jac_in_dvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:508:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:508:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:509:
error: ‘jac_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:509:
error: ‘nrowpd’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:509:
warning: left-hand operand of comma expression has no
effect
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:467:
warning: unused variable ‘ipar_8’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:466:
warning: unused variable ‘rpar_7’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:465:
warning: unused variable ‘nrowpd_6’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:464:
warning: unused variable ‘mu_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:463:
warning: unused variable ‘ml_3’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:461:
warning: unused variable ‘n_0’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_f_in_zvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:636:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:636:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:637:
error: ‘ydot_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:595:
warning: unused variable ‘ipar_5’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:594:
warning: unused variable ‘rpar_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:592:
warning: unused variable ‘n_0’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_jac_in_zvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:768:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:768:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:769:
error: ‘jac_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:769:
error: ‘nrowpd’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:769:
warning: left-hand operand of comma expression has no
effect
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:727:
warning: unused variable ‘ipar_8’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:726:
warning: unused variable ‘rpar_7’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:725:
warning: unused variable ‘nrowpd_6’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:724:
warning: unused variable ‘mu_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:723:
warning: unused variable ‘ml_3’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:721:
warning: unused variable ‘n_0’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_f_in_dvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: (Each undeclared identifier is reported only once
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: for each function it appears in.)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:377:
error: ‘ydot_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:335:
warning: unused variable ‘ipar_5’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:334:
warning: unused variable ‘rpar_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:332:
warning: unused variable ‘n_0’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_jac_in_dvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:508:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:508:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:509:
error: ‘jac_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:509:
error: ‘nrowpd’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:509:
warning: left-hand operand of comma expression has no
effect
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:467:
warning: unused variable ‘ipar_8’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:466:
warning: unused variable ‘rpar_7’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:465:
warning: unused variable ‘nrowpd_6’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:464:
warning: unused variable ‘mu_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:463:
warning: unused variable ‘ml_3’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:461:
warning: unused variable ‘n_0’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_f_in_zvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:636:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:636:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:637:
error: ‘ydot_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:595:
warning: unused variable ‘ipar_5’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:594:
warning: unused variable ‘rpar_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:592:
warning: unused variable ‘n_0’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_jac_in_zvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:768:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:768:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:769:
error: ‘jac_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:769:
error: ‘nrowpd’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:769:
warning: left-hand operand of comma expression has no
effect
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:727:
warning: unused variable ‘ipar_8’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:726:
warning: unused variable ‘rpar_7’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:725:
warning: unused variable ‘nrowpd_6’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:724:
warning: unused variable ‘mu_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:723:
warning: unused variable ‘ml_3’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:721:
warning: unused variable ‘n_0’
error: Command "/usr/bin/gcc -fno-strict-aliasing -DNDEBUG
-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g -fwrapv -fPIC
-DATLAS_INFO="\"3.8.2\""
-I/home/nwagner/src/ATLAS3.8.2/include
-Ibuild/src.linux-x86_64-2.6
-I/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/python2.6 -c
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c -o
build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.o"
failed with exit status 1"><pre class="notranslate"><code class="notranslate">In file included from scipy/integrate/_odepackmodule.c:6:
scipy/integrate/__odepack.h: In function ‘odepack_odeint’:
scipy/integrate/__odepack.h:328: warning: call to function
‘lsoda_’ without a real prototype
scipy/integrate/__odepack.h:31: note: ‘lsoda_’ was
declared here
scipy/integrate/_odepackmodule.c: At top level:
scipy/integrate/multipack.h:114: warning:
‘my_make_numpy_array’ defined but not used
scipy/integrate/__odepack.h: In function ‘odepack_odeint’:
scipy/integrate/__odepack.h:226: warning: ‘tcrit’ may be
used uninitialized in this function
scipy/integrate/__odepack.h:227: warning: ‘wa’ may be used
uninitialized in this function
/usr/bin/gfortran -Wall -Wall -shared
build/temp.linux-x86_64-2.6/scipy/integrate/_odepackmodule.o
-L/home/nwagner/src/ATLAS3.8.2/mybuild/lib -L/usr/lib64
-Lbuild/temp.linux-x86_64-2.6 -lodepack -llinpack_lite
-lmach -lptf77blas -lptcblas -latlas -lpython2.6
-lgfortran -o
build/lib.linux-x86_64-2.6/scipy/integrate/_odepack.so
building 'scipy.integrate.vode' extension
compiling C sources
C compiler: /usr/bin/gcc -fno-strict-aliasing -DNDEBUG
-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g -fwrapv -fPIC
creating
build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/integrate
compile options: '-DATLAS_INFO="\"3.8.2\""
-I/home/nwagner/src/ATLAS3.8.2/include
-Ibuild/src.linux-x86_64-2.6
-I/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/python2.6 -c'
gcc:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_f_in_dvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: (Each undeclared identifier is reported only once
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: for each function it appears in.)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:377:
error: ‘ydot_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:335:
warning: unused variable ‘ipar_5’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:334:
warning: unused variable ‘rpar_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:332:
warning: unused variable ‘n_0’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_jac_in_dvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:508:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:508:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:509:
error: ‘jac_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:509:
error: ‘nrowpd’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:509:
warning: left-hand operand of comma expression has no
effect
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:467:
warning: unused variable ‘ipar_8’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:466:
warning: unused variable ‘rpar_7’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:465:
warning: unused variable ‘nrowpd_6’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:464:
warning: unused variable ‘mu_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:463:
warning: unused variable ‘ml_3’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:461:
warning: unused variable ‘n_0’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_f_in_zvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:636:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:636:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:637:
error: ‘ydot_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:595:
warning: unused variable ‘ipar_5’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:594:
warning: unused variable ‘rpar_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:592:
warning: unused variable ‘n_0’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_jac_in_zvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:768:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:768:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:769:
error: ‘jac_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:769:
error: ‘nrowpd’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:769:
warning: left-hand operand of comma expression has no
effect
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:727:
warning: unused variable ‘ipar_8’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:726:
warning: unused variable ‘rpar_7’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:725:
warning: unused variable ‘nrowpd_6’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:724:
warning: unused variable ‘mu_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:723:
warning: unused variable ‘ml_3’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:721:
warning: unused variable ‘n_0’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_f_in_dvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: (Each undeclared identifier is reported only once
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: for each function it appears in.)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:376:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:377:
error: ‘ydot_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:335:
warning: unused variable ‘ipar_5’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:334:
warning: unused variable ‘rpar_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:332:
warning: unused variable ‘n_0’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_jac_in_dvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:508:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:508:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:509:
error: ‘jac_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:509:
error: ‘nrowpd’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:509:
warning: left-hand operand of comma expression has no
effect
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:467:
warning: unused variable ‘ipar_8’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:466:
warning: unused variable ‘rpar_7’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:465:
warning: unused variable ‘nrowpd_6’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:464:
warning: unused variable ‘mu_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:463:
warning: unused variable ‘ml_3’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:461:
warning: unused variable ‘n_0’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_f_in_zvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:636:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:636:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:637:
error: ‘ydot_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:595:
warning: unused variable ‘ipar_5’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:594:
warning: unused variable ‘rpar_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:592:
warning: unused variable ‘n_0’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:
In function ‘cb_jac_in_zvode__user__routines’:
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:768:
error: ‘y_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:768:
error: ‘n’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:769:
error: ‘jac_Dims’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:769:
error: ‘nrowpd’ undeclared (first use in this function)
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:769:
warning: left-hand operand of comma expression has no
effect
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:727:
warning: unused variable ‘ipar_8’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:726:
warning: unused variable ‘rpar_7’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:725:
warning: unused variable ‘nrowpd_6’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:724:
warning: unused variable ‘mu_4’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:723:
warning: unused variable ‘ml_3’
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c:721:
warning: unused variable ‘n_0’
error: Command "/usr/bin/gcc -fno-strict-aliasing -DNDEBUG
-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g -fwrapv -fPIC
-DATLAS_INFO="\"3.8.2\""
-I/home/nwagner/src/ATLAS3.8.2/include
-Ibuild/src.linux-x86_64-2.6
-I/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include
-I/usr/include/python2.6 -c
build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.c -o
build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.o"
failed with exit status 1
</code></pre></div> | 0 |
<p dir="auto">Dear,<br>
how to get version C ++ of find_peaks in python scipy.signal?<br>
Help,<br>
Thx</p> | <p dir="auto">Hello,<br>
Could U help me to solve it ? Or U you can propose other method.<br>
Thx</p> | 1 |
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/2085" rel="nofollow">http://projects.scipy.org/numpy/ticket/2085</a> on 2012-03-19 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sandrotosi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sandrotosi">@sandrotosi</a>, assigned to unknown.</em></p>
<p dir="auto">Hello,<br>
running numpy test suite with python versions 2.7.3rc1 and 3.2.3rc1 (as available in Debian), returns this errors:</p>
<p dir="auto">2.7.3rc1</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Running unit tests for numpy
NumPy version 1.6.1
NumPy is installed in /build/buildd-python-numpy_1.6.1-6-i386-lYkcLV/python-numpy-1.6.1/debian/tmp/usr/lib/python2.7/dist-packages/numpy
Python version 2.7.3rc1 (default, Mar 10 2012, 00:01:06) [GCC 4.6.3]
nose version 1.1.2
.........................Debug memory block at address p=0xaa13400: API 'm'
8 bytes originally requested
The 3 pad bytes at p-3 are FORBIDDENBYTE, as expected.
The 4 pad bytes at tail=0xaa13408 are FORBIDDENBYTE, as expected.
The block was made by call #1026630 to debug malloc/realloc.
Data at p: a3 03 00 00 00 00 00 00
Fatal Python error: bad ID: Allocated using API 'm', verified using API 'o'"><pre class="notranslate"><code class="notranslate">Running unit tests for numpy
NumPy version 1.6.1
NumPy is installed in /build/buildd-python-numpy_1.6.1-6-i386-lYkcLV/python-numpy-1.6.1/debian/tmp/usr/lib/python2.7/dist-packages/numpy
Python version 2.7.3rc1 (default, Mar 10 2012, 00:01:06) [GCC 4.6.3]
nose version 1.1.2
.........................Debug memory block at address p=0xaa13400: API 'm'
8 bytes originally requested
The 3 pad bytes at p-3 are FORBIDDENBYTE, as expected.
The 4 pad bytes at tail=0xaa13408 are FORBIDDENBYTE, as expected.
The block was made by call #1026630 to debug malloc/realloc.
Data at p: a3 03 00 00 00 00 00 00
Fatal Python error: bad ID: Allocated using API 'm', verified using API 'o'
</code></pre></div>
<p dir="auto">3.2.3rc1</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Running unit tests for numpy
NumPy version 1.6.1
NumPy is installed in /build/buildd-python-numpy_1.6.1-6-i386-lYkcLV/python-numpy-1.6.1/debian/tmp/usr/lib/python3/dist-packages/numpy
Python version 3.2.3rc1 (default, Mar 9 2012, 20:32:02) [GCC 4.6.3]
nose version 1.1.2
/usr/lib/python3/dist-packages/nose/core.py:247: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/nose/usage.txt' mode='r' encoding='ANSI_X3.4-1968'>
os.path.dirname(__file__), 'usage.txt'), 'r').read()
.........................Debug memory block at address p=0xa625310: API 'm'
8 bytes originally requested
The 3 pad bytes at p-3 are FORBIDDENBYTE, as expected.
The 4 pad bytes at tail=0xa625318 are FORBIDDENBYTE, as expected.
The block was made by call #1475913 to debug malloc/realloc.
Data at p: a3 03 00 00 00 00 00 00
Fatal Python error: bad ID: Allocated using API 'm', verified using API 'o'
Aborted"><pre class="notranslate"><code class="notranslate">Running unit tests for numpy
NumPy version 1.6.1
NumPy is installed in /build/buildd-python-numpy_1.6.1-6-i386-lYkcLV/python-numpy-1.6.1/debian/tmp/usr/lib/python3/dist-packages/numpy
Python version 3.2.3rc1 (default, Mar 9 2012, 20:32:02) [GCC 4.6.3]
nose version 1.1.2
/usr/lib/python3/dist-packages/nose/core.py:247: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/nose/usage.txt' mode='r' encoding='ANSI_X3.4-1968'>
os.path.dirname(__file__), 'usage.txt'), 'r').read()
.........................Debug memory block at address p=0xa625310: API 'm'
8 bytes originally requested
The 3 pad bytes at p-3 are FORBIDDENBYTE, as expected.
The 4 pad bytes at tail=0xa625318 are FORBIDDENBYTE, as expected.
The block was made by call #1475913 to debug malloc/realloc.
Data at p: a3 03 00 00 00 00 00 00
Fatal Python error: bad ID: Allocated using API 'm', verified using API 'o'
Aborted
</code></pre></div>
<p dir="auto">It might be something related to newer CPython versions, given testsuite executed on 2.6.7 works fine, but I'm asking you first, just to be sure.</p>
<p dir="auto">Regards,<br>
Sandro</p> | <p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1578" rel="nofollow">http://projects.scipy.org/numpy/ticket/1578</a> on 2010-08-10 by trac user mbudisic, assigned to unknown.</em></p>
<p dir="auto">I am trying to build my entire Python stack from source on x86_64 machine under CentOS, GCC 4.5.0, with custom compiled ATLAS. Numpy builds but its test crash with SIGABRT signal, when "numpy.test()" is run.</p>
<p dir="auto">This is output into Python shell before exit.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="test_from_unicode (test_defchararray.TestBasic) ... Debug memory block at address p=0x17941d0: API 'm'
4 bytes originally requested
The 7 pad bytes at p-7 are FORBIDDENBYTE, as expected.
The 8 pad bytes at tail=0x17941d4 are FORBIDDENBYTE, as expected.
The block was made by call #814353 to debug malloc/realloc.
Data at p: ff fe 00 00
Fatal Python error: bad ID: Allocated using API 'm', verified using API 'o'"><pre class="notranslate"><code class="notranslate">test_from_unicode (test_defchararray.TestBasic) ... Debug memory block at address p=0x17941d0: API 'm'
4 bytes originally requested
The 7 pad bytes at p-7 are FORBIDDENBYTE, as expected.
The 8 pad bytes at tail=0x17941d4 are FORBIDDENBYTE, as expected.
The block was made by call #814353 to debug malloc/realloc.
Data at p: ff fe 00 00
Fatal Python error: bad ID: Allocated using API 'm', verified using API 'o'
</code></pre></div>
<p dir="auto">I'm attaching full gdb backtrace and pystack outputs.</p> | 1 |
<p dir="auto"><strong>Is your feature request related to a problem? Please describe.</strong></p>
<p dir="auto">Possibility to use a shared material for <code class="notranslate">customDepthMaterial</code> while changing uniforms on a per object basis<br>
<strong>Describe the solution you'd like</strong></p>
<p dir="auto">add support for <code class="notranslate">onBeforeRender</code> to <code class="notranslate">WebGLShadowMap</code></p>
<p dir="auto">You would expect <code class="notranslate">onBeforeRender</code> to work just like it does for normal object rendering.</p> | <p dir="auto">Object3D.onBeforeRender not triggered when depthmaterial for shadows are rendered.</p>
<p dir="auto">renderBufferDirect method does not trigger the onBeforeRender function</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"> r96</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ...</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"> macOS</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> iOS</li>
</ul>
<h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5> | 1 |
<p dir="auto">When I perform</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import stuff from './stuff';"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">stuff</span> <span class="pl-k">from</span> <span class="pl-s">'./stuff'</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">in babel-node CLI, it silently works but trying to access <code class="notranslate">stuff</code> on the following lines throws a <code class="notranslate">ReferenceError: stuff is not defined</code>.</p> | <p dir="auto">When using an ES6 import at the <code class="notranslate">babel-node</code> REPL, it fails.</p>
<p dir="auto">Example sources:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// foo.js
import bar from './bar'
console.log(bar)"><pre class="notranslate"><span class="pl-c">// foo.js</span>
<span class="pl-k">import</span> <span class="pl-s1">bar</span> <span class="pl-k">from</span> <span class="pl-s">'./bar'</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">bar</span><span class="pl-kos">)</span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// bar.js
exports.baz = 1"><pre class="notranslate"><span class="pl-c">// bar.js</span>
<span class="pl-s1">exports</span><span class="pl-kos">.</span><span class="pl-c1">baz</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span></pre></div>
<p dir="auto"><code class="notranslate">babel</code> generates the following code for <code class="notranslate">foo.js</code>:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="'use strict';
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _bar = require('./bar');
var _bar2 = _interopRequireDefault(_bar);
console.log(_bar2['default']);"><pre class="notranslate"><span class="pl-s">'use strict'</span><span class="pl-kos">;</span>
<span class="pl-k">function</span> <span class="pl-en">_interopRequireDefault</span><span class="pl-kos">(</span><span class="pl-s1">obj</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">obj</span> <span class="pl-c1">&&</span> <span class="pl-s1">obj</span><span class="pl-kos">.</span><span class="pl-c1">__esModule</span> ? <span class="pl-s1">obj</span> : <span class="pl-kos">{</span> <span class="pl-s">'default'</span>: <span class="pl-s1">obj</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">_bar</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'./bar'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">_bar2</span> <span class="pl-c1">=</span> <span class="pl-en">_interopRequireDefault</span><span class="pl-kos">(</span><span class="pl-s1">_bar</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">_bar2</span><span class="pl-kos">[</span><span class="pl-s">'default'</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Passing the generated code from <code class="notranslate">babel</code> to <code class="notranslate">iojs</code> works fine:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ babel foo.js | iojs
{ baz: 1 }"><pre class="notranslate"><code class="notranslate">$ babel foo.js | iojs
{ baz: 1 }
</code></pre></div>
<p dir="auto">If you run the same module by hand at the REPL, or pipe it in, it fails:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cat foo.js | babel-node
> import bar from './bar'
'use strict'
> console.log(bar)
repl:3
console.log(bar);
^
ReferenceError: bar is not defined
at repl:3:13
at Object.exports.runInThisContext (vm.js:54:17)
at _eval (/home/tomxtobin/npm/lib/node_modules/babel/bin/_babel-node:54:13)
at REPLServer.replEval (/home/tomxtobin/npm/lib/node_modules/babel/bin/_babel-node:136:14)
at bound (domain.js:254:14)
at REPLServer.runBound [as eval] (domain.js:267:12)
at REPLServer.<anonymous> (repl.js:309:12)
at emitOne (events.js:77:13)
at REPLServer.emit (events.js:166:7)
at REPLServer.Interface._onLine (readline.js:208:10)"><pre class="notranslate"><code class="notranslate">$ cat foo.js | babel-node
> import bar from './bar'
'use strict'
> console.log(bar)
repl:3
console.log(bar);
^
ReferenceError: bar is not defined
at repl:3:13
at Object.exports.runInThisContext (vm.js:54:17)
at _eval (/home/tomxtobin/npm/lib/node_modules/babel/bin/_babel-node:54:13)
at REPLServer.replEval (/home/tomxtobin/npm/lib/node_modules/babel/bin/_babel-node:136:14)
at bound (domain.js:254:14)
at REPLServer.runBound [as eval] (domain.js:267:12)
at REPLServer.<anonymous> (repl.js:309:12)
at emitOne (events.js:77:13)
at REPLServer.emit (events.js:166:7)
at REPLServer.Interface._onLine (readline.js:208:10)
</code></pre></div>
<p dir="auto">But if you pass the file as an argument to <code class="notranslate">babel-node</code> it works fine:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ babel-node foo.js
{ bar: 1 }"><pre class="notranslate"><code class="notranslate">$ babel-node foo.js
{ bar: 1 }
</code></pre></div>
<p dir="auto">If you keep everything in the REPL on the same line, it also works fine:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="> import bar from './bar'; console.log(bar)
{ baz: 1 }
undefined"><pre class="notranslate"><code class="notranslate">> import bar from './bar'; console.log(bar)
{ baz: 1 }
undefined
</code></pre></div>
<p dir="auto">Versions:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ babel --version
5.2.16
$ iojs --version
v2.0.0"><pre class="notranslate"><code class="notranslate">$ babel --version
5.2.16
$ iojs --version
v2.0.0
</code></pre></div> | 1 |
<p dir="auto">At flask.testing:81, there exists the block below added in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pallets/flask/commit/e97253e4c1a0380f0b70108e8f984b0d9b87ac11/hovercard" href="https://github.com/pallets/flask/commit/e97253e4c1a0380f0b70108e8f984b0d9b87ac11"><tt>e97253e</tt></a>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" if 'json' in kwargs:
...
# push a context so flask.json can use app's json attributes
with app.app_context():
kwargs['data'] = json_dumps(kwargs.pop('json'))"><pre class="notranslate"><code class="notranslate"> if 'json' in kwargs:
...
# push a context so flask.json can use app's json attributes
with app.app_context():
kwargs['data'] = json_dumps(kwargs.pop('json'))
</code></pre></div>
<p dir="auto">This enables the werkzeug client to use app or blueprint defaults for the JSONEncode to use. However this invokes an app context and consequently (and surprisingly) the handlers handlers registered to the app context lifecycle.</p>
<p dir="auto">Since this behavior only happens when the <code class="notranslate">json</code> kwarg is used on the test client, it can lead to surprising behavior in tests that make use of json and inconsistent behavior between tests that do and do not use json. A more expected behavior would be to have consistent behavior both when and when not using the <code class="notranslate">json</code> kwarg.</p>
<p dir="auto">I also do not see any other usages of the app_context context manager in flask.testing, so this doesn't seem like a pattern that should be expected (not that I'm well versed in Flasks internal patterns, so take that for what its worth).</p>
<p dir="auto">I discovered this because Flask-SQLALchemy registers an app context teardown that removes the session and unexpectedly rolls back a session mid testcase. I imagine this behavior is not unique to Flask-SQLAlchemy.</p>
<p dir="auto">I propose removing the app_context context handler surrounding the <code class="notranslate">json_dumps</code> call, since</p>
<ul dir="auto">
<li><strong>this was the behavior prior to <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pallets/flask/commit/e97253e4c1a0380f0b70108e8f984b0d9b87ac11/hovercard" href="https://github.com/pallets/flask/commit/e97253e4c1a0380f0b70108e8f984b0d9b87ac11"><tt>e97253e</tt></a></strong></li>
<li>the general flask pattern is already to wrap the higher level calls in an app context, so there is unlikely to be significant impact</li>
<li>json_dumps already degrades gracefully when there is no app context</li>
<li>the behavior change is constrained to the testing utilities</li>
</ul>
<p dir="auto">I can submit the PR for this if there's appetite, since it's just a couple of lines.</p>
<p dir="auto">Python3, flask 1.02.</p> | <p dir="auto">The new blueprint template lookup scheme where the templates folder is just added to the searchpath instead of doing some weird stuff with the names as before. The documentation has to be clearer about that.</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/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto"><a href="https://material-ui.com/api/card-header/" rel="nofollow">https://material-ui.com/api/card-header/</a></p>
<p dir="auto">CardHeader allows to put in the title, subheader, and avatar but no way to add action button.</p>
<p dir="auto">Yes, i can use workarounds, create some css etc but i believe it should be solved elegantly with action property.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2733862/32300957-7f0b1530-bf64-11e7-94a9-e207e57336b8.png"><img src="https://user-images.githubusercontent.com/2733862/32300957-7f0b1530-bf64-11e7-94a9-e207e57336b8.png" alt="image" style="max-width: 100%;"></a></p> | <p dir="auto">Form elements like a <code class="notranslate"><Checkbox/></code> don't preserve their state, if they live in a expandable/collapsible <code class="notranslate"><CardText expandable={'true'}></code>. This is due the content of any expandable is completely removed from the DOM and recreated later again.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">The state of form elements should be preserved in expandable <code class="notranslate"><Card/></code>s.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">The state of form elements is not preserved in expandable <code class="notranslate"><Card/></code>s.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">Given the following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<Card initiallyExpanded={true} >
<CardHeader
showExpandableButton={true}
actAsExpander={true}
/>
<CardText expandable={true}>
<Checkbox />
</CardText>
</Card>"><pre class="notranslate"><code class="notranslate"><Card initiallyExpanded={true} >
<CardHeader
showExpandableButton={true}
actAsExpander={true}
/>
<CardText expandable={true}>
<Checkbox />
</CardText>
</Card>
</code></pre></div>
<ol dir="auto">
<li>Check the checkbox</li>
<li>Collapse the card</li>
<li>Expand the card</li>
<li>Checkbox is unchecked</li>
</ol>
<h2 dir="auto">Context</h2>
<p dir="auto">I try to design a huge form, which is separated into sections. Each <code class="notranslate"><Card/></code> is a section. The sections should be collapsible.</p>
<h2 dir="auto">Your Environment</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""dependencies": {
"@types/material-ui": "^0.18.4",
"@types/react": "^16.0.25",
"@types/react-dom": "^16.0.3",
"@types/react-redux": "^5.0.13",
"@types/webpack": "^3.8.1",
"awesome-typescript-loader": "^3.4.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.1",
"material-ui": "^0.19.4",
"node-sass": "^4.7.2",
"react": "^16.1.1",
"react-dom": "^16.1.1",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-devtools-extension": "^2.13.2",
"sass-loader": "^6.0.6",
"style-loader": "^0.19.0",
"styled-components": "^2.2.3",
"ts-node": "^3.3.0",
"typescript": "^2.6.1",
"typings-for-css-modules-loader": "^1.7.0",
"webpack": "^3.8.1"
}"><pre class="notranslate"><code class="notranslate">"dependencies": {
"@types/material-ui": "^0.18.4",
"@types/react": "^16.0.25",
"@types/react-dom": "^16.0.3",
"@types/react-redux": "^5.0.13",
"@types/webpack": "^3.8.1",
"awesome-typescript-loader": "^3.4.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.1",
"material-ui": "^0.19.4",
"node-sass": "^4.7.2",
"react": "^16.1.1",
"react-dom": "^16.1.1",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-devtools-extension": "^2.13.2",
"sass-loader": "^6.0.6",
"style-loader": "^0.19.0",
"styled-components": "^2.2.3",
"ts-node": "^3.3.0",
"typescript": "^2.6.1",
"typings-for-css-modules-loader": "^1.7.0",
"webpack": "^3.8.1"
}
</code></pre></div> | 0 |
<p dir="auto">When you save MultiIndex DataFrame to csv and then loading it with no additional parameters pandas not able to read multiindices properly and reconstructed dataframe is incorrect, however all MultiIndices are stored. Creating MultiIndex DataFrame:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> import pandas as pd
>>> arrays = [np.array(['bar', 'bar', 'baz', 'baz', 'foo', 'foo', 'qux', 'qux']),
np.array(['one', 'two', 'one', 'two', 'one', 'two', 'one', 'two'])]
>>> tuples = list(zip(*arrays))
>>> index = pd.MultiIndex.from_tuples(tuples, names=['first', 'second'])
>>> df = pd.DataFrame(np.random.randn(6, 6), index=index[:6], columns=index[:6])"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></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-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">arrays</span> <span class="pl-c1">=</span> [<span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-s">'bar'</span>, <span class="pl-s">'bar'</span>, <span class="pl-s">'baz'</span>, <span class="pl-s">'baz'</span>, <span class="pl-s">'foo'</span>, <span class="pl-s">'foo'</span>, <span class="pl-s">'qux'</span>, <span class="pl-s">'qux'</span>]),
<span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-s">'one'</span>, <span class="pl-s">'two'</span>, <span class="pl-s">'one'</span>, <span class="pl-s">'two'</span>, <span class="pl-s">'one'</span>, <span class="pl-s">'two'</span>, <span class="pl-s">'one'</span>, <span class="pl-s">'two'</span>])]
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">tuples</span> <span class="pl-c1">=</span> <span class="pl-en">list</span>(<span class="pl-en">zip</span>(<span class="pl-c1">*</span><span class="pl-s1">arrays</span>))
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">index</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">MultiIndex</span>.<span class="pl-en">from_tuples</span>(<span class="pl-s1">tuples</span>, <span class="pl-s1">names</span><span class="pl-c1">=</span>[<span class="pl-s">'first'</span>, <span class="pl-s">'second'</span>])
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randn</span>(<span class="pl-c1">6</span>, <span class="pl-c1">6</span>), <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">index</span>[:<span class="pl-c1">6</span>], <span class="pl-s1">columns</span><span class="pl-c1">=</span><span class="pl-s1">index</span>[:<span class="pl-c1">6</span>])</pre></div>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> df
first bar baz foo
second one two one two one two
first second
bar one 0.608879 -1.128122 -0.238610 1.089921 0.521766 1.116998
two 1.161840 0.876528 -1.417781 -1.150305 -1.043776 0.458298
baz one 1.761382 0.634688 -1.146492 -0.082379 0.414079 -0.520011
two 1.079547 0.667917 0.122468 -1.112053 0.408232 0.703068
foo one -1.031256 1.439310 0.604550 -0.275087 -0.316610 -0.589309
two 1.730061 -1.213560 -0.581617 -0.260879 0.069140 0.970397"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">df</span>
<span class="pl-s1">first</span> <span class="pl-s1">bar</span> <span class="pl-s1">baz</span> <span class="pl-s1">foo</span>
<span class="pl-s1">second</span> <span class="pl-s1">one</span> <span class="pl-s1">two</span> <span class="pl-s1">one</span> <span class="pl-s1">two</span> <span class="pl-s1">one</span> <span class="pl-s1">two</span>
<span class="pl-s1">first</span> <span class="pl-s1">second</span>
<span class="pl-s1">bar</span> <span class="pl-s1">one</span> <span class="pl-c1">0.608879</span> <span class="pl-c1">-</span><span class="pl-c1">1.128122</span> <span class="pl-c1">-</span><span class="pl-c1">0.238610</span> <span class="pl-c1">1.089921</span> <span class="pl-c1">0.521766</span> <span class="pl-c1">1.116998</span>
<span class="pl-s1">two</span> <span class="pl-c1">1.161840</span> <span class="pl-c1">0.876528</span> <span class="pl-c1">-</span><span class="pl-c1">1.417781</span> <span class="pl-c1">-</span><span class="pl-c1">1.150305</span> <span class="pl-c1">-</span><span class="pl-c1">1.043776</span> <span class="pl-c1">0.458298</span>
<span class="pl-s1">baz</span> <span class="pl-s1">one</span> <span class="pl-c1">1.761382</span> <span class="pl-c1">0.634688</span> <span class="pl-c1">-</span><span class="pl-c1">1.146492</span> <span class="pl-c1">-</span><span class="pl-c1">0.082379</span> <span class="pl-c1">0.414079</span> <span class="pl-c1">-</span><span class="pl-c1">0.520011</span>
<span class="pl-s1">two</span> <span class="pl-c1">1.079547</span> <span class="pl-c1">0.667917</span> <span class="pl-c1">0.122468</span> <span class="pl-c1">-</span><span class="pl-c1">1.112053</span> <span class="pl-c1">0.408232</span> <span class="pl-c1">0.703068</span>
<span class="pl-s1">foo</span> <span class="pl-s1">one</span> <span class="pl-c1">-</span><span class="pl-c1">1.031256</span> <span class="pl-c1">1.439310</span> <span class="pl-c1">0.604550</span> <span class="pl-c1">-</span><span class="pl-c1">0.275087</span> <span class="pl-c1">-</span><span class="pl-c1">0.316610</span> <span class="pl-c1">-</span><span class="pl-c1">0.589309</span>
<span class="pl-s1">two</span> <span class="pl-c1">1.730061</span> <span class="pl-c1">-</span><span class="pl-c1">1.213560</span> <span class="pl-c1">-</span><span class="pl-c1">0.581617</span> <span class="pl-c1">-</span><span class="pl-c1">0.260879</span> <span class="pl-c1">0.069140</span> <span class="pl-c1">0.970397</span></pre></div>
<p dir="auto">Now saving to .csv</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> df.to_csv('test.csv')"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">df</span>.<span class="pl-en">to_csv</span>(<span class="pl-s">'test.csv'</span>)</pre></div>
<p dir="auto">File content:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="first,,bar,bar,baz,baz,foo,foo
second,,one,two,one,two,one,two
first,second,,,,,,
bar,one,-0.218970051706,-0.37813933444,-0.7634843365,-0.704262374956,-0.839464555892,0.541422908532
bar,two,0.681850126209,-0.12138626844,0.361273042684,0.143076786043,0.89542332917,-1.4010526032
baz,one,-0.818985292735,-1.09454292831,0.162462638192,-1.03231385607,0.553385654032,0.585854960842
baz,two,-1.54054784208,1.00696690064,0.976815889071,-1.39618300884,0.283526891003,-0.942377368698
foo,one,1.08113073993,-0.29494275034,0.738820962724,-1.62865612926,1.10227198603,-0.628396328368
foo,two,0.135391399079,0.410272615409,0.59806563553,0.172448276698,0.11403085441,1.47679237362"><pre class="notranslate"><code class="notranslate">first,,bar,bar,baz,baz,foo,foo
second,,one,two,one,two,one,two
first,second,,,,,,
bar,one,-0.218970051706,-0.37813933444,-0.7634843365,-0.704262374956,-0.839464555892,0.541422908532
bar,two,0.681850126209,-0.12138626844,0.361273042684,0.143076786043,0.89542332917,-1.4010526032
baz,one,-0.818985292735,-1.09454292831,0.162462638192,-1.03231385607,0.553385654032,0.585854960842
baz,two,-1.54054784208,1.00696690064,0.976815889071,-1.39618300884,0.283526891003,-0.942377368698
foo,one,1.08113073993,-0.29494275034,0.738820962724,-1.62865612926,1.10227198603,-0.628396328368
foo,two,0.135391399079,0.410272615409,0.59806563553,0.172448276698,0.11403085441,1.47679237362
</code></pre></div>
<p dir="auto">Loading file:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> df = pd.read_csv('test.csv')"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">read_csv</span>(<span class="pl-s">'test.csv'</span>)</pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" first Unnamed: 1 bar bar.1 baz \
0 second NaN one two one
1 first second NaN NaN NaN
2 bar one 0.608879221531 -1.12812151143 -0.238610193059
3 bar two 1.16184022363 0.876527615412 -1.41778054545
4 baz one 1.76138211998 0.634687797737 -1.14649190565
5 baz two 1.0795474718 0.667917354209 0.122468371132
6 foo one -1.03125632895 1.43930972259 0.604550496274
7 foo two 1.73006141389 -1.21356047236 -0.581617481203
baz.1 foo foo.1
0 two one two
1 NaN NaN NaN
2 1.08992073325 0.521766323704 1.11699823915
3 -1.15030481312 -1.04377642582 0.458297920053
4 -0.0823790312557 0.414078987249 -0.520010569472
5 -1.11205302607 0.40823221543 0.703068488788
6 -0.27508709062 -0.316610246209 -0.589308900542
7 -0.260878563358 0.0691397545038 0.9703965012 "><pre class="notranslate"><code class="notranslate"> first Unnamed: 1 bar bar.1 baz \
0 second NaN one two one
1 first second NaN NaN NaN
2 bar one 0.608879221531 -1.12812151143 -0.238610193059
3 bar two 1.16184022363 0.876527615412 -1.41778054545
4 baz one 1.76138211998 0.634687797737 -1.14649190565
5 baz two 1.0795474718 0.667917354209 0.122468371132
6 foo one -1.03125632895 1.43930972259 0.604550496274
7 foo two 1.73006141389 -1.21356047236 -0.581617481203
baz.1 foo foo.1
0 two one two
1 NaN NaN NaN
2 1.08992073325 0.521766323704 1.11699823915
3 -1.15030481312 -1.04377642582 0.458297920053
4 -0.0823790312557 0.414078987249 -0.520010569472
5 -1.11205302607 0.40823221543 0.703068488788
6 -0.27508709062 -0.316610246209 -0.589308900542
7 -0.260878563358 0.0691397545038 0.9703965012
</code></pre></div>
<p dir="auto">Yes, I know that I need to specify columns and index parameters, but why I should do this? All information needed to restore original DataFrame with MultiIndex are already in the file. Is it possible to make it default to parse MultiIndices in csv, for example, using multiple separators in a row:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="first,second,,,,,,"><pre class="notranslate"><code class="notranslate">first,second,,,,,,
</code></pre></div> | <h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas as pd
s1 = pd.Series(data = [1,2,3,4,5], index = [1,2,3,4,4])
s2 = pd.Series(data = [1,2,3,4,5], index = ['1', '2', '3', '4', '4'])
s1[0] # KeyError
s2[0] # KeyError
s1.iloc[:4][0] # KeyError
s1.iloc[:5][0] # KeyError
s2.iloc[:4][0] # Returns 1!
s2.iloc[:5][0] # TypeError & KeyError"><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">s1</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Series</span>(<span class="pl-s1">data</span> <span class="pl-c1">=</span> [<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>,<span class="pl-c1">4</span>,<span class="pl-c1">5</span>], <span class="pl-s1">index</span> <span class="pl-c1">=</span> [<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>,<span class="pl-c1">4</span>,<span class="pl-c1">4</span>])
<span class="pl-s1">s2</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Series</span>(<span class="pl-s1">data</span> <span class="pl-c1">=</span> [<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>,<span class="pl-c1">4</span>,<span class="pl-c1">5</span>], <span class="pl-s1">index</span> <span class="pl-c1">=</span> [<span class="pl-s">'1'</span>, <span class="pl-s">'2'</span>, <span class="pl-s">'3'</span>, <span class="pl-s">'4'</span>, <span class="pl-s">'4'</span>])
<span class="pl-s1">s1</span>[<span class="pl-c1">0</span>] <span class="pl-c"># KeyError</span>
<span class="pl-s1">s2</span>[<span class="pl-c1">0</span>] <span class="pl-c"># KeyError</span>
<span class="pl-s1">s1</span>.<span class="pl-s1">iloc</span>[:<span class="pl-c1">4</span>][<span class="pl-c1">0</span>] <span class="pl-c"># KeyError</span>
<span class="pl-s1">s1</span>.<span class="pl-s1">iloc</span>[:<span class="pl-c1">5</span>][<span class="pl-c1">0</span>] <span class="pl-c"># KeyError</span>
<span class="pl-s1">s2</span>.<span class="pl-s1">iloc</span>[:<span class="pl-c1">4</span>][<span class="pl-c1">0</span>] <span class="pl-c"># Returns 1!</span>
<span class="pl-s1">s2</span>.<span class="pl-s1">iloc</span>[:<span class="pl-c1">5</span>][<span class="pl-c1">0</span>] <span class="pl-c"># TypeError & KeyError</span></pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto"><code class="notranslate">s2[0]</code> throws a KeyError because the key, 0, is not in the index. This behavior is expected. <code class="notranslate">s2.iloc[:5][0]</code> also has this correct behavior. However, once the duplicate index has been removed, <code class="notranslate">s2.iloc[:4][0]</code>, this error is not thrown and instead the value at <strong>position</strong> 0 is returned.</p>
<p dir="auto">This error is present with string type indexes, but does not occur with integer indexes (see examples involving <code class="notranslate">s1</code> above). I have not tried other index types.</p>
<p dir="auto">Issue is present in a fresh conda environment with python version 3.6.2 and pandas version 0.21.1 (via conda-forge).</p>
<h4 dir="auto">Expected Output</h4>
<p dir="auto"><code class="notranslate">s2.iloc[:4][0]</code> should fail with TypeError and KeyError.</p>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
<h2 dir="auto">INSTALLED VERSIONS</h2>
<p dir="auto">commit: None<br>
python: 3.6.2.final.0<br>
python-bits: 64<br>
OS: Linux<br>
OS-release: 2.6.32-696.13.2.el6.x86_64<br>
machine: x86_64<br>
processor: x86_64<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: en_US.UTF-8<br>
LOCALE: en_US.UTF-8</p>
<p dir="auto">pandas: 0.21.1<br>
pytest: None<br>
pip: 9.0.1<br>
setuptools: 36.4.0<br>
Cython: None<br>
numpy: 1.13.1<br>
scipy: None<br>
pyarrow: None<br>
xarray: None<br>
IPython: None<br>
sphinx: None<br>
patsy: None<br>
dateutil: 2.6.1<br>
pytz: 2017.3<br>
blosc: None<br>
bottleneck: None<br>
tables: None<br>
numexpr: None<br>
feather: None<br>
matplotlib: None<br>
openpyxl: None<br>
xlrd: None<br>
xlwt: None<br>
xlsxwriter: None<br>
lxml: None<br>
bs4: None<br>
html5lib: None<br>
sqlalchemy: None<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: None<br>
s3fs: None<br>
fastparquet: None<br>
pandas_gbq: None<br>
pandas_datareader: None</p>
</details> | 0 |
<p dir="auto">I'm confused about the customizing and updating operations in Bootstrap.</p>
<p dir="auto">let's say that i customize some less variables from the customizer page to change colors, sizes ...etc. than i want to update my Bootstrap to the next future version.</p>
<p dir="auto">have i customize the settings again? because the updates will take me back to the default settings and if i decide to customize it again i should remember my last settings!</p>
<p dir="auto">let me know about some tips to avoid this hard work, and do an XML file that will be downloaded with the customizer package in order to use it again with newer versions.</p> | <p dir="auto">The new site has the awesome customization screen, but unless you manage your bookmarks like a champ, there's no clear mapping between which custom builds on your system correspond to which URLs on the site. It would rock socks if the URL of the custom build was in the header comment in the generated source files.</p>
<p dir="auto">For example, In bootstrap.css, you could have something like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/*!
* Bootstrap v3.0.0
* Custom build generated by http://getbootstrap.com/customize/?id=6277349
* "><pre class="notranslate"><code class="notranslate">/*!
* Bootstrap v3.0.0
* Custom build generated by http://getbootstrap.com/customize/?id=6277349
*
</code></pre></div> | 1 |
<h2 dir="auto">Steps to Reproduce</h2>
<ol dir="auto">
<li>Create a new project with <code class="notranslate">flutter create</code></li>
<li><code class="notranslate">flutter run</code> it in the iOS simulator</li>
<li>Rotate the screen in the simulator (Hardware>Rotate Left)</li>
</ol>
<p dir="auto">Result: Screen looks oddly stretched:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/13644170/19766845/4fc90b20-9c50-11e6-82ec-f2e7022050ec.png"><img src="https://cloud.githubusercontent.com/assets/13644170/19766845/4fc90b20-9c50-11e6-82ec-f2e7022050ec.png" alt="simulator screen shot 27 oct 2016 14 18 51" style="max-width: 100%;"></a></p> | <p dir="auto">It would be useful to be able to create Text widgets or RichText widgets that are selectable by users.</p>
<p dir="auto">Maybe a "selectable" flag in the RichText widget would suffice.</p> | 0 |
<p dir="auto">Each time I do <code class="notranslate">Cmd-Shift-P</code> and <code class="notranslate">Install Extensions</code> it takes ages for the list of extensions to come up. Like literally a minute or more.</p>
<p dir="auto">And it doesn't seem to cache the result. It's like it has to download them each time, even if it's only a second or two after I last pulled it up.</p>
<p dir="auto">Frustrating - like using yum in Fedora used to be.</p>
<p dir="auto">apt-get in Ubuntu would cache results and was always more perfomant and responsive, with a slight cost in synchronisation with the latest available packages.</p>
<p dir="auto">It would work for me if it downloaded the latest package list when requested - and continued to download it even when it loses focus and closes. And then uses that cached list until the program is restarted, or does the same background load if it is opened again after ten minutes.</p>
<p dir="auto">That way I have a delay the first time I open it, but I can keep working. At the moment I have to literally stop working <em>on_anything</em> and wait for the list to load.</p> | <p dir="auto"><code class="notranslate">ext install</code> is slow with slow internet connection to fetch extensions list, is this possible cache the results?<br>
or use git instead of fetch list every time (<a href="https://github.com/Microsoft/vscode/blob/6e94b27e06cef23a84fca0aff18b7702dc670014/src/vs/workbench/parts/extensions/node/vsoGalleryService.ts#L85">vsoGalleryService.ts</a>)?</p> | 1 |
<ul dir="auto">
<li><strong>Electron Version:</strong><br>
8.0.0</li>
<li><strong>Operating System:</strong><br>
Windows 10</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>
</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">In most cases, desktopCaptuerer has been working fine, with the expected source names including <code class="notranslate">Entire Screen</code> in a single-monitor setup and <code class="notranslate">Screen 1</code> and <code class="notranslate">Screen 2</code> when there are two.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">However, in certain two-monitor setups, the source names only include <code class="notranslate">Entire Screen</code> instead of the expected <code class="notranslate">Screen 1</code> and <code class="notranslate">Screen 2</code>. So desktopCapturer is only able to record one of the screens. I am not sure what differentiates these setups from others. OS is Windows 10 across the board.</p>
<h3 dir="auto">To Reproduce</h3>
<h3 dir="auto">Screenshots</h3>
<h3 dir="auto">Additional Information</h3> | <ul dir="auto">
<li>Electron version: 1.7.10</li>
<li>Operating system: Mac 10.13.1</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">可以启动adb service通过<code class="notranslate">adb devices</code> 获取到设备id</p>
<h3 dir="auto">Actual behavior</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
A JavaScript error occurred in the main process
Uncaught Exception:
Error : spawn ENOTDIR
"><pre class="notranslate"><span class="pl-v">A</span> <span class="pl-v">JavaScript</span> <span class="pl-s1">error</span> <span class="pl-s1">occurred</span> <span class="pl-k">in</span> <span class="pl-s1">the</span> <span class="pl-s1">main</span> <span class="pl-s1">process</span>
Uncaught <span class="pl-v">Exception</span>:
Error : <span class="pl-s1">spawn</span> <span class="pl-c1">ENOTDIR</span></pre></div>
<p dir="auto">adb放置在<code class="notranslate">resources/mac/adb</code>,代码写在src/index.js中,整体的目录结构如下:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="resources // adb二进制文件
src //源代码
.babelrc
package.json"><pre class="notranslate"><code class="notranslate">resources // adb二进制文件
src //源代码
.babelrc
package.json
</code></pre></div>
<p dir="auto">代码:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import os from 'os';
import path from 'path';
import childProcess from 'child_process';
const spawn = childProcess.spawn;
const PLATFORM = {
MAC: 'mac',
WINDOWS: 'windows',
UNKNOWN: 'unknown'
}
function fetchPlatform(){
switch(os.platform()){
case 'darwin':
return PLATFORM.MAC;
break;
case 'win32':
return PLATFORM.WINDOWS;
break;
default:
return PLATFORM.UNKNOWN;
break;
}
}
const platform = fetchPlatform();
const rootDir = path.resolve(__dirname,'../');
const RESOURCES = path.resolve(rootDir,'resources')
const _adbPath = path.resolve(RESOURCES,platform);
function fetchAdbPath(){
switch(platform){
case PLATFORM.MAC:
return path.resolve(_adbPath,'adb');
break;
case PLATFORM.WINDOWS:
return path.resolve(_adbPath, 'adb.exe');
break;
default:
return false;
break;
}
}
export function start_server(callback){
let adbExecPath = fetchAdbPath();
if (adbExecPath){
let adb = spawn(adbExecPath,['start-server']);
adb.stdout.on('data', function (data) {
console.log('stdout: ' + data);
});
adb.stderr.on('data', function (data) {
console.log('stderr: ' + data);
});
adb.on('exit', function (code) {
typeof callback === 'function' && callback(code);
});
adb.stdin.end();
} else {
throw new Error('Not Found Android Debug Bridge');
}
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">os</span> <span class="pl-k">from</span> <span class="pl-s">'os'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s1">path</span> <span class="pl-k">from</span> <span class="pl-s">'path'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s1">childProcess</span> <span class="pl-k">from</span> <span class="pl-s">'child_process'</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">spawn</span> <span class="pl-c1">=</span> <span class="pl-s1">childProcess</span><span class="pl-kos">.</span><span class="pl-c1">spawn</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-c1">PLATFORM</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">MAC</span>: <span class="pl-s">'mac'</span><span class="pl-kos">,</span>
<span class="pl-c1">WINDOWS</span>: <span class="pl-s">'windows'</span><span class="pl-kos">,</span>
<span class="pl-c1">UNKNOWN</span>: <span class="pl-s">'unknown'</span>
<span class="pl-kos">}</span>
<span class="pl-k">function</span> <span class="pl-en">fetchPlatform</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-k">switch</span><span class="pl-kos">(</span><span class="pl-s1">os</span><span class="pl-kos">.</span><span class="pl-en">platform</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">case</span> <span class="pl-s">'darwin'</span>:
<span class="pl-k">return</span> <span class="pl-c1">PLATFORM</span><span class="pl-kos">.</span><span class="pl-c1">MAC</span><span class="pl-kos">;</span>
<span class="pl-k">break</span><span class="pl-kos">;</span>
<span class="pl-k">case</span> <span class="pl-s">'win32'</span>:
<span class="pl-k">return</span> <span class="pl-c1">PLATFORM</span><span class="pl-kos">.</span><span class="pl-c1">WINDOWS</span><span class="pl-kos">;</span>
<span class="pl-k">break</span><span class="pl-kos">;</span>
<span class="pl-k">default</span>:
<span class="pl-k">return</span> <span class="pl-c1">PLATFORM</span><span class="pl-kos">.</span><span class="pl-c1">UNKNOWN</span><span class="pl-kos">;</span>
<span class="pl-k">break</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">const</span> <span class="pl-s1">platform</span> <span class="pl-c1">=</span> <span class="pl-en">fetchPlatform</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">rootDir</span> <span class="pl-c1">=</span> <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s1">__dirname</span><span class="pl-kos">,</span><span class="pl-s">'../'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-c1">RESOURCES</span> <span class="pl-c1">=</span> <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s1">rootDir</span><span class="pl-kos">,</span><span class="pl-s">'resources'</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-s1">_adbPath</span> <span class="pl-c1">=</span> <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-c1">RESOURCES</span><span class="pl-kos">,</span><span class="pl-s1">platform</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">function</span> <span class="pl-en">fetchAdbPath</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-k">switch</span><span class="pl-kos">(</span><span class="pl-s1">platform</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-k">case</span> <span class="pl-c1">PLATFORM</span><span class="pl-kos">.</span><span class="pl-c1">MAC</span>:
<span class="pl-k">return</span> <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s1">_adbPath</span><span class="pl-kos">,</span><span class="pl-s">'adb'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">break</span><span class="pl-kos">;</span>
<span class="pl-k">case</span> <span class="pl-c1">PLATFORM</span><span class="pl-kos">.</span><span class="pl-c1">WINDOWS</span>:
<span class="pl-k">return</span> <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s1">_adbPath</span><span class="pl-kos">,</span> <span class="pl-s">'adb.exe'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">break</span><span class="pl-kos">;</span>
<span class="pl-k">default</span>:
<span class="pl-k">return</span> <span class="pl-c1">false</span><span class="pl-kos">;</span>
<span class="pl-k">break</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">export</span> <span class="pl-k">function</span> <span class="pl-en">start_server</span><span class="pl-kos">(</span><span class="pl-s1">callback</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-k">let</span> <span class="pl-s1">adbExecPath</span> <span class="pl-c1">=</span> <span class="pl-en">fetchAdbPath</span><span class="pl-kos">(</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">adbExecPath</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-k">let</span> <span class="pl-s1">adb</span> <span class="pl-c1">=</span> <span class="pl-s1">spawn</span><span class="pl-kos">(</span><span class="pl-s1">adbExecPath</span><span class="pl-kos">,</span><span class="pl-kos">[</span><span class="pl-s">'start-server'</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">adb</span><span class="pl-kos">.</span><span class="pl-c1">stdout</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'data'</span><span class="pl-kos">,</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">data</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'stdout: '</span> <span class="pl-c1">+</span> <span class="pl-s1">data</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">adb</span><span class="pl-kos">.</span><span class="pl-c1">stderr</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'data'</span><span class="pl-kos">,</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">data</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'stderr: '</span> <span class="pl-c1">+</span> <span class="pl-s1">data</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">adb</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'exit'</span><span class="pl-kos">,</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">code</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">typeof</span> <span class="pl-s1">callback</span> <span class="pl-c1">===</span> <span class="pl-s">'function'</span> <span class="pl-c1">&&</span> <span class="pl-s1">callback</span><span class="pl-kos">(</span><span class="pl-s1">code</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">adb</span><span class="pl-kos">.</span><span class="pl-c1">stdin</span><span class="pl-kos">.</span><span class="pl-en">end</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-kos">{</span>
<span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-v">Error</span><span class="pl-kos">(</span><span class="pl-s">'Not Found Android Debug Bridge'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">将上述代码做为一个npm包,假设叫<code class="notranslate">adb-test-a</code>,然后在electron工程里,<code class="notranslate">npm install adb-test-a</code>,调用<code class="notranslate">start_server</code>,必抛错误:<code class="notranslate">Error : spawn ENOTDIR</code>。</p> | 0 |
<p dir="auto">It has something to do with this hack:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/* Core language traits */
#[cfg(notest)] pub mod kinds;
#[cfg(notest)] pub mod ops;
#[cfg(notest)] pub mod cmp;
// Make core testable by not duplicating lang items. See #2912
#[cfg(test)] extern mod realcore(name = "core", vers = "0.6");
#[cfg(test)] pub use kinds = realcore::kinds;
#[cfg(test)] pub use ops = realcore::ops;
#[cfg(test)] pub use cmp = realcore::cmp;"><pre class="notranslate"><code class="notranslate">/* Core language traits */
#[cfg(notest)] pub mod kinds;
#[cfg(notest)] pub mod ops;
#[cfg(notest)] pub mod cmp;
// Make core testable by not duplicating lang items. See #2912
#[cfg(test)] extern mod realcore(name = "core", vers = "0.6");
#[cfg(test)] pub use kinds = realcore::kinds;
#[cfg(test)] pub use ops = realcore::ops;
#[cfg(test)] pub use cmp = realcore::cmp;
</code></pre></div> | <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn f(x: i32) -> i32 {
f(x)
}
fn main() {
println!("{}", f(0));
}"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">:</span> <span class="pl-smi">i32</span><span class="pl-kos">)</span> -> <span class="pl-smi">i32</span> <span class="pl-kos">{</span>
<span class="pl-en">f</span><span class="pl-kos">(</span>x<span class="pl-kos">)</span>
<span class="pl-kos">}</span>
<span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">println</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{}"</span>, f<span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="0
Program ended."><pre class="notranslate"><code class="notranslate">0
Program ended.
</code></pre></div>
<ul dir="auto">
<li><a href="http://is.gd/46GQ4K" rel="nofollow">http://is.gd/46GQ4K</a></li>
</ul>
<p dir="auto">Note we get a stack overflow as expected(!?) with <code class="notranslate">-O0</code> (observation by mboeh)</p> | 0 |
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">We have a very simple ListView with a TextField that throws an exception (in debug build) and breaks the ListView in release build, whenever the ListView is rebuilt while the TextField is off-screen but has the keyboard active. This might be considered a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="254692632" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/11895" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/11895/hovercard" href="https://github.com/flutter/flutter/issues/11895">#11895</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="330372298" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/18276" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/18276/hovercard" href="https://github.com/flutter/flutter/issues/18276">#18276</a> , but the example app may still be useful for illuminating the scope of the issue, if the scope is not already fully known.</p>
<ol dir="auto">
<li>Run the app at <a href="https://gist.githubusercontent.com/idealopamp/7f87acbbee5de34ff3e6fb1f020613d6/raw/bc0f3b28cb1313ea52c76b58afbd3f4cc00e0377/main.dart" rel="nofollow">https://gist.githubusercontent.com/idealopamp/7f87acbbee5de34ff3e6fb1f020613d6/raw/bc0f3b28cb1313ea52c76b58afbd3f4cc00e0377/main.dart</a></li>
<li>Click on the first TextField (the one that says "Click here, then scroll to the bottom and hit save")</li>
<li>Scroll to the bottom of the LIstView</li>
<li>Hit the save button -- an error should be thrown and displayed (when in debug build)</li>
</ol>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ +35 ms] [/home/idealmike/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +30 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/master
[ ] [/home/idealmike/flutter/] git rev-parse --abbrev-ref HEAD
[ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] master
[ ] [/home/idealmike/flutter/] git ls-remote --get-url origin
[ +5 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [/home/idealmike/flutter/] git log -n 1 --pretty=format:%H
[ +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 711ecf7f58822d5c37a7facf4681ee5dc85e0173
[ ] [/home/idealmike/flutter/] git log -n 1 --pretty=format:%ar
[ +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 74 minutes ago
[ ] [/home/idealmike/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +12 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v0.5.7-179-g711ecf7f5
[ +210 ms] /home/idealmike/Android/Sdk/platform-tools/adb devices -l
[ +8 ms] Exit code 0 from: /home/idealmike/Android/Sdk/platform-tools/adb devices -l
[ ] List of devices attached
ce061716f0462c6c0c7e device usb:3-1 product:greatqltesq model:SM_N950U device:greatqlte transport_id:5
[ +114 ms] Found plugin barcode_scan at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/barcode_scan-0.0.4/
[ +15 ms] Found plugin camera at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.2.1/
[ +5 ms] Found plugin contacts_service at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/contacts_service-0.0.7/
[ +21 ms] Found plugin image_picker at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.5/
[ +8 ms] Found plugin path_provider at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-0.4.1/
[ +3 ms] Found plugin share at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.5.2/
[ +3 ms] Found plugin simple_permissions at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/simple_permissions-0.1.5/
[ +6 ms] Found plugin url_launcher at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-3.0.3/
[ +50 ms] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e shell getprop
[ +125 ms] ro.hardware = qcom
[ +500 ms] Launching lib/main.dart on SM N950U in debug mode...
[ +5 ms] Initializing gradle...
[ +10 ms] Using gradle from /home/idealmike/treo/flutter/appraisal_supplier_app/android/gradlew.
[ +54 ms] /home/idealmike/treo/flutter/appraisal_supplier_app/android/gradlew -v
[ +480 ms]
------------------------------------------------------------
Gradle 4.4
------------------------------------------------------------
Build time: 2017-12-06 09:05:06 UTC
Revision: cf7821a6f79f8e2a598df21780e3ff7ce8db2b82
Groovy: 2.4.12
Ant: Apache Ant(TM) version 1.9.9 compiled on February 2 2017
JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b01)
OS: Linux 4.13.0-46-generic amd64
[ +12 ms] Resolving dependencies...
[ ] [/home/idealmike/treo/flutter/appraisal_supplier_app/android/] /home/idealmike/treo/flutter/appraisal_supplier_app/android/gradlew app:properties
[ +667 ms] WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The specified Android SDK Build Tools version (25.0.3) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.3.
Android SDK Build Tools 27.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '25.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
:app:properties
------------------------------------------------------------
Project :app
------------------------------------------------------------
allprojects: [project ':app']
android: com.android.build.gradle.AppExtension_Decorated@27ec102c
androidDependencies: task ':app:androidDependencies'
ant: org.gradle.api.internal.project.DefaultAntBuilder@40fc3a3f
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@5fbd9f33
archivesBaseName: app
artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@116814c3
asDynamicObject: DynamicObject for project ':app'
assemble: task ':app:assemble'
assembleAndroidTest: task ':app:assembleAndroidTest'
assembleDebug: task ':app:assembleDebug'
assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest'
assembleDebugUnitTest: task ':app:assembleDebugUnitTest'
assembleProfile: task ':app:assembleProfile'
assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
assembleRelease: task ':app:assembleRelease'
assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@56420bb2
buildDependents: task ':app:buildDependents'
buildDir: /home/idealmike/treo/flutter/appraisal_supplier_app/build/app
buildFile: /home/idealmike/treo/flutter/appraisal_supplier_app/android/app/build.gradle
buildNeeded: task ':app:buildNeeded'
buildOutputs: BaseVariantOutput container
buildPath: :
buildScriptSource: org.gradle.groovy.scripts.TextResourceScriptSource@77ceee87
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@44b9b34a
bundleAppClassesDebug: task ':app:bundleAppClassesDebug'
bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest'
bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest'
bundleAppClassesProfile: task ':app:bundleAppClassesProfile'
bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest'
bundleAppClassesRelease: task ':app:bundleAppClassesRelease'
bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest'
bundleDebugAndroidTestResources: task ':app:bundleDebugAndroidTestResources'
bundleDebugResources: task ':app:bundleDebugResources'
bundleProfileResources: task ':app:bundleProfileResources'
bundleReleaseResources: task ':app:bundleReleaseResources'
check: task ':app:check'
checkDebugManifest: task ':app:checkDebugManifest'
checkProfileManifest: task ':app:checkProfileManifest'
checkReleaseManifest: task ':app:checkReleaseManifest'
childProjects: {}
class: class org.gradle.api.internal.project.DefaultProject_Decorated
classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@15266912
cleanBuildCache: task ':app:cleanBuildCache'
compileDebugAidl: task ':app:compileDebugAidl'
compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl'
compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac'
compileDebugAndroidTestKotlin: task ':app:compileDebugAndroidTestKotlin'
compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk'
compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript'
compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders'
compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources'
compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac'
compileDebugKotlin: task ':app:compileDebugKotlin'
compileDebugNdk: task ':app:compileDebugNdk'
compileDebugRenderscript: task ':app:compileDebugRenderscript'
compileDebugShaders: task ':app:compileDebugShaders'
compileDebugSources: task ':app:compileDebugSources'
compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac'
compileDebugUnitTestKotlin: task ':app:compileDebugUnitTestKotlin'
compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources'
compileLint: task ':app:compileLint'
compileProfileAidl: task ':app:compileProfileAidl'
compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac'
compileProfileKotlin: task ':app:compileProfileKotlin'
compileProfileNdk: task ':app:compileProfileNdk'
compileProfileRenderscript: task ':app:compileProfileRenderscript'
compileProfileShaders: task ':app:compileProfileShaders'
compileProfileSources: task ':app:compileProfileSources'
compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac'
compileProfileUnitTestKotlin: task ':app:compileProfileUnitTestKotlin'
compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources'
compileReleaseAidl: task ':app:compileReleaseAidl'
compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac'
compileReleaseKotlin: task ':app:compileReleaseKotlin'
compileReleaseNdk: task ':app:compileReleaseNdk'
compileReleaseRenderscript: task ':app:compileReleaseRenderscript'
compileReleaseShaders: task ':app:compileReleaseShaders'
compileReleaseSources: task ':app:compileReleaseSources'
compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac'
compileReleaseUnitTestKotlin: task ':app:compileReleaseUnitTestKotlin'
compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources'
components: SoftwareComponentInternal set
configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@537fff9f
configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@534589a1
configurations: configuration container
connectedAndroidTest: task ':app:connectedAndroidTest'
connectedCheck: task ':app:connectedCheck'
connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest'
consumeConfigAttr: task ':app:consumeConfigAttr'
convention: org.gradle.api.internal.plugins.DefaultConvention@5a6f4360
copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests'
createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests'
createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests'
defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@7ca7dfc6
defaultTasks: []
deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@500844ca
dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@2f7fd7eb
depth: 1
description: null
deviceAndroidTest: task ':app:deviceAndroidTest'
deviceCheck: task ':app:deviceCheck'
displayName: project ':app'
distsDir: /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/distributions
distsDirName: distributions
docsDir: /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/docs
docsDirName: docs
ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@f2bf527
extensions: org.gradle.api.internal.plugins.DefaultConvention@5a6f4360
extractProguardFiles: task ':app:extractProguardFiles'
fileOperations: org.gradle.api.internal.file.DefaultFileOperations@4db052eb
fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@5f0c6183
flutter: FlutterExtension_Decorated@e9d3506
flutterBuildDebug: task ':app:flutterBuildDebug'
flutterBuildProfile: task ':app:flutterBuildProfile'
flutterBuildRelease: task ':app:flutterBuildRelease'
flutterBuildX86Jar: task ':app:flutterBuildX86Jar'
generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets'
generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig'
generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues'
generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources'
generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources'
generateDebugAssets: task ':app:generateDebugAssets'
generateDebugBuildConfig: task ':app:generateDebugBuildConfig'
generateDebugResValues: task ':app:generateDebugResValues'
generateDebugResources: task ':app:generateDebugResources'
generateDebugSources: task ':app:generateDebugSources'
generateProfileAssets: task ':app:generateProfileAssets'
generateProfileBuildConfig: task ':app:generateProfileBuildConfig'
generateProfileResValues: task ':app:generateProfileResValues'
generateProfileResources: task ':app:generateProfileResources'
generateProfileSources: task ':app:generateProfileSources'
generateReleaseAssets: task ':app:generateReleaseAssets'
generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig'
generateReleaseResValues: task ':app:generateReleaseResValues'
generateReleaseResources: task ':app:generateReleaseResources'
generateReleaseSources: task ':app:generateReleaseSources'
gradle: build 'android'
group: android
identityPath: :app
inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@5ecf6b3f
installDebug: task ':app:installDebug'
installDebugAndroidTest: task ':app:installDebugAndroidTest'
installProfile: task ':app:installProfile'
installRelease: task ':app:installRelease'
javaPreCompileDebug: task ':app:javaPreCompileDebug'
javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
javaPreCompileProfile: task ':app:javaPreCompileProfile'
javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
javaPreCompileRelease: task ':app:javaPreCompileRelease'
javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
kapt: org.jetbrains.kotlin.gradle.plugin.KaptExtension_Decorated@11274d07
kotlin: org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension_Decorated@2d9b26d9
kotlin_version: 1.1.51
layout: org.gradle.api.internal.file.DefaultProjectLayout@4ac91369
libsDir: /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/libs
libsDirName: libs
lint: task ':app:lint'
lintDebug: task ':app:lintDebug'
lintProfile: task ':app:lintProfile'
lintRelease: task ':app:lintRelease'
lintVitalRelease: task ':app:lintVitalRelease'
logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@4b985bb4
logging: org.gradle.internal.logging.services.DefaultLoggingManager@6f7a1f9c
mainApkListPersistenceDebug: task ':app:mainApkListPersistenceDebug'
mainApkListPersistenceDebugAndroidTest: task ':app:mainApkListPersistenceDebugAndroidTest'
mainApkListPersistenceProfile: task ':app:mainApkListPersistenceProfile'
mainApkListPersistenceRelease: task ':app:mainApkListPersistenceRelease'
mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets'
mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders'
mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources'
mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders'
mergeDebugAssets: task ':app:mergeDebugAssets'
mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders'
mergeDebugResources: task ':app:mergeDebugResources'
mergeDebugShaders: task ':app:mergeDebugShaders'
mergeProfileAssets: task ':app:mergeProfileAssets'
mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders'
mergeProfileResources: task ':app:mergeProfileResources'
mergeProfileShaders: task ':app:mergeProfileShaders'
mergeReleaseAssets: task ':app:mergeReleaseAssets'
mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders'
mergeReleaseResources: task ':app:mergeReleaseResources'
mergeReleaseShaders: task ':app:mergeReleaseShaders'
mockableAndroidJar: task ':app:mockableAndroidJar'
modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@449e2801
modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@76bacf77
module: org.gradle.api.internal.artifacts.ProjectBackedModule@2c69fb86
name: app
normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@30c773a5
objects: org.gradle.api.internal.model.DefaultObjectFactory@32977c8f
org.gradle.jvmargs: -Xmx1536M
packageDebug: task ':app:packageDebug'
packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
packageProfile: task ':app:packageProfile'
packageRelease: task ':app:packageRelease'
parent: root project 'android'
parentIdentifier: root project 'android'
path: :app
platformAttrExtractor: task ':app:platformAttrExtractor'
pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@dae03be
plugins: [org.gradle.api.plugins.HelpTasksPlugin@633771f5, com.android.build.gradle.api.AndroidBasePlugin@6d5d64da, org.gradle.language.base.plugins.LifecycleBasePlugin@6497c8f2, org.gradle.api.plugins.BasePlugin@529ef99f, org.gradle.api.plugins.ReportingBasePlugin@76774d54, org.gradle.platform.base.plugins.ComponentBasePlugin@48d4efe7, org.gradle.language.base.plugins.LanguageBasePlugin@4851644, org.gradle.platform.base.plugins.BinaryBasePlugin@1309210c, org.gradle.api.plugins.JavaBasePlugin@c462a7f, com.android.build.gradle.AppPlugin@55692353, org.jetbrains.kotlin.gradle.plugin.KotlinAndroidPluginWrapper@44a6c1a, FlutterPlugin@61e2d45e]
preBuild: task ':app:preBuild'
preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
preDebugBuild: task ':app:preDebugBuild'
preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
preProfileBuild: task ':app:preProfileBuild'
preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
preReleaseBuild: task ':app:preReleaseBuild'
preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
prepareLintJar: task ':app:prepareLintJar'
preparePUBLISHED_DEXDebugAndroidTestForPublishing: task ':app:preparePUBLISHED_DEXDebugAndroidTestForPublishing'
preparePUBLISHED_DEXDebugForPublishing: task ':app:preparePUBLISHED_DEXDebugForPublishing'
preparePUBLISHED_DEXProfileForPublishing: task ':app:preparePUBLISHED_DEXProfileForPublishing'
preparePUBLISHED_DEXReleaseForPublishing: task ':app:preparePUBLISHED_DEXReleaseForPublishing'
preparePUBLISHED_JAVA_RESDebugAndroidTestForPublishing: task ':app:preparePUBLISHED_JAVA_RESDebugAndroidTestForPublishing'
preparePUBLISHED_JAVA_RESDebugForPublishing: task ':app:preparePUBLISHED_JAVA_RESDebugForPublishing'
preparePUBLISHED_JAVA_RESProfileForPublishing: task ':app:preparePUBLISHED_JAVA_RESProfileForPublishing'
preparePUBLISHED_JAVA_RESReleaseForPublishing: task ':app:preparePUBLISHED_JAVA_RESReleaseForPublishing'
preparePUBLISHED_NATIVE_LIBSDebugAndroidTestForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDebugAndroidTestForPublishing'
preparePUBLISHED_NATIVE_LIBSDebugForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDebugForPublishing'
preparePUBLISHED_NATIVE_LIBSProfileForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSProfileForPublishing'
preparePUBLISHED_NATIVE_LIBSReleaseForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSReleaseForPublishing'
processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes'
processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest'
processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
processDebugJavaRes: task ':app:processDebugJavaRes'
processDebugManifest: task ':app:processDebugManifest'
processDebugResources: task ':app:processDebugResources'
processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes'
processOperations: org.gradle.api.internal.file.DefaultFileOperations@4db052eb
processProfileJavaRes: task ':app:processProfileJavaRes'
processProfileManifest: task ':app:processProfileManifest'
processProfileResources: task ':app:processProfileResources'
processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes'
processReleaseJavaRes: task ':app:processReleaseJavaRes'
processReleaseManifest: task ':app:processReleaseManifest'
processReleaseResources: task ':app:processReleaseResources'
processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes'
project: project ':app'
projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@3845ec2a
projectDir: /home/idealmike/treo/flutter/appraisal_supplier_app/android/app
projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@3314fadc
projectPath: :app
projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@3aee9b35
properties: {...}
providers: org.gradle.api.internal.provider.DefaultProviderFactory@61997be0
reportBuildArtifactsDebug: task ':app:reportBuildArtifactsDebug'
reportBuildArtifactsProfile: task ':app:reportBuildArtifactsProfile'
reportBuildArtifactsRelease: task ':app:reportBuildArtifactsRelease'
reporting: org.gradle.api.reporting.ReportingExtension_Decorated@47a0dc25
reportsDir: /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/reports
repositories: repository container
resolveConfigAttr: task ':app:resolveConfigAttr'
resourceLoader: org.gradle.internal.resource.transfer.DefaultUriTextResourceLoader@50135c47
resources: org.gradle.api.internal.resources.DefaultResourceHandler@44c58e83
rootDir: /home/idealmike/treo/flutter/appraisal_supplier_app/android
rootProject: root project 'android'
script: false
scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@abc821d
scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@4b3c369b
serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@107badf
services: ProjectScopeServices
signingReport: task ':app:signingReport'
sourceCompatibility: 1.8
sourceSets: SourceSet container
splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@6f7a1f9c
state: project state 'EXECUTED'
status: integration
subprojects: []
targetCompatibility: 1.8
tasks: task set
test: task ':app:test'
testDebugUnitTest: task ':app:testDebugUnitTest'
testProfileUnitTest: task ':app:testProfileUnitTest'
testReleaseUnitTest: task ':app:testReleaseUnitTest'
testReportDir: /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/reports/tests
testReportDirName: tests
testResultsDir: /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/test-results
testResultsDirName: test-results
transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest'
transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
transformClassesWithDexBuilderForRelease: task ':app:transformClassesWithDexBuilderForRelease'
transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile'
transformDexArchiveWithDexMergerForRelease: task ':app:transformDexArchiveWithDexMergerForRelease'
transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
transformDexArchiveWithExternalLibsDexMergerForRelease: task ':app:transformDexArchiveWithExternalLibsDexMergerForRelease'
transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug'
transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile'
transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest'
transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease'
transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
uninstallAll: task ':app:uninstallAll'
uninstallDebug: task ':app:uninstallDebug'
uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
uninstallProfile: task ':app:uninstallProfile'
uninstallRelease: task ':app:uninstallRelease'
validateSigningDebug: task ':app:validateSigningDebug'
validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
validateSigningProfile: task ':app:validateSigningProfile'
validateSigningRelease: task ':app:validateSigningRelease'
version: unspecified
writeDebugApplicationId: task ':app:writeDebugApplicationId'
writeProfileApplicationId: task ':app:writeProfileApplicationId'
writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
BUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
[ +2 ms] /home/idealmike/Android/Sdk/build-tools/27.0.3/aapt dump xmltree /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/outputs/apk/app.apk AndroidManifest.xml
[ +12 ms] Exit code 0 from: /home/idealmike/Android/Sdk/build-tools/27.0.3/aapt dump xmltree /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/outputs/apk/app.apk AndroidManifest.xml
[ ] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0" (Raw: "1.0")
A: package="co.treo.appraisalsupplierapp" (Raw: "co.treo.appraisalsupplierapp")
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1b
E: uses-permission (line=16)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: uses-permission (line=17)
A: android:name(0x01010003)="android.permission.READ_CONTACTS" (Raw: "android.permission.READ_CONTACTS")
E: uses-permission (line=18)
A: android:name(0x01010003)="android.permission.WRITE_CONTACTS" (Raw: "android.permission.WRITE_CONTACTS")
E: uses-permission (line=19)
A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA")
E: uses-permission (line=20)
A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE")
E: uses-permission (line=21)
A: android:name(0x01010003)="android.permission.WRITE_EXTERNAL_STORAGE" (Raw: "android.permission.WRITE_EXTERNAL_STORAGE")
E: uses-permission (line=22)
A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE")
E: uses-permission (line=23)
A: android:name(0x01010003)="android.permission.RECORD_AUDIO" (Raw: "android.permission.RECORD_AUDIO")
E: application (line=31)
A: android:label(0x01010001)="appraisal_supplier_app" (Raw: "appraisal_supplier_app")
A: android:icon(0x01010002)=@0x7f0b0000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
E: activity (line=36)
A: android:theme(0x01010000)=@0x7f0d00a4
A: android:name(0x01010003)="co.treo.appraisalsupplierapp.MainActivity" (Raw: "co.treo.appraisalsupplierapp.MainActivity")
A: android:launchMode(0x0101001d)=(type 0x10)0x1
A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
E: meta-data (line=50)
A: android:name(0x01010003)="io.flutter.app.android.SplashScreenUntilFirstFrame" (Raw: "io.flutter.app.android.SplashScreenUntilFirstFrame")
A: android:value(0x01010024)=(type 0x12)0xffffffff
E: intent-filter (line=54)
E: action (line=55)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=57)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: activity (line=60)
A: android:name(0x01010003)="com.apptreesoftware.barcodescan.BarcodeScannerActivity" (Raw: "com.apptreesoftware.barcodescan.BarcodeScannerActivity")
E: activity (line=61)
A: android:theme(0x01010000)=@0x1030007
A: android:name(0x01010003)="io.flutter.plugins.urllauncher.UrlLauncherPlugin$WebViewActivity" (Raw: "io.flutter.plugins.urllauncher.UrlLauncherPlugin$WebViewActivity")
A: android:exported(0x01010010)=(type 0x12)0x0
E: provider (line=66)
A: android:name(0x01010003)="android.support.v4.content.FileProvider" (Raw: "android.support.v4.content.FileProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="co.treo.appraisalsupplierapp.flutter.image_provider" (Raw: "co.treo.appraisalsupplierapp.flutter.image_provider")
A: android:grantUriPermissions(0x0101001b)=(type 0x12)0xffffffff
E: meta-data (line=71)
A: android:name(0x01010003)="android.support.FILE_PROVIDER_PATHS" (Raw: "android.support.FILE_PROVIDER_PATHS")
A: android:resource(0x01010025)=@0x7f0f0000
[ +8 ms] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e logcat -v time -t 1
[ +178 ms] Exit code 0 from: /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e logcat -v time -t 1
[ ] --------- beginning of main
07-30 13:49:29.460 I/WifiTrafficPoller( 1448): mCpuCoreBooster Lock
[ +6 ms] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e logcat -v time
[ +260 ms] DependencyChecker: /home/idealmike/treo/flutter/appraisal_supplier_app/lib/main.dart is newer than 2018-07-30 13:37:51.684
[ +1 ms] /home/idealmike/Android/Sdk/platform-tools/adb version
[ +22 ms] Android Debug Bridge version 1.0.40
Version 4797878
Installed as /home/idealmike/Android/Sdk/platform-tools/adb
[ +1 ms] /home/idealmike/Android/Sdk/platform-tools/adb start-server
[ +11 ms] Building APK
[ +8 ms] Running 'gradlew assembleDebug'...
[ +1 ms] [/home/idealmike/treo/flutter/appraisal_supplier_app/android/] /home/idealmike/treo/flutter/appraisal_supplier_app/android/gradlew -Pverbose=true -Ptarget=/home/idealmike/treo/flutter/appraisal_supplier_app/lib/main.dart -Ppreview-dart-2=true -Ptarget-platform=android-arm64 assembleDebug
[ +546 ms] WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
[ ] It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
[ +28 ms] WARNING: The specified Android SDK Build Tools version (25.0.3) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.3.
[ ] Android SDK Build Tools 27.0.3 will be used.
[ ] To suppress this warning, remove "buildToolsVersion '25.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
[ +120 ms] :app:preBuild UP-TO-DATE
[ ] :barcode_scan:preBuild UP-TO-DATE
[ ] :barcode_scan:preDebugBuild UP-TO-DATE
[ +8 ms] :barcode_scan:checkDebugManifest UP-TO-DATE
[ ] :barcode_scan:processDebugManifest UP-TO-DATE
[ ] :camera:preBuild UP-TO-DATE
[ ] :camera:preDebugBuild UP-TO-DATE
[ ] :camera:checkDebugManifest UP-TO-DATE
[ ] :camera:processDebugManifest UP-TO-DATE
[ ] :contacts_service:preBuild UP-TO-DATE
[ +2 ms] :contacts_service:preDebugBuild UP-TO-DATE
[ ] :contacts_service:checkDebugManifest UP-TO-DATE
[ ] :contacts_service:processDebugManifest UP-TO-DATE
[ ] :image_picker:preBuild UP-TO-DATE
[ ] :image_picker:preDebugBuild UP-TO-DATE
[ +9 ms] :image_picker:checkDebugManifest UP-TO-DATE
[ ] :image_picker:processDebugManifest UP-TO-DATE
[ ] :path_provider:preBuild UP-TO-DATE
[ ] :path_provider:preDebugBuild UP-TO-DATE
[ ] :path_provider:checkDebugManifest UP-TO-DATE
[ ] :path_provider:processDebugManifest UP-TO-DATE
[ ] :share:preBuild UP-TO-DATE
[ ] :share:preDebugBuild UP-TO-DATE
[ ] :share:checkDebugManifest UP-TO-DATE
[ ] :share:processDebugManifest UP-TO-DATE
[ ] :simple_permissions:preBuild UP-TO-DATE
[ ] :simple_permissions:preDebugBuild UP-TO-DATE
[ ] :simple_permissions:checkDebugManifest UP-TO-DATE
[ ] :simple_permissions:processDebugManifest UP-TO-DATE
[ ] :url_launcher:preBuild UP-TO-DATE
[ ] :url_launcher:preDebugBuild UP-TO-DATE
[ ] :url_launcher:checkDebugManifest UP-TO-DATE
[ ] :url_launcher:processDebugManifest UP-TO-DATE
[ +47 ms] :app:preDebugBuild UP-TO-DATE
[ +42 ms] :barcode_scan:compileDebugAidl UP-TO-DATE
[ ] :camera:compileDebugAidl UP-TO-DATE
[ ] :contacts_service:compileDebugAidl UP-TO-DATE
[ ] :image_picker:compileDebugAidl UP-TO-DATE
[ ] :path_provider:compileDebugAidl UP-TO-DATE
[ ] :share:compileDebugAidl UP-TO-DATE
[ ] :simple_permissions:compileDebugAidl UP-TO-DATE
[ ] :url_launcher:compileDebugAidl UP-TO-DATE
[ ] :app:compileDebugAidl UP-TO-DATE
[ ] :barcode_scan:packageDebugRenderscript NO-SOURCE
[ ] :camera:packageDebugRenderscript NO-SOURCE
[ ] :contacts_service:packageDebugRenderscript NO-SOURCE
[ ] :image_picker:packageDebugRenderscript NO-SOURCE
[ ] :path_provider:packageDebugRenderscript NO-SOURCE
[ ] :share:packageDebugRenderscript NO-SOURCE
[ ] :simple_permissions:packageDebugRenderscript NO-SOURCE
[ +2 ms] :url_launcher:packageDebugRenderscript NO-SOURCE
[ ] :app:compileDebugRenderscript UP-TO-DATE
[ +42 ms] :app:flutterBuildX86Jar UP-TO-DATE
[ ] :app:checkDebugManifest UP-TO-DATE
[ ] :app:generateDebugBuildConfig UP-TO-DATE
[ ] :app:cleanMergeDebugAssets
[ +303 ms] :app:flutterBuildDebug
[ ] [ +7 ms] [/home/idealmike/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +30 ms] [ +39 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ ] origin/master
[ ] [ ] [/home/idealmike/flutter/] git rev-parse --abbrev-ref HEAD
[ ] [ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] [ ] master
[ ] [ ] [/home/idealmike/flutter/] git ls-remote --get-url origin
[ +9 ms] [ +7 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] [ ] https://github.com/flutter/flutter.git
[ ] [ ] [/home/idealmike/flutter/] git log -n 1 --pretty=format:%H
[ +10 ms] [ +7 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] [ ] 711ecf7f58822d5c37a7facf4681ee5dc85e0173
[ ] [ ] [/home/idealmike/flutter/] git log -n 1 --pretty=format:%ar
[ +9 ms] [ +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] [ ] 74 minutes ago
[ ] [ ] [/home/idealmike/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +10 ms] [ +12 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] [ ] v0.5.7-179-g711ecf7f5
[ +211 ms] [ +215 ms] Found plugin barcode_scan at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/barcode_scan-0.0.4/
[ +20 ms] [ +15 ms] Found plugin camera at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.2.1/
[ ] [ +3 ms] Found plugin contacts_service at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/contacts_service-0.0.7/
[ +20 ms] [ +21 ms] Found plugin image_picker at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.5/
[ +10 ms] [ +9 ms] Found plugin path_provider at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-0.4.1/
[ +10 ms] [ +7 ms] Found plugin share at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.5.2/
[ ] [ +3 ms] Found plugin simple_permissions at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/simple_permissions-0.1.5/
[ +9 ms] [ +7 ms] Found plugin url_launcher at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-3.0.3/
[ +201 ms] [ +200 ms] /home/idealmike/flutter/bin/cache/dart-sdk/bin/dart /home/idealmike/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/idealmike/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --strong --target=flutter --no-link-platform --incremental --packages /home/idealmike/treo/flutter/appraisal_supplier_app/.packages --output-dill build/app.dill --depfile /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/intermediates/flutter/debug/snapshot_blob.bin.d --filesystem-scheme org-dartlang-root /home/idealmike/treo/flutter/appraisal_supplier_app/lib/main.dart
[+1310 ms] [+1307 ms] Building bundle
[ ] [ ] Writing asset files to /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/intermediates/flutter/debug/flutter_assets
[ +70 ms] [ +76 ms] Wrote /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/intermediates/flutter/debug/flutter_assets
[ +10 ms] [ +6 ms] "flutter bundle" took 1,770ms.
[ +161 ms] :app:mergeDebugShaders UP-TO-DATE
[ ] :app:compileDebugShaders UP-TO-DATE
[ ] :app:generateDebugAssets UP-TO-DATE
[ ] :barcode_scan:mergeDebugShaders UP-TO-DATE
[ ] :barcode_scan:compileDebugShaders UP-TO-DATE
[ ] :barcode_scan:generateDebugAssets UP-TO-DATE
[ ] :barcode_scan:packageDebugAssets UP-TO-DATE
[ +1 ms] :camera:mergeDebugShaders UP-TO-DATE
[ ] :camera:compileDebugShaders UP-TO-DATE
[ ] :camera:generateDebugAssets UP-TO-DATE
[ ] :camera:packageDebugAssets UP-TO-DATE
[ ] :contacts_service:mergeDebugShaders UP-TO-DATE
[ ] :contacts_service:compileDebugShaders UP-TO-DATE
[ ] :contacts_service:generateDebugAssets UP-TO-DATE
[ ] :contacts_service:packageDebugAssets UP-TO-DATE
[ ] :image_picker:mergeDebugShaders UP-TO-DATE
[ ] :image_picker:compileDebugShaders UP-TO-DATE
[ ] :image_picker:generateDebugAssets UP-TO-DATE
[ ] :image_picker:packageDebugAssets UP-TO-DATE
[ ] :path_provider:mergeDebugShaders UP-TO-DATE
[ ] :path_provider:compileDebugShaders UP-TO-DATE
[ ] :path_provider:generateDebugAssets UP-TO-DATE
[ ] :path_provider:packageDebugAssets UP-TO-DATE
[ ] :share:mergeDebugShaders UP-TO-DATE
[ ] :share:compileDebugShaders UP-TO-DATE
[ ] :share:generateDebugAssets UP-TO-DATE
[ ] :share:packageDebugAssets UP-TO-DATE
[ +7 ms] :simple_permissions:mergeDebugShaders UP-TO-DATE
[ ] :simple_permissions:compileDebugShaders UP-TO-DATE
[ ] :simple_permissions:generateDebugAssets UP-TO-DATE
[ ] :simple_permissions:packageDebugAssets UP-TO-DATE
[ ] :url_launcher:mergeDebugShaders UP-TO-DATE
[ ] :url_launcher:compileDebugShaders UP-TO-DATE
[ ] :url_launcher:generateDebugAssets UP-TO-DATE
[ ] :url_launcher:packageDebugAssets UP-TO-DATE
[ +1 ms] :app:mergeDebugAssets
[ +190 ms] :app:copyFlutterAssetsDebug
[ ] :app:mainApkListPersistenceDebug UP-TO-DATE
[ ] :app:generateDebugResValues UP-TO-DATE
[ ] :app:generateDebugResources UP-TO-DATE
[ ] :barcode_scan:compileDebugRenderscript UP-TO-DATE
[ ] :barcode_scan:generateDebugResValues UP-TO-DATE
[ ] :barcode_scan:generateDebugResources UP-TO-DATE
[ ] :barcode_scan:packageDebugResources UP-TO-DATE
[ ] :camera:compileDebugRenderscript UP-TO-DATE
[ ] :camera:generateDebugResValues UP-TO-DATE
[ ] :camera:generateDebugResources UP-TO-DATE
[ ] :camera:packageDebugResources UP-TO-DATE
[ ] :contacts_service:compileDebugRenderscript UP-TO-DATE
[ ] :contacts_service:generateDebugResValues UP-TO-DATE
[ ] :contacts_service:generateDebugResources UP-TO-DATE
[ ] :contacts_service:packageDebugResources UP-TO-DATE
[ ] :image_picker:compileDebugRenderscript UP-TO-DATE
[ +8 ms] :image_picker:generateDebugResValues UP-TO-DATE
[ +1 ms] :image_picker:generateDebugResources UP-TO-DATE
[ ] :image_picker:packageDebugResources UP-TO-DATE
[ ] :path_provider:compileDebugRenderscript UP-TO-DATE
[ ] :path_provider:generateDebugResValues UP-TO-DATE
[ ] :path_provider:generateDebugResources UP-TO-DATE
[ ] :path_provider:packageDebugResources UP-TO-DATE
[ ] :share:compileDebugRenderscript UP-TO-DATE
[ ] :share:generateDebugResValues UP-TO-DATE
[ ] :share:generateDebugResources UP-TO-DATE
[ ] :share:packageDebugResources UP-TO-DATE
[ ] :simple_permissions:compileDebugRenderscript UP-TO-DATE
[ ] :simple_permissions:generateDebugResValues UP-TO-DATE
[ ] :simple_permissions:generateDebugResources UP-TO-DATE
[ +8 ms] :simple_permissions:packageDebugResources UP-TO-DATE
[ ] :url_launcher:compileDebugRenderscript UP-TO-DATE
[ ] :url_launcher:generateDebugResValues UP-TO-DATE
[ ] :url_launcher:generateDebugResources UP-TO-DATE
[ ] :url_launcher:packageDebugResources UP-TO-DATE
[ +20 ms] :app:mergeDebugResources UP-TO-DATE
[ ] :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ ] :app:processDebugManifest UP-TO-DATE
[ ] :app:splitsDiscoveryTaskDebug UP-TO-DATE
[ ] :barcode_scan:platformAttrExtractor UP-TO-DATE
[ ] :barcode_scan:generateDebugRFile UP-TO-DATE
[ +9 ms] :camera:platformAttrExtractor UP-TO-DATE
[ ] :camera:generateDebugRFile UP-TO-DATE
[ ] :contacts_service:platformAttrExtractor UP-TO-DATE
[ ] :contacts_service:generateDebugRFile UP-TO-DATE
[ ] :image_picker:platformAttrExtractor UP-TO-DATE
[ ] :image_picker:generateDebugRFile UP-TO-DATE
[ ] :path_provider:platformAttrExtractor UP-TO-DATE
[ ] :path_provider:generateDebugRFile UP-TO-DATE
[ ] :share:platformAttrExtractor UP-TO-DATE
[ ] :share:generateDebugRFile UP-TO-DATE
[ ] :simple_permissions:platformAttrExtractor UP-TO-DATE
[ ] :simple_permissions:generateDebugRFile UP-TO-DATE
[ ] :url_launcher:platformAttrExtractor UP-TO-DATE
[ ] :url_launcher:generateDebugRFile UP-TO-DATE
[ +10 ms] :app:processDebugResources UP-TO-DATE
[ ] :barcode_scan:generateDebugBuildConfig UP-TO-DATE
[ ] :barcode_scan:compileDebugKotlin UP-TO-DATE
[ ] :barcode_scan:prepareLintJar UP-TO-DATE
[ ] :barcode_scan:generateDebugSources UP-TO-DATE
[ ] :barcode_scan:javaPreCompileDebug UP-TO-DATE
[ ] :barcode_scan:compileDebugJavaWithJavac UP-TO-DATE
[ +9 ms] :barcode_scan:processDebugJavaRes NO-SOURCE
[ ] :barcode_scan:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ ] :camera:generateDebugBuildConfig UP-TO-DATE
[ ] :camera:prepareLintJar UP-TO-DATE
[ ] :camera:generateDebugSources UP-TO-DATE
[ ] :camera:javaPreCompileDebug UP-TO-DATE
[ ] :camera:compileDebugJavaWithJavac UP-TO-DATE
[ ] :camera:processDebugJavaRes NO-SOURCE
[ ] :camera:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ ] :contacts_service:generateDebugBuildConfig UP-TO-DATE
[ ] :contacts_service:prepareLintJar UP-TO-DATE
[ ] :contacts_service:generateDebugSources UP-TO-DATE
[ +9 ms] :contacts_service:javaPreCompileDebug UP-TO-DATE
[ ] :contacts_service:compileDebugJavaWithJavac UP-TO-DATE
[ ] :contacts_service:processDebugJavaRes NO-SOURCE
[ ] :contacts_service:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ ] :image_picker:generateDebugBuildConfig UP-TO-DATE
[ ] :image_picker:prepareLintJar UP-TO-DATE
[ ] :image_picker:generateDebugSources UP-TO-DATE
[ ] :image_picker:javaPreCompileDebug UP-TO-DATE
[ ] :image_picker:compileDebugJavaWithJavac UP-TO-DATE
[ ] :image_picker:processDebugJavaRes NO-SOURCE
[ ] :image_picker:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ +9 ms] :path_provider:generateDebugBuildConfig UP-TO-DATE
[ ] :path_provider:prepareLintJar UP-TO-DATE
[ ] :path_provider:generateDebugSources UP-TO-DATE
[ ] :path_provider:javaPreCompileDebug UP-TO-DATE
[ ] :path_provider:compileDebugJavaWithJavac UP-TO-DATE
[ ] :path_provider:processDebugJavaRes NO-SOURCE
[ ] :path_provider:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ ] :share:generateDebugBuildConfig UP-TO-DATE
[ ] :share:prepareLintJar UP-TO-DATE
[ ] :share:generateDebugSources UP-TO-DATE
[ ] :share:javaPreCompileDebug UP-TO-DATE
[ ] :share:compileDebugJavaWithJavac UP-TO-DATE
[ ] :share:processDebugJavaRes NO-SOURCE
[ ] :share:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ ] :simple_permissions:generateDebugBuildConfig UP-TO-DATE
[ ] :simple_permissions:prepareLintJar UP-TO-DATE
[ ] :simple_permissions:generateDebugSources UP-TO-DATE
[ ] :simple_permissions:javaPreCompileDebug UP-TO-DATE
[ +9 ms] :simple_permissions:compileDebugJavaWithJavac UP-TO-DATE
[ ] :simple_permissions:processDebugJavaRes NO-SOURCE
[ ] :simple_permissions:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ ] :url_launcher:generateDebugBuildConfig UP-TO-DATE
[ ] :url_launcher:prepareLintJar UP-TO-DATE
[ ] :url_launcher:generateDebugSources UP-TO-DATE
[ ] :url_launcher:javaPreCompileDebug UP-TO-DATE
[ ] :url_launcher:compileDebugJavaWithJavac UP-TO-DATE
[ ] :url_launcher:processDebugJavaRes NO-SOURCE
[ ] :url_launcher:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ ] :app:compileDebugKotlin UP-TO-DATE
[ ] :app:prepareLintJar UP-TO-DATE
[ ] :app:generateDebugSources UP-TO-DATE
[ +9 ms] :app:javaPreCompileDebug UP-TO-DATE
[ ] :app:compileDebugJavaWithJavac UP-TO-DATE
[ ] :app:compileDebugNdk NO-SOURCE
[ ] :app:compileDebugSources UP-TO-DATE
[ +50 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[ +9 ms] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
[ ] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
[ ] :app:mergeDebugJniLibFolders UP-TO-DATE
[ ] :barcode_scan:compileDebugNdk NO-SOURCE
[ ] :barcode_scan:mergeDebugJniLibFolders UP-TO-DATE
[ ] :barcode_scan:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :barcode_scan:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] :camera:compileDebugNdk NO-SOURCE
[ ] :camera:mergeDebugJniLibFolders UP-TO-DATE
[ ] :camera:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ +9 ms] :camera:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] :contacts_service:compileDebugNdk NO-SOURCE
[ ] :contacts_service:mergeDebugJniLibFolders UP-TO-DATE
[ ] :contacts_service:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :contacts_service:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] :image_picker:compileDebugNdk NO-SOURCE
[ ] :image_picker:mergeDebugJniLibFolders UP-TO-DATE
[ ] :image_picker:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :image_picker:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] :path_provider:compileDebugNdk NO-SOURCE
[ ] :path_provider:mergeDebugJniLibFolders UP-TO-DATE
[ ] :path_provider:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :path_provider:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] :share:compileDebugNdk NO-SOURCE
[ ] :share:mergeDebugJniLibFolders UP-TO-DATE
[ ] :share:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :share:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] :simple_permissions:compileDebugNdk NO-SOURCE
[ ] :simple_permissions:mergeDebugJniLibFolders UP-TO-DATE
[ +9 ms] :simple_permissions:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :simple_permissions:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] :url_launcher:compileDebugNdk NO-SOURCE
[ ] :url_launcher:mergeDebugJniLibFolders UP-TO-DATE
[ ] :url_launcher:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :url_launcher:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ +1 ms] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :app:processDebugJavaRes NO-SOURCE
[ ] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :app:validateSigningDebug UP-TO-DATE
[+3209 ms] :app:packageDebug
[ ] :app:assembleDebug
[ +20 ms] :barcode_scan:extractDebugAnnotations UP-TO-DATE
[ ] :barcode_scan:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] :barcode_scan:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :barcode_scan:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :barcode_scan:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :barcode_scan:bundleDebug UP-TO-DATE
[ ] :barcode_scan:compileDebugSources UP-TO-DATE
[ ] :barcode_scan:assembleDebug UP-TO-DATE
[ ] :camera:extractDebugAnnotations UP-TO-DATE
[ ] :camera:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +9 ms] :camera:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :camera:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :camera:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :camera:bundleDebug UP-TO-DATE
[ ] :camera:compileDebugSources UP-TO-DATE
[ ] :camera:assembleDebug UP-TO-DATE
[ ] :contacts_service:extractDebugAnnotations UP-TO-DATE
[ ] :contacts_service:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] :contacts_service:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :contacts_service:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :contacts_service:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :contacts_service:bundleDebug UP-TO-DATE
[ ] :contacts_service:compileDebugSources UP-TO-DATE
[ ] :contacts_service:assembleDebug UP-TO-DATE
[ +10 ms] :image_picker:extractDebugAnnotations UP-TO-DATE
[ ] :image_picker:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] :image_picker:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :image_picker:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :image_picker:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :image_picker:bundleDebug UP-TO-DATE
[ ] :image_picker:compileDebugSources UP-TO-DATE
[ ] :image_picker:assembleDebug UP-TO-DATE
[ ] :path_provider:extractDebugAnnotations UP-TO-DATE
[ ] :path_provider:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] :path_provider:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ +9 ms] :path_provider:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :path_provider:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :path_provider:bundleDebug UP-TO-DATE
[ ] :path_provider:compileDebugSources UP-TO-DATE
[ ] :path_provider:assembleDebug UP-TO-DATE
[ ] :share:extractDebugAnnotations UP-TO-DATE
[ ] :share:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] :share:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :share:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :share:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :share:bundleDebug UP-TO-DATE
[ ] :share:compileDebugSources UP-TO-DATE
[ ] :share:assembleDebug UP-TO-DATE
[ +10 ms] :simple_permissions:extractDebugAnnotations UP-TO-DATE
[ ] :simple_permissions:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] :simple_permissions:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :simple_permissions:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :simple_permissions:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :simple_permissions:bundleDebug UP-TO-DATE
[ ] :simple_permissions:compileDebugSources UP-TO-DATE
[ ] :simple_permissions:assembleDebug UP-TO-DATE
[ ] :url_launcher:extractDebugAnnotations UP-TO-DATE
[ ] :url_launcher:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +9 ms] :url_launcher:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :url_launcher:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :url_launcher:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :url_launcher:bundleDebug UP-TO-DATE
[ ] :url_launcher:compileDebugSources UP-TO-DATE
[ ] :url_launcher:assembleDebug UP-TO-DATE
[ ] BUILD SUCCESSFUL in 6s
[ ] 232 actionable tasks: 5 executed, 227 up-to-date
[ +392 ms] calculateSha: LocalDirectory: '/home/idealmike/treo/flutter/appraisal_supplier_app/build/app/outputs/apk'/app.apk
[ +782 ms] Built build/app/outputs/apk/debug/app-debug.apk.
[ +14 ms] /home/idealmike/Android/Sdk/build-tools/27.0.3/aapt dump xmltree /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/outputs/apk/app.apk AndroidManifest.xml
[ +16 ms] Exit code 0 from: /home/idealmike/Android/Sdk/build-tools/27.0.3/aapt dump xmltree /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/outputs/apk/app.apk AndroidManifest.xml
[ ] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0" (Raw: "1.0")
A: package="co.treo.appraisalsupplierapp" (Raw: "co.treo.appraisalsupplierapp")
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1b
E: uses-permission (line=16)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: uses-permission (line=17)
A: android:name(0x01010003)="android.permission.READ_CONTACTS" (Raw: "android.permission.READ_CONTACTS")
E: uses-permission (line=18)
A: android:name(0x01010003)="android.permission.WRITE_CONTACTS" (Raw: "android.permission.WRITE_CONTACTS")
E: uses-permission (line=19)
A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA")
E: uses-permission (line=20)
A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE")
E: uses-permission (line=21)
A: android:name(0x01010003)="android.permission.WRITE_EXTERNAL_STORAGE" (Raw: "android.permission.WRITE_EXTERNAL_STORAGE")
E: uses-permission (line=22)
A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE")
E: uses-permission (line=23)
A: android:name(0x01010003)="android.permission.RECORD_AUDIO" (Raw: "android.permission.RECORD_AUDIO")
E: application (line=31)
A: android:label(0x01010001)="appraisal_supplier_app" (Raw: "appraisal_supplier_app")
A: android:icon(0x01010002)=@0x7f0b0000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
E: activity (line=36)
A: android:theme(0x01010000)=@0x7f0d00a4
A: android:name(0x01010003)="co.treo.appraisalsupplierapp.MainActivity" (Raw: "co.treo.appraisalsupplierapp.MainActivity")
A: android:launchMode(0x0101001d)=(type 0x10)0x1
A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
E: meta-data (line=50)
A: android:name(0x01010003)="io.flutter.app.android.SplashScreenUntilFirstFrame" (Raw: "io.flutter.app.android.SplashScreenUntilFirstFrame")
A: android:value(0x01010024)=(type 0x12)0xffffffff
E: intent-filter (line=54)
E: action (line=55)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=57)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: activity (line=60)
A: android:name(0x01010003)="com.apptreesoftware.barcodescan.BarcodeScannerActivity" (Raw: "com.apptreesoftware.barcodescan.BarcodeScannerActivity")
E: activity (line=61)
A: android:theme(0x01010000)=@0x1030007
A: android:name(0x01010003)="io.flutter.plugins.urllauncher.UrlLauncherPlugin$WebViewActivity" (Raw: "io.flutter.plugins.urllauncher.UrlLauncherPlugin$WebViewActivity")
A: android:exported(0x01010010)=(type 0x12)0x0
E: provider (line=66)
A: android:name(0x01010003)="android.support.v4.content.FileProvider" (Raw: "android.support.v4.content.FileProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="co.treo.appraisalsupplierapp.flutter.image_provider" (Raw: "co.treo.appraisalsupplierapp.flutter.image_provider")
A: android:grantUriPermissions(0x0101001b)=(type 0x12)0xffffffff
E: meta-data (line=71)
A: android:name(0x01010003)="android.support.FILE_PROVIDER_PATHS" (Raw: "android.support.FILE_PROVIDER_PATHS")
A: android:resource(0x01010025)=@0x7f0f0000
[ +8 ms] Stopping app 'app.apk' on SM N950U.
[ ] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e shell am force-stop co.treo.appraisalsupplierapp
[ +179 ms] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e shell pm list packages co.treo.appraisalsupplierapp
[+1025 ms] package:co.treo.appraisalsupplierapp
[ +11 ms] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e shell cat /data/local/tmp/sky.co.treo.appraisalsupplierapp.sha1
[ +59 ms] b4abe1b3e44273a81e74418adfa0e0564e720fe7
[ +2 ms] Installing APK.
[ +3 ms] /home/idealmike/Android/Sdk/platform-tools/adb version
[ +39 ms] Android Debug Bridge version 1.0.40
Version 4797878
Installed as /home/idealmike/Android/Sdk/platform-tools/adb
[ +1 ms] /home/idealmike/Android/Sdk/platform-tools/adb start-server
[ +37 ms] Installing build/app/outputs/apk/app.apk...
[ ] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e install -t -r /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/outputs/apk/app.apk
[+16928 ms] Success
[ +4 ms] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e shell echo -n 8fc6483e4a6ba95277c922b411d26f74dbc617df > /data/local/tmp/sky.co.treo.appraisalsupplierapp.sha1
[ +93 ms] SM N950U startApp
[ +3 ms] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity
[ +220 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=co.treo.appraisalsupplierapp/.MainActivity (has extras) }
[ ] Waiting for observatory port to be available...
[+1575 ms] Observatory URL on device: http://127.0.0.1:45556/
[ ] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e forward tcp:0 tcp:45556
[ +20 ms] 40909
[ ] Forwarded host port 40909 to device port 45556 for Observatory
[ +9 ms] Connecting to service protocol: http://127.0.0.1:40909/
[ +534 ms] Successfully connected to service protocol: http://127.0.0.1:40909/
[ +3 ms] getVM: {}
[ +76 ms] getIsolate: {isolateId: isolates/566734569}
[ +23 ms] _flutter.listViews: {isolateId: isolates/566734569}
[ +34 ms] DevFS: Creating new filesystem on the device (null)
[ ] _createDevFS: {fsName: appraisal_supplier_app}
[ +107 ms] DevFS: Created new filesystem on the device (file:///data/user/0/co.treo.appraisalsupplierapp/cache/appraisal_supplier_appNQXDIG/appraisal_supplier_app/)
[ +3 ms] Updating assets
[ +24 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +215 ms] Syncing files to device SM N950U...
[ +1 ms] DevFS: Starting sync from LocalDirectory: '/home/idealmike/treo/flutter/appraisal_supplier_app'
[ ] Scanning project files
[ +2 ms] Scanning package files
[ +83 ms] Scanning asset files
[ +1 ms] Scanning for deleted files
[ +8 ms] Compiling dart to kernel with 423 updated files
[ +8 ms] /home/idealmike/flutter/bin/cache/dart-sdk/bin/dart /home/idealmike/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/idealmike/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --strong --target=flutter --initialize-from-dill=foo --output-dill build/app.dill --packages /home/idealmike/treo/flutter/appraisal_supplier_app/.packages --filesystem-scheme org-dartlang-root
[+1079 ms] D/libGLESv2(20179): STS_GLApi : DTS, ODTC are not allowed for Package : co.treo.appraisalsupplierapp
[ +253 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +27 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +41 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +26 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +35 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +28 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +8 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +30 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +34 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +26 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +33 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +41 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +263 ms] D/SurfaceView(20179): BG show() Surface(name=Background for - SurfaceView - co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity@fe3db97@0) io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2220}
[ ] D/SurfaceView(20179): surfaceDestroyed 1 io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2220}
[ +5 ms] D/SurfaceView(20179): BG destroy() Surface(name=Background for - SurfaceView - co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity@fe3db97@0) io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2220}
[ ] D/OpenGLRenderer(20179): eglDestroySurface = 0x752ecbbfb0
[ +40 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x5 surface={valid=false 0} changed=true
[+1291 ms] Updating files
[+1681 ms] DevFS: Sync finished
[ +1 ms] Synced 40.6MB.
[ +3 ms] _flutter.listViews: {isolateId: isolates/566734569}
[ +25 ms] Connected to _flutterView/0x7544bfbb98.
[ +1 ms] 🔥 To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
[ +1 ms] An Observatory debugger and profiler on SM N950U is available at: http://127.0.0.1:40909/
[ ] For a more detailed help message, press "h". To quit, press "q".
[+3480 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x1 surface={valid=false 0} changed=false
[ +28 ms] V/Surface (20179): sf_framedrop debug : 0x4f4c, game : false, logging : 0
[ ] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x7 surface={valid=true 503383805952} changed=true
[ ] D/OpenGLRenderer(20179): eglCreateWindowSurface = 0x752ecbbfb0
[ +2 ms] D/SurfaceView(20179): BG show() Surface(name=Background for - SurfaceView - co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity@fe3db97@1) io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2220}
[ ] V/Surface (20179): sf_framedrop debug : 0x4f4c, game : false, logging : 0
[ ] D/SurfaceView(20179): surfaceCreated 1 io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2220}
[ +6 ms] D/SurfaceView(20179): surfaceChanged (1080,2220) 1 io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2220}
[ +27 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x1 surface={valid=true 503383805952} changed=false
[ +240 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1080, 2220) ci=Rect(0, 63 - 0, 0) vi=Rect(0, 63 - 0, 0) or=1
[ +245 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): MSG_WINDOW_FOCUS_CHANGED 1
[ ] V/InputMethodManager(20179): Starting input: tba=android.view.inputmethod.EditorInfo@3af61f0 nm : co.treo.appraisalsupplierapp ic=null
[ ] I/InputMethodManager(20179): startInputInner - mService.startInputOrWindowGainedFocus
[ +17 ms] V/InputMethodManager(20179): Starting input: tba=android.view.inputmethod.EditorInfo@1240369 nm : co.treo.appraisalsupplierapp ic=null
[+1359 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): ViewPostIme pointer 0
[ +62 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): ViewPostIme pointer 1
[ +219 ms] V/InputMethodManager(20179): Starting input: tba=android.view.inputmethod.EditorInfo@48b1cab nm : co.treo.appraisalsupplierapp ic=io.flutter.plugin.editing.InputConnectionAdaptor@9397f08
[ ] I/InputMethodManager(20179): startInputInner - mService.startInputOrWindowGainedFocus
[ +19 ms] D/InputMethodManager(20179): SSI - flag : 0 Pid : 20179 view : co.treo.appraisalsupplierapp
[ +149 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): MSG_RESIZED: frame=Rect(0, 0 - 1080, 2220) ci=Rect(0, 63 - 0, 126) vi=Rect(0, 63 - 0, 126) or=1
[ +30 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x1 surface={valid=true 503383805952} changed=false
[ +6 ms] D/SurfaceView(20179): BG show() Surface(name=Background for - SurfaceView - co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity@fe3db97@1) io.flutter.view.FlutterView{fe3db97 VFE...... .F....ID 0,0-1080,2094}
[ +10 ms] D/SurfaceView(20179): surfaceChanged (1080,2094) 1 io.flutter.view.FlutterView{fe3db97 VFE...... .F....ID 0,0-1080,2094}
[ +30 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x1 surface={valid=true 503383805952} changed=false
[+1819 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): ViewPostIme pointer 0
[ +105 ms] I/zygote64(20179): Do partial code cache collection, code=23KB, data=28KB
[ +13 ms] I/zygote64(20179): After code cache collection, code=23KB, data=28KB
[ ] I/zygote64(20179): Increasing code cache capacity to 128KB
[ +33 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): ViewPostIme pointer 1
[+1503 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): ViewPostIme pointer 0
[ +85 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): ViewPostIme pointer 1
[ +41 ms] I/flutter (20179): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
[ +27 ms] I/flutter (20179): The following assertion was thrown building NotificationListener<KeepAliveNotification>:
[ ] I/flutter (20179): 'package:flutter/src/rendering/object.dart': Failed assertion: line 2805 pos 14:
[ ] I/flutter (20179): '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
[ +4 ms] I/flutter (20179):
[ ] I/flutter (20179): Either the assertion indicates an error in the framework itself, or we should provide substantially
[ ] I/flutter (20179): more information in this error message to help you determine and fix the underlying cause.
[ ] I/flutter (20179): In either case, please report this assertion by filing a bug on GitHub:
[ ] I/flutter (20179): https://github.com/flutter/flutter/issues/new
[ ] I/flutter (20179):
[ ] I/flutter (20179): When the exception was thrown, this was the stack:
[ +18 ms] I/flutter (20179): #2 _RenderSliverMultiBoxAdaptor&RenderSliver&ContainerRenderObjectMixin._insertIntoChildList (package:flutter/src/rendering/object.dart)
[ ] I/flutter (20179): #3 _RenderSliverMultiBoxAdaptor&RenderSliver&ContainerRenderObjectMixin.insert (package:flutter/src/rendering/object.dart:2839:5)
[ ] I/flutter (20179): #4 RenderSliverMultiBoxAdaptor.insert (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:209:11)
[ ] I/flutter (20179): #5 SliverMultiBoxAdaptorElement.insertChildRenderObject (package:flutter/src/widgets/sliver.dart:865:18)
[ ] I/flutter (20179): #6 RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:4526:35)
[ ] I/flutter (20179): #7 RenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4292:5)
[ ] I/flutter (20179): #8 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4666:11)
[ ] I/flutter (20179): #9 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2920:14)
[ ] I/flutter (20179): #10 Element.updateChild (package:flutter/src/widgets/framework.dart:2723:12)
[ ] I/flutter (20179): #11 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #12 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #13 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3635:5)
[ ] I/flutter (20179): #14 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3630:5)
[ ] I/flutter (20179): #15 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2920:14)
[ ] I/flutter (20179): #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2723:12)
[ +1 ms] I/flutter (20179): #17 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #18 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #19 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3635:5)
[ ] I/flutter (20179): #20 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3630:5)
[ ] I/flutter (20179): #21 ParentDataElement.mount (package:flutter/src/widgets/framework.dart:3968:11)
[ ] I/flutter (20179): #22 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2920:14)
[ ] I/flutter (20179): #23 Element.updateChild (package:flutter/src/widgets/framework.dart:2723:12)
[ ] I/flutter (20179): #24 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #25 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #26 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3635:5)
[ ] I/flutter (20179): #27 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3782:11)
[ ] I/flutter (20179): #28 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3630:5)
[ ] I/flutter (20179): #29 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2920:14)
[ ] I/flutter (20179): #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2723:12)
[ ] I/flutter (20179): #31 SliverMultiBoxAdaptorElement.updateChild (package:flutter/src/widgets/sliver.dart:744:36)
[ ] I/flutter (20179): #32 SliverMultiBoxAdaptorElement.performRebuild (package:flutter/src/widgets/sliver.dart:702:34)
[ ] I/flutter (20179): #33 SliverMultiBoxAdaptorElement.update (package:flutter/src/widgets/sliver.dart:671:7)
[ ] I/flutter (20179): #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #37 ProxyElement.update (package:flutter/src/widgets/framework.dart:3922:5)
[ ] I/flutter (20179): #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #39 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #41 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4392:32)
[ ] I/flutter (20179): #42 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4782:17)
[ ] I/flutter (20179): #43 _ViewportElement.update (package:flutter/src/widgets/viewport.dart:192:11)
[ ] I/flutter (20179): #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:3922:5)
[ ] I/flutter (20179): #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #49 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #50 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #51 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #53 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #54 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #55 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #58 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #59 StatefulElement.update (package:flutter/src/widgets/framework.dart:3812:5)
[ ] I/flutter (20179): #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #61 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #62 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #63 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #65 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #66 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #67 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #68 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #69 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #70 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #71 StatelessElement.update (package:flutter/src/widgets/framework.dart:3715:5)
[ ] I/flutter (20179): #72 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ +3 ms] I/flutter (20179): #73 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #74 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #75 StatefulElement.update (package:flutter/src/widgets/framework.dart:3812:5)
[ ] I/flutter (20179): #76 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #77 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #78 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #79 StatefulElement.update (package:flutter/src/widgets/framework.dart:3812:5)
[ ] I/flutter (20179): #80 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #81 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #82 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #83 ProxyElement.update (package:flutter/src/widgets/framework.dart:3922:5)
[ ] I/flutter (20179): #84 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #85 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #86 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #87 StatelessElement.update (package:flutter/src/widgets/framework.dart:3715:5)
[ ] I/flutter (20179): #88 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #89 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #90 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #91 ProxyElement.update (package:flutter/src/widgets/framework.dart:3922:5)
[ ] I/flutter (20179): #92 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #93 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4392:32)
[ ] I/flutter (20179): #94 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4782:17)
[ ] I/flutter (20179): #95 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #96 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #97 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #98 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2255:33)
[ ] I/flutter (20179): #99 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:626:20)
[ ] I/flutter (20179): #100 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
[ ] I/flutter (20179): #101 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
[ ] I/flutter (20179): #102 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
[ ] I/flutter (20179): #103 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5)
[ ] I/flutter (20179): #104 _invoke (dart:ui/hooks.dart:125:13)
[ ] I/flutter (20179): #105 _drawFrame (dart:ui/hooks.dart:114:3)
[ ] I/flutter (20179): (elided 2 frames from class _AssertionError)
[ ] I/flutter (20179): ════════════════════════════════════════════════════════════════════════════════════════════════════
[ ] I/flutter (20179): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2805 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
[ +1 ms] I/chatty (20179): uid=10401(u0_a401) 1.ui identical 1 line
[ ] I/flutter (20179): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2805 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
[ ] I/flutter (20179): Another exception was thrown: A RenderSliverPadding expected a child of type RenderSliver but received a child of type RenderErrorBox.
[ +7 ms] I/flutter (20179): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3510 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
[ +142 ms] I/chatty (20179): uid=10401(u0_a401) 1.ui identical 7 lines
[ ] I/flutter (20179): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3510 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
[ +885 ms] I/flutter (20179): Another exception was thrown: The _ScaffoldLayout custom multichild layout delegate forgot to lay out the following child:
[+58794 ms] V/InputMethodManager(20179): Starting input: tba=android.view.inputmethod.EditorInfo@36b83b4 nm : co.treo.appraisalsupplierapp ic=io.flutter.plugin.editing.InputConnectionAdaptor@8201bdd
[ ] I/InputMethodManager(20179): startInputInner - mService.startInputOrWindowGainedFocus
[ +8 ms] W/IInputConnectionWrapper(20179): getTextBeforeCursor on inactive InputConnection
[ +4 ms] W/IInputConnectionWrapper(20179): getSelectedText on inactive InputConnection
[ +4 ms] W/IInputConnectionWrapper(20179): getTextAfterCursor on inactive InputConnection
[ ] W/IInputConnectionWrapper(20179): beginBatchEdit on inactive InputConnection
[ ] W/IInputConnectionWrapper(20179): endBatchEdit on inactive InputConnection
[ +474 ms] D/SurfaceView(20179): BG show() Surface(name=Background for - SurfaceView - co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity@fe3db97@1) io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2094}
[ ] D/SurfaceView(20179): surfaceDestroyed 1 io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2094}
[+1269 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +2 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1080, 2220) ci=Rect(0, 63 - 0, 0) vi=Rect(0, 63 - 0, 0) or=1
[ +83 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x3 surface={valid=true 503383805952} changed=false
[ +17 ms] D/SurfaceView(20179): BG show() Surface(name=Background for - SurfaceView - co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity@fe3db97@1) io.flutter.view.FlutterView{fe3db97 VFE...... .F....ID 0,0-1080,2220}
[ +19 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): MSG_WINDOW_FOCUS_CHANGED 0
[ ] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +267 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[+2914 ms] D/SurfaceView(20179): BG show() Surface(name=Background for - SurfaceView - co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity@fe3db97@1) io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2220}
[ +13 ms] D/OpenGLRenderer(20179): eglDestroySurface = 0x752ecbbfb0
[ +30 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x5 surface={valid=false 0} changed=true
[ +79 ms] I/zygote64(20179): Do partial code cache collection, code=43KB, data=45KB
[ +1 ms] I/zygote64(20179): After code cache collection, code=43KB, data=45KB
[ ] I/zygote64(20179): Increasing code cache capacity to 256KB
[ ] I/zygote64(20179): Compiler allocated 8MB to compile void android.view.ViewRootImpl.performTraversals()"><pre class="notranslate"><code class="notranslate">[ +35 ms] [/home/idealmike/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +30 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/master
[ ] [/home/idealmike/flutter/] git rev-parse --abbrev-ref HEAD
[ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] master
[ ] [/home/idealmike/flutter/] git ls-remote --get-url origin
[ +5 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [/home/idealmike/flutter/] git log -n 1 --pretty=format:%H
[ +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 711ecf7f58822d5c37a7facf4681ee5dc85e0173
[ ] [/home/idealmike/flutter/] git log -n 1 --pretty=format:%ar
[ +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 74 minutes ago
[ ] [/home/idealmike/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +12 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v0.5.7-179-g711ecf7f5
[ +210 ms] /home/idealmike/Android/Sdk/platform-tools/adb devices -l
[ +8 ms] Exit code 0 from: /home/idealmike/Android/Sdk/platform-tools/adb devices -l
[ ] List of devices attached
ce061716f0462c6c0c7e device usb:3-1 product:greatqltesq model:SM_N950U device:greatqlte transport_id:5
[ +114 ms] Found plugin barcode_scan at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/barcode_scan-0.0.4/
[ +15 ms] Found plugin camera at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.2.1/
[ +5 ms] Found plugin contacts_service at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/contacts_service-0.0.7/
[ +21 ms] Found plugin image_picker at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.5/
[ +8 ms] Found plugin path_provider at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-0.4.1/
[ +3 ms] Found plugin share at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.5.2/
[ +3 ms] Found plugin simple_permissions at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/simple_permissions-0.1.5/
[ +6 ms] Found plugin url_launcher at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-3.0.3/
[ +50 ms] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e shell getprop
[ +125 ms] ro.hardware = qcom
[ +500 ms] Launching lib/main.dart on SM N950U in debug mode...
[ +5 ms] Initializing gradle...
[ +10 ms] Using gradle from /home/idealmike/treo/flutter/appraisal_supplier_app/android/gradlew.
[ +54 ms] /home/idealmike/treo/flutter/appraisal_supplier_app/android/gradlew -v
[ +480 ms]
------------------------------------------------------------
Gradle 4.4
------------------------------------------------------------
Build time: 2017-12-06 09:05:06 UTC
Revision: cf7821a6f79f8e2a598df21780e3ff7ce8db2b82
Groovy: 2.4.12
Ant: Apache Ant(TM) version 1.9.9 compiled on February 2 2017
JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b01)
OS: Linux 4.13.0-46-generic amd64
[ +12 ms] Resolving dependencies...
[ ] [/home/idealmike/treo/flutter/appraisal_supplier_app/android/] /home/idealmike/treo/flutter/appraisal_supplier_app/android/gradlew app:properties
[ +667 ms] WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The specified Android SDK Build Tools version (25.0.3) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.3.
Android SDK Build Tools 27.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '25.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
:app:properties
------------------------------------------------------------
Project :app
------------------------------------------------------------
allprojects: [project ':app']
android: com.android.build.gradle.AppExtension_Decorated@27ec102c
androidDependencies: task ':app:androidDependencies'
ant: org.gradle.api.internal.project.DefaultAntBuilder@40fc3a3f
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@5fbd9f33
archivesBaseName: app
artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@116814c3
asDynamicObject: DynamicObject for project ':app'
assemble: task ':app:assemble'
assembleAndroidTest: task ':app:assembleAndroidTest'
assembleDebug: task ':app:assembleDebug'
assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest'
assembleDebugUnitTest: task ':app:assembleDebugUnitTest'
assembleProfile: task ':app:assembleProfile'
assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
assembleRelease: task ':app:assembleRelease'
assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@56420bb2
buildDependents: task ':app:buildDependents'
buildDir: /home/idealmike/treo/flutter/appraisal_supplier_app/build/app
buildFile: /home/idealmike/treo/flutter/appraisal_supplier_app/android/app/build.gradle
buildNeeded: task ':app:buildNeeded'
buildOutputs: BaseVariantOutput container
buildPath: :
buildScriptSource: org.gradle.groovy.scripts.TextResourceScriptSource@77ceee87
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@44b9b34a
bundleAppClassesDebug: task ':app:bundleAppClassesDebug'
bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest'
bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest'
bundleAppClassesProfile: task ':app:bundleAppClassesProfile'
bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest'
bundleAppClassesRelease: task ':app:bundleAppClassesRelease'
bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest'
bundleDebugAndroidTestResources: task ':app:bundleDebugAndroidTestResources'
bundleDebugResources: task ':app:bundleDebugResources'
bundleProfileResources: task ':app:bundleProfileResources'
bundleReleaseResources: task ':app:bundleReleaseResources'
check: task ':app:check'
checkDebugManifest: task ':app:checkDebugManifest'
checkProfileManifest: task ':app:checkProfileManifest'
checkReleaseManifest: task ':app:checkReleaseManifest'
childProjects: {}
class: class org.gradle.api.internal.project.DefaultProject_Decorated
classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@15266912
cleanBuildCache: task ':app:cleanBuildCache'
compileDebugAidl: task ':app:compileDebugAidl'
compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl'
compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac'
compileDebugAndroidTestKotlin: task ':app:compileDebugAndroidTestKotlin'
compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk'
compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript'
compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders'
compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources'
compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac'
compileDebugKotlin: task ':app:compileDebugKotlin'
compileDebugNdk: task ':app:compileDebugNdk'
compileDebugRenderscript: task ':app:compileDebugRenderscript'
compileDebugShaders: task ':app:compileDebugShaders'
compileDebugSources: task ':app:compileDebugSources'
compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac'
compileDebugUnitTestKotlin: task ':app:compileDebugUnitTestKotlin'
compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources'
compileLint: task ':app:compileLint'
compileProfileAidl: task ':app:compileProfileAidl'
compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac'
compileProfileKotlin: task ':app:compileProfileKotlin'
compileProfileNdk: task ':app:compileProfileNdk'
compileProfileRenderscript: task ':app:compileProfileRenderscript'
compileProfileShaders: task ':app:compileProfileShaders'
compileProfileSources: task ':app:compileProfileSources'
compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac'
compileProfileUnitTestKotlin: task ':app:compileProfileUnitTestKotlin'
compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources'
compileReleaseAidl: task ':app:compileReleaseAidl'
compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac'
compileReleaseKotlin: task ':app:compileReleaseKotlin'
compileReleaseNdk: task ':app:compileReleaseNdk'
compileReleaseRenderscript: task ':app:compileReleaseRenderscript'
compileReleaseShaders: task ':app:compileReleaseShaders'
compileReleaseSources: task ':app:compileReleaseSources'
compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac'
compileReleaseUnitTestKotlin: task ':app:compileReleaseUnitTestKotlin'
compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources'
components: SoftwareComponentInternal set
configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@537fff9f
configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@534589a1
configurations: configuration container
connectedAndroidTest: task ':app:connectedAndroidTest'
connectedCheck: task ':app:connectedCheck'
connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest'
consumeConfigAttr: task ':app:consumeConfigAttr'
convention: org.gradle.api.internal.plugins.DefaultConvention@5a6f4360
copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests'
createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests'
createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests'
defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@7ca7dfc6
defaultTasks: []
deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@500844ca
dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@2f7fd7eb
depth: 1
description: null
deviceAndroidTest: task ':app:deviceAndroidTest'
deviceCheck: task ':app:deviceCheck'
displayName: project ':app'
distsDir: /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/distributions
distsDirName: distributions
docsDir: /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/docs
docsDirName: docs
ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@f2bf527
extensions: org.gradle.api.internal.plugins.DefaultConvention@5a6f4360
extractProguardFiles: task ':app:extractProguardFiles'
fileOperations: org.gradle.api.internal.file.DefaultFileOperations@4db052eb
fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@5f0c6183
flutter: FlutterExtension_Decorated@e9d3506
flutterBuildDebug: task ':app:flutterBuildDebug'
flutterBuildProfile: task ':app:flutterBuildProfile'
flutterBuildRelease: task ':app:flutterBuildRelease'
flutterBuildX86Jar: task ':app:flutterBuildX86Jar'
generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets'
generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig'
generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues'
generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources'
generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources'
generateDebugAssets: task ':app:generateDebugAssets'
generateDebugBuildConfig: task ':app:generateDebugBuildConfig'
generateDebugResValues: task ':app:generateDebugResValues'
generateDebugResources: task ':app:generateDebugResources'
generateDebugSources: task ':app:generateDebugSources'
generateProfileAssets: task ':app:generateProfileAssets'
generateProfileBuildConfig: task ':app:generateProfileBuildConfig'
generateProfileResValues: task ':app:generateProfileResValues'
generateProfileResources: task ':app:generateProfileResources'
generateProfileSources: task ':app:generateProfileSources'
generateReleaseAssets: task ':app:generateReleaseAssets'
generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig'
generateReleaseResValues: task ':app:generateReleaseResValues'
generateReleaseResources: task ':app:generateReleaseResources'
generateReleaseSources: task ':app:generateReleaseSources'
gradle: build 'android'
group: android
identityPath: :app
inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@5ecf6b3f
installDebug: task ':app:installDebug'
installDebugAndroidTest: task ':app:installDebugAndroidTest'
installProfile: task ':app:installProfile'
installRelease: task ':app:installRelease'
javaPreCompileDebug: task ':app:javaPreCompileDebug'
javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
javaPreCompileProfile: task ':app:javaPreCompileProfile'
javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
javaPreCompileRelease: task ':app:javaPreCompileRelease'
javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
kapt: org.jetbrains.kotlin.gradle.plugin.KaptExtension_Decorated@11274d07
kotlin: org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension_Decorated@2d9b26d9
kotlin_version: 1.1.51
layout: org.gradle.api.internal.file.DefaultProjectLayout@4ac91369
libsDir: /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/libs
libsDirName: libs
lint: task ':app:lint'
lintDebug: task ':app:lintDebug'
lintProfile: task ':app:lintProfile'
lintRelease: task ':app:lintRelease'
lintVitalRelease: task ':app:lintVitalRelease'
logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@4b985bb4
logging: org.gradle.internal.logging.services.DefaultLoggingManager@6f7a1f9c
mainApkListPersistenceDebug: task ':app:mainApkListPersistenceDebug'
mainApkListPersistenceDebugAndroidTest: task ':app:mainApkListPersistenceDebugAndroidTest'
mainApkListPersistenceProfile: task ':app:mainApkListPersistenceProfile'
mainApkListPersistenceRelease: task ':app:mainApkListPersistenceRelease'
mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets'
mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders'
mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources'
mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders'
mergeDebugAssets: task ':app:mergeDebugAssets'
mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders'
mergeDebugResources: task ':app:mergeDebugResources'
mergeDebugShaders: task ':app:mergeDebugShaders'
mergeProfileAssets: task ':app:mergeProfileAssets'
mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders'
mergeProfileResources: task ':app:mergeProfileResources'
mergeProfileShaders: task ':app:mergeProfileShaders'
mergeReleaseAssets: task ':app:mergeReleaseAssets'
mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders'
mergeReleaseResources: task ':app:mergeReleaseResources'
mergeReleaseShaders: task ':app:mergeReleaseShaders'
mockableAndroidJar: task ':app:mockableAndroidJar'
modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@449e2801
modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@76bacf77
module: org.gradle.api.internal.artifacts.ProjectBackedModule@2c69fb86
name: app
normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@30c773a5
objects: org.gradle.api.internal.model.DefaultObjectFactory@32977c8f
org.gradle.jvmargs: -Xmx1536M
packageDebug: task ':app:packageDebug'
packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
packageProfile: task ':app:packageProfile'
packageRelease: task ':app:packageRelease'
parent: root project 'android'
parentIdentifier: root project 'android'
path: :app
platformAttrExtractor: task ':app:platformAttrExtractor'
pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@dae03be
plugins: [org.gradle.api.plugins.HelpTasksPlugin@633771f5, com.android.build.gradle.api.AndroidBasePlugin@6d5d64da, org.gradle.language.base.plugins.LifecycleBasePlugin@6497c8f2, org.gradle.api.plugins.BasePlugin@529ef99f, org.gradle.api.plugins.ReportingBasePlugin@76774d54, org.gradle.platform.base.plugins.ComponentBasePlugin@48d4efe7, org.gradle.language.base.plugins.LanguageBasePlugin@4851644, org.gradle.platform.base.plugins.BinaryBasePlugin@1309210c, org.gradle.api.plugins.JavaBasePlugin@c462a7f, com.android.build.gradle.AppPlugin@55692353, org.jetbrains.kotlin.gradle.plugin.KotlinAndroidPluginWrapper@44a6c1a, FlutterPlugin@61e2d45e]
preBuild: task ':app:preBuild'
preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
preDebugBuild: task ':app:preDebugBuild'
preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
preProfileBuild: task ':app:preProfileBuild'
preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
preReleaseBuild: task ':app:preReleaseBuild'
preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
prepareLintJar: task ':app:prepareLintJar'
preparePUBLISHED_DEXDebugAndroidTestForPublishing: task ':app:preparePUBLISHED_DEXDebugAndroidTestForPublishing'
preparePUBLISHED_DEXDebugForPublishing: task ':app:preparePUBLISHED_DEXDebugForPublishing'
preparePUBLISHED_DEXProfileForPublishing: task ':app:preparePUBLISHED_DEXProfileForPublishing'
preparePUBLISHED_DEXReleaseForPublishing: task ':app:preparePUBLISHED_DEXReleaseForPublishing'
preparePUBLISHED_JAVA_RESDebugAndroidTestForPublishing: task ':app:preparePUBLISHED_JAVA_RESDebugAndroidTestForPublishing'
preparePUBLISHED_JAVA_RESDebugForPublishing: task ':app:preparePUBLISHED_JAVA_RESDebugForPublishing'
preparePUBLISHED_JAVA_RESProfileForPublishing: task ':app:preparePUBLISHED_JAVA_RESProfileForPublishing'
preparePUBLISHED_JAVA_RESReleaseForPublishing: task ':app:preparePUBLISHED_JAVA_RESReleaseForPublishing'
preparePUBLISHED_NATIVE_LIBSDebugAndroidTestForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDebugAndroidTestForPublishing'
preparePUBLISHED_NATIVE_LIBSDebugForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSDebugForPublishing'
preparePUBLISHED_NATIVE_LIBSProfileForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSProfileForPublishing'
preparePUBLISHED_NATIVE_LIBSReleaseForPublishing: task ':app:preparePUBLISHED_NATIVE_LIBSReleaseForPublishing'
processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes'
processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest'
processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
processDebugJavaRes: task ':app:processDebugJavaRes'
processDebugManifest: task ':app:processDebugManifest'
processDebugResources: task ':app:processDebugResources'
processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes'
processOperations: org.gradle.api.internal.file.DefaultFileOperations@4db052eb
processProfileJavaRes: task ':app:processProfileJavaRes'
processProfileManifest: task ':app:processProfileManifest'
processProfileResources: task ':app:processProfileResources'
processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes'
processReleaseJavaRes: task ':app:processReleaseJavaRes'
processReleaseManifest: task ':app:processReleaseManifest'
processReleaseResources: task ':app:processReleaseResources'
processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes'
project: project ':app'
projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@3845ec2a
projectDir: /home/idealmike/treo/flutter/appraisal_supplier_app/android/app
projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@3314fadc
projectPath: :app
projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@3aee9b35
properties: {...}
providers: org.gradle.api.internal.provider.DefaultProviderFactory@61997be0
reportBuildArtifactsDebug: task ':app:reportBuildArtifactsDebug'
reportBuildArtifactsProfile: task ':app:reportBuildArtifactsProfile'
reportBuildArtifactsRelease: task ':app:reportBuildArtifactsRelease'
reporting: org.gradle.api.reporting.ReportingExtension_Decorated@47a0dc25
reportsDir: /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/reports
repositories: repository container
resolveConfigAttr: task ':app:resolveConfigAttr'
resourceLoader: org.gradle.internal.resource.transfer.DefaultUriTextResourceLoader@50135c47
resources: org.gradle.api.internal.resources.DefaultResourceHandler@44c58e83
rootDir: /home/idealmike/treo/flutter/appraisal_supplier_app/android
rootProject: root project 'android'
script: false
scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@abc821d
scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@4b3c369b
serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@107badf
services: ProjectScopeServices
signingReport: task ':app:signingReport'
sourceCompatibility: 1.8
sourceSets: SourceSet container
splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@6f7a1f9c
state: project state 'EXECUTED'
status: integration
subprojects: []
targetCompatibility: 1.8
tasks: task set
test: task ':app:test'
testDebugUnitTest: task ':app:testDebugUnitTest'
testProfileUnitTest: task ':app:testProfileUnitTest'
testReleaseUnitTest: task ':app:testReleaseUnitTest'
testReportDir: /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/reports/tests
testReportDirName: tests
testResultsDir: /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/test-results
testResultsDirName: test-results
transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest'
transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
transformClassesWithDexBuilderForRelease: task ':app:transformClassesWithDexBuilderForRelease'
transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile'
transformDexArchiveWithDexMergerForRelease: task ':app:transformDexArchiveWithDexMergerForRelease'
transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
transformDexArchiveWithExternalLibsDexMergerForRelease: task ':app:transformDexArchiveWithExternalLibsDexMergerForRelease'
transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug'
transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile'
transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest'
transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease'
transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
uninstallAll: task ':app:uninstallAll'
uninstallDebug: task ':app:uninstallDebug'
uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
uninstallProfile: task ':app:uninstallProfile'
uninstallRelease: task ':app:uninstallRelease'
validateSigningDebug: task ':app:validateSigningDebug'
validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
validateSigningProfile: task ':app:validateSigningProfile'
validateSigningRelease: task ':app:validateSigningRelease'
version: unspecified
writeDebugApplicationId: task ':app:writeDebugApplicationId'
writeProfileApplicationId: task ':app:writeProfileApplicationId'
writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
BUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
[ +2 ms] /home/idealmike/Android/Sdk/build-tools/27.0.3/aapt dump xmltree /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/outputs/apk/app.apk AndroidManifest.xml
[ +12 ms] Exit code 0 from: /home/idealmike/Android/Sdk/build-tools/27.0.3/aapt dump xmltree /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/outputs/apk/app.apk AndroidManifest.xml
[ ] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0" (Raw: "1.0")
A: package="co.treo.appraisalsupplierapp" (Raw: "co.treo.appraisalsupplierapp")
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1b
E: uses-permission (line=16)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: uses-permission (line=17)
A: android:name(0x01010003)="android.permission.READ_CONTACTS" (Raw: "android.permission.READ_CONTACTS")
E: uses-permission (line=18)
A: android:name(0x01010003)="android.permission.WRITE_CONTACTS" (Raw: "android.permission.WRITE_CONTACTS")
E: uses-permission (line=19)
A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA")
E: uses-permission (line=20)
A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE")
E: uses-permission (line=21)
A: android:name(0x01010003)="android.permission.WRITE_EXTERNAL_STORAGE" (Raw: "android.permission.WRITE_EXTERNAL_STORAGE")
E: uses-permission (line=22)
A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE")
E: uses-permission (line=23)
A: android:name(0x01010003)="android.permission.RECORD_AUDIO" (Raw: "android.permission.RECORD_AUDIO")
E: application (line=31)
A: android:label(0x01010001)="appraisal_supplier_app" (Raw: "appraisal_supplier_app")
A: android:icon(0x01010002)=@0x7f0b0000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
E: activity (line=36)
A: android:theme(0x01010000)=@0x7f0d00a4
A: android:name(0x01010003)="co.treo.appraisalsupplierapp.MainActivity" (Raw: "co.treo.appraisalsupplierapp.MainActivity")
A: android:launchMode(0x0101001d)=(type 0x10)0x1
A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
E: meta-data (line=50)
A: android:name(0x01010003)="io.flutter.app.android.SplashScreenUntilFirstFrame" (Raw: "io.flutter.app.android.SplashScreenUntilFirstFrame")
A: android:value(0x01010024)=(type 0x12)0xffffffff
E: intent-filter (line=54)
E: action (line=55)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=57)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: activity (line=60)
A: android:name(0x01010003)="com.apptreesoftware.barcodescan.BarcodeScannerActivity" (Raw: "com.apptreesoftware.barcodescan.BarcodeScannerActivity")
E: activity (line=61)
A: android:theme(0x01010000)=@0x1030007
A: android:name(0x01010003)="io.flutter.plugins.urllauncher.UrlLauncherPlugin$WebViewActivity" (Raw: "io.flutter.plugins.urllauncher.UrlLauncherPlugin$WebViewActivity")
A: android:exported(0x01010010)=(type 0x12)0x0
E: provider (line=66)
A: android:name(0x01010003)="android.support.v4.content.FileProvider" (Raw: "android.support.v4.content.FileProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="co.treo.appraisalsupplierapp.flutter.image_provider" (Raw: "co.treo.appraisalsupplierapp.flutter.image_provider")
A: android:grantUriPermissions(0x0101001b)=(type 0x12)0xffffffff
E: meta-data (line=71)
A: android:name(0x01010003)="android.support.FILE_PROVIDER_PATHS" (Raw: "android.support.FILE_PROVIDER_PATHS")
A: android:resource(0x01010025)=@0x7f0f0000
[ +8 ms] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e logcat -v time -t 1
[ +178 ms] Exit code 0 from: /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e logcat -v time -t 1
[ ] --------- beginning of main
07-30 13:49:29.460 I/WifiTrafficPoller( 1448): mCpuCoreBooster Lock
[ +6 ms] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e logcat -v time
[ +260 ms] DependencyChecker: /home/idealmike/treo/flutter/appraisal_supplier_app/lib/main.dart is newer than 2018-07-30 13:37:51.684
[ +1 ms] /home/idealmike/Android/Sdk/platform-tools/adb version
[ +22 ms] Android Debug Bridge version 1.0.40
Version 4797878
Installed as /home/idealmike/Android/Sdk/platform-tools/adb
[ +1 ms] /home/idealmike/Android/Sdk/platform-tools/adb start-server
[ +11 ms] Building APK
[ +8 ms] Running 'gradlew assembleDebug'...
[ +1 ms] [/home/idealmike/treo/flutter/appraisal_supplier_app/android/] /home/idealmike/treo/flutter/appraisal_supplier_app/android/gradlew -Pverbose=true -Ptarget=/home/idealmike/treo/flutter/appraisal_supplier_app/lib/main.dart -Ppreview-dart-2=true -Ptarget-platform=android-arm64 assembleDebug
[ +546 ms] WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
[ ] It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
[ +28 ms] WARNING: The specified Android SDK Build Tools version (25.0.3) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.3.
[ ] Android SDK Build Tools 27.0.3 will be used.
[ ] To suppress this warning, remove "buildToolsVersion '25.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
[ +120 ms] :app:preBuild UP-TO-DATE
[ ] :barcode_scan:preBuild UP-TO-DATE
[ ] :barcode_scan:preDebugBuild UP-TO-DATE
[ +8 ms] :barcode_scan:checkDebugManifest UP-TO-DATE
[ ] :barcode_scan:processDebugManifest UP-TO-DATE
[ ] :camera:preBuild UP-TO-DATE
[ ] :camera:preDebugBuild UP-TO-DATE
[ ] :camera:checkDebugManifest UP-TO-DATE
[ ] :camera:processDebugManifest UP-TO-DATE
[ ] :contacts_service:preBuild UP-TO-DATE
[ +2 ms] :contacts_service:preDebugBuild UP-TO-DATE
[ ] :contacts_service:checkDebugManifest UP-TO-DATE
[ ] :contacts_service:processDebugManifest UP-TO-DATE
[ ] :image_picker:preBuild UP-TO-DATE
[ ] :image_picker:preDebugBuild UP-TO-DATE
[ +9 ms] :image_picker:checkDebugManifest UP-TO-DATE
[ ] :image_picker:processDebugManifest UP-TO-DATE
[ ] :path_provider:preBuild UP-TO-DATE
[ ] :path_provider:preDebugBuild UP-TO-DATE
[ ] :path_provider:checkDebugManifest UP-TO-DATE
[ ] :path_provider:processDebugManifest UP-TO-DATE
[ ] :share:preBuild UP-TO-DATE
[ ] :share:preDebugBuild UP-TO-DATE
[ ] :share:checkDebugManifest UP-TO-DATE
[ ] :share:processDebugManifest UP-TO-DATE
[ ] :simple_permissions:preBuild UP-TO-DATE
[ ] :simple_permissions:preDebugBuild UP-TO-DATE
[ ] :simple_permissions:checkDebugManifest UP-TO-DATE
[ ] :simple_permissions:processDebugManifest UP-TO-DATE
[ ] :url_launcher:preBuild UP-TO-DATE
[ ] :url_launcher:preDebugBuild UP-TO-DATE
[ ] :url_launcher:checkDebugManifest UP-TO-DATE
[ ] :url_launcher:processDebugManifest UP-TO-DATE
[ +47 ms] :app:preDebugBuild UP-TO-DATE
[ +42 ms] :barcode_scan:compileDebugAidl UP-TO-DATE
[ ] :camera:compileDebugAidl UP-TO-DATE
[ ] :contacts_service:compileDebugAidl UP-TO-DATE
[ ] :image_picker:compileDebugAidl UP-TO-DATE
[ ] :path_provider:compileDebugAidl UP-TO-DATE
[ ] :share:compileDebugAidl UP-TO-DATE
[ ] :simple_permissions:compileDebugAidl UP-TO-DATE
[ ] :url_launcher:compileDebugAidl UP-TO-DATE
[ ] :app:compileDebugAidl UP-TO-DATE
[ ] :barcode_scan:packageDebugRenderscript NO-SOURCE
[ ] :camera:packageDebugRenderscript NO-SOURCE
[ ] :contacts_service:packageDebugRenderscript NO-SOURCE
[ ] :image_picker:packageDebugRenderscript NO-SOURCE
[ ] :path_provider:packageDebugRenderscript NO-SOURCE
[ ] :share:packageDebugRenderscript NO-SOURCE
[ ] :simple_permissions:packageDebugRenderscript NO-SOURCE
[ +2 ms] :url_launcher:packageDebugRenderscript NO-SOURCE
[ ] :app:compileDebugRenderscript UP-TO-DATE
[ +42 ms] :app:flutterBuildX86Jar UP-TO-DATE
[ ] :app:checkDebugManifest UP-TO-DATE
[ ] :app:generateDebugBuildConfig UP-TO-DATE
[ ] :app:cleanMergeDebugAssets
[ +303 ms] :app:flutterBuildDebug
[ ] [ +7 ms] [/home/idealmike/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +30 ms] [ +39 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ ] origin/master
[ ] [ ] [/home/idealmike/flutter/] git rev-parse --abbrev-ref HEAD
[ ] [ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] [ ] master
[ ] [ ] [/home/idealmike/flutter/] git ls-remote --get-url origin
[ +9 ms] [ +7 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] [ ] https://github.com/flutter/flutter.git
[ ] [ ] [/home/idealmike/flutter/] git log -n 1 --pretty=format:%H
[ +10 ms] [ +7 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] [ ] 711ecf7f58822d5c37a7facf4681ee5dc85e0173
[ ] [ ] [/home/idealmike/flutter/] git log -n 1 --pretty=format:%ar
[ +9 ms] [ +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] [ ] 74 minutes ago
[ ] [ ] [/home/idealmike/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +10 ms] [ +12 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] [ ] v0.5.7-179-g711ecf7f5
[ +211 ms] [ +215 ms] Found plugin barcode_scan at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/barcode_scan-0.0.4/
[ +20 ms] [ +15 ms] Found plugin camera at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.2.1/
[ ] [ +3 ms] Found plugin contacts_service at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/contacts_service-0.0.7/
[ +20 ms] [ +21 ms] Found plugin image_picker at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.5/
[ +10 ms] [ +9 ms] Found plugin path_provider at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-0.4.1/
[ +10 ms] [ +7 ms] Found plugin share at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.5.2/
[ ] [ +3 ms] Found plugin simple_permissions at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/simple_permissions-0.1.5/
[ +9 ms] [ +7 ms] Found plugin url_launcher at /home/idealmike/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-3.0.3/
[ +201 ms] [ +200 ms] /home/idealmike/flutter/bin/cache/dart-sdk/bin/dart /home/idealmike/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/idealmike/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --strong --target=flutter --no-link-platform --incremental --packages /home/idealmike/treo/flutter/appraisal_supplier_app/.packages --output-dill build/app.dill --depfile /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/intermediates/flutter/debug/snapshot_blob.bin.d --filesystem-scheme org-dartlang-root /home/idealmike/treo/flutter/appraisal_supplier_app/lib/main.dart
[+1310 ms] [+1307 ms] Building bundle
[ ] [ ] Writing asset files to /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/intermediates/flutter/debug/flutter_assets
[ +70 ms] [ +76 ms] Wrote /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/intermediates/flutter/debug/flutter_assets
[ +10 ms] [ +6 ms] "flutter bundle" took 1,770ms.
[ +161 ms] :app:mergeDebugShaders UP-TO-DATE
[ ] :app:compileDebugShaders UP-TO-DATE
[ ] :app:generateDebugAssets UP-TO-DATE
[ ] :barcode_scan:mergeDebugShaders UP-TO-DATE
[ ] :barcode_scan:compileDebugShaders UP-TO-DATE
[ ] :barcode_scan:generateDebugAssets UP-TO-DATE
[ ] :barcode_scan:packageDebugAssets UP-TO-DATE
[ +1 ms] :camera:mergeDebugShaders UP-TO-DATE
[ ] :camera:compileDebugShaders UP-TO-DATE
[ ] :camera:generateDebugAssets UP-TO-DATE
[ ] :camera:packageDebugAssets UP-TO-DATE
[ ] :contacts_service:mergeDebugShaders UP-TO-DATE
[ ] :contacts_service:compileDebugShaders UP-TO-DATE
[ ] :contacts_service:generateDebugAssets UP-TO-DATE
[ ] :contacts_service:packageDebugAssets UP-TO-DATE
[ ] :image_picker:mergeDebugShaders UP-TO-DATE
[ ] :image_picker:compileDebugShaders UP-TO-DATE
[ ] :image_picker:generateDebugAssets UP-TO-DATE
[ ] :image_picker:packageDebugAssets UP-TO-DATE
[ ] :path_provider:mergeDebugShaders UP-TO-DATE
[ ] :path_provider:compileDebugShaders UP-TO-DATE
[ ] :path_provider:generateDebugAssets UP-TO-DATE
[ ] :path_provider:packageDebugAssets UP-TO-DATE
[ ] :share:mergeDebugShaders UP-TO-DATE
[ ] :share:compileDebugShaders UP-TO-DATE
[ ] :share:generateDebugAssets UP-TO-DATE
[ ] :share:packageDebugAssets UP-TO-DATE
[ +7 ms] :simple_permissions:mergeDebugShaders UP-TO-DATE
[ ] :simple_permissions:compileDebugShaders UP-TO-DATE
[ ] :simple_permissions:generateDebugAssets UP-TO-DATE
[ ] :simple_permissions:packageDebugAssets UP-TO-DATE
[ ] :url_launcher:mergeDebugShaders UP-TO-DATE
[ ] :url_launcher:compileDebugShaders UP-TO-DATE
[ ] :url_launcher:generateDebugAssets UP-TO-DATE
[ ] :url_launcher:packageDebugAssets UP-TO-DATE
[ +1 ms] :app:mergeDebugAssets
[ +190 ms] :app:copyFlutterAssetsDebug
[ ] :app:mainApkListPersistenceDebug UP-TO-DATE
[ ] :app:generateDebugResValues UP-TO-DATE
[ ] :app:generateDebugResources UP-TO-DATE
[ ] :barcode_scan:compileDebugRenderscript UP-TO-DATE
[ ] :barcode_scan:generateDebugResValues UP-TO-DATE
[ ] :barcode_scan:generateDebugResources UP-TO-DATE
[ ] :barcode_scan:packageDebugResources UP-TO-DATE
[ ] :camera:compileDebugRenderscript UP-TO-DATE
[ ] :camera:generateDebugResValues UP-TO-DATE
[ ] :camera:generateDebugResources UP-TO-DATE
[ ] :camera:packageDebugResources UP-TO-DATE
[ ] :contacts_service:compileDebugRenderscript UP-TO-DATE
[ ] :contacts_service:generateDebugResValues UP-TO-DATE
[ ] :contacts_service:generateDebugResources UP-TO-DATE
[ ] :contacts_service:packageDebugResources UP-TO-DATE
[ ] :image_picker:compileDebugRenderscript UP-TO-DATE
[ +8 ms] :image_picker:generateDebugResValues UP-TO-DATE
[ +1 ms] :image_picker:generateDebugResources UP-TO-DATE
[ ] :image_picker:packageDebugResources UP-TO-DATE
[ ] :path_provider:compileDebugRenderscript UP-TO-DATE
[ ] :path_provider:generateDebugResValues UP-TO-DATE
[ ] :path_provider:generateDebugResources UP-TO-DATE
[ ] :path_provider:packageDebugResources UP-TO-DATE
[ ] :share:compileDebugRenderscript UP-TO-DATE
[ ] :share:generateDebugResValues UP-TO-DATE
[ ] :share:generateDebugResources UP-TO-DATE
[ ] :share:packageDebugResources UP-TO-DATE
[ ] :simple_permissions:compileDebugRenderscript UP-TO-DATE
[ ] :simple_permissions:generateDebugResValues UP-TO-DATE
[ ] :simple_permissions:generateDebugResources UP-TO-DATE
[ +8 ms] :simple_permissions:packageDebugResources UP-TO-DATE
[ ] :url_launcher:compileDebugRenderscript UP-TO-DATE
[ ] :url_launcher:generateDebugResValues UP-TO-DATE
[ ] :url_launcher:generateDebugResources UP-TO-DATE
[ ] :url_launcher:packageDebugResources UP-TO-DATE
[ +20 ms] :app:mergeDebugResources UP-TO-DATE
[ ] :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ ] :app:processDebugManifest UP-TO-DATE
[ ] :app:splitsDiscoveryTaskDebug UP-TO-DATE
[ ] :barcode_scan:platformAttrExtractor UP-TO-DATE
[ ] :barcode_scan:generateDebugRFile UP-TO-DATE
[ +9 ms] :camera:platformAttrExtractor UP-TO-DATE
[ ] :camera:generateDebugRFile UP-TO-DATE
[ ] :contacts_service:platformAttrExtractor UP-TO-DATE
[ ] :contacts_service:generateDebugRFile UP-TO-DATE
[ ] :image_picker:platformAttrExtractor UP-TO-DATE
[ ] :image_picker:generateDebugRFile UP-TO-DATE
[ ] :path_provider:platformAttrExtractor UP-TO-DATE
[ ] :path_provider:generateDebugRFile UP-TO-DATE
[ ] :share:platformAttrExtractor UP-TO-DATE
[ ] :share:generateDebugRFile UP-TO-DATE
[ ] :simple_permissions:platformAttrExtractor UP-TO-DATE
[ ] :simple_permissions:generateDebugRFile UP-TO-DATE
[ ] :url_launcher:platformAttrExtractor UP-TO-DATE
[ ] :url_launcher:generateDebugRFile UP-TO-DATE
[ +10 ms] :app:processDebugResources UP-TO-DATE
[ ] :barcode_scan:generateDebugBuildConfig UP-TO-DATE
[ ] :barcode_scan:compileDebugKotlin UP-TO-DATE
[ ] :barcode_scan:prepareLintJar UP-TO-DATE
[ ] :barcode_scan:generateDebugSources UP-TO-DATE
[ ] :barcode_scan:javaPreCompileDebug UP-TO-DATE
[ ] :barcode_scan:compileDebugJavaWithJavac UP-TO-DATE
[ +9 ms] :barcode_scan:processDebugJavaRes NO-SOURCE
[ ] :barcode_scan:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ ] :camera:generateDebugBuildConfig UP-TO-DATE
[ ] :camera:prepareLintJar UP-TO-DATE
[ ] :camera:generateDebugSources UP-TO-DATE
[ ] :camera:javaPreCompileDebug UP-TO-DATE
[ ] :camera:compileDebugJavaWithJavac UP-TO-DATE
[ ] :camera:processDebugJavaRes NO-SOURCE
[ ] :camera:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ ] :contacts_service:generateDebugBuildConfig UP-TO-DATE
[ ] :contacts_service:prepareLintJar UP-TO-DATE
[ ] :contacts_service:generateDebugSources UP-TO-DATE
[ +9 ms] :contacts_service:javaPreCompileDebug UP-TO-DATE
[ ] :contacts_service:compileDebugJavaWithJavac UP-TO-DATE
[ ] :contacts_service:processDebugJavaRes NO-SOURCE
[ ] :contacts_service:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ ] :image_picker:generateDebugBuildConfig UP-TO-DATE
[ ] :image_picker:prepareLintJar UP-TO-DATE
[ ] :image_picker:generateDebugSources UP-TO-DATE
[ ] :image_picker:javaPreCompileDebug UP-TO-DATE
[ ] :image_picker:compileDebugJavaWithJavac UP-TO-DATE
[ ] :image_picker:processDebugJavaRes NO-SOURCE
[ ] :image_picker:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ +9 ms] :path_provider:generateDebugBuildConfig UP-TO-DATE
[ ] :path_provider:prepareLintJar UP-TO-DATE
[ ] :path_provider:generateDebugSources UP-TO-DATE
[ ] :path_provider:javaPreCompileDebug UP-TO-DATE
[ ] :path_provider:compileDebugJavaWithJavac UP-TO-DATE
[ ] :path_provider:processDebugJavaRes NO-SOURCE
[ ] :path_provider:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ ] :share:generateDebugBuildConfig UP-TO-DATE
[ ] :share:prepareLintJar UP-TO-DATE
[ ] :share:generateDebugSources UP-TO-DATE
[ ] :share:javaPreCompileDebug UP-TO-DATE
[ ] :share:compileDebugJavaWithJavac UP-TO-DATE
[ ] :share:processDebugJavaRes NO-SOURCE
[ ] :share:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ ] :simple_permissions:generateDebugBuildConfig UP-TO-DATE
[ ] :simple_permissions:prepareLintJar UP-TO-DATE
[ ] :simple_permissions:generateDebugSources UP-TO-DATE
[ ] :simple_permissions:javaPreCompileDebug UP-TO-DATE
[ +9 ms] :simple_permissions:compileDebugJavaWithJavac UP-TO-DATE
[ ] :simple_permissions:processDebugJavaRes NO-SOURCE
[ ] :simple_permissions:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ ] :url_launcher:generateDebugBuildConfig UP-TO-DATE
[ ] :url_launcher:prepareLintJar UP-TO-DATE
[ ] :url_launcher:generateDebugSources UP-TO-DATE
[ ] :url_launcher:javaPreCompileDebug UP-TO-DATE
[ ] :url_launcher:compileDebugJavaWithJavac UP-TO-DATE
[ ] :url_launcher:processDebugJavaRes NO-SOURCE
[ ] :url_launcher:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
[ ] :app:compileDebugKotlin UP-TO-DATE
[ ] :app:prepareLintJar UP-TO-DATE
[ ] :app:generateDebugSources UP-TO-DATE
[ +9 ms] :app:javaPreCompileDebug UP-TO-DATE
[ ] :app:compileDebugJavaWithJavac UP-TO-DATE
[ ] :app:compileDebugNdk NO-SOURCE
[ ] :app:compileDebugSources UP-TO-DATE
[ +50 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[ +9 ms] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
[ ] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
[ ] :app:mergeDebugJniLibFolders UP-TO-DATE
[ ] :barcode_scan:compileDebugNdk NO-SOURCE
[ ] :barcode_scan:mergeDebugJniLibFolders UP-TO-DATE
[ ] :barcode_scan:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :barcode_scan:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] :camera:compileDebugNdk NO-SOURCE
[ ] :camera:mergeDebugJniLibFolders UP-TO-DATE
[ ] :camera:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ +9 ms] :camera:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] :contacts_service:compileDebugNdk NO-SOURCE
[ ] :contacts_service:mergeDebugJniLibFolders UP-TO-DATE
[ ] :contacts_service:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :contacts_service:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] :image_picker:compileDebugNdk NO-SOURCE
[ ] :image_picker:mergeDebugJniLibFolders UP-TO-DATE
[ ] :image_picker:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :image_picker:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] :path_provider:compileDebugNdk NO-SOURCE
[ ] :path_provider:mergeDebugJniLibFolders UP-TO-DATE
[ ] :path_provider:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :path_provider:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] :share:compileDebugNdk NO-SOURCE
[ ] :share:mergeDebugJniLibFolders UP-TO-DATE
[ ] :share:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :share:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] :simple_permissions:compileDebugNdk NO-SOURCE
[ ] :simple_permissions:mergeDebugJniLibFolders UP-TO-DATE
[ +9 ms] :simple_permissions:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :simple_permissions:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] :url_launcher:compileDebugNdk NO-SOURCE
[ ] :url_launcher:mergeDebugJniLibFolders UP-TO-DATE
[ ] :url_launcher:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :url_launcher:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ +1 ms] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :app:processDebugJavaRes NO-SOURCE
[ ] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :app:validateSigningDebug UP-TO-DATE
[+3209 ms] :app:packageDebug
[ ] :app:assembleDebug
[ +20 ms] :barcode_scan:extractDebugAnnotations UP-TO-DATE
[ ] :barcode_scan:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] :barcode_scan:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :barcode_scan:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :barcode_scan:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :barcode_scan:bundleDebug UP-TO-DATE
[ ] :barcode_scan:compileDebugSources UP-TO-DATE
[ ] :barcode_scan:assembleDebug UP-TO-DATE
[ ] :camera:extractDebugAnnotations UP-TO-DATE
[ ] :camera:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +9 ms] :camera:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :camera:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :camera:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :camera:bundleDebug UP-TO-DATE
[ ] :camera:compileDebugSources UP-TO-DATE
[ ] :camera:assembleDebug UP-TO-DATE
[ ] :contacts_service:extractDebugAnnotations UP-TO-DATE
[ ] :contacts_service:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] :contacts_service:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :contacts_service:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :contacts_service:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :contacts_service:bundleDebug UP-TO-DATE
[ ] :contacts_service:compileDebugSources UP-TO-DATE
[ ] :contacts_service:assembleDebug UP-TO-DATE
[ +10 ms] :image_picker:extractDebugAnnotations UP-TO-DATE
[ ] :image_picker:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] :image_picker:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :image_picker:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :image_picker:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :image_picker:bundleDebug UP-TO-DATE
[ ] :image_picker:compileDebugSources UP-TO-DATE
[ ] :image_picker:assembleDebug UP-TO-DATE
[ ] :path_provider:extractDebugAnnotations UP-TO-DATE
[ ] :path_provider:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] :path_provider:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ +9 ms] :path_provider:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :path_provider:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :path_provider:bundleDebug UP-TO-DATE
[ ] :path_provider:compileDebugSources UP-TO-DATE
[ ] :path_provider:assembleDebug UP-TO-DATE
[ ] :share:extractDebugAnnotations UP-TO-DATE
[ ] :share:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] :share:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :share:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :share:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :share:bundleDebug UP-TO-DATE
[ ] :share:compileDebugSources UP-TO-DATE
[ ] :share:assembleDebug UP-TO-DATE
[ +10 ms] :simple_permissions:extractDebugAnnotations UP-TO-DATE
[ ] :simple_permissions:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] :simple_permissions:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :simple_permissions:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :simple_permissions:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :simple_permissions:bundleDebug UP-TO-DATE
[ ] :simple_permissions:compileDebugSources UP-TO-DATE
[ ] :simple_permissions:assembleDebug UP-TO-DATE
[ ] :url_launcher:extractDebugAnnotations UP-TO-DATE
[ ] :url_launcher:mergeDebugConsumerProguardFiles UP-TO-DATE
[ +9 ms] :url_launcher:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :url_launcher:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] :url_launcher:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] :url_launcher:bundleDebug UP-TO-DATE
[ ] :url_launcher:compileDebugSources UP-TO-DATE
[ ] :url_launcher:assembleDebug UP-TO-DATE
[ ] BUILD SUCCESSFUL in 6s
[ ] 232 actionable tasks: 5 executed, 227 up-to-date
[ +392 ms] calculateSha: LocalDirectory: '/home/idealmike/treo/flutter/appraisal_supplier_app/build/app/outputs/apk'/app.apk
[ +782 ms] Built build/app/outputs/apk/debug/app-debug.apk.
[ +14 ms] /home/idealmike/Android/Sdk/build-tools/27.0.3/aapt dump xmltree /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/outputs/apk/app.apk AndroidManifest.xml
[ +16 ms] Exit code 0 from: /home/idealmike/Android/Sdk/build-tools/27.0.3/aapt dump xmltree /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/outputs/apk/app.apk AndroidManifest.xml
[ ] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0" (Raw: "1.0")
A: package="co.treo.appraisalsupplierapp" (Raw: "co.treo.appraisalsupplierapp")
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1b
E: uses-permission (line=16)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: uses-permission (line=17)
A: android:name(0x01010003)="android.permission.READ_CONTACTS" (Raw: "android.permission.READ_CONTACTS")
E: uses-permission (line=18)
A: android:name(0x01010003)="android.permission.WRITE_CONTACTS" (Raw: "android.permission.WRITE_CONTACTS")
E: uses-permission (line=19)
A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA")
E: uses-permission (line=20)
A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE")
E: uses-permission (line=21)
A: android:name(0x01010003)="android.permission.WRITE_EXTERNAL_STORAGE" (Raw: "android.permission.WRITE_EXTERNAL_STORAGE")
E: uses-permission (line=22)
A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE")
E: uses-permission (line=23)
A: android:name(0x01010003)="android.permission.RECORD_AUDIO" (Raw: "android.permission.RECORD_AUDIO")
E: application (line=31)
A: android:label(0x01010001)="appraisal_supplier_app" (Raw: "appraisal_supplier_app")
A: android:icon(0x01010002)=@0x7f0b0000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
E: activity (line=36)
A: android:theme(0x01010000)=@0x7f0d00a4
A: android:name(0x01010003)="co.treo.appraisalsupplierapp.MainActivity" (Raw: "co.treo.appraisalsupplierapp.MainActivity")
A: android:launchMode(0x0101001d)=(type 0x10)0x1
A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
E: meta-data (line=50)
A: android:name(0x01010003)="io.flutter.app.android.SplashScreenUntilFirstFrame" (Raw: "io.flutter.app.android.SplashScreenUntilFirstFrame")
A: android:value(0x01010024)=(type 0x12)0xffffffff
E: intent-filter (line=54)
E: action (line=55)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=57)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: activity (line=60)
A: android:name(0x01010003)="com.apptreesoftware.barcodescan.BarcodeScannerActivity" (Raw: "com.apptreesoftware.barcodescan.BarcodeScannerActivity")
E: activity (line=61)
A: android:theme(0x01010000)=@0x1030007
A: android:name(0x01010003)="io.flutter.plugins.urllauncher.UrlLauncherPlugin$WebViewActivity" (Raw: "io.flutter.plugins.urllauncher.UrlLauncherPlugin$WebViewActivity")
A: android:exported(0x01010010)=(type 0x12)0x0
E: provider (line=66)
A: android:name(0x01010003)="android.support.v4.content.FileProvider" (Raw: "android.support.v4.content.FileProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="co.treo.appraisalsupplierapp.flutter.image_provider" (Raw: "co.treo.appraisalsupplierapp.flutter.image_provider")
A: android:grantUriPermissions(0x0101001b)=(type 0x12)0xffffffff
E: meta-data (line=71)
A: android:name(0x01010003)="android.support.FILE_PROVIDER_PATHS" (Raw: "android.support.FILE_PROVIDER_PATHS")
A: android:resource(0x01010025)=@0x7f0f0000
[ +8 ms] Stopping app 'app.apk' on SM N950U.
[ ] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e shell am force-stop co.treo.appraisalsupplierapp
[ +179 ms] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e shell pm list packages co.treo.appraisalsupplierapp
[+1025 ms] package:co.treo.appraisalsupplierapp
[ +11 ms] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e shell cat /data/local/tmp/sky.co.treo.appraisalsupplierapp.sha1
[ +59 ms] b4abe1b3e44273a81e74418adfa0e0564e720fe7
[ +2 ms] Installing APK.
[ +3 ms] /home/idealmike/Android/Sdk/platform-tools/adb version
[ +39 ms] Android Debug Bridge version 1.0.40
Version 4797878
Installed as /home/idealmike/Android/Sdk/platform-tools/adb
[ +1 ms] /home/idealmike/Android/Sdk/platform-tools/adb start-server
[ +37 ms] Installing build/app/outputs/apk/app.apk...
[ ] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e install -t -r /home/idealmike/treo/flutter/appraisal_supplier_app/build/app/outputs/apk/app.apk
[+16928 ms] Success
[ +4 ms] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e shell echo -n 8fc6483e4a6ba95277c922b411d26f74dbc617df > /data/local/tmp/sky.co.treo.appraisalsupplierapp.sha1
[ +93 ms] SM N950U startApp
[ +3 ms] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity
[ +220 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=co.treo.appraisalsupplierapp/.MainActivity (has extras) }
[ ] Waiting for observatory port to be available...
[+1575 ms] Observatory URL on device: http://127.0.0.1:45556/
[ ] /home/idealmike/Android/Sdk/platform-tools/adb -s ce061716f0462c6c0c7e forward tcp:0 tcp:45556
[ +20 ms] 40909
[ ] Forwarded host port 40909 to device port 45556 for Observatory
[ +9 ms] Connecting to service protocol: http://127.0.0.1:40909/
[ +534 ms] Successfully connected to service protocol: http://127.0.0.1:40909/
[ +3 ms] getVM: {}
[ +76 ms] getIsolate: {isolateId: isolates/566734569}
[ +23 ms] _flutter.listViews: {isolateId: isolates/566734569}
[ +34 ms] DevFS: Creating new filesystem on the device (null)
[ ] _createDevFS: {fsName: appraisal_supplier_app}
[ +107 ms] DevFS: Created new filesystem on the device (file:///data/user/0/co.treo.appraisalsupplierapp/cache/appraisal_supplier_appNQXDIG/appraisal_supplier_app/)
[ +3 ms] Updating assets
[ +24 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +215 ms] Syncing files to device SM N950U...
[ +1 ms] DevFS: Starting sync from LocalDirectory: '/home/idealmike/treo/flutter/appraisal_supplier_app'
[ ] Scanning project files
[ +2 ms] Scanning package files
[ +83 ms] Scanning asset files
[ +1 ms] Scanning for deleted files
[ +8 ms] Compiling dart to kernel with 423 updated files
[ +8 ms] /home/idealmike/flutter/bin/cache/dart-sdk/bin/dart /home/idealmike/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/idealmike/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --strong --target=flutter --initialize-from-dill=foo --output-dill build/app.dill --packages /home/idealmike/treo/flutter/appraisal_supplier_app/.packages --filesystem-scheme org-dartlang-root
[+1079 ms] D/libGLESv2(20179): STS_GLApi : DTS, ODTC are not allowed for Package : co.treo.appraisalsupplierapp
[ +253 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +27 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +41 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +26 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +35 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +28 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +8 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +30 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +34 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +26 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +33 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +41 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +263 ms] D/SurfaceView(20179): BG show() Surface(name=Background for - SurfaceView - co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity@fe3db97@0) io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2220}
[ ] D/SurfaceView(20179): surfaceDestroyed 1 io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2220}
[ +5 ms] D/SurfaceView(20179): BG destroy() Surface(name=Background for - SurfaceView - co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity@fe3db97@0) io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2220}
[ ] D/OpenGLRenderer(20179): eglDestroySurface = 0x752ecbbfb0
[ +40 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x5 surface={valid=false 0} changed=true
[+1291 ms] Updating files
[+1681 ms] DevFS: Sync finished
[ +1 ms] Synced 40.6MB.
[ +3 ms] _flutter.listViews: {isolateId: isolates/566734569}
[ +25 ms] Connected to _flutterView/0x7544bfbb98.
[ +1 ms] 🔥 To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
[ +1 ms] An Observatory debugger and profiler on SM N950U is available at: http://127.0.0.1:40909/
[ ] For a more detailed help message, press "h". To quit, press "q".
[+3480 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x1 surface={valid=false 0} changed=false
[ +28 ms] V/Surface (20179): sf_framedrop debug : 0x4f4c, game : false, logging : 0
[ ] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x7 surface={valid=true 503383805952} changed=true
[ ] D/OpenGLRenderer(20179): eglCreateWindowSurface = 0x752ecbbfb0
[ +2 ms] D/SurfaceView(20179): BG show() Surface(name=Background for - SurfaceView - co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity@fe3db97@1) io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2220}
[ ] V/Surface (20179): sf_framedrop debug : 0x4f4c, game : false, logging : 0
[ ] D/SurfaceView(20179): surfaceCreated 1 io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2220}
[ +6 ms] D/SurfaceView(20179): surfaceChanged (1080,2220) 1 io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2220}
[ +27 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x1 surface={valid=true 503383805952} changed=false
[ +240 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1080, 2220) ci=Rect(0, 63 - 0, 0) vi=Rect(0, 63 - 0, 0) or=1
[ +245 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): MSG_WINDOW_FOCUS_CHANGED 1
[ ] V/InputMethodManager(20179): Starting input: tba=android.view.inputmethod.EditorInfo@3af61f0 nm : co.treo.appraisalsupplierapp ic=null
[ ] I/InputMethodManager(20179): startInputInner - mService.startInputOrWindowGainedFocus
[ +17 ms] V/InputMethodManager(20179): Starting input: tba=android.view.inputmethod.EditorInfo@1240369 nm : co.treo.appraisalsupplierapp ic=null
[+1359 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): ViewPostIme pointer 0
[ +62 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): ViewPostIme pointer 1
[ +219 ms] V/InputMethodManager(20179): Starting input: tba=android.view.inputmethod.EditorInfo@48b1cab nm : co.treo.appraisalsupplierapp ic=io.flutter.plugin.editing.InputConnectionAdaptor@9397f08
[ ] I/InputMethodManager(20179): startInputInner - mService.startInputOrWindowGainedFocus
[ +19 ms] D/InputMethodManager(20179): SSI - flag : 0 Pid : 20179 view : co.treo.appraisalsupplierapp
[ +149 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): MSG_RESIZED: frame=Rect(0, 0 - 1080, 2220) ci=Rect(0, 63 - 0, 126) vi=Rect(0, 63 - 0, 126) or=1
[ +30 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x1 surface={valid=true 503383805952} changed=false
[ +6 ms] D/SurfaceView(20179): BG show() Surface(name=Background for - SurfaceView - co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity@fe3db97@1) io.flutter.view.FlutterView{fe3db97 VFE...... .F....ID 0,0-1080,2094}
[ +10 ms] D/SurfaceView(20179): surfaceChanged (1080,2094) 1 io.flutter.view.FlutterView{fe3db97 VFE...... .F....ID 0,0-1080,2094}
[ +30 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x1 surface={valid=true 503383805952} changed=false
[+1819 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): ViewPostIme pointer 0
[ +105 ms] I/zygote64(20179): Do partial code cache collection, code=23KB, data=28KB
[ +13 ms] I/zygote64(20179): After code cache collection, code=23KB, data=28KB
[ ] I/zygote64(20179): Increasing code cache capacity to 128KB
[ +33 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): ViewPostIme pointer 1
[+1503 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): ViewPostIme pointer 0
[ +85 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): ViewPostIme pointer 1
[ +41 ms] I/flutter (20179): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
[ +27 ms] I/flutter (20179): The following assertion was thrown building NotificationListener<KeepAliveNotification>:
[ ] I/flutter (20179): 'package:flutter/src/rendering/object.dart': Failed assertion: line 2805 pos 14:
[ ] I/flutter (20179): '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
[ +4 ms] I/flutter (20179):
[ ] I/flutter (20179): Either the assertion indicates an error in the framework itself, or we should provide substantially
[ ] I/flutter (20179): more information in this error message to help you determine and fix the underlying cause.
[ ] I/flutter (20179): In either case, please report this assertion by filing a bug on GitHub:
[ ] I/flutter (20179): https://github.com/flutter/flutter/issues/new
[ ] I/flutter (20179):
[ ] I/flutter (20179): When the exception was thrown, this was the stack:
[ +18 ms] I/flutter (20179): #2 _RenderSliverMultiBoxAdaptor&RenderSliver&ContainerRenderObjectMixin._insertIntoChildList (package:flutter/src/rendering/object.dart)
[ ] I/flutter (20179): #3 _RenderSliverMultiBoxAdaptor&RenderSliver&ContainerRenderObjectMixin.insert (package:flutter/src/rendering/object.dart:2839:5)
[ ] I/flutter (20179): #4 RenderSliverMultiBoxAdaptor.insert (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:209:11)
[ ] I/flutter (20179): #5 SliverMultiBoxAdaptorElement.insertChildRenderObject (package:flutter/src/widgets/sliver.dart:865:18)
[ ] I/flutter (20179): #6 RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:4526:35)
[ ] I/flutter (20179): #7 RenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4292:5)
[ ] I/flutter (20179): #8 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4666:11)
[ ] I/flutter (20179): #9 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2920:14)
[ ] I/flutter (20179): #10 Element.updateChild (package:flutter/src/widgets/framework.dart:2723:12)
[ ] I/flutter (20179): #11 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #12 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #13 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3635:5)
[ ] I/flutter (20179): #14 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3630:5)
[ ] I/flutter (20179): #15 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2920:14)
[ ] I/flutter (20179): #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2723:12)
[ +1 ms] I/flutter (20179): #17 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #18 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #19 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3635:5)
[ ] I/flutter (20179): #20 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3630:5)
[ ] I/flutter (20179): #21 ParentDataElement.mount (package:flutter/src/widgets/framework.dart:3968:11)
[ ] I/flutter (20179): #22 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2920:14)
[ ] I/flutter (20179): #23 Element.updateChild (package:flutter/src/widgets/framework.dart:2723:12)
[ ] I/flutter (20179): #24 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #25 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #26 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3635:5)
[ ] I/flutter (20179): #27 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3782:11)
[ ] I/flutter (20179): #28 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3630:5)
[ ] I/flutter (20179): #29 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2920:14)
[ ] I/flutter (20179): #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2723:12)
[ ] I/flutter (20179): #31 SliverMultiBoxAdaptorElement.updateChild (package:flutter/src/widgets/sliver.dart:744:36)
[ ] I/flutter (20179): #32 SliverMultiBoxAdaptorElement.performRebuild (package:flutter/src/widgets/sliver.dart:702:34)
[ ] I/flutter (20179): #33 SliverMultiBoxAdaptorElement.update (package:flutter/src/widgets/sliver.dart:671:7)
[ ] I/flutter (20179): #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #37 ProxyElement.update (package:flutter/src/widgets/framework.dart:3922:5)
[ ] I/flutter (20179): #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #39 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #41 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4392:32)
[ ] I/flutter (20179): #42 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4782:17)
[ ] I/flutter (20179): #43 _ViewportElement.update (package:flutter/src/widgets/viewport.dart:192:11)
[ ] I/flutter (20179): #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:3922:5)
[ ] I/flutter (20179): #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #49 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #50 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #51 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #53 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #54 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #55 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #58 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #59 StatefulElement.update (package:flutter/src/widgets/framework.dart:3812:5)
[ ] I/flutter (20179): #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #61 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #62 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #63 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #65 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #66 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #67 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4674:14)
[ ] I/flutter (20179): #68 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #69 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #70 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #71 StatelessElement.update (package:flutter/src/widgets/framework.dart:3715:5)
[ ] I/flutter (20179): #72 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ +3 ms] I/flutter (20179): #73 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #74 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #75 StatefulElement.update (package:flutter/src/widgets/framework.dart:3812:5)
[ ] I/flutter (20179): #76 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #77 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #78 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #79 StatefulElement.update (package:flutter/src/widgets/framework.dart:3812:5)
[ ] I/flutter (20179): #80 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #81 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #82 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #83 ProxyElement.update (package:flutter/src/widgets/framework.dart:3922:5)
[ ] I/flutter (20179): #84 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #85 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #86 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #87 StatelessElement.update (package:flutter/src/widgets/framework.dart:3715:5)
[ ] I/flutter (20179): #88 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #89 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #90 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #91 ProxyElement.update (package:flutter/src/widgets/framework.dart:3922:5)
[ ] I/flutter (20179): #92 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #93 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4392:32)
[ ] I/flutter (20179): #94 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4782:17)
[ ] I/flutter (20179): #95 Element.updateChild (package:flutter/src/widgets/framework.dart:2712:15)
[ ] I/flutter (20179): #96 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3666:16)
[ ] I/flutter (20179): #97 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
[ ] I/flutter (20179): #98 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2255:33)
[ ] I/flutter (20179): #99 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:626:20)
[ ] I/flutter (20179): #100 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
[ ] I/flutter (20179): #101 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
[ ] I/flutter (20179): #102 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
[ ] I/flutter (20179): #103 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5)
[ ] I/flutter (20179): #104 _invoke (dart:ui/hooks.dart:125:13)
[ ] I/flutter (20179): #105 _drawFrame (dart:ui/hooks.dart:114:3)
[ ] I/flutter (20179): (elided 2 frames from class _AssertionError)
[ ] I/flutter (20179): ════════════════════════════════════════════════════════════════════════════════════════════════════
[ ] I/flutter (20179): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2805 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
[ +1 ms] I/chatty (20179): uid=10401(u0_a401) 1.ui identical 1 line
[ ] I/flutter (20179): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2805 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
[ ] I/flutter (20179): Another exception was thrown: A RenderSliverPadding expected a child of type RenderSliver but received a child of type RenderErrorBox.
[ +7 ms] I/flutter (20179): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3510 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
[ +142 ms] I/chatty (20179): uid=10401(u0_a401) 1.ui identical 7 lines
[ ] I/flutter (20179): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3510 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
[ +885 ms] I/flutter (20179): Another exception was thrown: The _ScaffoldLayout custom multichild layout delegate forgot to lay out the following child:
[+58794 ms] V/InputMethodManager(20179): Starting input: tba=android.view.inputmethod.EditorInfo@36b83b4 nm : co.treo.appraisalsupplierapp ic=io.flutter.plugin.editing.InputConnectionAdaptor@8201bdd
[ ] I/InputMethodManager(20179): startInputInner - mService.startInputOrWindowGainedFocus
[ +8 ms] W/IInputConnectionWrapper(20179): getTextBeforeCursor on inactive InputConnection
[ +4 ms] W/IInputConnectionWrapper(20179): getSelectedText on inactive InputConnection
[ +4 ms] W/IInputConnectionWrapper(20179): getTextAfterCursor on inactive InputConnection
[ ] W/IInputConnectionWrapper(20179): beginBatchEdit on inactive InputConnection
[ ] W/IInputConnectionWrapper(20179): endBatchEdit on inactive InputConnection
[ +474 ms] D/SurfaceView(20179): BG show() Surface(name=Background for - SurfaceView - co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity@fe3db97@1) io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2094}
[ ] D/SurfaceView(20179): surfaceDestroyed 1 io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2094}
[+1269 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +2 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1080, 2220) ci=Rect(0, 63 - 0, 0) vi=Rect(0, 63 - 0, 0) or=1
[ +83 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x3 surface={valid=true 503383805952} changed=false
[ +17 ms] D/SurfaceView(20179): BG show() Surface(name=Background for - SurfaceView - co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity@fe3db97@1) io.flutter.view.FlutterView{fe3db97 VFE...... .F....ID 0,0-1080,2220}
[ +19 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): MSG_WINDOW_FOCUS_CHANGED 0
[ ] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[ +267 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
[+2914 ms] D/SurfaceView(20179): BG show() Surface(name=Background for - SurfaceView - co.treo.appraisalsupplierapp/co.treo.appraisalsupplierapp.MainActivity@fe3db97@1) io.flutter.view.FlutterView{fe3db97 VFE...... .F...... 0,0-1080,2220}
[ +13 ms] D/OpenGLRenderer(20179): eglDestroySurface = 0x752ecbbfb0
[ +30 ms] D/ViewRootImpl@ad99f31[MainActivity](20179): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x5 surface={valid=false 0} changed=true
[ +79 ms] I/zygote64(20179): Do partial code cache collection, code=43KB, data=45KB
[ +1 ms] I/zygote64(20179): After code cache collection, code=43KB, data=45KB
[ ] I/zygote64(20179): Increasing code cache capacity to 256KB
[ ] I/zygote64(20179): Compiler allocated 8MB to compile void android.view.ViewRootImpl.performTraversals()
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="No issues found!"><pre class="notranslate"><code class="notranslate">No issues found!
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter doctor -v
[✓] Flutter (Channel master, v0.5.8-pre.179, on Linux, locale en_US.UTF-8)
• Flutter version 0.5.8-pre.179 at /home/idealmike/flutter
• Framework revision 711ecf7f58 (2 hours ago), 2018-07-30 12:35:15 -0700
• Engine revision af855e063a
• Dart version 2.0.0-dev.69.4.flutter-08f59e5de3
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /home/idealmike/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /usr/local/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[✓] Android Studio (version 3.1)
• Android Studio at /usr/local/android-studio
• Flutter plugin version 26.0.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] IntelliJ IDEA Community Edition (version 2018.1)
• IntelliJ at /home/idealmike/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/181.5087.20
• Flutter plugin version 24.2.2
• Dart plugin version 181.4892.1
[!] IntelliJ IDEA Community Edition (version 2017.2)
• IntelliJ at /home/idealmike/Downloads/idea-IC-172.4343.14
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
[!] VS Code (version 1.25.1)
• VS Code at /usr/share/code
• Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected devices (1 available)
• SM N950U • ce061716f0462c6c0c7e • android-arm64 • Android 8.0.0 (API 26)
! Doctor found issues in 2 categories.
"><pre class="notranslate"><code class="notranslate">flutter doctor -v
[✓] Flutter (Channel master, v0.5.8-pre.179, on Linux, locale en_US.UTF-8)
• Flutter version 0.5.8-pre.179 at /home/idealmike/flutter
• Framework revision 711ecf7f58 (2 hours ago), 2018-07-30 12:35:15 -0700
• Engine revision af855e063a
• Dart version 2.0.0-dev.69.4.flutter-08f59e5de3
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /home/idealmike/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /usr/local/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[✓] Android Studio (version 3.1)
• Android Studio at /usr/local/android-studio
• Flutter plugin version 26.0.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] IntelliJ IDEA Community Edition (version 2018.1)
• IntelliJ at /home/idealmike/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/181.5087.20
• Flutter plugin version 24.2.2
• Dart plugin version 181.4892.1
[!] IntelliJ IDEA Community Edition (version 2017.2)
• IntelliJ at /home/idealmike/Downloads/idea-IC-172.4343.14
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
[!] VS Code (version 1.25.1)
• VS Code at /usr/share/code
• Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected devices (1 available)
• SM N950U • ce061716f0462c6c0c7e • android-arm64 • Android 8.0.0 (API 26)
! Doctor found issues in 2 categories.
</code></pre></div> | <p dir="auto">When there is a compilation error in a running program, the exception that is thrown, and what shows up on the device screen, print the same error line twice, when it should only print it once.</p>
<p dir="auto">For instance, the following program has exactly one line with an error, but it prints the following twice:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="I/flutter ( 1963): return const Placeholder(bogus: 1.0);
I/flutter ( 1963): ^
I/flutter ( 1963): return const Placeholder(bogus: 1.0);
I/flutter ( 1963): ^"><pre class="notranslate"><code class="notranslate">I/flutter ( 1963): return const Placeholder(bogus: 1.0);
I/flutter ( 1963): ^
I/flutter ( 1963): return const Placeholder(bogus: 1.0);
I/flutter ( 1963): ^
</code></pre></div>
<p dir="auto">Here's the whole output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="compiler message: lib/main.dart:9:30: Error: No named parameter with the name 'bogus'.
compiler message: return const Placeholder(bogus: 1.0);
compiler message: ^^^^^
compiler message: file:///usr/local/google/home/gspencer/code/flutter/packages/flutter/lib/src/widgets/placeholder.dart:54:9: Context: Found this candidate, but the arguments don't match.
compiler message: const Placeholder({
compiler message: ^
I/flutter ( 1963): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter ( 1963): The following _CompileTimeError was thrown building MyApp(dirty):
I/flutter ( 1963): 'file:///usr/local/google/home/gspencer/code/mytest/lib/main.dart': error: line 9 pos 30:
I/flutter ( 1963): lib/main.dart:9:30: Error: No named parameter with the name 'bogus'.
I/flutter ( 1963): return const Placeholder(bogus: 1.0);
I/flutter ( 1963): ^
I/flutter ( 1963): return const Placeholder(bogus: 1.0);
I/flutter ( 1963): ^
I/flutter ( 1963):
I/flutter ( 1963): When the exception was thrown, this was the stack:
I/flutter ( 1963): #0 StatelessElement.build (package:flutter/src/widgets/framework.dart:3708:28)
I/flutter ( 1963): #1 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3655:15)
I/flutter ( 1963): #2 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
I/flutter ( 1963): #3 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2255:33)
I/flutter ( 1963): #4 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:626:20)
I/flutter ( 1963): #5 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter ( 1963): #6 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter ( 1963): #7 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter ( 1963): #8 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
I/flutter ( 1963): #10 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
I/flutter ( 1963): #11 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
I/flutter ( 1963): #12 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
I/flutter ( 1963): (elided one frame from package dart:async)
I/flutter ( 1963): ════════════════════════════════════════════════════════════════════════════════════════════════════"><pre class="notranslate"><code class="notranslate">compiler message: lib/main.dart:9:30: Error: No named parameter with the name 'bogus'.
compiler message: return const Placeholder(bogus: 1.0);
compiler message: ^^^^^
compiler message: file:///usr/local/google/home/gspencer/code/flutter/packages/flutter/lib/src/widgets/placeholder.dart:54:9: Context: Found this candidate, but the arguments don't match.
compiler message: const Placeholder({
compiler message: ^
I/flutter ( 1963): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter ( 1963): The following _CompileTimeError was thrown building MyApp(dirty):
I/flutter ( 1963): 'file:///usr/local/google/home/gspencer/code/mytest/lib/main.dart': error: line 9 pos 30:
I/flutter ( 1963): lib/main.dart:9:30: Error: No named parameter with the name 'bogus'.
I/flutter ( 1963): return const Placeholder(bogus: 1.0);
I/flutter ( 1963): ^
I/flutter ( 1963): return const Placeholder(bogus: 1.0);
I/flutter ( 1963): ^
I/flutter ( 1963):
I/flutter ( 1963): When the exception was thrown, this was the stack:
I/flutter ( 1963): #0 StatelessElement.build (package:flutter/src/widgets/framework.dart:3708:28)
I/flutter ( 1963): #1 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3655:15)
I/flutter ( 1963): #2 Element.rebuild (package:flutter/src/widgets/framework.dart:3508:5)
I/flutter ( 1963): #3 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2255:33)
I/flutter ( 1963): #4 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:626:20)
I/flutter ( 1963): #5 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter ( 1963): #6 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter ( 1963): #7 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter ( 1963): #8 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
I/flutter ( 1963): #10 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
I/flutter ( 1963): #11 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
I/flutter ( 1963): #12 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
I/flutter ( 1963): (elided one frame from package dart:async)
I/flutter ( 1963): ════════════════════════════════════════════════════════════════════════════════════════════════════
</code></pre></div>
<p dir="auto">And here's the test program (pasted into a newly created flutter app):</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'package:flutter/widgets.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return const Placeholder(bogus: 1.0);
}
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'package:flutter/widgets.dart'</span>;
<span class="pl-k">void</span> <span class="pl-en">main</span>() <span class="pl-k">=></span> <span class="pl-en">runApp</span>(<span class="pl-k">new</span> <span class="pl-c1">MyApp</span>());
<span class="pl-k">class</span> <span class="pl-c1">MyApp</span> <span class="pl-k">extends</span> <span class="pl-c1">StatelessWidget</span> {
<span class="pl-c">// This widget is the root of your application.</span>
<span class="pl-k">@override</span>
<span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) {
<span class="pl-k">return</span> <span class="pl-k">const</span> <span class="pl-c1">Placeholder</span>(bogus<span class="pl-k">:</span> <span class="pl-c1">1.0</span>);
}
}</pre></div> | 0 |
<h3 dir="auto">Version</h3>
<p dir="auto">2.4.2</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://codepen.io/horan/pen/RZpKzP" rel="nofollow">https://codepen.io/horan/pen/RZpKzP</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">open console panel to check log</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">loading initial data for options should not trigger a DOM "change" event (as it should be done by user)</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">async data update will result with a DOM "change" event, while sync data update will not.</p>
<hr>
<p dir="auto">this should has something to do with <a href="https://github.com/vuejs/vue/commit/c70addf7d1a8e820ed80b6ab14aace5aa7b604c5">commit c70addf</a> and it was working fine with v2.4.1.</p>
<p dir="auto">my app should fire a form submit after user changed option, but now the app will submit right after data initialized. (check commented line in sample js)</p> | <h3 dir="auto">Version</h3>
<p dir="auto">2.4.2</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://jsfiddle.net/floorish/e2h2vwc2/" rel="nofollow">https://jsfiddle.net/floorish/e2h2vwc2/</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Dynamically change the <code class="notranslate"><option></code>s in a <code class="notranslate"><select v-model="val"></code> tag and the <code class="notranslate">v-model</code> triggers a change event, but the actually chosen option hasn't changed.</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto"><code class="notranslate">v-model</code> does not trigger a change event</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto"><code class="notranslate">v-model</code> triggers a change event</p>
<hr>
<p dir="auto">Change of behaviour intruduced in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/vuejs/vue/commit/c90b140e80f1bd5d01c733a5bd9fa6e9cb3c2b4d/hovercard" href="https://github.com/vuejs/vue/commit/c90b140e80f1bd5d01c733a5bd9fa6e9cb3c2b4d"><tt>c90b140</tt></a></p> | 1 |
<p dir="auto">The menu icon doesn't change back to the "default" state once you close the menu. Here's a <a href="http://www.youtube.com/watch?v=0s0tFajHpqk&feature=youtu.be" rel="nofollow">youtube video</a> of it in action.</p> | <p dir="auto">I've encountered one or two small bugs with toggling the navigation menu that I wanted to share.</p>
<p dir="auto">The first appears to definitely be a bug. When the menu button is clicked, the background color changes as the button takes focus, but when it is clicked again to collapse the menu, the background color stays the same. In Firefox and Chrome, clicking anywhere on the page takes focus away from the button and the button reverts back to its default background. In iOS, tapping elsewhere does not change focus and the menu button remains the focus until a new page is loaded. Maybe jQuery can be used to add an "active" class to the button when the menu is expanded.</p>
<p dir="auto">The second issue is an aesthetic one. In Chrome, clicking the menu button creates an orange/yellow border around the button. This also does not revert when the menu is collapsed. Perhaps "outline: none;" should be added to the navbar-toggle class.</p> | 1 |
<p dir="auto">A simple reproduce repository: <a href="https://github.com/plantain-00/test">https://github.com/plantain-00/test</a> , after <code class="notranslate">npm i && npm run build</code>, the error is:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="node_modules/@types/core-js/index.d.ts(21,14): error TS2300: Duplicate identifier 'PropertyKey'.
node_modules/typescript/lib/lib.es6.d.ts(4133,14): error TS2300: Duplicate identifier 'PropertyKey'."><pre class="notranslate"><span class="pl-s1">node_modules</span><span class="pl-c1">/</span>@<span class="pl-s1">types</span><span class="pl-pds"><span class="pl-c1">/</span>core-js<span class="pl-c1">/</span>index</span><span class="pl-kos">.</span><span class="pl-c1">d</span><span class="pl-kos">.</span><span class="pl-en">ts</span><span class="pl-kos">(</span><span class="pl-c1">21</span><span class="pl-kos">,</span><span class="pl-c1">14</span><span class="pl-kos">)</span>: <span class="pl-s1">error</span><span class="pl-kos"></span> <span class="pl-smi">TS2300</span>: <span class="pl-smi">Duplicate</span> <span class="pl-s1">identifier</span> <span class="pl-s">'PropertyKey'</span><span class="pl-kos">.</span>
<span class="pl-c1">node_modules</span><span class="pl-c1">/</span><span class="pl-s1">typescript</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-kos">.</span><span class="pl-c1">es6</span><span class="pl-kos">.</span><span class="pl-c1">d</span><span class="pl-kos">.</span><span class="pl-en">ts</span><span class="pl-kos">(</span><span class="pl-c1">4133</span><span class="pl-kos">,</span><span class="pl-c1">14</span><span class="pl-kos">)</span>: <span class="pl-s1">error</span> <span class="pl-smi">TS2300</span>: <span class="pl-smi">Duplicate</span> <span class="pl-s1">identifier</span> <span class="pl-s">'PropertyKey'</span><span class="pl-kos">.</span></pre></div>
<p dir="auto">Expected: no error, because the <code class="notranslate">app.ts</code> is empty. the <code class="notranslate">@types/core-js</code> is used in <code class="notranslate">static/app.ts</code>.</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" "devDependencies": {
"@types/core-js": "^0.9.34",
"core-js": "^2.4.1",
"typescript": "^2.0.3"
}"><pre class="notranslate"> <span class="pl-s">"devDependencies"</span>: <span class="pl-kos">{</span>
<span class="pl-s">"@types/core-js"</span>: <span class="pl-s">"^0.9.34"</span><span class="pl-kos">,</span>
<span class="pl-s">"core-js"</span>: <span class="pl-s">"^2.4.1"</span><span class="pl-kos">,</span>
<span class="pl-s">"typescript"</span>: <span class="pl-s">"^2.0.3"</span>
<span class="pl-kos">}</span></pre></div> | <p dir="auto">I'm using the version <code class="notranslate">4.41.7</code> of the package <code class="notranslate">@types/webpack</code>, and I think that is missing <a href="https://webpack.js.org/configuration/dev-server/" rel="nofollow"><code class="notranslate">devServer</code></a> type on <code class="notranslate">Configuration</code> interface.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9501115/77070925-1344f380-69e3-11ea-9b8c-804308899419.png"><img src="https://user-images.githubusercontent.com/9501115/77070925-1344f380-69e3-11ea-9b8c-804308899419.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tkqubo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tkqubo">@tkqubo</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bumbleblym/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bumbleblym">@bumbleblym</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bcherny/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bcherny">@bcherny</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tommytroylin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tommytroylin">@tommytroylin</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mohsen1/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mohsen1">@mohsen1</a></p> | 0 |
<p dir="auto">(Apologies if this is known, but I search a bunch of places and didn't find anything.)</p>
<p dir="auto">Is there a good way to deal with a constructor of a derived class that is getting an options kind of value that needs to be merged with a defaults value? I started with something like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export class Foo extends Bar {
...
private options: any = {};
...
constructor(x: Something, y: SomethingElse, options: any = {}) {
this.options = $.extend({}, defaults, options);
super(this.options.blah);
...
}
}"><pre class="notranslate"><code class="notranslate">export class Foo extends Bar {
...
private options: any = {};
...
constructor(x: Something, y: SomethingElse, options: any = {}) {
this.options = $.extend({}, defaults, options);
super(this.options.blah);
...
}
}
</code></pre></div>
<p dir="auto">This failed and I eventually resorted to:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" constructor(x: Something, y: SomethingElse, options: any = {}) {
super(options.blah || defaults.blah);
this.options = $.extend({}, defaults, options);
...
}"><pre class="notranslate"><code class="notranslate"> constructor(x: Something, y: SomethingElse, options: any = {}) {
super(options.blah || defaults.blah);
this.options = $.extend({}, defaults, options);
...
}
</code></pre></div>
<p dir="auto">which is duplicating functionality (and sloppy).</p>
<p dir="auto">Hopefully I'm not the only one who ran into this problem and there's good way to do that?</p> | <p dir="auto">In ECMAScript 6, function declarations are lexically scoped.<br>
TypeScript currently reports an error in such case:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" {
function f1() { }
{
function f1() { }
f1();
}
f1();
}"><pre class="notranslate"><code class="notranslate"> {
function f1() { }
{
function f1() { }
f1();
}
f1();
}
</code></pre></div>
<p dir="auto">The question is, will it be somehow handled in TypeScript, or will it be left as is?<br>
Sorry if the same issue already exists, I didn't find anything similar.</p> | 0 |
<h1 dir="auto">Description of the new feature/enhancement</h1>
<p dir="auto">Snap to character grid when resizing window, like many terminals do (gnome-based, git terminal etc.). Questions:</p>
<ul dir="auto">
<li>Make it a setting?</li>
<li>If so. enable by default? (I'd say yes)</li>
</ul> | <h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18362.0
Windows Terminal version (if applicable): v0.3.2171.0
Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.0
Windows Terminal version (if applicable): v0.3.2171.0
Any other software?
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ul dir="auto">
<li>Create multiple terminal profiles</li>
<li>Add different gif backgrounds for each terminal profile</li>
<li>Open them in microsoft terminal</li>
</ul>
<h1 dir="auto">Expected behavior</h1>
<ul dir="auto">
<li>Expected that I can tab through my different terminal windows and see each respective gif play for each terminal.</li>
</ul>
<h1 dir="auto">Actual behavior</h1>
<ul dir="auto">
<li>only the gif background of the default terminal plays, all the others play for few seconds and become still images.</li>
</ul> | 0 |
<ul dir="auto">
<li>Electron version: 1.3.13, 1.6.15, 1.7.9, 1.8.2-beta.1</li>
<li>Operating system: Windows 10</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<ol dir="auto">
<li>Launch electron based app which includes screen sharing capability via getUserMedia</li>
<li>Pick an electron based window (in this example Slack) to capture contents.</li>
</ol>
<p dir="auto">The contents of the window should be captured.</p>
<h3 dir="auto">Actual behavior</h3>
<ol start="3" dir="auto">
<li>Notice that the captured content stream is black.</li>
</ol>
<p dir="auto">If you try the same steps with chrome M54, M58, M60, M62 the behavior is less broken. When the electron based window is selected for screenshare, the contents are present when the window is in the foreground, and black if the window is in the background.</p>
<h3 dir="auto">How to reproduce</h3>
<ol dir="auto">
<li>Install & run Jitsi-meet-electron <a href="https://github.com/jitsi/jitsi-meet-electron">https://github.com/jitsi/jitsi-meet-electron</a></li>
<li>Join a Jitsi-meet call</li>
<li>Share screen from the toolbar.</li>
<li>Select an application window of another electron app (in this case I continue to select the Slack electron app.</li>
<li>Notice that the shared window contents are always black regardless if the window is in the foreground or background.</li>
</ol>
<h3 dir="auto">Possibly related to</h3>
<p dir="auto">Possible issues in desktopCapturer on Windows 10 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="167471939" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/6599" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/6599/hovercard" href="https://github.com/electron/electron/issues/6599">#6599</a><br>
and possibly <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=642386" rel="nofollow">https://bugs.chromium.org/p/chromium/issues/detail?id=642386</a></p> | <ul dir="auto">
<li>Output of <code class="notranslate">node_modules/.bin/electron --version</code>:</li>
<li>Operating System (Platform and Version):</li>
<li>Output of <code class="notranslate">node_modules/.bin/electron --version</code> on last known working Electron version (if applicable):</li>
</ul>
<p dir="auto"><strong>Expected Behavior</strong><br>
A clear and concise description of what you expected to happen.<br>
win.webContents.print() to be able to print multiple times and not create unnecessary files in the process.</p>
<p dir="auto"><strong>Actual behavior</strong><br>
A clear and concise description of what actually happened.<br>
When calling win.webContents.print() in windows 10 (behavior not observed on a mac) a .pdf,.ejs.emf and Chinese text file are being created. Printing will work once, then on any further attempt the print function will return success, the job will be added to the printer's queue and then quickly be deleted. I observed this with multiple different printers on a surface pro 5 with windows 10.</p>
<p dir="auto"><strong>To Reproduce</strong><br>
Your best chance of getting this bug looked at quickly is to provide a REPOSITORY that can be cloned and run.</p>
<p dir="auto">You can fork <a href="https://github.com/electron/electron-quick-start">electron-quick-start</a> and include a link to the branch with your changes.</p>
<p dir="auto">If you provide a URL, please list the commands required to clone/setup/run your repo e.g.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="ipc.on('convert-hash', function(event, hash){
var id = hashids.decode(hash)[0];
if(id) event.sender.send('hash-decode', id);
})
var badge_win;
ipc.on('print-to-pdf', function(event, data){
if(!data.role){
data.role = "";
}
if(badge_win && badge_win.close){
try{
badge_win.close();
} catch(e){
}
}
badge_win = new BrowserWindow({width: 1038, height: 1650, show: false});
ejse.data(data);
badge_win.loadURL(url.format({
pathname: path.join(__dirname, 'print/index.ejs'),
protocol: 'file:',
slashes: true
}));
})
ipc.on('print-away', function(){
badge_win.webContents.print({slient:true});
})"><pre class="notranslate">ipc.on(<span class="pl-s"><span class="pl-pds">'</span>convert-hash<span class="pl-pds">'</span></span>, function(event, hash){
var id = hashids.decode(hash)[0]<span class="pl-k">;</span>
if(id) event.sender.send(<span class="pl-s"><span class="pl-pds">'</span>hash-decode<span class="pl-pds">'</span></span>, id)<span class="pl-k">;</span>
})
var badge_win<span class="pl-k">;</span>
ipc.on(<span class="pl-s"><span class="pl-pds">'</span>print-to-pdf<span class="pl-pds">'</span></span>, function(event, data){
if(<span class="pl-k">!</span>data.role){
data.role = <span class="pl-s"><span class="pl-pds">"</span><span class="pl-pds">"</span></span><span class="pl-k">;</span>
}
if(badge_win <span class="pl-k">&&</span> badge_win.close){
try{
<span class="pl-en">badge_win.close</span>();
} catch(e){
}
}
badge_win = new BrowserWindow({width: 1038, height: 1650, show: false})<span class="pl-k">;</span>
ejse.data(data)<span class="pl-k">;</span>
badge_win.loadURL(url.format({
pathname: path.join(__dirname, <span class="pl-s"><span class="pl-pds">'</span>print/index.ejs<span class="pl-pds">'</span></span>),
protocol: <span class="pl-s"><span class="pl-pds">'</span>file:<span class="pl-pds">'</span></span>,
slashes: <span class="pl-c1">true</span>
}))<span class="pl-k">;</span>
})
ipc.on(<span class="pl-s"><span class="pl-pds">'</span>print-away<span class="pl-pds">'</span></span>, <span class="pl-en">function</span>(){
badge_win.webContents.print({slient:true})<span class="pl-k">;</span>
})</pre></div>
<p dir="auto"><strong>Screenshots</strong><br>
If applicable, add screenshots to help explain your problem.</p>
<p dir="auto"><strong>Additional Information</strong><br>
NOTE: I was able to switch to 2.0.11 and have this entire process work without a problem.</p> | 0 |
<h2 dir="auto">Environment info</h2>
<ul dir="auto">
<li><code class="notranslate">transformers</code> version:'3.1.0'</li>
<li>Platform:</li>
<li>Python version:</li>
<li>PyTorch version (GPU?):</li>
<li>Tensorflow version (GPU?):</li>
<li>Using GPU in script?:</li>
<li>Using distributed or parallel set-up in script?:</li>
</ul>
<h3 dir="auto">Who can help</h3>
<h2 dir="auto">Information</h2>
<p dir="auto">Model I am using (Bert, XLNet ...):</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"> 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"> my own task or dataset: (give details below)</li>
</ul>
<h2 dir="auto">To reproduce</h2>
<p dir="auto">Steps to reproduce the behavior:</p>
<ol dir="auto">
<li></li>
<li></li>
<li></li>
</ol>
<h2 dir="auto">Expected behavior</h2> | <p dir="auto">Hi,</p>
<p dir="auto">Thanks for the great library. I noticed this line being added (<a href="https://github.com/huggingface/transformers/blob/v3.1.0/src/transformers/modeling_bert.py#L190">https://github.com/huggingface/transformers/blob/v3.1.0/src/transformers/modeling_bert.py#L190</a>) in the latest update.</p>
<p dir="auto">It breaks checkpoints that were saved when this line wasn't there.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Missing key(s) in state_dict: "generator_model.electra.embeddings.position_ids", "discriminator_model.electra.embeddings.position_ids". "><pre class="notranslate"><code class="notranslate"> Missing key(s) in state_dict: "generator_model.electra.embeddings.position_ids", "discriminator_model.electra.embeddings.position_ids".
</code></pre></div> | 1 |
<h1 dir="auto">Problem</h1>
<p dir="auto">Various tools don't operate correctly depending on the order and the manner with which Atom is started.</p>
<p dir="auto">Also, persisted state is not restored consistently.</p>
<h1 dir="auto">Cause</h1>
<p dir="auto">Depending the manner in which Atom is started, a different environment is inherited.</p>
<ul dir="auto">
<li><strong>launchd event</strong>: inherits launchd mostly blank env, which means no shell env vars</li>
<li><strong><code class="notranslate">atom</code> in the terminal</strong>: inherits currently set vars</li>
</ul>
<p dir="auto">This applied to when the app is <em>started</em>, not when a new window is opened, in which case that window will inherit the current process env (which is normal OS X behaviour)</p>
<p dir="auto">I venture the creation of the <code class="notranslate">atom</code> command this way is on purpose to work around the lack of env when run from launchd. But please, dear reader, continue on to the next step.</p>
<h1 dir="auto">Current workaround / Anti-feature</h1>
<p dir="auto">Manually control Atom startup each time you want to use it in a specific environment.</p>
<p dir="auto">Why is it an anti feature? If you want two projects open at the same time but with different environments, you're busted.</p>
<p dir="auto">Also, long running sessions and <em>"wait what env was that started with already?"</em> (session can also mean the idiomatic "document != app" OS X way: "Atom.app is started but no windows are opened") .</p>
<p dir="auto">Also also, frustration quickly sets in when you start it up the wrong way and have to quit and restart halfway through your work and notice your linter does not actually run (manual config does not cut it because 1. it's manual and 2. constantly changing versions means constantly changing path).</p>
<h1 dir="auto">Possible solution</h1>
<ol dir="auto">
<li>wrap Atom.app startup in a login shell (i.e make <code class="notranslate">Atom.app/Contents/MacOS/Atom</code> a script that calls whatever the user shell is† as a login, non-interactive one before calling the real <code class="notranslate">Atom</code> binary), to inherit global env, so that chruby/rbenv/GOPATH/whatever works.</li>
<li>make <code class="notranslate">atom</code> command send a signal to <code class="notranslate">Atom.app</code> instead of starting atom itself via <code class="notranslate">Contents/MacOS/Atom</code>. Basically, <code class="notranslate">atom foo/bar</code> has no reason to be different from <code class="notranslate">open -a Atom foo/bar</code>. <del>Precisely, it <em>does not</em> inherit the local environment.</del></li>
<li>local environment management is bestowed to package implementor (meaning detection of <code class="notranslate">.git</code>, <code class="notranslate">Gemfile</code>, <code class="notranslate">.rubocop.yml</code>, <code class="notranslate">.gopath</code>, which they have to do anyway else at least starting via launchd is broken, if not more), not to manual handling by developer.</li>
</ol>
<h1 dir="auto">Consequences</h1>
<ul dir="auto">
<li><code class="notranslate">PATH</code> & al. is properly set and tools like linters can leverage the env to use chruby/rbenv/whatever.</li>
<li>Clicking the icon, starting via spotlight, opening a file from Finder, using <code class="notranslate">open -a Atom</code> and using <code class="notranslate">atom foo</code> on the terminal are all consistent, whatever the order they are executed in.</li>
<li>Everything is now consistent and we can now rejoice as glittery roses spontaneously bloom out of Bose-Einstein condensates.</li>
</ul>
<h1 dir="auto">Additional note</h1>
<p dir="auto">Pet peeve: <code class="notranslate">atom</code> is currently equivalent to <code class="notranslate">atom .</code>. While I can see how this could be ok on other platforms, this is subtly wrong on OS X as <code class="notranslate">atom</code> is expected to be equivalent to <code class="notranslate">open -a Atom</code>, i.e start the app and don't open anything (unless it's set up to open a new document when no document is opened, otherwise merely focus the app, and if the app is not started, start it)</p>
<p dir="auto">On another planet, I don't know if this issue applies to other OSes as well besides OS X. Everything depends on how process management and app/doc/task GUI model is handled there.</p>
<h1 dir="auto">Final word</h1>
<p dir="auto">All of this really matters daily when you juggle between projects and makes Atom feel like an unfinished, brittle product, making angry coworkers throwing nails at me for having pushed Atom on them.</p>
<p dir="auto">† think fish-shell or (god forbid) csh.</p> | <p dir="auto">When Atom is launched as an application, it doesn't get the user's PATH, because it was launched by <code class="notranslate">launchctl</code>. This means that packages like <a href="https://github.com/rgbkrk/atom-script">script</a> and <a href="https://github.com/willwhitney/hydrogen">hydrogen</a> have to tell the user to launch Atom from the command line. Some packages (like hydrogen) can't even be installed without the PATH because their dependencies use native extensions built with <a href="https://github.com/TooTallNate/node-gyp"><code class="notranslate">node-gyp</code></a>. There exist tools such as <a href="https://github.com/sindresorhus/fix-path"><code class="notranslate">fix-path</code></a>, but they clobber the user's PATH even if they've set something on purpose (with e.g. a virtualenv).</p>
<p dir="auto">Having access to the user's PATH will become more and more important as people build packages that interface more deeply with languages, other tools, and the user's environment. Forcing the user to configure each package with complete paths to the binaries it needs is possible, but inelegant, and becomes intractable with general-purpose tools.</p>
<p dir="auto">This seems like a clear situation where making this change to Atom itself would dramatically simplify life for many packages and eliminate many bugs arising from poor attempts to capture the PATH.</p> | 1 |
<p dir="auto">Originally reported <a href="https://stackoverflow.com/questions/42966405/scrapy-post-header-has-two-content-length-fields" rel="nofollow">on StackOverflow</a>.</p>
<p dir="auto">HTTP requests with POST method and no request body are sent with 2 <code class="notranslate">Content-Length: 0</code> headers.</p>
<p dir="auto">Reproducible with Scrapy 1.3.3 and Twisted 17.1:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ scrapy version -v
Scrapy : 1.3.3
lxml : 3.7.3.0
libxml2 : 2.9.3
cssselect : 1.0.1
parsel : 1.1.0
w3lib : 1.17.0
Twisted : 17.1.0
Python : 2.7.12 (default, Nov 19 2016, 06:48:10) - [GCC 5.4.0 20160609]
pyOpenSSL : 16.2.0 (OpenSSL 1.0.2g 1 Mar 2016)
Platform : Linux-4.8.0-41-generic-x86_64-with-Ubuntu-16.10-yakkety
$ scrapy shell
>>> fetch(scrapy.Request('http://httpbin.org/post', method='POST'))
2017-03-23 10:58:34 [scrapy.core.engine] DEBUG: Crawled (200) <POST http://httpbin.org/post> (referer: None)"><pre class="notranslate"><code class="notranslate">$ scrapy version -v
Scrapy : 1.3.3
lxml : 3.7.3.0
libxml2 : 2.9.3
cssselect : 1.0.1
parsel : 1.1.0
w3lib : 1.17.0
Twisted : 17.1.0
Python : 2.7.12 (default, Nov 19 2016, 06:48:10) - [GCC 5.4.0 20160609]
pyOpenSSL : 16.2.0 (OpenSSL 1.0.2g 1 Mar 2016)
Platform : Linux-4.8.0-41-generic-x86_64-with-Ubuntu-16.10-yakkety
$ scrapy shell
>>> fetch(scrapy.Request('http://httpbin.org/post', method='POST'))
2017-03-23 10:58:34 [scrapy.core.engine] DEBUG: Crawled (200) <POST http://httpbin.org/post> (referer: None)
</code></pre></div>
<p dir="auto">(note that httpbin.org/post output does not show duplicate headers, but the Wireshark capture does)</p>
<p dir="auto">Wireshark sniffing:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="POST /post HTTP/1.1
Content-Length: 0
Content-Length: 0
Accept-Language: en
Accept-Encoding: gzip,deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Scrapy/1.3.3 (+http://scrapy.org)
Host: httpbin.org
HTTP/1.1 200 OK
Connection: keep-alive
Server: gunicorn/19.7.1
Date: Thu, 23 Mar 2017 09:58:34 GMT
Content-Type: application/json
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Content-Length: 458
Via: 1.1 vegur
{
"args": {},
"data": "",
"files": {},
"form": {},
"headers": {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"Accept-Encoding": "gzip,deflate",
"Accept-Language": "en",
"Connection": "close",
"Content-Length": "0",
"Host": "httpbin.org",
"User-Agent": "Scrapy/1.3.3 (+http://scrapy.org)"
},
"json": null,
"origin": "89.84.122.217",
"url": "http://httpbin.org/post"
}"><pre class="notranslate"><code class="notranslate">POST /post HTTP/1.1
Content-Length: 0
Content-Length: 0
Accept-Language: en
Accept-Encoding: gzip,deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Scrapy/1.3.3 (+http://scrapy.org)
Host: httpbin.org
HTTP/1.1 200 OK
Connection: keep-alive
Server: gunicorn/19.7.1
Date: Thu, 23 Mar 2017 09:58:34 GMT
Content-Type: application/json
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Content-Length: 458
Via: 1.1 vegur
{
"args": {},
"data": "",
"files": {},
"form": {},
"headers": {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"Accept-Encoding": "gzip,deflate",
"Accept-Language": "en",
"Connection": "close",
"Content-Length": "0",
"Host": "httpbin.org",
"User-Agent": "Scrapy/1.3.3 (+http://scrapy.org)"
},
"json": null,
"origin": "89.84.122.217",
"url": "http://httpbin.org/post"
}
</code></pre></div>
<p dir="auto">This is due to Twisted's <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="199833525" data-permission-text="Title is private" data-url="https://github.com/twisted/twisted/issues/670" data-hovercard-type="pull_request" data-hovercard-url="/twisted/twisted/pull/670/hovercard" href="https://github.com/twisted/twisted/pull/670">twisted/twisted#670</a> since v17.1 and Scrapy's <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="135129222" data-permission-text="Title is private" data-url="https://github.com/scrapy/scrapy/issues/1800" data-hovercard-type="pull_request" data-hovercard-url="/scrapy/scrapy/pull/1800/hovercard" href="https://github.com/scrapy/scrapy/pull/1800">#1800</a> since Scrapy 1.1.0</p> | <h3 dir="auto">Description</h3>
<p dir="auto">When trying to install scrapy 2.3.0. using poetry , poetry fails with a [RecursionError].</p>
<ul dir="auto">
<li>This might be due to dependency cycles in the scrapy package.</li>
</ul>
<h3 dir="auto">Steps to Reproduce</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="mkdir test
cd test
poetry init
poetry add scrapy=2.3.0 #scrapy=2.2.0 works!
poetry lock"><pre class="notranslate"><code class="notranslate">mkdir test
cd test
poetry init
poetry add scrapy=2.3.0 #scrapy=2.2.0 works!
poetry lock
</code></pre></div>
<p dir="auto">fails with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Updating dependencies
Resolving dependencies... (6.2s)
[RecursionError]
maximum recursion depth exceeded while calling a Python object"><pre class="notranslate"><code class="notranslate">Updating dependencies
Resolving dependencies... (6.2s)
[RecursionError]
maximum recursion depth exceeded while calling a Python object
</code></pre></div>
<p dir="auto"><strong>Expected behavior:</strong> [What you expect to happen]</p>
<p dir="auto">Should install normally, (just like scrapy 2.2.0 works...)</p>
<p dir="auto"><strong>Actual behavior:</strong> [What actually happens]</p>
<p dir="auto">see above</p>
<p dir="auto"><strong>Reproduces how often:</strong> [What percentage of the time does it reproduce?]</p>
<p dir="auto">100%</p>
<h3 dir="auto">Versions</h3>
<p dir="auto">Please paste here the output of executing <code class="notranslate">scrapy version --verbose</code> in the command line.</p>
<p dir="auto">not applicable</p>
<h3 dir="auto">Additional context</h3>
<p dir="auto">this is the relevant project:</p>
<ul dir="auto">
<li><a href="https://github.com/python-poetry/poetry">https://github.com/python-poetry/poetry</a></li>
</ul>
<p dir="auto">Any additional information, configuration, data or output from commands that might be necessary to reproduce or understand the issue. Please try not to include screenshots of code or the command line, paste the contents as text instead. You can use <a href="https://help.github.com/en/articles/creating-and-highlighting-code-blocks">GitHub Flavored Markdown</a> to make the text look better.</p> | 0 |
<p dir="auto">15.2<br>
Windows<br>
Version 10.0.18363 Build 18363</p>
<p dir="auto">So I renamed a custom zone and put this innocent little twin-heart <g-emoji class="g-emoji" alias="two_hearts" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f495.png">💕</g-emoji> before the name.<br>
First of all, it appeared as a black-and-white version of itself in the naming-window, but I think that's just because a general issue with mandatory UWP/Metro-blandness.<br>
Now this error appears whenever I hit win+`<br>
Don't know if it'll persist after reboot, will update once I tried that.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/23729465/77700350-4a537000-6fb4-11ea-99a0-b95984bae49d.png"><img src="https://user-images.githubusercontent.com/23729465/77700350-4a537000-6fb4-11ea-99a0-b95984bae49d.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Afterwards, it'll open the "choose your Layout"-menu and the custom-tab has less stuff than it should:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/23729465/77700664-ec735800-6fb4-11ea-8c8d-e5faa45b6a2a.png"><img src="https://user-images.githubusercontent.com/23729465/77700664-ec735800-6fb4-11ea-8c8d-e5faa45b6a2a.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><g-emoji class="g-emoji" alias="two_hearts" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f495.png">💕</g-emoji> This icon did it. Though I bet any icon would do the trick.</p> | <p dir="auto">When custom zone is saved with name that has cyrillic symbols in it</p>
<ul dir="auto">
<li>zone is not applied</li>
<li>editor doesn't open until json file with settings is not removed</li>
<li>settings file with custom zones and app history is corrupted and will be reset to defaults on next PowerToys start</li>
</ul>
<p dir="auto">settings file looks like this: <code class="notranslate">"custom-zone-sets":[{"uuid":"{...}","name":"</code> . Line breaks on that name.</p> | 1 |
<p dir="auto">Please update to version <a href="https://raw.githubusercontent.com/liabru/matter-js/master/build/matter.js" rel="nofollow">0.14.1</a></p>
<p dir="auto"><a href="https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/matter-js">https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/matter-js</a></p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/piranha771/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/piranha771">@piranha771</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hasparus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hasparus">@hasparus</a>, <a href="https://twitter.com/ivanegegia" rel="nofollow">https://twitter.com/ivanegegia</a></p> | <p dir="auto">@types/jquery.d.ts</p>
<p dir="auto">pls add</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="contextmenu(handler: (eventObject: JQueryEventObject) => any): JQuery;
contextmenu(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;"><pre class="notranslate"><code class="notranslate">contextmenu(handler: (eventObject: JQueryEventObject) => any): JQuery;
contextmenu(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
</code></pre></div>
<p dir="auto">right-button-click event</p> | 0 |
<p dir="auto">This issue is intended to represent the outstanding issues for stabilizing libcore and allowing its usage on stable Rust. There are a number of features currently associated with libcore:</p>
<ul dir="auto">
<li><code class="notranslate">core</code></li>
<li><code class="notranslate">core_char_ext</code></li>
<li><code class="notranslate">core_prelude</code></li>
<li><code class="notranslate">core_slice_ext</code></li>
<li><code class="notranslate">core_str_ext</code></li>
</ul>
<p dir="auto">(note that <code class="notranslate">core_float</code> will be handled in a separate issue)</p>
<p dir="auto">The design of libcore largely mirrors that of the standard library (good) but there are a few deviations:</p>
<ul dir="auto">
<li><code class="notranslate">core::atomic</code> differs from <code class="notranslate">std::sync::atomic</code></li>
<li>Modules like <code class="notranslate">nonzero</code>, <code class="notranslate">panicking</code>, and <code class="notranslate">array</code> are public</li>
</ul>
<p dir="auto">Overall there are a number of tasks that probably need to be done before stabilizing these items:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> A full audit should be done to ensure that the structure of libcore is the same as the structure of libstd</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> The name <code class="notranslate">core</code> needs to be agreed upon as the stable name for the library</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> The set of extension traits for primitives needs to be decided upon. This strategy of trait-in-core and inherent-above-core should be agreed upon as the best path forward.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> The set of items in the prelude should be audited to ensure it's a subset of the standard library's</li>
</ul> | <p dir="auto">I'm not sure of the correct bug title here, it's based on my limited understanding of the problem :)</p>
<p dir="auto">I'm trying to write a DB wrapper with a cache. Here's a code sample with two variants of read() function, the DB is using a hash map as well for exposition.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="use std::hashmap::HashMap;
#[deriving(Clone)]
struct Data {
data: ~[u8]
}
struct DB {
cache: HashMap<int, Data>,
db: HashMap<int, Data>
}
impl DB {
pub fn read1<'a>(&'a mut self, key: int) -> Option<&'a Data> {
match self.cache.find(&key) {
Some(data) => return Some(data),
None => ()
};
match self.db.find(&key) {
Some(data) => {
let result: &Data = self.cache.find_or_insert(key, data.clone());
Some(result)
},
None => None
}
}
pub fn read2<'a>(&'a mut self, key: int) -> Option<&'a Data> {
match self.cache.find(&key) {
Some(data) => return Some(data),
None => {
match self.db.find(&key) {
Some(data) => {
let result: &Data = self.cache.find_or_insert(key, data.clone());
Some(result)
},
None => None
}
}
}
}
}
fn main() {
}"><pre class="notranslate"><code class="notranslate">use std::hashmap::HashMap;
#[deriving(Clone)]
struct Data {
data: ~[u8]
}
struct DB {
cache: HashMap<int, Data>,
db: HashMap<int, Data>
}
impl DB {
pub fn read1<'a>(&'a mut self, key: int) -> Option<&'a Data> {
match self.cache.find(&key) {
Some(data) => return Some(data),
None => ()
};
match self.db.find(&key) {
Some(data) => {
let result: &Data = self.cache.find_or_insert(key, data.clone());
Some(result)
},
None => None
}
}
pub fn read2<'a>(&'a mut self, key: int) -> Option<&'a Data> {
match self.cache.find(&key) {
Some(data) => return Some(data),
None => {
match self.db.find(&key) {
Some(data) => {
let result: &Data = self.cache.find_or_insert(key, data.clone());
Some(result)
},
None => None
}
}
}
}
}
fn main() {
}
</code></pre></div>
<p dir="auto">Both read1() and read2() fail to compile with the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="db.rs:22:36: 22:46 error: cannot borrow `(*self).cache` as mutable because it is also borrowed as immutable
db.rs:22 let result: &Data = self.cache.find_or_insert(key, data.clone());
^~~~~~~~~~
db.rs:15:14: 15:24 note: second borrow of `(*self).cache` occurs here
db.rs:15 match self.cache.find(&key) {
^~~~~~~~~~"><pre class="notranslate"><code class="notranslate">db.rs:22:36: 22:46 error: cannot borrow `(*self).cache` as mutable because it is also borrowed as immutable
db.rs:22 let result: &Data = self.cache.find_or_insert(key, data.clone());
^~~~~~~~~~
db.rs:15:14: 15:24 note: second borrow of `(*self).cache` occurs here
db.rs:15 match self.cache.find(&key) {
^~~~~~~~~~
</code></pre></div>
<p dir="auto">Possibly a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="14199471" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/6393" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/6393/hovercard" href="https://github.com/rust-lang/rust/issues/6393">#6393</a> (although read1 looked like it could solve the problem but did not).</p> | 0 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => recent 3.4 ( <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/opencv/opencv/commit/57fae4a6a1e5c06799f549db43922684ba028af4/hovercard" href="https://github.com/opencv/opencv/commit/57fae4a6a1e5c06799f549db43922684ba028af4"><tt>57fae4a</tt></a> )</li>
<li>Operating System / Platform => TinkerBoard (Armv7), Debian stretch</li>
<li>Compiler => GCC 6.3.0</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">Two tests fail in <code class="notranslate">OCL_ImgProc/CvtColor8u.mRGBA2RGBA</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ RUN ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/0, where GetParam() = (CV_8U, false)
/home/linaro/opencv-fork/modules/imgproc/test/ocl/test_color.cpp:89: Failure
Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold), actual: 1 vs 0.001
Size: [15 x 21]
[ FAILED ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/0, where GetParam() = (CV_8U, false) (14 ms)
[ RUN ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/1, where GetParam() = (CV_8U, true)
/home/linaro/opencv-fork/modules/imgproc/test/ocl/test_color.cpp:89: Failure
Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold), actual: 1 vs 0.001
Size: [15 x 21]
[ FAILED ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/1, where GetParam() = (CV_8U, true) (2 ms)"><pre class="notranslate"><code class="notranslate">[ RUN ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/0, where GetParam() = (CV_8U, false)
/home/linaro/opencv-fork/modules/imgproc/test/ocl/test_color.cpp:89: Failure
Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold), actual: 1 vs 0.001
Size: [15 x 21]
[ FAILED ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/0, where GetParam() = (CV_8U, false) (14 ms)
[ RUN ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/1, where GetParam() = (CV_8U, true)
/home/linaro/opencv-fork/modules/imgproc/test/ocl/test_color.cpp:89: Failure
Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold), actual: 1 vs 0.001
Size: [15 x 21]
[ FAILED ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/1, where GetParam() = (CV_8U, true) (2 ms)
</code></pre></div>
<p dir="auto">Full log is available <a href="https://gist.github.com/tomoaki0705/b4663f05cfdcb8be1369c7f58c715841">here</a><br>
This seems to be a rounding error, since there is a float operation in the color conversion code.<br>
</p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/opencv/opencv/blob/57fae4a6a1e5c06799f549db43922684ba028af4/modules/imgproc/src/color_rgb.simd.hpp#L1040-L1044">opencv/modules/imgproc/src/color_rgb.simd.hpp</a>
</p>
<p class="mb-0 color-fg-muted">
Lines 1040 to 1044
in
<a data-pjax="true" class="commit-tease-sha" href="/opencv/opencv/commit/57fae4a6a1e5c06799f549db43922684ba028af4">57fae4a</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="L1040" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="1040"></td>
<td id="LC1040" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> v_float32 fd00, fd01, fd10, fd11; </td>
</tr>
<tr class="border-0">
<td id="L1041" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="1041"></td>
<td id="LC1041" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> fd00 = fs00/fa00; </td>
</tr>
<tr class="border-0">
<td id="L1042" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="1042"></td>
<td id="LC1042" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> fd01 = fs01/fa01; </td>
</tr>
<tr class="border-0">
<td id="L1043" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="1043"></td>
<td id="LC1043" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> fd10 = fs10/fa10; </td>
</tr>
<tr class="border-0">
<td id="L1044" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="1044"></td>
<td id="LC1044" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> fd11 = fs11/fa11; </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">If I disable the NEON feature, the test passes</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ RUN ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/0, where GetParam() = (CV_8U, false)
[ OK ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/0 (260 ms)
[ RUN ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/1, where GetParam() = (CV_8U, true)
[ OK ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/1 (3 ms)"><pre class="notranslate"><code class="notranslate">[ RUN ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/0, where GetParam() = (CV_8U, false)
[ OK ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/0 (260 ms)
[ RUN ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/1, where GetParam() = (CV_8U, true)
[ OK ] OCL_ImgProc/CvtColor8u.mRGBA2RGBA/1 (3 ms)
</code></pre></div>
<p dir="auto">I believe it's close enough to loosen the <code class="notranslate">eps</code>.<br>
</p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/opencv/opencv/blob/57fae4a6a1e5c06799f549db43922684ba028af4/modules/imgproc/test/ocl/test_color.cpp#L297-L304">opencv/modules/imgproc/test/ocl/test_color.cpp</a>
</p>
<p class="mb-0 color-fg-muted">
Lines 297 to 304
in
<a data-pjax="true" class="commit-tease-sha" href="/opencv/opencv/commit/57fae4a6a1e5c06799f549db43922684ba028af4">57fae4a</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="L297" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="297"></td>
<td id="LC297" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> #<span class="pl-k">ifdef</span> HAVE_IPP </td>
</tr>
<tr class="border-0">
<td id="L298" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="298"></td>
<td id="LC298" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> #<span class="pl-k">define</span> <span class="pl-en">IPP_EPS</span> depth <= CV_32S ? <span class="pl-c1">1</span> : <span class="pl-c1">1e-3</span> </td>
</tr>
<tr class="border-0">
<td id="L299" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="299"></td>
<td id="LC299" 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="L300" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="300"></td>
<td id="LC300" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> #<span class="pl-k">define</span> <span class="pl-en">IPP_EPS</span> <span class="pl-c1">1e-3</span> </td>
</tr>
<tr class="border-0">
<td id="L301" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="301"></td>
<td id="LC301" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> #<span class="pl-k">endif</span> </td>
</tr>
<tr class="border-0">
<td id="L302" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="302"></td>
<td id="LC302" 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="L303" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="303"></td>
<td id="LC303" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-en">OCL_TEST_P</span>(CvtColor8u, RGBA2mRGBA) { <span class="pl-c1">performTest</span>(<span class="pl-c1">4</span>, <span class="pl-c1">4</span>, <span class="pl-c1">CVTCODE</span>(RGBA2mRGBA), IPP_EPS); } </td>
</tr>
<tr class="border-0">
<td id="L304" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="304"></td>
<td id="LC304" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-en">OCL_TEST_P</span>(CvtColor8u, <span class="pl-smi">mRGBA2RGBA</span>) { <span class="pl-c1">performTest</span>(<span class="pl-c1">4</span>, <span class="pl-c1">4</span>, <span class="pl-c1">CVTCODE</span>(<span class="pl-smi">mRGBA2RGBA</span>)); } </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">One thing I'm not sure is how it behaves on <code class="notranslate">aarch64</code>.<br>
At this moment, I don't have access to any of my Arm 64bit boards.<br>
Let's just keep it for 32bit for now.</p>
<p dir="auto">I'll send a patch later</p>
<h5 dir="auto">Steps to reproduce</h5>
<p dir="auto"><code class="notranslate">./opencv_test_imgproc --gtest_filter=*OCL*mRGBA2RGBA*</code></p> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => latest</li>
<li>Operating System / Platform => Android</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">Video I/O file capture doesn't work on Android currently.<br>
Add a backend for this to the videoio module using the Android Media NDK</p>
<p dir="auto">I have a PR prepared for this.</p>
<hr>
<p dir="auto">duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="340620050" data-permission-text="Title is private" data-url="https://github.com/opencv/opencv/issues/11952" data-hovercard-type="issue" data-hovercard-url="/opencv/opencv/issues/11952/hovercard" href="https://github.com/opencv/opencv/issues/11952">#11952</a></p> | 0 |
<p dir="auto">After starting Julia 0.7.0-alpha.0 and running <code class="notranslate">Pkg.update()</code> without running first <code class="notranslate">using Pkg</code> suggests to run <code class="notranslate">using Pkg</code> instead.</p>
<p dir="auto">Following that advice leads to an error of a potential conflict, which is misleading.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ julia
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: https://docs.julialang.org
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.7.0-alpha.0 (2018-05-31 00:07 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-apple-darwin14.5.0
julia> Pkg.update()
WARNING: Base.Pkg is deprecated, run `using Pkg` instead
in module Main
Updating registry at `~/.julia/registries/Uncurated`
Updating git-repo `https://github.com/JuliaRegistries/Uncurated.git`
Resolving package versions...
Updating `~/.julia/environments/v0.7/Project.toml`
[no changes]
Updating `~/.julia/environments/v0.7/Manifest.toml`
┌ Warning: Duplicate UUID in manifest: 44cfe95a-1eb2-52ea-b672-e2afdf69b78f
└ @ Pkg.Display Display.jl:192
┌ Warning: Duplicate UUID in manifest: 44cfe95a-1eb2-52ea-b672-e2afdf69b78f
└ @ Pkg.Display Display.jl:192
[no changes]
julia> using Pkg
ERROR: importing Pkg into Main conflicts with an existing identifier"><pre class="notranslate"><code class="notranslate">$ julia
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: https://docs.julialang.org
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.7.0-alpha.0 (2018-05-31 00:07 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-apple-darwin14.5.0
julia> Pkg.update()
WARNING: Base.Pkg is deprecated, run `using Pkg` instead
in module Main
Updating registry at `~/.julia/registries/Uncurated`
Updating git-repo `https://github.com/JuliaRegistries/Uncurated.git`
Resolving package versions...
Updating `~/.julia/environments/v0.7/Project.toml`
[no changes]
Updating `~/.julia/environments/v0.7/Manifest.toml`
┌ Warning: Duplicate UUID in manifest: 44cfe95a-1eb2-52ea-b672-e2afdf69b78f
└ @ Pkg.Display Display.jl:192
┌ Warning: Duplicate UUID in manifest: 44cfe95a-1eb2-52ea-b672-e2afdf69b78f
└ @ Pkg.Display Display.jl:192
[no changes]
julia> using Pkg
ERROR: importing Pkg into Main conflicts with an existing identifier
</code></pre></div>
<p dir="auto">Version info:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> versioninfo()
Julia Version 0.7.0-alpha.0
Commit 22590d529d (2018-05-31 00:07 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin14.5.0)
CPU: Intel(R) Core(TM) i7-6567U CPU @ 3.30GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.0 (ORCJIT, skylake)"><pre class="notranslate"><code class="notranslate">julia> versioninfo()
Julia Version 0.7.0-alpha.0
Commit 22590d529d (2018-05-31 00:07 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin14.5.0)
CPU: Intel(R) Core(TM) i7-6567U CPU @ 3.30GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.0 (ORCJIT, skylake)
</code></pre></div> | <p dir="auto">I don't think this is related to the Images package, but here is how I can reproduce it.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> versioninfo()
Julia Version 0.3.0
Commit 7681878 (2014-08-20 20:43 UTC)
Platform Info:
System: Linux (x86_64-linux-gnu)
CPU: Intel(R) Xeon(R) CPU E5-2665 0 @ 2.40GHz
WORD_SIZE: 64
BLAS: libblas.so.3
LAPACK: liblapack.so.3
LIBM: libopenlibm
LLVM: libLLVM-3.3
julia> using Images
julia> x=shepp_logan(128);
julia> x=repmat(<TAB>ERROR: type DataType has no field body
in show at show.jl:80 (repeats 2 times)
in print_to_string at ./string.jl:24
in argtype_decl at methodshow.jl:18
in arg_decl_parts at methodshow.jl:30
in show at methodshow.jl:36
in print_to_string at string.jl:24
in string at string.jl:31
in complete_methods at ./REPLCompletions.jl:138
in completions at ./REPLCompletions.jl:196
in completions_3B_1836 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so
in complete_line at REPL.jl:279
in complete_line at LineEdit.jl:141
in complete_line at LineEdit.jl:139
in anonymous at LineEdit.jl:1175
in anonymous at LineEdit.jl:1197
in prompt! at ./LineEdit.jl:1397
in run_interface at ./LineEdit.jl:1372
in run_interface_3B_1854 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so
in run_frontend at ./REPL.jl:816
in run_repl at ./REPL.jl:170
in _start at ./client.jl:399
in _start_3B_1716 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so"><pre class="notranslate"><code class="notranslate">julia> versioninfo()
Julia Version 0.3.0
Commit 7681878 (2014-08-20 20:43 UTC)
Platform Info:
System: Linux (x86_64-linux-gnu)
CPU: Intel(R) Xeon(R) CPU E5-2665 0 @ 2.40GHz
WORD_SIZE: 64
BLAS: libblas.so.3
LAPACK: liblapack.so.3
LIBM: libopenlibm
LLVM: libLLVM-3.3
julia> using Images
julia> x=shepp_logan(128);
julia> x=repmat(<TAB>ERROR: type DataType has no field body
in show at show.jl:80 (repeats 2 times)
in print_to_string at ./string.jl:24
in argtype_decl at methodshow.jl:18
in arg_decl_parts at methodshow.jl:30
in show at methodshow.jl:36
in print_to_string at string.jl:24
in string at string.jl:31
in complete_methods at ./REPLCompletions.jl:138
in completions at ./REPLCompletions.jl:196
in completions_3B_1836 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so
in complete_line at REPL.jl:279
in complete_line at LineEdit.jl:141
in complete_line at LineEdit.jl:139
in anonymous at LineEdit.jl:1175
in anonymous at LineEdit.jl:1197
in prompt! at ./LineEdit.jl:1397
in run_interface at ./LineEdit.jl:1372
in run_interface_3B_1854 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so
in run_frontend at ./REPL.jl:816
in run_repl at ./REPL.jl:170
in _start at ./client.jl:399
in _start_3B_1716 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so
</code></pre></div>
<p dir="auto">After typing the left paren, I hit tab to see the completions, and it crashed straight to the shell. I tried running Pkg.update().</p>
<p dir="auto">I'm running Images v.0.3.3, in case that matters.</p> | 0 |
<p dir="auto"><strong>Migrated issue, originally created by mike_solomon</strong></p>
<p dir="auto">The code below :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sqlalchemy import Table, Column, Integer, MetaData, select, and_, exists
metadata = MetaData()
foo = Table('foo', metadata,
Column('id', Integer, primary_key=True),
Column('val', Integer))
bar = Table('bar', metadata,
Column('id', Integer, primary_key=True),
Column('val', Integer))
first = select([bar.c.id.label('elt')]).where(bar.c.id == 0).\
cte(name = 'first_row', recursive = True)
grow_me = first.alias(name = 'grow_me')
stmt = first.union_all(select([bar.c.val.label('next')]).\
where(and_(grow_me.c.elt == bar.c.id,
grow_me.c.elt != 1)))
print foo.delete().where(exists(select([stmt])))"><pre class="notranslate"><code class="notranslate">from sqlalchemy import Table, Column, Integer, MetaData, select, and_, exists
metadata = MetaData()
foo = Table('foo', metadata,
Column('id', Integer, primary_key=True),
Column('val', Integer))
bar = Table('bar', metadata,
Column('id', Integer, primary_key=True),
Column('val', Integer))
first = select([bar.c.id.label('elt')]).where(bar.c.id == 0).\
cte(name = 'first_row', recursive = True)
grow_me = first.alias(name = 'grow_me')
stmt = first.union_all(select([bar.c.val.label('next')]).\
where(and_(grow_me.c.elt == bar.c.id,
grow_me.c.elt != 1)))
print foo.delete().where(exists(select([stmt])))
</code></pre></div>
<p dir="auto">generates the result below:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="DELETE FROM foo WHERE EXISTS (SELECT first_row.elt
FROM first_row)"><pre class="notranslate"><code class="notranslate">DELETE FROM foo WHERE EXISTS (SELECT first_row.elt
FROM first_row)
</code></pre></div>
<p dir="auto">I would have expected it to generate this code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="DELETE FROM foo WHERE EXISTS (
WITH RECURSIVE first_row(elt) AS
(SELECT bar.id AS elt
FROM bar
WHERE bar.id = :id_1 UNION ALL SELECT bar.val AS next
FROM bar, first_row AS grow_me
WHERE grow_me.elt = bar.id AND grow_me.elt != :elt_1)
SELECT first_row.elt
FROM first_row)"><pre class="notranslate"><code class="notranslate">DELETE FROM foo WHERE EXISTS (
WITH RECURSIVE first_row(elt) AS
(SELECT bar.id AS elt
FROM bar
WHERE bar.id = :id_1 UNION ALL SELECT bar.val AS next
FROM bar, first_row AS grow_me
WHERE grow_me.elt = bar.id AND grow_me.elt != :elt_1)
SELECT first_row.elt
FROM first_row)
</code></pre></div>
<p dir="auto">The code above is legal SQL. As a workaround for my project, I've created a simple string formatter that will insert the SELECT statement into the EXISTS statement, but it would be great if this could be done automatically.</p> | <p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p>
<p dir="auto">apparently its all possible now. might as well make a new syntax bonanza out of it:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="WITH upsert AS (
UPDATE metric k SET k.count = k.count + 5
WHERE event = "foo" AND interval = "D" and date = "whatever"
RETURNING k.*
)
INSERT INTO metric (event, interval, date, count)
SELECT ("foo", "D", "whatever", 5)
WHERE NOT EXISTS (
SELECT 1 FROM upsert
);"><pre class="notranslate"><code class="notranslate">WITH upsert AS (
UPDATE metric k SET k.count = k.count + 5
WHERE event = "foo" AND interval = "D" and date = "whatever"
RETURNING k.*
)
INSERT INTO metric (event, interval, date, count)
SELECT ("foo", "D", "whatever", 5)
WHERE NOT EXISTS (
SELECT 1 FROM upsert
);
</code></pre></div>
<p dir="auto"><a href="http://www.postgresql.org/docs/9.1/static/sql-insert.html" rel="nofollow">http://www.postgresql.org/docs/9.1/static/sql-insert.html</a></p>
<hr>
<p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/2551/ticket_2551.patch">ticket_2551.patch</a> | <a href="../wiki/imported_issue_attachments/2551/CTE.sqlalchemy">CTE.sqlalchemy</a></p> | 1 |
<p dir="auto"><em>Please make sure that this is a bug. As per our <a href="https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md">GitHub Policy</a>, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template</em></p>
<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): yes</li>
<li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04): mac</li>
<li>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: none</li>
<li>TensorFlow installed from (source or binary): binary</li>
<li>TensorFlow version (use command below): 2.0.alpha0</li>
<li>Python version:</li>
<li>Bazel version (if compiling from source): none</li>
<li>GCC/Compiler version (if compiling from source): none</li>
<li>CUDA/cuDNN version: none</li>
<li>GPU model and memory: none</li>
</ul>
<p dir="auto">You can collect some of this information using our environment capture<br>
<a href="https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh">script</a><br>
You can also obtain the TensorFlow version with: 1. TF 1.0: <code class="notranslate">python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"</code> 2. TF 2.0: <code class="notranslate">python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"</code></p>
<p dir="auto"><strong>Describe the current behavior</strong><br>
It works fine when run this in one console</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import tensorflow as tf
import numpy as np
m = tf.Module()
m.v = tf.Variable(np.random.normal(size=(200, 200)).astype(np.float64))
m.f = tf.function(lambda x: x + m.v[0, 0])
tf.saved_model.save(m, "save/model", signatures={
"predict": m.f.get_concrete_function(tf.constant(3., dtype=tf.float64))
})"><pre class="notranslate"><code class="notranslate">import tensorflow as tf
import numpy as np
m = tf.Module()
m.v = tf.Variable(np.random.normal(size=(200, 200)).astype(np.float64))
m.f = tf.function(lambda x: x + m.v[0, 0])
tf.saved_model.save(m, "save/model", signatures={
"predict": m.f.get_concrete_function(tf.constant(3., dtype=tf.float64))
})
</code></pre></div>
<p dir="auto">and then the other</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import tensorflow as tf
m = tf.saved_model.load("save/model")"><pre class="notranslate"><code class="notranslate">import tensorflow as tf
m = tf.saved_model.load("save/model")
</code></pre></div>
<p dir="auto">If you change 200 to 20000, you will see errors on load</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import tensorflow as tf
import numpy as np
m = tf.Module()
m.v = tf.Variable(np.random.normal(size=(20000, 20000)).astype(np.float64))
m.f = tf.function(lambda x: x + m.v[0, 0])
tf.saved_model.save(m, "save/model", signatures={
"predict": m.f.get_concrete_function(tf.constant(3., dtype=tf.float64))
})"><pre class="notranslate"><code class="notranslate">import tensorflow as tf
import numpy as np
m = tf.Module()
m.v = tf.Variable(np.random.normal(size=(20000, 20000)).astype(np.float64))
m.f = tf.function(lambda x: x + m.v[0, 0])
tf.saved_model.save(m, "save/model", signatures={
"predict": m.f.get_concrete_function(tf.constant(3., dtype=tf.float64))
})
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import tensorflow as tf
tf.saved_model.load("save/model")
# tensorflow.python.framework.errors_impl.InvalidArgumentError: save/model/variables/variables.data-00000-of-00001; Invalid argument [Op:RestoreV2]"><pre class="notranslate"><code class="notranslate">import tensorflow as tf
tf.saved_model.load("save/model")
# tensorflow.python.framework.errors_impl.InvalidArgumentError: save/model/variables/variables.data-00000-of-00001; Invalid argument [Op:RestoreV2]
</code></pre></div>
<p dir="auto"><strong>Describe the expected behavior</strong></p>
<p dir="auto">Should be able to load regardless of the size of variable</p>
<p dir="auto"><strong>Code to reproduce the issue</strong><br>
Provide a reproducible test case that is the bare minimum necessary to generate the problem.<br>
see above<br>
<strong>Other info / logs</strong><br>
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.</p> | <p dir="auto">I get an InvalidArgumentError with no further information when I try to save and then restore parts of my model later to continue training it (due to needing my laptop for class).</p>
<p dir="auto">Initialization:<br>
saver = tf.train.Saver({"embeddings": embeddings, "weights": nce_weights, "biases": nce_biases})</p>
<p dir="auto">Save:<br>
saver.save(sess, model_checkpoint_path)</p>
<p dir="auto">Load:<br>
saver.restore(sess, model_checkpoint_path)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2018-04-21 22:45:00.143245: W tensorflow/core/framework/op_kernel.cc:1273] OP_REQUIRES failed at save_restore_v2_ops.cc:184 : Invalid argument: /Users/nroth/Documents/****/trained_model/****embeddings.ckpt.data-00000-of-00001; Invalid argument
Traceback (most recent call last):
File "/Users/nroth/tf_python/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1327, in _do_call
return fn(*args)
File "/Users/nroth/tf_python/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1312, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/Users/nroth/tf_python/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1420, in _call_tf_sessionrun
status, run_metadata)
File "/Users/nroth/tf_python/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 516, in __exit__
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: /Users/nroth/Documents/****/trained_model/****embeddings.ckpt.data-00000-of-00001; Invalid argument
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
... <contains sensitive info> ...
InvalidArgumentError (see above for traceback): /Users/nroth/Documents/****/trained_model/****embeddings.ckpt.data-00000-of-00001; Invalid argument
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]"><pre class="notranslate"><code class="notranslate">2018-04-21 22:45:00.143245: W tensorflow/core/framework/op_kernel.cc:1273] OP_REQUIRES failed at save_restore_v2_ops.cc:184 : Invalid argument: /Users/nroth/Documents/****/trained_model/****embeddings.ckpt.data-00000-of-00001; Invalid argument
Traceback (most recent call last):
File "/Users/nroth/tf_python/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1327, in _do_call
return fn(*args)
File "/Users/nroth/tf_python/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1312, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/Users/nroth/tf_python/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1420, in _call_tf_sessionrun
status, run_metadata)
File "/Users/nroth/tf_python/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 516, in __exit__
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: /Users/nroth/Documents/****/trained_model/****embeddings.ckpt.data-00000-of-00001; Invalid argument
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
... <contains sensitive info> ...
InvalidArgumentError (see above for traceback): /Users/nroth/Documents/****/trained_model/****embeddings.ckpt.data-00000-of-00001; Invalid argument
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
</code></pre></div>
<p dir="auto"><strong>Clarification requested by tensorflowbutler</strong><br>
<em>Have I written custom code:</em><br>
Yes, I modified this code (<a href="https://github.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/blob/master/Chapter%2007/doc2vec.py">https://github.com/PacktPublishing/TensorFlow-Machine-Learning-Cookbook/blob/master/Chapter%2007/doc2vec.py</a>) to work with TensorFlow 1.7 and to use the same embeddings variable for documents as for words with average instead of concatenation. I also updated the saved variables to include nce_weights and nce_biases so that training may be resumed.<br>
<em>OS Platform and Distribution</em><br>
MacOS 10.13.4 (17E199)<br>
<em>TensorFlow installed from</em><br>
pip on VirtualEnv, according to instructions (<a href="https://www.tensorflow.org/install/install_mac" rel="nofollow">https://www.tensorflow.org/install/install_mac</a>)<br>
<em>TensorFlow version</em><br>
1.7<br>
<em>Bazel version</em><br>
NA<br>
<em>CUDA/cuDNN version</em><br>
NA<br>
<em>GPU model and memory</em><br>
NA<br>
<em>Exact command to reproduce</em><br>
saver = tf.train.Saver({"embeddings": embeddings, "weights": nce_weights, "biases": nce_biases})<br>
saver.restore(sess, "../trained_model/saved_stuff")</p> | 1 |
<p dir="auto">After installation of latest TypeScript update on VS2015 Comunity Edition I found that support for JS was removed. There is no "JavaScript" branch in "Configuration / Text Editor" and VS does not recognize JS syntax. However, Node.js Tools do recognize JS files, but I think it is a separate tool.<br>
S<br>
o, because of the bug I need to completelly remove VS2015 and then try to make "cleare installation" again. Nothing helps: system restore point does not help, VS repair does not help, uninstallation of TypeScript from the system does not help. I will loose whole day making my system working again!</p> | <p dir="auto">I completely lost JavaScript support in Visual Studio after updating to TypeScript 1.5.4:</p>
<ul dir="auto">
<li>Code inside script tags gets no colorization and no IntelliSense at all</li>
<li>In the VS options menu > Text Editor > JavaScript is missing</li>
<li>In the output console, the "JavaScript Language Service" is missing in the dropdown.</li>
</ul>
<p dir="auto">Seems I'm not the only one:<br>
<a href="http://stackoverflow.com/questions/31888115/visual-studio-2015-rtm-lost-js-support-after-update-typesript-tools" rel="nofollow">http://stackoverflow.com/questions/31888115/visual-studio-2015-rtm-lost-js-support-after-update-typesript-tools</a></p> | 1 |
<p dir="auto">My only User Profile in my Windows PC has a space in it. Because of that, I cant do anything with flutter. Will this be fixed? Only way around this is to create a new User Account without space?</p>
<h2 dir="auto">Steps to Reproduce</h2>
<ol dir="auto">
<li>Create a User account with space in it.</li>
<li>run flutter create test_app</li>
</ol>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Running "flutter packages get" in first... 19.2s
CreateProcessW failed 193
Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Crash report sent (report ID: 3a63d7dedece9c9d)
-CreateProcessW failed 193
Unhandled exception:
ProcessException: %1 is not a valid Win32 application.
Command: C:\Users\Sherin Binu\AppData\Local\Android\sdk\platform-tools\adb.EXE devices -l
#0 _ProcessImpl._runAndWait (dart:io-patch/process_patch.dart:485)
#1 _runNonInteractiveProcessSync (dart:io-patch/process_patch.dart:631)
#2 Process.runSync (dart:io-patch/process_patch.dart:66)
#3 LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:83)
#4 _runWithLoggingSync (package:flutter_tools/src/base/process.dart:321)
#5 runSync (package:flutter_tools/src/base/process.dart:296)
#6 getAdbDevices (package:flutter_tools/src/android/android_device.dart:557)
#7 AndroidDevices.pollingGetDevices (package:flutter_tools/src/android/android_device.dart:54)
<asynchronous suspension>
#8 PollingDeviceDiscovery.devices (package:flutter_tools/src/device.dart:165)
<asynchronous suspension>
#9 DeviceManager.getAllConnectedDevices (package:flutter_tools/src/device.dart:93)
<asynchronous suspension>
#10 DeviceValidator.validate (package:flutter_tools/src/doctor.dart:530)
<asynchronous suspension>
#11 Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:88)
#12 Doctor.diagnose (package:flutter_tools/src/doctor.dart:145)
<asynchronous suspension>
#13 _doctorText.<anonymous closure> (package:flutter_tools/runner.dart:194)
#14 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#15 _rootRun (dart:async/zone.dart:1126)
#16 _CustomZone.run (dart:async/zone.dart:1023)
#17 runZoned (dart:async/zone.dart:1501)
#18 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#19 _doctorText (package:flutter_tools/runner.dart:193)
<asynchronous suspension>
#20 _createLocalCrashReport (package:flutter_tools/runner.dart:171)
<asynchronous suspension>
#21 _handleToolError (package:flutter_tools/runner.dart:126)
<asynchronous suspension>
#22 run.<anonymous closure> (package:flutter_tools/runner.dart:63)
<asynchronous suspension>
#23 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#24 _rootRun (dart:async/zone.dart:1126)
#25 _CustomZone.run (dart:async/zone.dart:1023)
#26 runZoned (dart:async/zone.dart:1501)
#27 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#28 runInContext (package:flutter_tools/src/context_runner.dart:43)
<asynchronous suspension>
#29 run (package:flutter_tools/runner.dart:50)
#30 main (package:flutter_tools/executable.dart:49)
<asynchronous suspension>
#31 main (file:///E:/b/build/slave/Windows_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#32 _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#33 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
<!-- If possible, paste the output of running `flutter doctor -v` here. -->
## When i run flutter doctor -v
[√] Flutter (Channel beta, v0.5.1, on Microsoft Windows [Version 10.0.17134.112], locale en-IN)
• Flutter version 0.5.1 at C:\flutter
• Framework revision c7ea3ca377 (4 weeks ago), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760
-CreateProcessW failed 193
Unhandled exception:
ProcessException: %1 is not a valid Win32 application.
Command: C:\Users\Sherin Binu\AppData\Local\Android\sdk\platform-tools\adb.EXE devices -l
#0 _ProcessImpl._runAndWait (dart:io-patch/process_patch.dart:485)
#1 _runNonInteractiveProcessSync (dart:io-patch/process_patch.dart:631)
#2 Process.runSync (dart:io-patch/process_patch.dart:66)
#3 LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:83)
#4 _runWithLoggingSync (package:flutter_tools/src/base/process.dart:321)
#5 runSync (package:flutter_tools/src/base/process.dart:296)
#6 getAdbDevices (package:flutter_tools/src/android/android_device.dart:557)
#7 AndroidDevices.pollingGetDevices (package:flutter_tools/src/android/android_device.dart:54)
<asynchronous suspension>
#8 PollingDeviceDiscovery.devices (package:flutter_tools/src/device.dart:165)
<asynchronous suspension>
#9 DeviceManager.getAllConnectedDevices (package:flutter_tools/src/device.dart:93)
<asynchronous suspension>
#10 DeviceValidator.validate (package:flutter_tools/src/doctor.dart:530)
<asynchronous suspension>
#11 Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:88)
#12 Doctor.diagnose (package:flutter_tools/src/doctor.dart:145)
<asynchronous suspension>
#13 DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:29)
<asynchronous suspension>
#14 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344)
<asynchronous suspension>
#15 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:279)
<asynchronous suspension>
#16 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#17 _rootRun (dart:async/zone.dart:1126)
#18 _CustomZone.run (dart:async/zone.dart:1023)
#19 runZoned (dart:async/zone.dart:1501)
#20 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#21 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270)
#22 CommandRunner.runCommand (package:args/command_runner.dart:194)
<asynchronous suspension>
#23 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:309)
<asynchronous suspension>
#24 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#25 _rootRun (dart:async/zone.dart:1126)
#26 _CustomZone.run (dart:async/zone.dart:1023)
#27 runZoned (dart:async/zone.dart:1501)
#28 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#29 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265)
<asynchronous suspension>
#30 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)
#31 new Future.sync (dart:async/future.dart:222)
#32 CommandRunner.run (package:args/command_runner.dart:109)
#33 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174)
#34 run.<anonymous closure> (package:flutter_tools/runner.dart:59)
<asynchronous suspension>
#35 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#36 _rootRun (dart:async/zone.dart:1126)
#37 _CustomZone.run (dart:async/zone.dart:1023)
#38 runZoned (dart:async/zone.dart:1501)
#39 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#40 runInContext (package:flutter_tools/src/context_runner.dart:43)
<asynchronous suspension>
#41 run (package:flutter_tools/runner.dart:50)
#42 main (package:flutter_tools/executable.dart:49)
<asynchronous suspension>
#43 main (file:///E:/b/build/slave/Windows_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#44 _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#45 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)"><pre class="notranslate"><code class="notranslate">Running "flutter packages get" in first... 19.2s
CreateProcessW failed 193
Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Crash report sent (report ID: 3a63d7dedece9c9d)
-CreateProcessW failed 193
Unhandled exception:
ProcessException: %1 is not a valid Win32 application.
Command: C:\Users\Sherin Binu\AppData\Local\Android\sdk\platform-tools\adb.EXE devices -l
#0 _ProcessImpl._runAndWait (dart:io-patch/process_patch.dart:485)
#1 _runNonInteractiveProcessSync (dart:io-patch/process_patch.dart:631)
#2 Process.runSync (dart:io-patch/process_patch.dart:66)
#3 LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:83)
#4 _runWithLoggingSync (package:flutter_tools/src/base/process.dart:321)
#5 runSync (package:flutter_tools/src/base/process.dart:296)
#6 getAdbDevices (package:flutter_tools/src/android/android_device.dart:557)
#7 AndroidDevices.pollingGetDevices (package:flutter_tools/src/android/android_device.dart:54)
<asynchronous suspension>
#8 PollingDeviceDiscovery.devices (package:flutter_tools/src/device.dart:165)
<asynchronous suspension>
#9 DeviceManager.getAllConnectedDevices (package:flutter_tools/src/device.dart:93)
<asynchronous suspension>
#10 DeviceValidator.validate (package:flutter_tools/src/doctor.dart:530)
<asynchronous suspension>
#11 Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:88)
#12 Doctor.diagnose (package:flutter_tools/src/doctor.dart:145)
<asynchronous suspension>
#13 _doctorText.<anonymous closure> (package:flutter_tools/runner.dart:194)
#14 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#15 _rootRun (dart:async/zone.dart:1126)
#16 _CustomZone.run (dart:async/zone.dart:1023)
#17 runZoned (dart:async/zone.dart:1501)
#18 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#19 _doctorText (package:flutter_tools/runner.dart:193)
<asynchronous suspension>
#20 _createLocalCrashReport (package:flutter_tools/runner.dart:171)
<asynchronous suspension>
#21 _handleToolError (package:flutter_tools/runner.dart:126)
<asynchronous suspension>
#22 run.<anonymous closure> (package:flutter_tools/runner.dart:63)
<asynchronous suspension>
#23 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#24 _rootRun (dart:async/zone.dart:1126)
#25 _CustomZone.run (dart:async/zone.dart:1023)
#26 runZoned (dart:async/zone.dart:1501)
#27 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#28 runInContext (package:flutter_tools/src/context_runner.dart:43)
<asynchronous suspension>
#29 run (package:flutter_tools/runner.dart:50)
#30 main (package:flutter_tools/executable.dart:49)
<asynchronous suspension>
#31 main (file:///E:/b/build/slave/Windows_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#32 _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#33 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
<!-- If possible, paste the output of running `flutter doctor -v` here. -->
## When i run flutter doctor -v
[√] Flutter (Channel beta, v0.5.1, on Microsoft Windows [Version 10.0.17134.112], locale en-IN)
• Flutter version 0.5.1 at C:\flutter
• Framework revision c7ea3ca377 (4 weeks ago), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760
-CreateProcessW failed 193
Unhandled exception:
ProcessException: %1 is not a valid Win32 application.
Command: C:\Users\Sherin Binu\AppData\Local\Android\sdk\platform-tools\adb.EXE devices -l
#0 _ProcessImpl._runAndWait (dart:io-patch/process_patch.dart:485)
#1 _runNonInteractiveProcessSync (dart:io-patch/process_patch.dart:631)
#2 Process.runSync (dart:io-patch/process_patch.dart:66)
#3 LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:83)
#4 _runWithLoggingSync (package:flutter_tools/src/base/process.dart:321)
#5 runSync (package:flutter_tools/src/base/process.dart:296)
#6 getAdbDevices (package:flutter_tools/src/android/android_device.dart:557)
#7 AndroidDevices.pollingGetDevices (package:flutter_tools/src/android/android_device.dart:54)
<asynchronous suspension>
#8 PollingDeviceDiscovery.devices (package:flutter_tools/src/device.dart:165)
<asynchronous suspension>
#9 DeviceManager.getAllConnectedDevices (package:flutter_tools/src/device.dart:93)
<asynchronous suspension>
#10 DeviceValidator.validate (package:flutter_tools/src/doctor.dart:530)
<asynchronous suspension>
#11 Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:88)
#12 Doctor.diagnose (package:flutter_tools/src/doctor.dart:145)
<asynchronous suspension>
#13 DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:29)
<asynchronous suspension>
#14 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344)
<asynchronous suspension>
#15 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:279)
<asynchronous suspension>
#16 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#17 _rootRun (dart:async/zone.dart:1126)
#18 _CustomZone.run (dart:async/zone.dart:1023)
#19 runZoned (dart:async/zone.dart:1501)
#20 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#21 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270)
#22 CommandRunner.runCommand (package:args/command_runner.dart:194)
<asynchronous suspension>
#23 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:309)
<asynchronous suspension>
#24 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#25 _rootRun (dart:async/zone.dart:1126)
#26 _CustomZone.run (dart:async/zone.dart:1023)
#27 runZoned (dart:async/zone.dart:1501)
#28 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#29 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265)
<asynchronous suspension>
#30 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)
#31 new Future.sync (dart:async/future.dart:222)
#32 CommandRunner.run (package:args/command_runner.dart:109)
#33 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174)
#34 run.<anonymous closure> (package:flutter_tools/runner.dart:59)
<asynchronous suspension>
#35 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#36 _rootRun (dart:async/zone.dart:1126)
#37 _CustomZone.run (dart:async/zone.dart:1023)
#38 runZoned (dart:async/zone.dart:1501)
#39 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#40 runInContext (package:flutter_tools/src/context_runner.dart:43)
<asynchronous suspension>
#41 run (package:flutter_tools/runner.dart:50)
#42 main (package:flutter_tools/executable.dart:49)
<asynchronous suspension>
#43 main (file:///E:/b/build/slave/Windows_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#44 _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#45 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
</code></pre></div> | <p dir="auto">Leafy has been seeing exceptions of this kind sporadically:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java.lang.IllegalStateException
at io.flutter.view.FlutterNativeView$1.reply(FlutterNativeView.java:132)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:194)
at io.flutter.plugins.localauth.LocalAuthPlugin$1.onFailure(LocalAuthPlugin.java:56)
at io.flutter.plugins.localauth.AuthenticationHelper.stop(AuthenticationHelper.java:146)
at io.flutter.plugins.localauth.AuthenticationHelper.access$000(AuthenticationHelper.java:36)
at io.flutter.plugins.localauth.AuthenticationHelper$2.onClick(AuthenticationHelper.java:234)
at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)"><pre class="notranslate"><code class="notranslate">java.lang.IllegalStateException
at io.flutter.view.FlutterNativeView$1.reply(FlutterNativeView.java:132)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:194)
at io.flutter.plugins.localauth.LocalAuthPlugin$1.onFailure(LocalAuthPlugin.java:56)
at io.flutter.plugins.localauth.AuthenticationHelper.stop(AuthenticationHelper.java:146)
at io.flutter.plugins.localauth.AuthenticationHelper.access$000(AuthenticationHelper.java:36)
at io.flutter.plugins.localauth.AuthenticationHelper$2.onClick(AuthenticationHelper.java:234)
at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
</code></pre></div>
<p dir="auto">The exceptions always come from the same line (User tapping cancel button on the dialog). We could not reproduce this exception unfortunately. So we have to guard against a flow that we do not fully understand. Luckily the reasoning is simple: If we have <code class="notranslate">stop()</code>ped before, do not stop again. Other plugins implement similar logic (such as google_sign_in).</p> | 0 |
<p dir="auto">When I use vscode to browse the <code class="notranslate">db_bench.cc</code> in the source code of rocksdb, I found the syntax highlighting of C++ is incorrect. Illustrated below:<br>
screenshot of syntax highlighting in vscode,<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2003731/13722206/6afe3726-e878-11e5-98d5-c5413a0eea9e.png"><img src="https://cloud.githubusercontent.com/assets/2003731/13722206/6afe3726-e878-11e5-98d5-c5413a0eea9e.png" alt="vscode-cpp" style="max-width: 100%;"></a><br>
whereas, the same content displayed in atom<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2003731/13722208/82f1d590-e878-11e5-875d-63c96e6be337.png"><img src="https://cloud.githubusercontent.com/assets/2003731/13722208/82f1d590-e878-11e5-875d-63c96e6be337.png" alt="atom-cpp" style="max-width: 100%;"></a></p>
<p dir="auto">The colors used in atom editor is much richer, and it will not misinterpret keywords in strings such as <code class="notranslate">if</code> or <code class="notranslate">for</code>.<br>
Environment:<br>
ArchLinux 4.4.5 64bit<br>
vscode 0.10.10<br>
atom 1.5.3</p> | <ul dir="auto">
<li>VSCode Version: 0.10.11</li>
<li>OS Version: Windows 7</li>
</ul>
<h2 dir="auto">Issue 1:</h2>
<p dir="auto">In the following code (using C++ syntax highlighting), the string literal(s) are not highlighted at all.<br>
This issue is exclusive to C++ syntax highlighting and does not occur with C syntax highlighting.</p>
<h4 dir="auto">Code:</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="int main()
{
printf("%s\n", "a string");
}"><pre class="notranslate"><code class="notranslate">int main()
{
printf("%s\n", "a string");
}
</code></pre></div>
<h4 dir="auto">Result</h4>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://raw.githubusercontent.com/SE2Dev/VSCode-BugExample/master/resources/c-vs-cpp.png"><img src="https://raw.githubusercontent.com/SE2Dev/VSCode-BugExample/master/resources/c-vs-cpp.png" alt="Bug Screenshot" style="max-width: 100%;"></a></p>
<h2 dir="auto">Issue 2:</h2>
<p dir="auto">In custom tmLanguage based colorizers that reference source.c from within rules that begin with certain patterns, the inlined C highlighting is incorrect (this issue also applies to rules using source.c++ but does not occur in rules using source.js).</p>
<h4 dir="auto">Code</h4>
<p dir="auto">(See <a href="https://github.com/SE2Dev/VSCode-BugExample">https://github.com/SE2Dev/VSCode-BugExample</a>)</p>
<h4 dir="auto">Result</h4>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://raw.githubusercontent.com/SE2Dev/VSCode-BugExample/master/resources/screenshot.png"><img src="https://raw.githubusercontent.com/SE2Dev/VSCode-BugExample/master/resources/screenshot.png" alt="Bug Screenshot" style="max-width: 100%;"></a></p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto">Related to closed ticket <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="259991981" data-permission-text="Title is private" data-url="https://github.com/mui/material-ui/issues/8338" data-hovercard-type="issue" data-hovercard-url="/mui/material-ui/issues/8338/hovercard" href="https://github.com/mui/material-ui/issues/8338">#8338</a>.</p>
<h2 dir="auto">Expected Behaviour</h2>
<p dir="auto">The original Popover component (pre v1) had a <code class="notranslate">useLayerForClickAway</code> attribute, which toggled whether an invisible underlying element will be used to prevent clicks.</p>
<p dir="auto">Setting this attribute to <code class="notranslate">false</code> allowed us to control the popover with mouseOver & mouseOut events.</p>
<h2 dir="auto">Current Behaviour</h2>
<p dir="auto">This <code class="notranslate">useLayerForClickAway</code> attribute no longer exists in V1.<br>
Once the popover is displayed, the invisible element appearing causes a mouseOut event to fire, which then hides the popup</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">See <a href="https://codesandbox.io/s/oqmrwrpm2z" rel="nofollow">https://codesandbox.io/s/oqmrwrpm2z</a></p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.17</td>
</tr>
<tr>
<td>React</td>
<td>16.0.0</td>
</tr>
<tr>
<td>browser</td>
<td>chrome</td>
</tr>
</tbody>
</table> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto">Okay, I figured out the cause of the difficulty I've been having when using <code class="notranslate">material-ui</code> and <code class="notranslate">injectSheet</code> in the same project.</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/oliviertassinari/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/oliviertassinari">@oliviertassinari</a> I'm wondering if it <code class="notranslate">material-ui</code> could avoid using a custom <code class="notranslate">generateClassName</code> function. I don't really see why it wouldn't work with the default implementation provided by <code class="notranslate">jss</code>. If you want to ensure that <code class="notranslate">material-ui</code> components get <code class="notranslate">Mui</code> in the class names, perhaps you could customize the <code class="notranslate">classNamePrefix</code> option of <code class="notranslate">StyleSheet</code> instead?</p>
<p dir="auto">If you decide to keep the custom <code class="notranslate">generateClassName</code> with my PR fix (beware, it makes interoperability and SSR more difficult) then I can make another PR to document how to achieve full interoperability with <code class="notranslate">injectSheet</code>.</p>
<h2 dir="auto">Expected Behavior</h2>
<ul dir="auto">
<li>SSR generates valid class names</li>
<li>Client generates the same class names (assuming there's a way to configure it to do so)</li>
</ul>
<h2 dir="auto">Current Behavior</h2>
<h4 dir="auto">SSR generates invalid class names with spaces like <code class="notranslate">Component- Unthemed- Dynamic-root-2</code></h4>
<p dir="auto">This is because <code class="notranslate">styleSheet.options.meta</code> created by <code class="notranslate">injectSheet</code> is something like <code class="notranslate">Component, Unthemed, Dynamic</code> and <code class="notranslate">material-ui</code> doesn't collapse the whitespace:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1448194/34419063-532d72e8-ebc7-11e7-9b5f-443f3525b583.png"><img src="https://user-images.githubusercontent.com/1448194/34419063-532d72e8-ebc7-11e7-9b5f-443f3525b583.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1448194/34419070-5e8ef594-ebc7-11e7-9077-27497f45e70a.png"><img src="https://user-images.githubusercontent.com/1448194/34419070-5e8ef594-ebc7-11e7-9077-27497f45e70a.png" alt="image" style="max-width: 100%;"></a></p>
<h4 dir="auto">Client doesn't generate the same class names anyway</h4>
<p dir="auto">This is because <code class="notranslate">withStyles</code> uses <code class="notranslate">material-ui</code>'s custom <code class="notranslate">generateClassName</code> function by default, but <code class="notranslate">injectSheet</code> doesn't.</p>
<h2 dir="auto">Workaround</h2>
<ul dir="auto">
<li>don't use <code class="notranslate">createGenerateClassName</code> from <code class="notranslate">material-ui</code> in SSR or client</li>
<li>Wrap root component on the client side in a <code class="notranslate"><JssProvider></code> (without any props). This puts <code class="notranslate">jss</code>' default <code class="notranslate">generateClassName</code> function on context and <code class="notranslate">withStyles</code> picks it up and uses it instead of <code class="notranslate">material-ui</code>'s custom <code class="notranslate">generateClassName</code>.</li>
</ul>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">Clone this repo and follow the instructions in the README:</p>
<p dir="auto"><a href="https://github.com/jedwards1211/mui-jss-issue">https://github.com/jedwards1211/mui-jss-issue</a></p>
<h2 dir="auto">Context</h2>
<p dir="auto">Since <code class="notranslate">withStyles</code> doesn't provide a way to do dynamic styles from <code class="notranslate">props</code>, I was trying to use <code class="notranslate">injectSheet</code> from <code class="notranslate">react-jss</code>. But the <code class="notranslate">StyleSheets</code> created by <code class="notranslate">injectSheet</code> trip up <code class="notranslate">material-ui</code>'s <code class="notranslate">createGenerateClassName</code> function.</p>
<p dir="auto">I <em>think</em> it's possible to pass a <code class="notranslate">generateClassName</code> function to <code class="notranslate">injectSheet</code>, which would solve the problem of client/server inconsistency (but not the invalid class names). However I don't think this is ideal because one has to pass <code class="notranslate">generateClassName</code> into every usage of <code class="notranslate">injectSheet</code>.</p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.25</td>
</tr>
<tr>
<td>React</td>
<td>16.2.0</td>
</tr>
<tr>
<td>browser</td>
<td>any</td>
</tr>
<tr>
<td>jss</td>
<td>9.3.3</td>
</tr>
<tr>
<td>jss-preset-default</td>
<td>4.0.1</td>
</tr>
<tr>
<td>react-jss</td>
<td>8.1.0</td>
</tr>
</tbody>
</table> | 0 |
<p dir="auto">Hi,<br>
I want to know how to stop server by code?</p>
<p dir="auto">Does it provide a function like stop ()?</p> | <p dir="auto">This was added in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="607878" data-permission-text="Title is private" data-url="https://github.com/pallets/werkzeug/issues/36" data-hovercard-type="issue" data-hovercard-url="/pallets/werkzeug/issues/36/hovercard" href="https://github.com/pallets/werkzeug/issues/36">#36</a> as a way to shutdown local applications, <code class="notranslate">environ["werkzeug.server.shutdown"]()</code>. However, the advice for quite some time has been to use a production server even when running local applications; the development server is <em>only</em> for development.</p>
<p dir="auto">The issue and code comments both describe the implementation as "horrible". The implementation of it is in fact pretty weird, having to touch a double underscore "really private" variable, as well as jump through hoops to work with the HTTP server loop and handle reloader processes.</p>
<p dir="auto">Additionally, users see this and then are confused why they can only shut down their application when using the development server. Or they want to be able to do more process management such as reloads, which is definitely out of scope.</p>
<p dir="auto">Is the shutdown function really serving a useful purpose at this point? If we remove it, maybe it can be replaced with a page in the deploy docs about running a production server in a subprocess.</p> | 1 |
<pre class="notranslate">% go get labix.org/v2/mgo
% go test -i -race labix.org/v2/mgo
This goes into an infinite loop and eats
up arbitrary amounts of memory when doing so.
I instrumented genlist to print out the
list nodes if it had traversed more than a million:
print("genlist %p; node %J\n", l, l->n);
A sample output is this:
genlist 7ffff4338a30; node u(100) l(5503) tc(1)
genlist 7ffff441cf30; node u(100) l(5503) tc(1)
genlist 7ffff4338a30; node u(100) l(5503) tc(1)
genlist 7ffff441cf30; node u(100) l(5503) tc(1)
genlist 7ffff4338a30; node u(100) l(5503) tc(1)
The command line that failed in this way was:
/home/rog/go/pkg/tool/linux_amd64/6g -o $WORK/labix.org/v2/mgo/_obj/_go_.6 -race -p
labix.org/v2/mgo -complete -D _/home/rog/src/go/src/labix.org/v2/mgo -I $WORK -I
/home/rog/src/go/pkg/linux_amd64_race ./auth.go ./cluster.go ./doc.go ./gridfs.go
./log.go ./queue.go ./server.go ./session.go ./socket.go ./stats.go
I've verified that this behaviour occurs both on tip (a6a9792f94ac)
and go1.1.1.</pre> | <h2 dir="auto">Motivation</h2>
<p dir="auto">Go stdlib provides a <code class="notranslate">log.Logger</code> that is widely used in both Go programs and Go libraries (eg. most notably in <code class="notranslate">http.Server</code>) as a standardized logging component.</p>
<p dir="auto">However, the current implementation of the <code class="notranslate">log.Logger</code> enforces a specific logging format with limited flexibility which requires text parsing to allow it to be connected to any other logging system implementation through the swappable <code class="notranslate">io.Writer</code> interface. This adds complexity and overhead. The other alternative of directly using third party logging libraries is not very scalable both because existing libraries including components like <code class="notranslate">http.Server</code> in the stdlib expect <code class="notranslate">log.Logger</code> and because of network effects of stdlib.</p>
<h2 dir="auto">Proposal</h2>
<p dir="auto">This proposes a minor change to the log package to make <code class="notranslate">log.Logger</code> more extensible in a fully backwards compatible by allowing <code class="notranslate">Logger.Output()</code> to write logs using custom logging implementations.</p>
<p dir="auto">We do this by defining a function type called <code class="notranslate">OutputFn</code> with the same function signature as the current <code class="notranslate">Logger.Output()</code> and introducing an unexported field <code class="notranslate">outputfn</code> in <code class="notranslate">Logger</code> to hold the function that should be used for output much like we use the <code class="notranslate">out</code> field to hold the <code class="notranslate">io.Writer</code> currently. By default, <code class="notranslate">log.New()</code> will set the <code class="notranslate">outputfn</code> to the current implementation which is moved to <code class="notranslate">Logger.DefOutputFn()</code>. This can be swapped to any other <code class="notranslate">OutputFn</code> implementation by calling <code class="notranslate">Logger.SetOutputFn()</code> in the same way as we currently can swap <code class="notranslate">io.Writer</code> by calling <code class="notranslate">Logger.SetOutput()</code></p>
<p dir="auto">For the top level <code class="notranslate">log</code> package, we provide <code class="notranslate">log.SetOutputFn()</code> and <code class="notranslate">log.SetDefOutputFn()</code> to set the <code class="notranslate">OutputFn</code> of the <code class="notranslate">log.std</code> logger and reset it to default.</p>
<h2 dir="auto">Proof of Concept</h2>
<p dir="auto">I have implemented a <a href="https://github.com/srinathh/log">proof of concept</a> for this proposed change and added <a href="https://github.com/srinathh/log/blob/master/customlogger_test.go">an example</a> in the test suite that demonstrates logging to a Tab Separated Variable format. While in the example i am merely writing to a Writer, the Output could be to anything including over the network etc.</p>
<p dir="auto">If this approach looks ok, I can package this into a CL incorporating any feedback.</p>
<h2 dir="auto">Rationale for the Approach</h2>
<p dir="auto">Most of the actual work of logging happens in <code class="notranslate">Logger.Output()</code> (and in the unexported <code class="notranslate">Logger.formatHeader()</code> called by it) which makes it a prime candidate for flexibility. We cannot change <code class="notranslate">log.Logger</code> into an interface due to Go1 compatibility promise and this approach therefore allows a lot of flexibility with a very minor change.</p> | 0 |
<p dir="auto">Hello,</p>
<p dir="auto">Could you please answer the following questions:</p>
<ul dir="auto">
<li>Is it possible to add multiple event listeners to React component?</li>
<li>Is it possible to programmatically assign listener?</li>
</ul>
<p dir="auto">Ideally i'm looking for something like <a href="https://developer.mozilla.org/en/docs/Web/API/EventTarget.addEventListener" rel="nofollow">addEventListener</a></p>
<p dir="auto">It would be great if you could suggest something.</p>
<p dir="auto">Thank you,<br>
Andrei</p> | <p dir="auto">Hi,</p>
<p dir="auto">I would like to use all the available es6 transforms, the jsx transform and the <a href="https://github.com/andreypopp/es6-module-jstransform">es6-module-jstransform</a> for my JavaScript code.</p>
<p dir="auto">What I'm using is this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var transform = require('jstransform').transform;
var visitors = Array.prototype.concat.apply([], [
require('es6-module-jstransform').visitorList,
require('jstransform/visitors/es6-arrow-function-visitors').visitorList,
require('jstransform/visitors/es6-object-concise-method-visitors.js').visitorList,
require('jstransform/visitors/es6-class-visitors').visitorList,
require('jstransform/visitors/es6-object-short-notation-visitors').visitorList,
require('jstransform/visitors/es6-rest-param-visitors').visitorList,
require('jstransform/visitors/es6-template-visitors').visitorList,
require('./transforms/react').visitorList,
require('./transforms/reactDisplayName').visitorList
]);
var es5 = transform(visitors, sourcecode);"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">transform</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'jstransform'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">transform</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">visitors</span> <span class="pl-c1">=</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">.</span><span class="pl-c1">concat</span><span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span>
<span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'es6-module-jstransform'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">visitorList</span><span class="pl-kos">,</span>
<span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'jstransform/visitors/es6-arrow-function-visitors'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">visitorList</span><span class="pl-kos">,</span>
<span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'jstransform/visitors/es6-object-concise-method-visitors.js'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">visitorList</span><span class="pl-kos">,</span>
<span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'jstransform/visitors/es6-class-visitors'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">visitorList</span><span class="pl-kos">,</span>
<span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'jstransform/visitors/es6-object-short-notation-visitors'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">visitorList</span><span class="pl-kos">,</span>
<span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'jstransform/visitors/es6-rest-param-visitors'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">visitorList</span><span class="pl-kos">,</span>
<span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'jstransform/visitors/es6-template-visitors'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">visitorList</span><span class="pl-kos">,</span>
<span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'./transforms/react'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">visitorList</span><span class="pl-kos">,</span>
<span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'./transforms/reactDisplayName'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">visitorList</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">es5</span> <span class="pl-c1">=</span> <span class="pl-s1">transform</span><span class="pl-kos">(</span><span class="pl-s1">visitors</span><span class="pl-kos">,</span> <span class="pl-s1">sourcecode</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">The problem is that it's difficult to use those jsx transforms without depending on the whole <code class="notranslate">react-tools</code> package which would essentially download a lot of dependencies (another jstransform, etc.) just for those two files, which is why I copied them into a transforms directory in my source tree, but that's obviously a bad solution. Wouldn't it be better to put those jsx-transforms into a separate npm package?</p>
<p dir="auto">Also, I found a reference to something called <code class="notranslate">typechecks</code> in <a href="https://github.com/facebook/react/blob/2d048f1f34a7d10cca81336446920822ad7ea67c/vendor/fbtransform/syntax.js#L23">/vendor/fbtransform/syntax.js</a>, but the appropriate visitor doesn't seem to be open source. In my above example I essentially skipped all the typecheck code that's in syntax.js. Could that be a problem in the future?</p>
<p dir="auto">Awesome library, by the way!</p> | 0 |
<p dir="auto">In TypeScript playground, the "New Features" option gives this code</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="type NameOrNameArray = string | string[];
function createName(name: NameOrNameArray) {
if (typeof name === "string") {
return name;
}
else {
return name.join(" ");
}
}
var greetingMessage = `Greetings, ${createName(["Sam", "Smith"]) }`;
alert(greetingMessage);"><pre class="notranslate"><code class="notranslate">type NameOrNameArray = string | string[];
function createName(name: NameOrNameArray) {
if (typeof name === "string") {
return name;
}
else {
return name.join(" ");
}
}
var greetingMessage = `Greetings, ${createName(["Sam", "Smith"]) }`;
alert(greetingMessage);
</code></pre></div>
<p dir="auto">If I make a type such as</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="interface Guid {
toLowerCase:()=>string;
}"><pre class="notranslate"><code class="notranslate">interface Guid {
toLowerCase:()=>string;
}
</code></pre></div>
<p dir="auto">(since I'm using TypeLite to get some C# types in my TypeScript I have a Guid type but basically treat Guids as strings so toLowerCase() is enough to discriminate for my purposes).</p>
<p dir="auto">Anyway, if I then modify the playground code to be</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="interface Guid {
toLowerCase:()=>string;
}
type GuidOrGuidArray = Guid | Guid[];
function createGuid(g: GuidOrGuidArray) {
if (g instanceof Array) {
//intellisense on g. should give me array things
var x = g[0]; //This SHOULD compile
}
else {
//intellisense on g. should give me toLowerCase() as my only option
var y = g.toLowerCase(); ///This SHOULD compile
}
}
"><pre class="notranslate"><code class="notranslate">interface Guid {
toLowerCase:()=>string;
}
type GuidOrGuidArray = Guid | Guid[];
function createGuid(g: GuidOrGuidArray) {
if (g instanceof Array) {
//intellisense on g. should give me array things
var x = g[0]; //This SHOULD compile
}
else {
//intellisense on g. should give me toLowerCase() as my only option
var y = g.toLowerCase(); ///This SHOULD compile
}
}
</code></pre></div>
<p dir="auto">Instead I get the type of <code class="notranslate">x</code> to be any and <code class="notranslate">y</code> fails to compile. In both cases, the popup hint in the playground (and in Visual Studio) gives the indication that the type of g within each branch of the if is still the union type.</p>
<p dir="auto">You'll note that I switched the if block around so that I'm using instanceof Array rather than typeof === "string". That's because I've tried it the other way and wasn't surprised that it didn't work since my Guid interface doesn't extend string in any way and typeof [] gives object.</p>
<p dir="auto">Should this work? At the moment I'm doing the kludge workarounds...<br>
<code class="notranslate">var x = <Guid[]>g[0];</code><br>
and<br>
<code class="notranslate">var y = (<Guid>g).toLowerCase();</code></p>
<p dir="auto">It'd be <g-emoji class="g-emoji" alias="100" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4af.png">💯</g-emoji> if instanceof Array worked to discriminate between the array and non-array in the union type.</p> | <p dir="auto">Hi,<br>
this is and issue I had a few times upgrading aurelia packages during the preview time, but I think may a problem even in production, because looks like that frameworks like aurelia and angular 2 are going to add .d.ts files inside the packages.<br>
the problem is that upgrading the standard set of aurelia packages, I can have another additional package that still references an older version of some standard packages, as aurelia-templating and so on.<br>
At runtime I don't see any problem, because module loaders can handle multiple versions of the package, but there is the problem that inside the project you have two versions of the same .d.ts file almost identical.<br>
How can I handle this?</p> | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.